public class ERXEORestDelegate extends ERXAbstractRestDelegate
IERXRestDelegate.Factory| Constructor and Description |
|---|
ERXEORestDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
__hasNumericPrimaryKeys(com.webobjects.eocontrol.EOClassDescription classDescription)
This API will likely change.
|
Object |
createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context)
Creates a new instance of the entity.
|
Object |
objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity,
Object id,
ERXRestContext context)
Returns the object with the given entity and ID.
|
Object |
primaryKeyForObject(Object obj,
ERXRestContext context)
Returns the primary key for the specified object.
|
public boolean __hasNumericPrimaryKeys(com.webobjects.eocontrol.EOClassDescription classDescription)
IERXRestDelegate__hasNumericPrimaryKeys in interface IERXRestDelegate__hasNumericPrimaryKeys in class ERXAbstractRestDelegateclassDescription - the class description in questionpublic Object createObjectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity, Object id, ERXRestContext context)
IERXRestDelegateentity - the entityid - the ID of the objectcontext - the REST contextpublic Object primaryKeyForObject(Object obj, ERXRestContext context)
IERXRestDelegateobj - the object to return a pk forcontext - the REST contextpublic Object objectOfEntityWithID(com.webobjects.eocontrol.EOClassDescription entity, Object id, ERXRestContext context)
IERXRestDelegateentity - the entityid - the ID of the objectcontext - the REST contextCopyright © 2002 – 2020 Project Wonder.