|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManager
The workflow engine services relate to user management.
Method Summary | |
---|---|
UserSettings |
getEmptyUserSettings(String userId,
String peasId)
Get an empty user settings in database The full list of information is described in the process model |
User |
getRelatedUser(User user,
String relation,
String peasId)
Get a user from a given user and relation |
String[] |
getRoleNames(User user,
String processModelId)
Returns all the roles of a given user relative to a processModel. |
User |
getUser(String userId)
Returns the user with the given userId |
String[] |
getUserInfoNames()
returns all the known info for an user; Each returned value can be used as a parameter to the User method getInfo(). |
User[] |
getUsers(String[] userIds)
Make a User[] from a userIds' String[]. |
UserSettings |
getUserSettings(String userId,
String peasId)
Get the user settings in database The full list of information is described in the process model |
User[] |
getUsersInGroup(String groupId)
|
User[] |
getUsersInRole(String roleName,
String processModelId)
Returns all the users having a given role relative to a processModel. |
void |
resetUserSettings(String userId,
String peasId)
|
Method Detail |
---|
User getUser(String userId) throws WorkflowException
WorkflowException
User[] getUsers(String[] userIds) throws WorkflowException
WorkflowException
String[] getRoleNames(User user, String processModelId) throws WorkflowException
WorkflowException
User[] getUsersInRole(String roleName, String processModelId) throws WorkflowException
WorkflowException
User[] getUsersInGroup(String groupId)
String[] getUserInfoNames()
User getRelatedUser(User user, String relation, String peasId) throws WorkflowException
user
- reference userrelation
- relation between given user and searched userpeasId
- the id of workflow peas associated to that information
WorkflowException
UserSettings getUserSettings(String userId, String peasId) throws WorkflowException
userId
- the user IdpeasId
- the id of workflow peas associated to that information
WorkflowException
ProcessModel
void resetUserSettings(String userId, String peasId) throws WorkflowException
WorkflowException
UserSettings getEmptyUserSettings(String userId, String peasId)
userId
- the user IdpeasId
- the id of workflow peas associated to that information
ProcessModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |