Public Member Functions | |
| void | delete (ERXRestRequest deleteRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
| IERXRestEntityDelegate | entityDelegate (EOEntity entity) |
| String | entityNameForAlias (String entityAlias) |
| ERXRestKey | insert (ERXRestRequest insertRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
| ERXRestKey | process (ERXRestRequest restRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
| void | update (ERXRestRequest updateRequest, ERXRestContext context) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
| ERXRestKey | view (ERXRestRequest restRequest, ERXRestContext restContext) |
| void delete | ( | ERXRestRequest | deleteRequest, | |
| ERXRestContext | context | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
Deletes the given object (NSArray of EOEnterpriseObject).
| deleteRequest | the incoming delete | |
| context | 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 exist |
Implemented in ERXDefaultRestDelegate, and ERD2RestDelegate.
| IERXRestEntityDelegate entityDelegate | ( | EOEntity | entity | ) |
Returns the per-entity rest delegate.
| entity | the entity |
Implemented in ERXDefaultRestDelegate, and ERD2RestDelegate.
Returns the actual name for the entity from its aliased name. The mappings for aliases is acquired when entity delegates are registered by calling entityAliasForEntityNamed.
| entityAlias | the entity alias |
Implemented in ERXDefaultRestDelegate, and ERD2RestDelegate.
| ERXRestKey insert | ( | ERXRestRequest | insertRequest, | |
| ERXRestContext | context | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
Creates the objects defined by the XML document (which can contain a single object or an array inserts).
| insertRequest | the incoming inserts | |
| context | 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 exist |
Implemented in ERXDefaultRestDelegate, and ERD2RestDelegate.
| ERXRestKey process | ( | ERXRestRequest | restRequest, | |
| ERXRestContext | context | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
Inserts or updates the objects defined by the XML document.
| restRequest | the incoming inserts or updates | |
| context | 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 exist |
Implemented in ERXDefaultRestDelegate.
| void update | ( | ERXRestRequest | updateRequest, | |
| ERXRestContext | context | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException |
Updates the objects defined by the XML document (which can contain partial updates or array updates).
| updateRequest | the incoming updates | |
| context | 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 exist |
Implemented in ERXDefaultRestDelegate, and ERD2RestDelegate.
| ERXRestKey view | ( | ERXRestRequest | restRequest, | |
| ERXRestContext | restContext | |||
| ) |
Views the object defined by the incoming url.
| 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 exist |
Implemented in ERXDefaultRestDelegate, and ERD2RestDelegate.
1.5.8