|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityServiceRemote
The EntityService Remote interface from the EntityService statless EJB
EntityService| Method Summary | |
|---|---|
void |
addIndex(java.lang.String stitel,
int ityp)
Adds an EntityIndex to the current list of external properties. |
java.util.Collection<org.imixs.workflow.ItemCollection> |
findAllEntities(java.lang.String query,
int startpos,
int count)
The method returns a collection of ItemCollections. |
java.util.Collection<org.imixs.workflow.ItemCollection> |
findChildEntities(org.imixs.workflow.ItemCollection entity,
int startpos,
int count)
The method returns a collection of child ItemCollections. |
org.imixs.workflow.ItemCollection |
findParentEntity(org.imixs.workflow.ItemCollection entity)
The method returns the parent ItemCollection to a given ItemCollection. |
java.lang.String |
getAccessRoles()
Returns additional AccessRoles defined for the EJB instance |
java.lang.String |
getReadAccessFields()
Returns additional ReadAccessFields defined for the EJB instance. |
java.lang.String |
getWriteAccessFields()
Returns additional WriteAccessFields defined for the EJB instance. |
org.imixs.workflow.ItemCollection |
load(java.lang.String id)
This method loads an ItemCollection from the Database. |
void |
remove(org.imixs.workflow.ItemCollection itemcol)
This method removes an ItemCollection from the database. |
void |
removeIndex(java.lang.String stitel)
Removes an EntityIndex from the current list of external properties. |
org.imixs.workflow.ItemCollection |
save(org.imixs.workflow.ItemCollection itemcol)
This Method saves an ItemCollection into a database. |
| Method Detail |
|---|
java.lang.String getAccessRoles()
java.lang.String getReadAccessFields()
java.lang.String getWriteAccessFields()
org.imixs.workflow.ItemCollection save(org.imixs.workflow.ItemCollection itemcol)
throws org.imixs.workflow.exceptions.AccessDeniedException
The method throws an AccessDeniedException if the CallerPrincipal is not allowed to save or update the ItemCollection in the database. The CallerPrincipial should have at least the access Role org.imixs.ACCESSLEVEL.AUTHORACCESS
ItemCollection - to be saved
org.imixs.workflow.exceptions.AccessDeniedExceptionorg.imixs.workflow.ItemCollection load(java.lang.String id)
The method checks also if the CallerPrincipal has read access to ItemCollection stored in the database. If not the method returns null. The method dose not throw an AccessDeniedException if the user is not allowed to read the entity to prevent a aggressor with informations about the existence of that specific ItemCollection.
CallerPrincipial should have at least the access Role org.imixs.ACCESSLEVEL.READACCESS
id - the $unqiueid of the ItemCollection to be loaded
void remove(org.imixs.workflow.ItemCollection itemcol)
throws org.imixs.workflow.exceptions.AccessDeniedException
The CallerPrincipial should have at least the access Role org.imixs.ACCESSLEVEL.AUTHORACCESS
ItemCollection - to be removed
org.imixs.workflow.exceptions.AccessDeniedException
void addIndex(java.lang.String stitel,
int ityp)
throws org.imixs.workflow.exceptions.AccessDeniedException
stitel - ityp - - Type of EntityIndex
org.imixs.workflow.exceptions.AccessDeniedException
void removeIndex(java.lang.String stitel)
throws org.imixs.workflow.exceptions.AccessDeniedException
stitel -
org.imixs.workflow.exceptions.AccessDeniedException
java.util.Collection<org.imixs.workflow.ItemCollection> findAllEntities(java.lang.String query,
int startpos,
int count)
throws org.imixs.workflow.exceptions.InvalidAccessException
query - startpos - count -
org.imixs.workflow.exceptions.InvalidAccessException
org.imixs.workflow.ItemCollection findParentEntity(org.imixs.workflow.ItemCollection entity)
throws org.imixs.workflow.exceptions.InvalidAccessException
childentity -
org.imixs.workflow.exceptions.InvalidAccessException
java.util.Collection<org.imixs.workflow.ItemCollection> findChildEntities(org.imixs.workflow.ItemCollection entity,
int startpos,
int count)
throws org.imixs.workflow.exceptions.InvalidAccessException
parententity - startpos - count -
org.imixs.workflow.exceptions.InvalidAccessExceptionfindParentEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||