|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.processManager.ProcessFilter
public class ProcessFilter
A ProcessFilter is used to select some process from all the process.
| Constructor Summary | |
|---|---|
ProcessFilter(com.silverpeas.workflow.api.model.ProcessModel model,
String role,
String lang)
Builds a process filter which can be used to select process intance of a given process model. |
|
| Method Summary | |
|---|---|
void |
copySharedCriteria(ProcessFilter source)
Copy the criteria filled in another context but shared by this filter. |
com.silverpeas.form.DataRecord[] |
filter(com.silverpeas.workflow.api.instance.ProcessInstance[] allInstances,
String role,
String lang)
Returns only the process instance matching the filter. |
String |
getCollapse()
Returns the collapse status of the filter panel. |
com.silverpeas.form.DataRecord |
getCriteriaRecord()
Get the current criteria. |
com.silverpeas.form.Form |
getPresentationForm()
Returns the form which can be used to fill the filter criteria. |
void |
setCollapse(String collapse)
Set the collapse status of the filter panel. |
void |
setCriteriaRecord(com.silverpeas.form.DataRecord criteria)
Set the current criteria. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessFilter(com.silverpeas.workflow.api.model.ProcessModel model,
String role,
String lang)
throws ProcessManagerException
ProcessManagerException| Method Detail |
|---|
public com.silverpeas.form.Form getPresentationForm()
throws ProcessManagerException
ProcessManagerException
public com.silverpeas.form.DataRecord getCriteriaRecord()
throws ProcessManagerException
ProcessManagerExceptionpublic void setCriteriaRecord(com.silverpeas.form.DataRecord criteria)
public void copySharedCriteria(ProcessFilter source)
public String getCollapse()
public void setCollapse(String collapse)
public com.silverpeas.form.DataRecord[] filter(com.silverpeas.workflow.api.instance.ProcessInstance[] allInstances,
String role,
String lang)
throws ProcessManagerException
ProcessManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||