|
||||||||||
| 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(String stitel,
int ityp)
Adds an EntityIndex to the current list of external properties. |
Collection<org.imixs.workflow.ItemCollection> |
findAllEntities(String query,
int startpos,
int count)
The method returns a collection of ItemCollections. |
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. |
String |
getAccessRoles()
Returns additional AccessRoles defined for the EJB instance |
String |
getReadAccessFields()
Returns additional ReadAccessFields defined for the EJB instance. |
String |
getWriteAccessFields()
Returns additional WriteAccessFields defined for the EJB instance. |
org.imixs.workflow.ItemCollection |
load(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(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 |
|---|
String getAccessRoles()
String getReadAccessFields()
String getWriteAccessFields()
org.imixs.workflow.ItemCollection save(org.imixs.workflow.ItemCollection itemcol)
throws org.imixs.workflow.exceptions.AccessDeniedException,
org.imixs.workflow.exceptions.InvalidWorkitemException
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.AccessDeniedException
org.imixs.workflow.exceptions.InvalidWorkitemExceptionorg.imixs.workflow.ItemCollection load(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,
org.imixs.workflow.exceptions.InvalidWorkitemException
The CallerPrincipial should have at least the access Role org.imixs.ACCESSLEVEL.AUTHORACCESS
ItemCollection - to be removed
Exception
org.imixs.workflow.exceptions.AccessDeniedException
org.imixs.workflow.exceptions.InvalidWorkitemException
void addIndex(String stitel,
int ityp)
throws Exception
stitel - ityp - - Type of EntityIndex
Exception
void removeIndex(String stitel)
throws Exception
stitel -
Exception
Collection<org.imixs.workflow.ItemCollection> findAllEntities(String query,
int startpos,
int count)
query - startpos - count -
org.imixs.workflow.ItemCollection findParentEntity(org.imixs.workflow.ItemCollection entity)
childentity -
Collection<org.imixs.workflow.ItemCollection> findChildEntities(org.imixs.workflow.ItemCollection entity,
int startpos,
int count)
parententity - startpos - count -
findParentEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||