|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.jee.ejb.ModelServiceBean
@DeclareRoles(value={"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"})
@RolesAllowed(value={"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"})
public class ModelServiceBeanThis is the IX JEE ModelManager Implementation. This Class implements the ModelManager Interface form the IX API and also the IX JEE ModelManager Since Version 1.7.0 The Implementation handles multiple model versions. Different Versions of an Model Entity can be saved and updated. The Getter methods can be furthermore Controlled by providing a valid Model Version. If no model version is set this Implementation automatically defaults to the highest available ModelVersion
org.imixs.workflow.ModelManager,
org.imixs.workflow.jee.ejb.ModelManager| Constructor Summary | |
|---|---|
ModelServiceBean()
|
|
| Method Summary | |
|---|---|
org.imixs.workflow.ItemCollection |
getActivityEntity(int processid,
int activityid)
This method returns the ActivityEntity with the highest Version number ($modelversion) |
org.imixs.workflow.ItemCollection |
getActivityEntityByVersion(int processid,
int activityid,
java.lang.String modelVersion)
|
java.util.Collection<org.imixs.workflow.ItemCollection> |
getActivityEntityList(int processid)
returns a collection of ItemCollections representing the model activity Entities for the coresponding processid |
java.util.Collection<org.imixs.workflow.ItemCollection> |
getActivityEntityListByVersion(int processid,
java.lang.String aModelVersion)
|
java.util.List<java.lang.String> |
getAllModelVersions()
returns a String list of all accessible Modelversions |
java.util.List<org.imixs.workflow.ItemCollection> |
getAllProcessEntitiesByGroup(java.lang.String aGroup)
returns a list of all ProcessEntities for a specific ProcessGroup |
java.util.List<org.imixs.workflow.ItemCollection> |
getAllStartProcessEntities()
returns a list of all ProcessEntities which are the first one in each ProcessGroup. |
java.util.List<org.imixs.workflow.ItemCollection> |
getAllStartProcessEntitiesByVersion(java.lang.String version)
returns a list of all ProcessEntities which are the first one in each ProcessGroup. |
java.util.List<java.lang.String> |
getAllWorkflowGroups()
|
java.util.List<java.lang.String> |
getAllWorkflowGroupsByVersion(java.lang.String version)
|
java.util.Collection<org.imixs.workflow.ItemCollection> |
getEnvironmentEntityList()
|
java.util.Collection<org.imixs.workflow.ItemCollection> |
getEnvironmentEntityListByVersion(java.lang.String modelversion)
|
java.lang.String |
getLatestVersion()
This helper method finds the highest Model Version available in the system. |
org.imixs.workflow.ItemCollection |
getProcessEntity(int processid)
|
org.imixs.workflow.ItemCollection |
getProcessEntityByVersion(int processid,
java.lang.String modelversion)
|
java.util.Collection<org.imixs.workflow.ItemCollection> |
getProcessEntityList()
returns a collection of ItemCollections representing the model process Entities |
java.util.Collection<org.imixs.workflow.ItemCollection> |
getProcessEntityListByVersion(java.lang.String aModelVersion)
returns a collection of ItemCollections representing the model process Entities |
java.util.List<org.imixs.workflow.ItemCollection> |
getPublicActivities(int aprocessid)
returns all the activities in a list for a corresponding process entity The method returns only Activities where keypublicresult ! |
java.util.List<org.imixs.workflow.ItemCollection> |
getPublicActivitiesByVersion(int aprocessid,
java.lang.String version)
returns all the activities in a list for a corresponding process entity The method returns only Activities where keypublicresult ! |
void |
removeModelVersion(java.lang.String modelversion)
This method removes a spcific ModelVersion defined by param 'modelversion'. |
void |
saveActivityEntity(org.imixs.workflow.ItemCollection ic)
Saves or updates an ActivityEntity represented by an ItemCollection. |
void |
saveEnvironmentEntity(org.imixs.workflow.ItemCollection ic)
|
void |
saveProcessEntity(org.imixs.workflow.ItemCollection ic)
Saves or updates a ProcessEntitiy represented by an ItemCollection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelServiceBean()
| Method Detail |
|---|
public org.imixs.workflow.ItemCollection getActivityEntity(int processid,
int activityid)
throws java.lang.Exception
getActivityEntity in interface org.imixs.workflow.Modeljava.lang.Exception
public org.imixs.workflow.ItemCollection getActivityEntityByVersion(int processid,
int activityid,
java.lang.String modelVersion)
throws java.lang.Exception
getActivityEntityByVersion in interface org.imixs.workflow.ExtendedModeljava.lang.Exception
public org.imixs.workflow.ItemCollection getProcessEntity(int processid)
throws java.lang.Exception
getProcessEntity in interface org.imixs.workflow.Modeljava.lang.Exception
public org.imixs.workflow.ItemCollection getProcessEntityByVersion(int processid,
java.lang.String modelversion)
throws java.lang.Exception
getProcessEntityByVersion in interface org.imixs.workflow.ExtendedModeljava.lang.Exception
public java.util.Collection<org.imixs.workflow.ItemCollection> getActivityEntityList(int processid)
throws java.lang.Exception
getActivityEntityList in interface org.imixs.workflow.Modeljava.lang.Exception
public java.util.Collection<org.imixs.workflow.ItemCollection> getActivityEntityListByVersion(int processid,
java.lang.String aModelVersion)
throws java.lang.Exception
getActivityEntityListByVersion in interface org.imixs.workflow.ExtendedModelgetActivityEntityListByVersion in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exception
public java.util.Collection<org.imixs.workflow.ItemCollection> getProcessEntityList()
throws java.lang.Exception
getProcessEntityList in interface org.imixs.workflow.Modeljava.lang.Exception
public java.util.Collection<org.imixs.workflow.ItemCollection> getProcessEntityListByVersion(java.lang.String aModelVersion)
throws java.lang.Exception
getProcessEntityListByVersion in interface org.imixs.workflow.ExtendedModelgetProcessEntityListByVersion in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exception
public java.util.Collection<org.imixs.workflow.ItemCollection> getEnvironmentEntityList()
throws java.lang.Exception
getEnvironmentEntityList in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exception
public java.util.Collection<org.imixs.workflow.ItemCollection> getEnvironmentEntityListByVersion(java.lang.String modelversion)
throws java.lang.Exception
getEnvironmentEntityListByVersion in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exception
public void saveActivityEntity(org.imixs.workflow.ItemCollection ic)
throws java.lang.Exception
saveActivityEntity in interface org.imixs.workflow.jee.ejb.ModelServiceic -
java.lang.Exception
public void saveProcessEntity(org.imixs.workflow.ItemCollection ic)
throws java.lang.Exception
saveProcessEntity in interface org.imixs.workflow.jee.ejb.ModelServiceic -
java.lang.Exception
public void saveEnvironmentEntity(org.imixs.workflow.ItemCollection ic)
throws java.lang.Exception
saveEnvironmentEntity in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exception
public void removeModelVersion(java.lang.String modelversion)
throws java.lang.Exception
removeModelVersion in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exception
public java.lang.String getLatestVersion()
throws java.lang.Exception
getLatestVersion in interface org.imixs.workflow.jee.ejb.ModelServicejava.lang.Exceptionpublic java.util.List<java.lang.String> getAllModelVersions()
getAllModelVersions in interface org.imixs.workflow.jee.ejb.ModelServicepublic java.util.List<org.imixs.workflow.ItemCollection> getPublicActivities(int aprocessid)
getPublicActivities in interface org.imixs.workflow.jee.ejb.ModelService
public java.util.List<org.imixs.workflow.ItemCollection> getPublicActivitiesByVersion(int aprocessid,
java.lang.String version)
getPublicActivitiesByVersion in interface org.imixs.workflow.jee.ejb.ModelServicepublic java.util.List<java.lang.String> getAllWorkflowGroups()
getAllWorkflowGroups in interface org.imixs.workflow.jee.ejb.ModelServicepublic java.util.List<java.lang.String> getAllWorkflowGroupsByVersion(java.lang.String version)
getAllWorkflowGroupsByVersion in interface org.imixs.workflow.jee.ejb.ModelServicepublic java.util.List<org.imixs.workflow.ItemCollection> getAllStartProcessEntities()
getAllStartProcessEntities in interface org.imixs.workflow.jee.ejb.ModelServicepublic java.util.List<org.imixs.workflow.ItemCollection> getAllStartProcessEntitiesByVersion(java.lang.String version)
getAllStartProcessEntitiesByVersion in interface org.imixs.workflow.jee.ejb.ModelServicepublic java.util.List<org.imixs.workflow.ItemCollection> getAllProcessEntitiesByGroup(java.lang.String aGroup)
getAllProcessEntitiesByGroup in interface org.imixs.workflow.jee.ejb.ModelService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||