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 boolean
Collect tasks from all users.protected String
Collect tasks up to this date.protected FindResultAccessMode
Describes how the client application will access the results.protected int
Collect tasks of this or lower priority.protected boolean
Collect activities.Only select activities of the given typesprotected boolean
Select tasks for deleted folders and documents too.protected boolean
Collect tasks received from users for which the current user is a substitute.protected boolean
Collect tasks of the users groups.protected boolean
Inlcude hidden tasks.protected boolean
Collect tasks for a superior as defined in the escalation options.protected boolean
Collect reminders.protected boolean
Collect workflows.protected int
Collect tasks of this or higher priority.protected String
Collect tasks for this Sord (ID or GUID).protected boolean
Collect nodes that exceeded the time limit.protected SordZ
Return the associated Sord objects to the selected Tasks.protected UserTaskSortOrderZ
Controls the sort order or returned arrays.protected String
Collect tasks beginning at this date.protected String
Select tasks with this name.protected int
Time limit bias.protected boolean
Update 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 TypeMethodDescriptionint
int
getObjId()
getSordZ()
int
String[]
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAllUsers
(boolean allUsers) void
setEndDateIso
(String endDateIso) void
setFindResultAccessMode
(FindResultAccessMode findResultAccessMode) void
setHighestPriority
(int highestPriority) void
setInclActivities
(boolean inclActivities) void
setInclActivityTypes
(List<String> inclActivityTypes) void
setInclDeleted
(boolean inclDeleted) void
setInclDeputy
(boolean inclDeputy) void
setInclGroup
(boolean inclGroup) void
setInclHidden
(boolean inclHidden) void
setInclOverTimeForSuperior
(boolean inclOverTimeForSuperior) void
setInclReminders
(boolean inclReminders) void
setInclWorkflows
(boolean inclWorkflows) void
setLowestPriority
(int lowestPriority) void
void
setOverTimeLimit
(boolean overTimeLimit) void
void
setSortOrder
(UserTaskSortOrderZ sortOrder) void
setStartDateIso
(String startDateIso) void
setTaskName
(String taskName) void
setTimeLimitBias
(int timeLimitBias) void
setUpdateInUseDate
(boolean updateInUseDate) void
setUserIds
(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+:
inclGroup
must be set totrue
to 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, elementuserIds
is 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.sords
and in eachUserTask.sord
of 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.timeLimit
before 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_OVERTIME
edge.- 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
-