public interface ToDoManagementInterface
| Modifier and Type | Method and Description |
|---|---|
String |
createToDo(String userId,
String originatorGUID,
String assignToRoleGUID,
List<String> targetElementGUIDs,
ToDoProperties properties)
Create a new to do action and link it to the supplied role and targets (if applicable).
|
void |
deleteToDo(String userId,
String toDoGUID)
Delete an existing to do.
|
List<ToDoElement> |
getActionsForElement(String userId,
String elementGUID,
int startFrom,
int pageSize)
Retrieve the to dos that are chained off of an element.
|
List<ToDoElement> |
getAssignedActions(String userId,
String roleGUID,
int startFrom,
int pageSize)
Retrieve the to dos for a particular person role.
|
ToDoElement |
getToDo(String userId,
String toDoGUID)
Retrieve a to do by unique identifier.
|
void |
updateToDo(String userId,
String toDoGUID,
boolean isMergeUpdate,
ToDoProperties toDoProperties)
Update the properties associated with a To Do.
|
String createToDo(String userId, String originatorGUID, String assignToRoleGUID, List<String> targetElementGUIDs, ToDoProperties properties) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling useroriginatorGUID - optional originator element (such as a meeting or project or asset)assignToRoleGUID - optional role to assign the action totargetElementGUIDs - optional list of elements that the action is to targetproperties - properties of the to do actionInvalidParameterException - a parameter is invalidPropertyServerException - the server is not availableUserNotAuthorizedException - the calling user is not authorized to issue the callvoid updateToDo(String userId, String toDoGUID, boolean isMergeUpdate, ToDoProperties toDoProperties) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertoDoGUID - unique identifier of the to doisMergeUpdate - should the toDoProperties overlay the existing stored properties or replace themtoDoProperties - properties to changeInvalidParameterException - a parameter is invalidPropertyServerException - the server is not availableUserNotAuthorizedException - the calling user is not authorized to issue the callvoid deleteToDo(String userId, String toDoGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertoDoGUID - unique identifier of the to doInvalidParameterException - a parameter is invalidPropertyServerException - the server is not availableUserNotAuthorizedException - the calling user is not authorized to issue the callToDoElement getToDo(String userId, String toDoGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling usertoDoGUID - unique identifier of the to doInvalidParameterException - a parameter is invalidPropertyServerException - the server is not availableUserNotAuthorizedException - the calling user is not authorized to issue the callList<ToDoElement> getActionsForElement(String userId, String elementGUID, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - unique identifier of the element to start withstartFrom - initial position of the results to returnpageSize - maximum number of results to returnInvalidParameterException - a parameter is invalidPropertyServerException - the server is not availableUserNotAuthorizedException - the calling user is not authorized to issue the callList<ToDoElement> getAssignedActions(String userId, String roleGUID, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userroleGUID - unique identifier of the rolestartFrom - initial position of the results to returnpageSize - maximum number of results to returnInvalidParameterException - a parameter is invalidPropertyServerException - the server is not availableUserNotAuthorizedException - the calling user is not authorized to issue the callCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.