|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityStoreUnitOfWork
JAVADOC
Method Summary | |
---|---|
StateCommitter |
applyChanges()
|
void |
discard()
|
EntityState |
getEntityState(EntityReference anIdentity)
Get the EntityState for a given identity. |
String |
identity()
|
EntityState |
newEntityState(EntityReference anIdentity,
EntityDescriptor entityDescriptor)
Create new EntityState for a given identity. |
Method Detail |
---|
String identity()
EntityState newEntityState(EntityReference anIdentity, EntityDescriptor entityDescriptor) throws EntityStoreException
applyChanges()
call.
anIdentity
- the identity of the entityentityDescriptor
- entity descriptor
EntityStoreException
- Thrown if creational fails.EntityState getEntityState(EntityReference anIdentity) throws EntityStoreException, EntityNotFoundException
EntityNotFoundException
if the entity with given anIdentity
is not found.
anIdentity
- The entity identity. This argument must not be null
.
EntityStoreException
- thrown if retrieval failed.
EntityNotFoundException
- if requested entity does not existStateCommitter applyChanges() throws EntityStoreException
EntityStoreException
void discard()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |