Package de.elo.ix.client
Class FindTasksInfo
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.FindTasksInfo
- All Implemented Interfaces:
Serializable
This class contains the search criteria that are required for locating a task (reminders,
workflow tasks or activity).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanCollect tasks from all users.protected StringCollect tasks up to this date.protected FindResultAccessModeDescribes how the client application will access the results.protected intCollect tasks of this or lower priority.protected booleanCollect activities.Only select activities of the given typesprotected booleanSelect tasks for deleted folders and documents too.protected booleanCollect tasks received from users for which the current user is a substitute.protected booleanCollect tasks of the users groups.protected booleanInlcude hidden tasks.protected booleanCollect tasks for a superior as defined in the escalation options.protected booleanCollect reminders.protected booleanCollect workflows.protected intCollect tasks of this or higher priority.protected StringCollect tasks for this Sord (ID or GUID).protected booleanCollect nodes that exceeded the time limit.protected SordZReturn the associated Sord objects to the selected Tasks.protected UserTaskSortOrderZControls the sort order or returned arrays.protected StringCollect tasks beginning at this date.protected StringSelect tasks with this name.protected intTime limit bias.protected booleanUpdate WFNode.inUseDateIso for selected tasks.protected String[]IDs of the users which tasks can be collected by the administrator.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetObjId()getSordZ()intString[]booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAllUsers(boolean allUsers) voidsetEndDateIso(String endDateIso) voidsetFindResultAccessMode(FindResultAccessMode findResultAccessMode) voidsetHighestPriority(int highestPriority) voidsetInclActivities(boolean inclActivities) voidsetInclActivityTypes(List<String> inclActivityTypes) voidsetInclDeleted(boolean inclDeleted) voidsetInclDeputy(boolean inclDeputy) voidsetInclGroup(boolean inclGroup) voidsetInclHidden(boolean inclHidden) voidsetInclOverTimeForSuperior(boolean inclOverTimeForSuperior) voidsetInclReminders(boolean inclReminders) voidsetInclWorkflows(boolean inclWorkflows) voidsetLowestPriority(int lowestPriority) voidvoidsetOverTimeLimit(boolean overTimeLimit) voidvoidsetSortOrder(UserTaskSortOrderZ sortOrder) voidsetStartDateIso(String startDateIso) voidsetTaskName(String taskName) voidsetTimeLimitBias(int timeLimitBias) voidsetUpdateInUseDate(boolean updateInUseDate) voidsetUserIds(String[] userIds) toString()Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
endDateIso
Collect tasks up to this date. -
highestPriority
protected int highestPriorityCollect tasks of this or lower priority.- See Also:
-
inclActivities
protected boolean inclActivitiesCollect activities. -
inclDeputy
protected boolean inclDeputyCollect tasks received from users for which the current user is a substitute.
ELO 12+:
inclGroupmust be set totrueto enable this option. -
inclGroup
protected boolean inclGroupCollect tasks of the users groups. -
inclReminders
protected boolean inclRemindersCollect reminders. -
inclWorkflows
protected boolean inclWorkflowsCollect workflows. -
lowestPriority
protected int lowestPriorityCollect tasks of this or higher priority.- See Also:
-
objId
Collect tasks for this Sord (ID or GUID). -
sortOrder
Controls the sort order or returned arrays. If null, PRIORITY_DATE_NAME is used.- See Also:
-
startDateIso
Collect tasks beginning at this date. -
overTimeLimit
protected boolean overTimeLimitCollect nodes that exceeded the time limit. Workflow only- Since:
- 6.00.098
-
inclOverTimeForSuperior
protected boolean inclOverTimeForSuperiorCollect tasks for a superior as defined in the escalation options. When a workflow task exceeds its time limit, and the current user is assigned in the time limit options of this task, then the user receives this task from findFirstTasks/findNextTasks although she or he is not the owner of the task. If an entire workflow is over time, the user receives the start node of the workflow. This option applies to workflow tasks only.- Since:
- 8.00.010.006
-
userIds
IDs of the users which tasks can be collected by the administrator. This member is ignored, if the current user does not have administrator privilegesAccessC.FLAG_ADMIN. For administrators, this can be a list of user or groups which tasks should be selected. If the list is null or empty, The tasks of the administrator are collected. In order to collect all tasks from all users, set memberallUsers=true.- Since:
- 8.00.012.003
-
inclDeleted
protected boolean inclDeletedSelect tasks for deleted folders and documents too.- Since:
- 8.00.012.005
-
allUsers
protected boolean allUsersCollect tasks from all users. This member is ignored, if the current user does not have administrator privilegesAccessC.FLAG_ADMIN. If set to true, elementuserIdsis ignored and the tasks of all users are selected.- Since:
- 8.00.020.003
-
sordZ
Return the associated Sord objects to the selected Tasks. If this member is not null, the Sord objects to the selected Tasks are read from the database. The Sord objects can be found inFindResult.sordsand in eachUserTask.sordof the arrayFindResult.tasks. The Sord objects contain the elements defined in this element selector as valid members.- Since:
- 8.00.020.004
-
taskName
Select tasks with this name. The task name of a Reminder is Reminder.name. The task name of an Activity is Activity.name. The task name of a workflow node is WFNode.name and WFCollectNode.nodeName. This element can contain wildcard characters. The underlying database column is by default not indexed. Thus, selecting only by taskName will result in a full table scan.- Since:
- 8.00.028.002
-
updateInUseDate
protected boolean updateInUseDateUpdate WFNode.inUseDateIso for selected tasks.- Since:
- 9.00.000.025
-
inclActivityTypes
Only select activities of the given types- Since:
- 9.00.000.003
-
inclHidden
protected boolean inclHiddenInlcude hidden tasks. Currently this only affects workflows.- Since:
- 9.00.018.006
-
timeLimitBias
protected int timeLimitBiasTime limit bias. This value added to eachWFNode.timeLimitbefore evaluating whether the node is over time. It is measured in minutes. Indexserver uses a timeLimitBias of 1min when looking for over-timed nodes to be forwarded automatically through aWFNodeMatrixC.IF_OVERTIMEedge.- Since:
- 9.99.009.009
-
findResultAccessMode
Describes how the client application will access the results.- Since:
- 11.00.000.033
-
-
Constructor Details
-
FindTasksInfo
public FindTasksInfo() -
FindTasksInfo
-
-
Method Details
-
getEndDateIso
-
setEndDateIso
-
getHighestPriority
public int getHighestPriority() -
setHighestPriority
public void setHighestPriority(int highestPriority) -
isInclActivities
public boolean isInclActivities() -
setInclActivities
public void setInclActivities(boolean inclActivities) -
isInclDeputy
public boolean isInclDeputy() -
setInclDeputy
public void setInclDeputy(boolean inclDeputy) -
isInclGroup
public boolean isInclGroup() -
setInclGroup
public void setInclGroup(boolean inclGroup) -
isInclReminders
public boolean isInclReminders() -
setInclReminders
public void setInclReminders(boolean inclReminders) -
isInclWorkflows
public boolean isInclWorkflows() -
setInclWorkflows
public void setInclWorkflows(boolean inclWorkflows) -
getLowestPriority
public int getLowestPriority() -
setLowestPriority
public void setLowestPriority(int lowestPriority) -
getObjId
-
setObjId
-
getSortOrder
-
setSortOrder
-
getStartDateIso
-
setStartDateIso
-
isOverTimeLimit
public boolean isOverTimeLimit() -
setOverTimeLimit
public void setOverTimeLimit(boolean overTimeLimit) -
isInclOverTimeForSuperior
public boolean isInclOverTimeForSuperior() -
setInclOverTimeForSuperior
public void setInclOverTimeForSuperior(boolean inclOverTimeForSuperior) -
toString
-
getUserIds
-
setUserIds
-
isInclDeleted
public boolean isInclDeleted() -
setInclDeleted
public void setInclDeleted(boolean inclDeleted) -
isAllUsers
public boolean isAllUsers() -
setAllUsers
public void setAllUsers(boolean allUsers) -
getSordZ
-
setSordZ
-
getTaskName
-
setTaskName
-
isUpdateInUseDate
public boolean isUpdateInUseDate() -
setUpdateInUseDate
public void setUpdateInUseDate(boolean updateInUseDate) -
isInclHidden
public boolean isInclHidden() -
setInclHidden
public void setInclHidden(boolean inclHidden) -
getInclActivityTypes
-
setInclActivityTypes
-
getTimeLimitBias
public int getTimeLimitBias() -
setTimeLimitBias
public void setTimeLimitBias(int timeLimitBias) -
getFindResultAccessMode
-
setFindResultAccessMode
-