public class ERXEORestDelegate extends ERXAbstractRestDelegate
IERXRestDelegate.Factory
Constructor and Description |
---|
ERXEORestDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
__hasNumericPrimaryKeys(EOClassDescription classDescription)
This API will likely change.
|
Object |
createObjectOfEntityWithID(EOClassDescription entity,
Object id,
ERXRestContext context)
Creates a new instance of the entity.
|
Object |
objectOfEntityWithID(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(EOClassDescription classDescription)
IERXRestDelegate
__hasNumericPrimaryKeys
in interface IERXRestDelegate
__hasNumericPrimaryKeys
in class ERXAbstractRestDelegate
classDescription
- the class description in questionpublic Object createObjectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context)
IERXRestDelegate
entity
- the entityid
- the ID of the objectcontext
- the REST contextpublic Object primaryKeyForObject(Object obj, ERXRestContext context)
IERXRestDelegate
obj
- the object to return a pk forcontext
- the REST contextpublic Object objectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context)
IERXRestDelegate
entity
- the entityid
- the ID of the objectcontext
- the REST contextCopyright © 2002 – 2024 Project Wonder.