public interface MyRolesAndActionsInterface
| Modifier and Type | Method and Description |
|---|---|
List<PersonalRole> |
getMyPersonalRoles(String userId,
int startFrom,
int pageSize)
Return a list of the personal roles that the calling user is appointed to.
|
List<ToDo> |
getMyToDos(String userId,
ToDoStatus status,
int startFrom,
int pageSize)
Return a list of to dos assigned to the calling user.
|
List<ToDo> |
getMyToDosByRole(String userId,
String personalRoleGUID,
ToDoStatus status,
int startFrom,
int pageSize)
Return a list of to dos assigned to the calling user.
|
List<PersonalRole> getMyPersonalRoles(String userId, int startFrom, int pageSize) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.List<ToDo> getMyToDos(String userId, ToDoStatus status, int startFrom, int pageSize) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.status - status of the to do (null means current active)startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.List<ToDo> getMyToDosByRole(String userId, String personalRoleGUID, ToDoStatus status, int startFrom, int pageSize) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - userId of user making request.personalRoleGUID - unique identifier of the user's role.status - status of the to do (null means current active)startFrom - index of the list to start from (0 for start)pageSize - maximum number of elements to return.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile so can not have any collections.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.