public interface IERXRestDelegate
Modifier and Type | Interface and Description |
---|---|
static class |
IERXRestDelegate.Factory
A Factory for creating IERXRestDelegates.
|
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.
|
Object primaryKeyForObject(Object obj, ERXRestContext context)
obj
- the object to return a pk forcontext
- the REST contextObject createObjectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context)
entity
- the entityid
- the ID of the objectcontext
- the REST contextObject objectOfEntityWithID(EOClassDescription entity, Object id, ERXRestContext context)
entity
- the entityid
- the ID of the objectcontext
- the REST contextboolean __hasNumericPrimaryKeys(EOClassDescription classDescription)
classDescription
- the class description in questionCopyright © 2002 – 2024 Project Wonder.