| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.entityprovider.capabilities |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Createable
This 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 the EntityProvider interface |
interface |
CRUDable
A convenient interface to define that this entity type supports all CRUD operations
This is one of the capability extensions for the EntityProvider interface |
interface |
Inputable
These entities can be entered as certain input formats which are handled automatically
and translated into entity objects (of the type defined by
Sampleable)If you want to define the way the input is translated instead of using the internal methods then use InputTranslatableNOTE: By default all entity view requests go through to the available access providers: EntityViewAccessProvider or HttpServletAccessProvider |
interface |
InputTranslatable
Allows 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 use
InputableNOTE: throwing FormatUnsupportedException will pass control over to the internal
handlers for formatting, if you want to stop the request for this format type entirely then
throw an IllegalStateException and the processing will be halted |
interface |
RESTful
Indicates 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 type |
interface |
Saveable
Convenience interface to indicates that an entity is can be saved,
i.e. it is creatable and updateable
|
Copyright © 2007–2020 Sakai Project. All rights reserved.