@Named @RequestScoped public class WorkitemLinkController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
LINK_PROPERTY |
static String |
LINK_PROPERTY_DEPRECATED |
static Logger |
logger |
static int |
MAX_SEARCH_RESULT |
protected org.imixs.workflow.engine.index.SchemaService |
schemaService |
protected org.imixs.workflow.faces.data.WorkflowController |
workflowController |
protected org.imixs.workflow.engine.WorkflowService |
workflowService |
| Constructor and Description |
|---|
WorkitemLinkController() |
| Modifier and Type | Method and Description |
|---|---|
List<org.imixs.workflow.ItemCollection> |
getExternalReferences()
Returns a list of all workItems holding a reference to the current workItem.
|
List<org.imixs.workflow.ItemCollection> |
getExternalReferences(String filter)
returns a list of all workItems holding a reference to the current workItem.
|
List<org.imixs.workflow.ItemCollection> |
getReferences()
This method returns a list of all ItemCollections referred by the current
workItem (txtWorkitemRef).
|
List<org.imixs.workflow.ItemCollection> |
getReferences(String filter)
This method returns a list of ItemCollections referred by the current
workItem ($WorkitemRef).
|
List<org.imixs.workflow.ItemCollection> |
getSearchResult() |
void |
searchWorkitems()
This method searches a text phrase within the user profile objects
(type=profile).
|
List<org.imixs.workflow.ItemCollection> |
searchWorkitems(String phrase,
String filter)
This method returns a list of profile ItemCollections matching the search
phrase.
|
public static final String LINK_PROPERTY
public static final String LINK_PROPERTY_DEPRECATED
public static final int MAX_SEARCH_RESULT
public static Logger logger
protected org.imixs.workflow.engine.WorkflowService workflowService
protected org.imixs.workflow.engine.index.SchemaService schemaService
@Inject protected org.imixs.workflow.faces.data.WorkflowController workflowController
public void searchWorkitems()
JSF Integration:
<h:commandScript name="imixsOfficeWorkflow.mlSearch" action=
"#{cargosoftController.search()}" rendered="#{cargosoftController!=null}"
render= "cargosoft-results" />
JavaScript Example:
imixsOfficeWorkflow.cargosoftSearch({ item: '_invoicenumber' })
public List<org.imixs.workflow.ItemCollection> searchWorkitems(String phrase, String filter)
phrase - - search phrasepublic List<org.imixs.workflow.ItemCollection> getSearchResult()
public List<org.imixs.workflow.ItemCollection> getReferences()
public List<org.imixs.workflow.ItemCollection> getReferences(String filter)
The filter will be applied to the result list. So each WorkItem will be tested if it matches the filter expression.
The resultset is sorted by $created
public List<org.imixs.workflow.ItemCollection> getExternalReferences()
NamingExceptionpublic List<org.imixs.workflow.ItemCollection> getExternalReferences(String filter)
filter - NamingExceptionCopyright © 2016–2022 Imixs Software Solutions GmbH. All rights reserved.