WorkRequests (Component)
The WorkRequests objects manages the requests made to a user by another user. The save() method either creates or updates a work requests. This method's arguments provide information on work request notifications, whether reassignment is allowed, and the like. Other methods return information, create work request resources, mark a request as completed, and delete, accept, and reject a request.
Methods marked below with [L] may be logged at the site level (if transaction logging is licensed and enabled by the administrator)
Methods marked below with [C] may be customized at the site level
Methods:
accept [L] [C] | Accepts a work request for the current user. |
delete [L] [C] | Deletes a work request assigned to the current user. |
deleteAllForObject [L] [C] | Deletes all work requests associated with a page. |
deleteMembers [L] [C] | Deletes one or more of the users and groups who are work request resources for this page. |
deleteMultiple [C] | Deletes one or more work requests. |
deleteResource [L] [C] | Deletes a work request resource from the site. |
getCount [C] | Returns the number of work requests. You can use this method's arguments so that CommonSpot returns one kind of work request and the request's urgency. |
getList [C] | Returns zero or more structures, each containing information on a work request; for example, 'ApplyToPage', 'AssignedTo', 'Creator', and so on. It also returns information of a request/s urgency. |
getMembers [C] | Returns zero or more structures, each containing information about the users and groups assigned to a work request resource. This information can be constrained using this method's arguments. |
getResources [C] | Returns zero or more records describing the work request resources for the site. If a specific resource is specified, CommonSpot returns information for just that resource. |
markCompleted [L] [C] | Marks the work request as completed. |
reject [L] [C] | Rejects a work request. |
save [L] [C] | Either saves or updates a work request. |
saveMembers [L] [C] | Adds one or more users and groups as members of a work resource. |
saveResource [L] [C] | Either updates or creates a work request. |