@AccessLevel(value=EXTERNAL)
public interface Inbox
Modifier and Type | Method and Description |
---|---|
curam.core.sl.struct.InboxOptionsPreferencesDetails |
getInboxOptionsUserPreferences()
Returns the Inbox options user preferences for the user.
|
curam.core.sl.struct.TaskRedirectionSecurity |
getTaskRedirectionAndBlockingSecurity()
Returns the user's security settings for viewing and editing their task
redirection and allocation blocking settings.
|
curam.core.facade.struct.ListAssignedTaskDetails |
listAssigned(curam.core.facade.struct.ListTaskKey listTaskKey)
Returns a list of the task details including the task deadline for tasks
that are assigned directly to a user but not currently reserved by the
user.
|
curam.core.sl.struct.TaskQueryResultDetailsList |
listAvailableTasks()
Returns a list all the tasks that are assigned the current user and thus
available to work on.
|
curam.core.facade.struct.LimitedListDeferredTaskDetails |
listLimitedDeferredTasks()
Returns a list of the task details that have been deferred by the current
user.
|
curam.core.facade.struct.LimitedListReservedTaskDetails |
listLimitedReservedTasks()
Returns a list all the tasks that are reserved by the current user.
|
curam.core.facade.struct.LimitedListReservedTaskDetails |
listLimitedReservedTasksByStatus(curam.core.facade.struct.ListReservedByStatusKey listReservedByStatusKey)
Returns a list all the tasks that are reserved by the current user and
filtered by task status (e.g.
|
curam.core.facade.struct.LimitedListWorkQueueUnreservedTasksDetails |
listLimitedUnreservedWorkQueueTasks(curam.core.facade.struct.ListWorkQueueUnreservedTasksKey key)
Returns a list of tasks that are unreserved (and thus available to be
worked on) for the specified work queue.
|
curam.core.facade.struct.ListReservedByPriorityDetails |
listReservedByPriority(curam.core.facade.struct.ListReservedByPriorityKey listReservedByPriorityKey)
Returns a list of all of the tasks that are reserved by the current user
and are filtered by task priority (e.g.
|
curam.core.facade.struct.ListReservedDueOnDateDetails |
listReservedDueOnDate(curam.core.facade.struct.ListReservedKey listReservedKey)
Returns a list of all the task details that are reserved by a specified
user and are due on a specified date.
|
curam.core.facade.struct.ListReservedDueOnOrBeforeDateDetails |
listReservedDueOnOrBeforeDate(curam.core.facade.struct.ListReservedKey listReservedKey)
Returns a list of all the tasks that are reserved by a specified user and
are due on or before a specified date.
|
curam.core.facade.struct.InboxContextDescription |
readContextDescription(curam.core.facade.struct.ListTaskKey listTaskKey)
Returns the context description for specified inbox.
|
curam.core.facade.struct.ReserveNextTaskDetails |
reserveNextTask(curam.core.facade.struct.ReserveNextTaskKey reserveNextTaskKey)
Adds the next task available for the specified user to the their list of
tasks to work on.
|
curam.core.facade.struct.ReserveNextTaskDetails |
reserveNextTaskFromPreferredOrgUnit(curam.core.facade.struct.ReserveNextWorkQueueTaskKey reserveNextWorkQueueTaskKey)
Adds the next task to the list of tasks to work on from the user's
preferred organization unit.
|
curam.core.facade.struct.ReserveNextTaskDetails |
reserveNextTaskFromPreferredWorkQueue(curam.core.facade.struct.ReserveNextWorkQueueTaskKey reserveNextWorkQueueTaskKey)
Adds the next task to the list of available tasks to work on from the
user's preferred work queue.
|
curam.core.facade.struct.ReserveNextTaskDetails |
reserveNextWorkQueueTask(curam.core.facade.struct.ReserveNextWorkQueueTaskKey reserveNextWorkQueueTaskKey)
Adds the next task to the list of tasks to work on from the specified work
queue which the specified user is subscribed to.
|
curam.core.struct.AvailableTaskSearchResult |
searchAvailableTasks()
This method searches for available tasks for the currently logged in user
using the search criteria stored for the user in the database.
|
curam.core.sl.struct.TaskQueryResultDetailsList |
searchForTasks(curam.core.sl.struct.TaskQueryKey searchTaskKey)
Searches for tasks based on specified criteria.
|
curam.core.facade.struct.ListWorkQueueNameDtls |
searchWorkQueueName(curam.core.facade.struct.ListTaskKey listTaskKey)
Returns a list of all the work queue names and identifiers that the
current user is subscribed to.
|
curam.core.facade.struct.ListUserOrgObjectWorkQueueDetails |
searchWorkQueues(curam.core.facade.struct.ListTaskKey listTaskKey)
Returns two list of all the work queue names and identifiers that the
current user is subscribed to.
|
void |
setInboxOptionsUserPreferences(curam.core.sl.struct.InboxUserPreferenceDetails preferences)
Sets the current users inbox options preferences.
|
void |
subscribeUserWorkQueue(curam.core.facade.struct.SubscribeUserWorkQueueKey subscribeUserWorkQueueKey)
Subscribes the specified user to the specified work queue.
|
void |
unsubscribeUserWorkQueue(curam.core.facade.struct.UnsubscribeUserWorkQueueKey unsubscribeUserWorkQueueKey)
Un-subscribes the specified user from the specified work queue.
|
curam.core.sl.struct.InboxOptionsSummaryDetails |
viewInboxOptionsSummaryForUser()
Returns the inbox options summary for the currently logged on user.
|
curam.core.facade.struct.ListReservedByPriorityDetails listReservedByPriority(curam.core.facade.struct.ListReservedByPriorityKey listReservedByPriorityKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
The tasks are ordered by deadline date time, earliest first.
listReservedByPriorityKey
- The task priority used to filter the
search results.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ListReservedDueOnDateDetails listReservedDueOnDate(curam.core.facade.struct.ListReservedKey listReservedKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
listReservedKey
- The name of the user whose reserved task details
will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ListReservedDueOnOrBeforeDateDetails listReservedDueOnOrBeforeDate(curam.core.facade.struct.ListReservedKey listReservedKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
listReservedKey
- The name of the user whose reserved task details
will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ListAssignedTaskDetails listAssigned(curam.core.facade.struct.ListTaskKey listTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
By default the list is ordered by deadline with the least recent deadline first.
if the ENV_WORKFLOW_SORTINBOXTASKS_WITH_PRIORITY_FILTER
environment variable is
set to true, the tasks are sorted by priority. The priority ordering is
determined by the environment variable ENV_WORKFLOW_TASK_PRIORITY_ORDER
. The value of this variable is a comma
delimited string containing the task priority code table values with the
highest priority first.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ReserveNextTaskDetails reserveNextTask(curam.core.facade.struct.ReserveNextTaskKey reserveNextTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
My Tasks
list.
The order the search returns the tasks is determined by first checking if
the environment variable EnvVars.ENV_WORKFLOW_RESERVENEXTTASK_WITH_PRIORITY_FILTER
is set. If it is set, then the tasks returned will be ordered by the
priorities specified in the EnvVars.ENV_WORKFLOW_TASK_PRIORITY_ORDER
environment
variable followed by the least recent task assignment date. If the
priority filter environment variable has not been set then the next task
is retrieved by the least recent task assignment date.
Exceptions are thrown under the following circumstances:
reserveNextTaskKey
- The name of the user.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ReserveNextTaskDetails reserveNextWorkQueueTask(curam.core.facade.struct.ReserveNextWorkQueueTaskKey reserveNextWorkQueueTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
My Tasks
list.
The order the search returns the tasks is determined by first checking if
the environment variable EnvVars.ENV_WORKFLOW_RESERVENEXTTASK_WITH_PRIORITY_FILTER
is set. If it is set, then the tasks returned will be ordered by the
priorities specified in the EnvVars.ENV_WORKFLOW_TASK_PRIORITY_ORDER
environment
variable followed by the least recent task assignment date. If the
priority filter environment variable has not been set then the next task
is retrieved by the least recent task assignment date.
Exceptions are thrown under the following circumstances:
reserveNextWorkQueueTaskKey
- The name of the user and identifier of
the work queue.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.InboxContextDescription readContextDescription(curam.core.facade.struct.ListTaskKey listTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
listTaskKey
- The user name specified in this struct will be
returned. If no user name has been specified, then the name of the
currently logged in user will be returned.curam.util.exception.AppException
curam.util.exception.InformationalException
void subscribeUserWorkQueue(curam.core.facade.struct.SubscribeUserWorkQueueKey subscribeUserWorkQueueKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
An exception is thrown under the following circumstances:
subscribeUserWorkQueueKey
- The name of the user and the identifier
of the work queue to subscribe to.curam.util.exception.AppException
curam.util.exception.InformationalException
void unsubscribeUserWorkQueue(curam.core.facade.struct.UnsubscribeUserWorkQueueKey unsubscribeUserWorkQueueKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
unsubscribeUserWorkQueueKey
- The name of the user and the identifier
of the work queue to un-subscribe from.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.struct.AvailableTaskSearchResult searchAvailableTasks() throws curam.util.exception.AppException, curam.util.exception.InformationalException
The search is performed by the SearchTask
interface. The default search implementation can be customized
using Guice and by extending SearchTaskImpl
.
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is returned (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.InboxOptionsSummaryDetails viewInboxOptionsSummaryForUser() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.InboxOptionsPreferencesDetails getInboxOptionsUserPreferences() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.AppException
curam.util.exception.InformationalException
void setInboxOptionsUserPreferences(curam.core.sl.struct.InboxUserPreferenceDetails preferences) throws curam.util.exception.AppException, curam.util.exception.InformationalException
preferences
- The preferences to set.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskRedirectionSecurity getTaskRedirectionAndBlockingSecurity() throws curam.util.exception.AppException, curam.util.exception.InformationalException
See the Workflow Reference Guide for more details on the security settings that this function examines in order to determine these security settings.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskQueryResultDetailsList searchForTasks(curam.core.sl.struct.TaskQueryKey searchTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
SearchTask
interface. The default search implementation can be customized
using Guice and by extending SearchTaskImpl
.
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is returned (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ListUserOrgObjectWorkQueueDetails searchWorkQueues(curam.core.facade.struct.ListTaskKey listTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
listTaskKey
- The user name.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ListWorkQueueNameDtls searchWorkQueueName(curam.core.facade.struct.ListTaskKey listTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
listTaskKey
- The user name.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.LimitedListReservedTaskDetails listLimitedReservedTasks() throws curam.util.exception.AppException, curam.util.exception.InformationalException
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is returned (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.LimitedListReservedTaskDetails listLimitedReservedTasksByStatus(curam.core.facade.struct.ListReservedByStatusKey listReservedByStatusKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is returned (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.LimitedListWorkQueueUnreservedTasksDetails listLimitedUnreservedWorkQueueTasks(curam.core.facade.struct.ListWorkQueueUnreservedTasksKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is returned (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.LimitedListDeferredTaskDetails listLimitedDeferredTasks() throws curam.util.exception.AppException, curam.util.exception.InformationalException
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is displayed (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
The tasks are ordered by deadline date time, earliest first.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.sl.struct.TaskQueryResultDetailsList listAvailableTasks() throws curam.util.exception.AppException, curam.util.exception.InformationalException
The number of tasks that returned may be limited. This may be changed by
altering the ENV_INBOX_MAX_TASK_LIST_SIZE
application property. The default is 100. If
the number of records exceeds the specified maximum value then an
informational message is returned (INF_READMULTI_MAX_EXCEEDED
) informing the user that more records exist.
By default the returned tasks are ordered deadline time in ascending order
using the sort class TaskSortByDeadlineAscending
. The sort order can be changed by using Guice
to bind TaskSort
to another sort
class.
curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ReserveNextTaskDetails reserveNextTaskFromPreferredWorkQueue(curam.core.facade.struct.ReserveNextWorkQueueTaskKey reserveNextWorkQueueTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
InboxActions.getNextTaskFromWorkQueue(String,
long)
.
Exceptions are thrown under the following circumstances:
reserveNextWorkQueueTaskKey
- The name of the user whose next task
from the preferred work queue will be added to the list of tasks to work
on.My Tasks
list of tasks to work on.curam.util.exception.AppException
curam.util.exception.InformationalException
curam.core.facade.struct.ReserveNextTaskDetails reserveNextTaskFromPreferredOrgUnit(curam.core.facade.struct.ReserveNextWorkQueueTaskKey reserveNextWorkQueueTaskKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
The order the search returns the tasks is determined by first checking if
the environment variable EnvVars.ENV_WORKFLOW_RESERVENEXTTASK_WITH_PRIORITY_FILTER
is set. If it is set, then the tasks returned will be ordered by the
priorities specified in the EnvVars.ENV_WORKFLOW_TASK_PRIORITY_ORDER
environment
variable followed by the least recent task assignment date. If the
priority filter environment variable has not been set then the next task
is retrieved by the least recent task assignment date.
An exception is thrown under the following circumstances:
reserveNextWorkQueueTaskKey
- The name of the user.curam.util.exception.AppException
curam.util.exception.InformationalException