|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IERXRestDelegate
IERXRestDelegate provides the core hooks into REST processing.
Method Summary | |
---|---|
void |
delete(ERXRestRequest deleteRequest,
ERXRestContext context)
Deletes the given object (NSArray of EOEnterpriseObject). |
IERXRestEntityDelegate |
entityDelegate(com.webobjects.eoaccess.EOEntity entity)
Returns the per-entity rest delegate. |
java.lang.String |
entityNameForAlias(java.lang.String entityAlias)
Returns the actual name for the entity from its aliased name. |
ERXRestKey |
insert(ERXRestRequest insertRequest,
ERXRestContext context)
Creates the objects defined by the XML document (which can contain a single object or an array inserts). |
ERXRestKey |
process(ERXRestRequest restRequest,
ERXRestContext context)
Inserts or updates the objects defined by the XML document. |
void |
update(ERXRestRequest updateRequest,
ERXRestContext context)
Updates the objects defined by the XML document (which can contain partial updates or array updates). |
ERXRestKey |
view(ERXRestRequest restRequest,
ERXRestContext restContext)
Views the object defined by the incoming url. |
Method Detail |
---|
ERXRestKey view(ERXRestRequest restRequest, ERXRestContext restContext)
restRequest
- the incoming viewing request.restContext
- the rest context
ERXRestException
- if there is a general failure
ERXRestSecurityException
- if the user attempts to insert or updates objects that he/she is not permitted to
ERXRestNotFoundException
- if one of the requested objects does not existERXRestKey process(ERXRestRequest restRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException
restRequest
- the incoming inserts or updatescontext
- the rest context
ERXRestException
- if there is a general failure
ERXRestSecurityException
- if the user attempts to insert or updates objects that he/she is not permitted to
ERXRestNotFoundException
- if one of the requested objects does not existERXRestKey insert(ERXRestRequest insertRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException
insertRequest
- the incoming insertscontext
- the rest context
ERXRestException
- if there is a general failure
ERXRestSecurityException
- if the user attempts to insert objects that he/she is not permitted to insert
ERXRestNotFoundException
- if one of the requested objects does not existvoid update(ERXRestRequest updateRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException
updateRequest
- the incoming updatescontext
- the rest context
ERXRestException
- if there is a general failure
ERXRestSecurityException
- if the user attempts to update objects that he/she is not permitted to update
ERXRestNotFoundException
- if one of the requested objects does not existvoid delete(ERXRestRequest deleteRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException
deleteRequest
- the incoming deletecontext
- the rest context
ERXRestException
- if there is a general failure
ERXRestSecurityException
- if the user attempts to delete objects that he/she is not permitted to delete
ERXRestNotFoundException
- if one of the requested objects does not existjava.lang.String entityNameForAlias(java.lang.String entityAlias)
entityAlias
- the entity alias
IERXRestEntityDelegate entityDelegate(com.webobjects.eoaccess.EOEntity entity)
entity
- the entity
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |