|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.imixs.workflow.jee.adminclient.EntityServiceFacade
public class EntityServiceFacade
This Class defines a BackingBean which acts as a SessionFacade for the
org.imixs.workflow.jee.ejb.EntityPersistenceManager Session EJB.
This Backing Bean interacts with the EntityBean backing bean to grant access
to the current selected Entity.
The ManagedBean should be declared in faces-config like this:
the assumes that a local instance of org.imixs.workflow.jee.ejb.EntityService
is deployed locally. You can bind the Bean to any other remote interface of
an EntityService using the 'ejbName' attribute.
EntityBean| Constructor Summary | |
|---|---|
EntityServiceFacade()
|
|
| Method Summary | |
|---|---|
void |
bulkUpdateWorkItemList(javax.faces.event.ActionEvent event)
This method starts a new EQL query and update the results with the updateValue in the field updateField |
void |
doDelete(javax.faces.event.ActionEvent event)
this method removes the current selected worktiem from a view |
void |
doDeleteIndex(javax.faces.event.ActionEvent event)
This action method deletes an existing index. |
void |
doDeleteModel(javax.faces.event.ActionEvent event)
This Method Selects the current project and refreshes the Worklist Bean so wokitems of these project will be displayed after show_worklist Furthermore the method call loadProcessList to support a List of StartProcess ItemCollections. |
void |
doQueryModelVersions(javax.faces.event.ActionEvent e)
This method starts a new EQL query for all existing ModelVersions and stores the results into the models object. |
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 |
String |
doSaveIndex()
adds a new index to the EntityPersistencManager |
void |
doSearch(javax.faces.event.ActionEvent e)
This method resets simply the result set |
void |
doSelect(javax.faces.event.ActionEvent event)
this method is called by datatables to select an workitem |
void |
doSelectModel(javax.faces.event.ActionEvent event)
This Method Selects the current model |
String |
exportWorkItemList()
This method starts a new EQL query and exports the results into a export file |
int |
getCount()
|
javax.faces.component.html.HtmlDataTable |
getDataTable()
Navigation |
String |
getEjbEntityPersistenceManagerName()
|
List<org.imixs.workflow.ItemCollection> |
getEntities()
|
String |
getErrorMessage()
|
String |
getFilename()
|
List |
getIndexList()
|
String |
getIndexName()
getter method for name |
int |
getIndexType()
|
String |
getLoginfo()
|
ArrayList<Map> |
getModels()
|
String |
getQuery()
|
int |
getRow()
|
String |
getUpdateField()
|
String |
getUpdateFieldType()
|
String |
getUpdateValue()
|
String |
importWorkItemList()
This method starts a file import and loads the existing workitems. |
boolean |
isEndOfList()
|
boolean |
isEntityPersistenceManagerLoaded()
|
void |
loadNext(javax.faces.event.ActionEvent e)
|
void |
loadPrev(javax.faces.event.ActionEvent e)
|
void |
removeWorkItemList(javax.faces.event.ActionEvent event)
This method starts a new EQL query and removes the results |
void |
setCount(int count)
|
void |
setDataTable(javax.faces.component.html.HtmlDataTable dataTable)
|
void |
setEjbEntityPersistenceManagerName(String ejbModuleName)
|
void |
setErrorMessage(String error_Message)
|
void |
setFilename(String filename)
|
void |
setIndexName(String aname)
setter method for name |
void |
setIndexType(int type)
|
void |
setQuery(String query)
|
void |
setRow(int startpos)
|
void |
setUpdateField(String updateField)
|
void |
setUpdateFieldType(String updateFieldType)
|
void |
setUpdateValue(String updateValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityServiceFacade()
| Method Detail |
|---|
public String getLoginfo()
public void setQuery(String query)
public String getQuery()
public void setFilename(String filename)
public String getFilename()
public void setErrorMessage(String error_Message)
public String getErrorMessage()
public void setCount(int count)
public int getCount()
public void setRow(int startpos)
public int getRow()
public String getUpdateField()
public void setUpdateField(String updateField)
public String getUpdateFieldType()
public void setUpdateFieldType(String updateFieldType)
public String getUpdateValue()
public void setUpdateValue(String updateValue)
public void doDelete(javax.faces.event.ActionEvent event)
throws Exception
event -
Exceptionpublic void doRefresh(javax.faces.event.ActionEvent event)
public void doReset(javax.faces.event.ActionEvent event)
public void doSelectModel(javax.faces.event.ActionEvent event)
throws Exception
Exception
public void doDeleteModel(javax.faces.event.ActionEvent event)
throws Exception
Exceptionpublic void doSearch(javax.faces.event.ActionEvent e)
public String doSaveIndex()
public void doDeleteIndex(javax.faces.event.ActionEvent event)
public void doSelect(javax.faces.event.ActionEvent event)
public void doQueryModelVersions(javax.faces.event.ActionEvent e)
throws Exception
Exceptionpublic ArrayList<Map> getModels()
public javax.faces.component.html.HtmlDataTable getDataTable()
public void setDataTable(javax.faces.component.html.HtmlDataTable dataTable)
public List<org.imixs.workflow.ItemCollection> getEntities()
public String getIndexName()
public void setIndexName(String aname)
map - public int getIndexType()
public void setIndexType(int type)
public List getIndexList()
public boolean isEndOfList()
public void loadNext(javax.faces.event.ActionEvent e)
public void loadPrev(javax.faces.event.ActionEvent e)
public String exportWorkItemList()
throws Exception
Exception
public String importWorkItemList()
throws Exception
Exception
public void removeWorkItemList(javax.faces.event.ActionEvent event)
throws Exception
Exception
public void bulkUpdateWorkItemList(javax.faces.event.ActionEvent event)
throws Exception
Exceptionpublic String getEjbEntityPersistenceManagerName()
public void setEjbEntityPersistenceManagerName(String ejbModuleName)
throws Exception
Exceptionpublic boolean isEntityPersistenceManagerLoaded()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||