Uses of Interface
org.sakaiproject.entitybroker.entityprovider.capabilities.Sampleable
-
Packages that use Sampleable Package Description org.sakaiproject.entitybroker.entityprovider.capabilities -
-
Uses of Sampleable in org.sakaiproject.entitybroker.entityprovider.capabilities
Subinterfaces of Sampleable in org.sakaiproject.entitybroker.entityprovider.capabilities Modifier and Type Interface Description interfaceCreateableThis entity type can be created (this is the C in CRUD), the current user id should be used for permissions checking in most cases
This is one of the capability extensions for theEntityProviderinterfaceinterfaceCRUDableA convenient interface to define that this entity type supports all CRUD operations
This is one of the capability extensions for theEntityProviderinterfaceinterfaceInputableThese entities can be entered as certain input formats which are handled automatically and translated into entity objects (of the type defined bySampleable)
If you want to define the way the input is translated instead of using the internal methods then useInputTranslatable
NOTE: By default all entity view requests go through to the available access providers:EntityViewAccessProviderorHttpServletAccessProviderinterfaceInputTranslatableAllows this entity to define the way to translate data for a reference into an entity object depending on the format requested, if you just want to use the internal methods to handle formatting the input into an entity then simply useInputable
NOTE: throwingFormatUnsupportedExceptionwill pass control over to the internal handlers for formatting, if you want to stop the request for this format type entirely then throw anIllegalStateExceptionand the processing will be haltedinterfaceRESTfulIndicates that entities handled by this provider are RESTful as defined by the REST microformat:
http://microformats.org/wiki/rest/urls
Requires all CRUD functionality, Collection handling, HTML handling, and ability to support output formats
This is mostly a convenience interface to make sure that everything needed to support REST has been implemented, it also includes the marker to indicate that RESTful URLs should work for entities of this typeinterfaceSaveableConvenience interface to indicates that an entity is can be saved, i.e. it is creatable and updateable
-