Package ch.ivyteam.ivy.workflow
Interface ITaskEnd
public interface ITaskEnd
A place where a tasks are ended
- Since:
- 18.07.2007
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionfindEndedTasks(IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount) Deprecated, for removal: This API element is subject to removal in a future version.Gets the tasks that ended on this task endGets the full request path to join a task on this task start with application name and process model version name Returns null if this task end does not belong to a process model task switch element.longgetId()Gets the identifierGets the join path idGets the request path to join a task on a task switch element.Gets the task element this task end belongs toboolean
-
Method Details
-
getJoinRequestPath
String getJoinRequestPath()Gets the request path to join a task on a task switch element. Returns null if this task end does not belong to a process model task switch element.- Returns:
- join request path or null
- API:
- This public API is available in Java.
-
getFullJoinRequestPath
String getFullJoinRequestPath()Gets the full request path to join a task on this task start with application name and process model version name Returns null if this task end does not belong to a process model task switch element.- Returns:
- full join request path or null
- API:
- This public API is available in Java.
-
getTaskElement
ITaskElement getTaskElement()Gets the task element this task end belongs to- Returns:
- task element
- API:
- This public API is available in Java.
-
findEndedTasks
@Deprecated(since="12.0.0", forRemoval=true) IQueryResult<ITask> findEndedTasks(IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount) Deprecated, for removal: This API element is subject to removal in a future version.usegetEndedTasks()Gets the tasks that ended on this task end- Parameters:
filter- a filter to filter the returned tasks. Maybe null.order- an order to order the returned tasks. Maybe null.startIndex- the index of the first task of all tasks that is returned in the resultcount- the number of tasks to return in the resultreturnAllCount- if true the query result methodIQueryResult.getAllCount()returns the overall cases that have been found, if false it returns -1- Returns:
- a query result with the ended tasks
- API:
- This public API is available in Java.
- Security:
- SESSION OWNS TaskReadAll PERMISSION OR OWNS TaskReadAll@SYSTEM PERMISSION
-
getEndedTasks
Gets the tasks that ended on this task end- Returns:
- ended tasks
- API:
- This public API is available in Java.
-
getId
long getId()Gets the identifier- Returns:
- identifier
- API:
- This public API is available in Java.
-
getJoinPathId
Integer getJoinPathId()Gets the join path id- Returns:
- join path id or null
- API:
- This public API is available in Java.
-
isUsedByRunningTask
boolean isUsedByRunningTask()- Returns:
- true, it the there are not ended tasks referenced with this task end.
- API:
- This public API is available in Java.
-
getEndedTasks()