|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@CinnamonService public interface EntityManagerProxy
Server-side proxy for the EntityManager remote service.
The method signatures of this service interface are different than that
of the corresponding AS3 EntityManager interface since Pimento
modifies some of the parameters and return values under the hood.
This class should be exposed for clients through a Spring ApplicationContext. It is usually not used in server-side application code directly.
| Method Summary | |
|---|---|
Object |
executeQuery(DefaultQuery query,
int typeHandle)
Executes the specified query and returns the result. |
Object |
initialize(int typeHandle,
Object primaryKey)
Intializes the entity with the specified primary key and type handle. |
Object |
initialize(int typeHandle,
Object primaryKey,
String propertyName)
Loads the collection property for the entity with the specified primary key and type handle. |
Object |
load(int typeHandle,
Object primaryKey)
Loads the entity with the specified primary key and type handle. |
void |
merge(Object entity)
Merges the specified entity. |
void |
persist(Object entity)
Persists the specified entity. |
Object |
refresh(int typeHandle,
Object primaryKey)
Refreshes the entity with the specified primary key and type handle. |
void |
remove(int typeHandle,
Object primaryKey)
Removes the entity with the specified primary key and type handle. |
| Method Detail |
|---|
Object executeQuery(DefaultQuery query,
int typeHandle)
query - the query to executetypeHandle - the type handle of the result objects or 0 if not specified
Object load(int typeHandle,
Object primaryKey)
typeHandle - the type handle of the entityprimaryKey - the primary key of the entity
Object refresh(int typeHandle,
Object primaryKey)
typeHandle - the type handle of the entityprimaryKey - the primary key of the entity
Object initialize(int typeHandle,
Object primaryKey)
typeHandle - the type handle of the entityprimaryKey - the primary key of the entity
Object initialize(int typeHandle,
Object primaryKey,
String propertyName)
typeHandle - the type handle of the owning entityprimaryKey - the primary key of the owning entitypropertyName - the name of the collection property
void persist(Object entity)
entity - the entity to persist.void merge(Object entity)
entity - the entity to merge
void remove(int typeHandle,
Object primaryKey)
typeHandle - the type handle of the entity to removeprimaryKey - the primary key of the entity to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||