|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkItemService
The WorkItemService provides methods to access information about work items defined in the system.
Method Summary | |
---|---|
List<Task> |
getActiveTasksOfWorkItem(String workItemId)
Get all active tasks for a work item. |
List<WorkItem> |
getAllWorkItemsByContext(ObjectIdentity context,
boolean includeChildren)
Get all work items at a specified context, and (optionally) below. |
List<RepositoryFile> |
getAttachmentsForWorkItem(String workItemId)
Get all attachments associated with a work item. |
List<CompletedTask> |
getCompletedTasksForWorkItem(String workItemId)
Get all completed tasks for a work item. |
FlowDetails |
getFlowForWorkItem(String workItemId)
Get the work flow definition details for a work item. |
List<WorkItem> |
getMyWorkItemsByContext(ObjectIdentity context,
boolean includeChildren)
Get all work items that are owned by the current user at a specified context, and (optionally) below. |
Method Detail |
---|
List<WorkItem> getAllWorkItemsByContext(ObjectIdentity context, boolean includeChildren) throws ObjectNotFoundException
context
- the ObjectIdentity representing the work item context.includeChildren
- the boolean value indicating if context children's work items should be retrieved.
ObjectNotFoundException
- thrown if the specified context does not exist.List<WorkItem> getMyWorkItemsByContext(ObjectIdentity context, boolean includeChildren) throws ObjectNotFoundException
context
- the ObjectIdentity representing the work item context.includeChildren
- the boolean value indicating if context children's work items should be retrieved.
ObjectNotFoundException
- thrown if the specified context does not exist.FlowDetails getFlowForWorkItem(String workItemId) throws WorkItemNotFoundException
workItemId
- the identifier of the work item.
WorkItemNotFoundException
- thrown if the work item does not exist.List<Task> getActiveTasksOfWorkItem(String workItemId) throws WorkItemNotFoundException
workItemId
- the identifier of the work item.
WorkItemNotFoundException
- thrown if the work item does not exist.List<CompletedTask> getCompletedTasksForWorkItem(String workItemId) throws WorkItemNotFoundException
workItemId
- the identifier of the work item.
WorkItemNotFoundException
- thrown if the work item does not exist.List<RepositoryFile> getAttachmentsForWorkItem(String workItemId) throws WorkItemNotFoundException
workItemId
- the identifier of the work item.
WorkItemNotFoundException
- thrown if the work item does not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |