|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.imixs.workflow.jee.jsf.util.AbstractWorkflowController
public abstract class AbstractWorkflowController
This Class is an abstract controller used in JSF Application A JSF Web Modul should subclass the AbstractWorkflowController for implementing a project specific Imixs Workflow BackingBean
| Field Summary | |
|---|---|
protected org.imixs.workflow.util.ItemCollectionAdapter |
workitemAdapter
|
protected org.imixs.workflow.ItemCollection |
workitemItemCollection
|
| Constructor Summary | |
|---|---|
AbstractWorkflowController()
|
|
| Method Summary | |
|---|---|
void |
addMessage(java.lang.String ressourceBundleName,
java.lang.String messageKey,
java.lang.Object param)
This method can be used to add a Error Messege to the Application Context during an actionListener Call. |
void |
doCreateWorkitem(javax.faces.event.ActionEvent event)
This method is called by a jsf page to create a new instance of a process. |
void |
doCreateWorkitem(int ProcessID)
This method is called by a jsf page to create a new instance of a process. |
void |
doDelete(javax.faces.event.ActionEvent event)
this method removes the current selected worktiem from a view |
void |
doEdit(javax.faces.event.ActionEvent event)
this method is called by datatables to select an workitem |
void |
doLoadNext(javax.faces.event.ActionEvent event)
|
void |
doLoadPrev(javax.faces.event.ActionEvent event)
|
void |
doProcessWorkitem(javax.faces.event.ActionEvent event)
processes the current issue. |
void |
doRefresh(javax.faces.event.ActionEvent event)
refreshes the current workitem list. so the list will be loaded again. |
void |
doReset(javax.faces.event.ActionEvent event)
resets the current project list and projectMB |
void |
doSwitchToSearchlist(javax.faces.event.ActionEvent event)
|
void |
doSwitchToWorklistAll(javax.faces.event.ActionEvent event)
|
void |
doSwitchToWorklistByAuthor(javax.faces.event.ActionEvent event)
|
void |
doSwitchToWorklistByCreator(javax.faces.event.ActionEvent event)
|
void |
doSwitchToWorklistByOwner(javax.faces.event.ActionEvent event)
|
void |
doSwitchToWorklistByWriteAccess(javax.faces.event.ActionEvent event)
|
java.util.ArrayList<org.imixs.workflow.util.ItemCollectionAdapter> |
getActivities()
returns a arrayList of Activities to the corresponidng processiD of the current Worktiem. |
org.imixs.workflow.jee.ejb.EntityService |
getEntityService()
returns an instance of the EntityService EJB |
java.lang.String |
getID()
returns the $uniqueID of the current workitem |
java.util.Map |
getItem()
|
java.util.Map |
getItemList()
|
java.util.Map |
getItemListArray()
|
int |
getMaxSearchResult()
returns the maximum size of a search result |
org.imixs.workflow.jee.ejb.ModelService |
getModelService()
returns an instance of the ModelService EJB |
java.lang.String |
getModelVersion()
returns the current ModelVersion. |
int |
getRow()
Navigation |
java.lang.String |
getSearchQuery()
defines the searchQuery to be use for a EQL search by the method doSwitchToSearchlist Sublcasses may overwrite this method to define individual search queries. |
int |
getSortOrder()
defines the default sortOrder for finder methods |
java.util.ArrayList<org.imixs.workflow.util.ItemCollectionAdapter> |
getStartProcessList()
returns a arrayList of start processes. |
java.lang.String |
getType()
set the value for the attribute 'type' of a workitem to be generated or search by this controller |
java.lang.String |
getWorkflowResult()
returns the last workflow result to control the navigation flow if no result is found show_worklist will be returned |
org.imixs.workflow.jee.ejb.WorkflowService |
getWorkflowService()
returns an instance of the WorkflowService EJB |
org.imixs.workflow.ItemCollection |
getWorkitem()
|
java.util.List<org.imixs.workflow.util.ItemCollectionAdapter> |
getWorkitems()
|
boolean |
isEndOfList()
|
boolean |
isNewWorkitem()
indicates if a workitem was processed before by the workflowService |
void |
setMaxSearchResult(int searchCount)
set the maximum size of a search result |
void |
setModelVersion(java.lang.String modelVersion)
|
void |
setSearchQuery(java.lang.String query)
set the current searchquery |
void |
setSortOrder(int sortOrder)
|
void |
setType(java.lang.String type)
defines the type attribute of a workitem to be generated or search by this controller Subclasses may overwrite the type |
void |
setWorkitem(org.imixs.workflow.ItemCollection aworkitem)
updates all attributes by the supported map into the ItemCollection Diese Mehtode wird beim Klick auf einen Datensatz aufgerufen |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.imixs.workflow.ItemCollection workitemItemCollection
protected org.imixs.workflow.util.ItemCollectionAdapter workitemAdapter
| Constructor Detail |
|---|
public AbstractWorkflowController()
| Method Detail |
|---|
public org.imixs.workflow.jee.ejb.EntityService getEntityService()
public org.imixs.workflow.jee.ejb.ModelService getModelService()
public org.imixs.workflow.jee.ejb.WorkflowService getWorkflowService()
public java.lang.String getID()
public java.lang.String getType()
public void setType(java.lang.String type)
type - public int getSortOrder()
public void setSortOrder(int sortOrder)
public java.lang.String getModelVersion()
public void setModelVersion(java.lang.String modelVersion)
public int getMaxSearchResult()
public void setMaxSearchResult(int searchCount)
searchCount - public java.lang.String getSearchQuery()
public void setSearchQuery(java.lang.String query)
query - public void setWorkitem(org.imixs.workflow.ItemCollection aworkitem)
ateam - public org.imixs.workflow.ItemCollection getWorkitem()
public void doCreateWorkitem(javax.faces.event.ActionEvent event)
throws java.lang.Exception
event -
java.lang.ExceptionWorkitemServiceBean
public void doCreateWorkitem(int ProcessID)
throws java.lang.Exception
event -
java.lang.Exception
public void doProcessWorkitem(javax.faces.event.ActionEvent event)
throws java.lang.Exception
event -
java.lang.Exceptionpublic void doEdit(javax.faces.event.ActionEvent event)
public void doDelete(javax.faces.event.ActionEvent event)
throws java.lang.Exception
event -
java.lang.Exceptionpublic void doReset(javax.faces.event.ActionEvent event)
public void doRefresh(javax.faces.event.ActionEvent event)
public void doSwitchToWorklistByAuthor(javax.faces.event.ActionEvent event)
public void doSwitchToWorklistByWriteAccess(javax.faces.event.ActionEvent event)
public void doSwitchToWorklistByOwner(javax.faces.event.ActionEvent event)
public void doSwitchToWorklistByCreator(javax.faces.event.ActionEvent event)
public void doSwitchToWorklistAll(javax.faces.event.ActionEvent event)
public void doSwitchToSearchlist(javax.faces.event.ActionEvent event)
public void doLoadNext(javax.faces.event.ActionEvent event)
public void doLoadPrev(javax.faces.event.ActionEvent event)
public java.util.List<org.imixs.workflow.util.ItemCollectionAdapter> getWorkitems()
public int getRow()
public boolean isEndOfList()
public java.lang.String getWorkflowResult()
public java.util.Map getItem()
throws java.lang.Exception
java.lang.Exception
public java.util.Map getItemList()
throws java.lang.Exception
java.lang.Exception
public java.util.Map getItemListArray()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<org.imixs.workflow.util.ItemCollectionAdapter> getActivities()
public java.util.ArrayList<org.imixs.workflow.util.ItemCollectionAdapter> getStartProcessList()
public boolean isNewWorkitem()
public void addMessage(java.lang.String ressourceBundleName,
java.lang.String messageKey,
java.lang.Object param)
ressourceBundleName - messageKey - param -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||