new WorkListService()
Methods
addCurrentResourceToView(request, callback)
The work view must be specified as public, either when it is created (using the createWorkListView function) or by editing it (using the editWorkListView function).
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.AddCurrentResourceToViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type AddCurrentResourceToViewResponseType . |
createWorkListView(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.CreateWorkListViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type CreateWorkListViewResponseType . |
deleteCurrentResourceFromView(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.DeleteCurrentResourceFromViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type DeleteCurrentResourceFromViewResponseType . |
deleteWorkListView(request, callback)
The work view must be locked using the getWorkListViewDetails function before it can be deleted.
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.DeleteWorkListViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type DeleteWorkListViewResponseType . |
editWorkListView(request, callback)
A work view must be locked using the getWorkListViewDetails function (using the lockView parameter) before you can edit the view with this function.
The request must specify the name and the unique ID of the work view to be edited. It can also optionally specify the details of the work view that you want to edit. For example, its description, any sort/filter criteria or the organizational model entities that can access the work view. If any of the optional elements are specified, they overwrite the existing attributes specified for this view.
You only need to pass the data you want to change. Parameters that are not passed are unchanged.
The owner of a view needs the viewWorkList system action for the target. Also, any GROUP, POSITION or ORG-UNIT that is added to the "Users" set also needs the viewWorkList system action.
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.EditWorkListViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type EditWorkListViewResponseType . |
getAllocatedWorkListItems(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetAllocatedWorkListItemsRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkListItemsResponseType . |
getEditableWorkListViews(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetEditableWorkListViewsRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetEditableWorkListViewsResponseType . |
getPublicWorkListViews(request, callback)
Work views are specified as public, either when they are created (using the createWorkListView function) or edited (using the editWorkListView function.
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetPublicWorkListViewsRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetPublicWorkListViewsResponseType . |
getResourceOrderFilterCriteria(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetResourceOrderFilterCriteriaRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetResourceOrderFilterCriteriaResponseType . |
getViewsForResource(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetViewsForResourceRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetViewsForResourceResponseType . |
getWorkItemOrderFilter(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkItemOrderFilterRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkItemOrderFilterResponseType . |
getWorkItemOrderFilterNoLimit(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkItemOrderFilterNoLimitRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkItemOrderFilterResponseType . |
getWorkListItems(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkListItemsRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkListItemsResponseType . |
getWorkListItemsAllResources(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkListItemsAllResourcesRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkListItemsResponseType . |
getWorkListItemsForGlobalData(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkListItemsForGlobalDataRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkListItemsForGlobalDataResponseType . |
getWorkListItemsForView(request, callback)
This must be executed as a resource who has access to the work view.
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkListItemsForViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type GetWorkListItemsForViewResponseType . |
getWorkListViewDetails(request, callback)
If you want to edit a work view using the editWorkListView function, you must lock it first using this function.
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.GetWorkListViewDetailsRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type WorkListView . |
previewWorkItemFromList(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.PreviewWorkItemFromListRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type PreviewWorkItemFromListResponseType . |
setResourceOrderFilterCriteria(request, callback)
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.SetResourceOrderFilterCriteriaRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type SetResourceOrderFilterCriteriaResponseType . |
unlockWorkListView(request, callback)
Use this to unlock a view that has been locked using the getWorkListViewDetails function.
Parameters:
Name | Type | Description |
---|---|---|
request |
tibco.objectapi.service.request.UnlockWorkListViewRequest | A request set with data for this service call. |
callback |
tibco.objectapi.service.Callback | A callback to handle the service response of type UnlockWorkListViewResponseType . |