|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.imixs.workflow.jee.faces.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.ItemCollection |
workitemItemCollection
|
| Constructor Summary | |
|---|---|
AbstractWorkflowController()
|
|
| Method Summary | |
|---|---|
void |
addMessage(String ressourceBundleName,
String messageKey,
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 workitem 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)
|
ArrayList<org.imixs.workflow.ItemCollection> |
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 |
String |
getID()
returns the $uniqueID of the current workitem |
int |
getMaxSearchResult()
returns the maximum size of a search result |
org.imixs.workflow.jee.ejb.ModelService |
getModelService()
returns an instance of the ModelService EJB |
String |
getModelVersion()
returns the current ModelVersion. |
int |
getRow()
Navigation |
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 |
ArrayList<org.imixs.workflow.ItemCollection> |
getStartProcessList()
returns a arrayList of start processes. |
String |
getType()
set the value for the attribute 'type' of a workitem to be generated or search by this controller |
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()
|
List<org.imixs.workflow.ItemCollection> |
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(String modelVersion)
|
void |
setSearchQuery(String query)
set the current searchquery |
void |
setSortOrder(int sortOrder)
|
void |
setType(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 |
void |
setWorkitems(ArrayList<org.imixs.workflow.ItemCollection> workitems)
|
| 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
| 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 String getID()
public String getType()
public void setType(String type)
type - public int getSortOrder()
public void setSortOrder(int sortOrder)
public String getModelVersion()
public void setModelVersion(String modelVersion)
public int getMaxSearchResult()
public void setMaxSearchResult(int searchCount)
searchCount - public String getSearchQuery()
public void setSearchQuery(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 Exception
event -
ExceptionWorkitemServiceBean
public void doCreateWorkitem(int ProcessID)
throws Exception
event -
Exception
public void doProcessWorkitem(javax.faces.event.ActionEvent event)
throws Exception
event -
Exceptionpublic void doEdit(javax.faces.event.ActionEvent event)
public void doDelete(javax.faces.event.ActionEvent event)
throws Exception
event -
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 List<org.imixs.workflow.ItemCollection> getWorkitems()
public void setWorkitems(ArrayList<org.imixs.workflow.ItemCollection> workitems)
public int getRow()
public boolean isEndOfList()
public String getWorkflowResult()
public ArrayList<org.imixs.workflow.ItemCollection> getActivities()
public ArrayList<org.imixs.workflow.ItemCollection> getStartProcessList()
public boolean isNewWorkitem()
public void addMessage(String ressourceBundleName,
String messageKey,
Object param)
ressourceBundleName - messageKey - param -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||