|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalUserService
The UserService provides functionality for operating on CARNOT users.
This includes:
| Method Summary | |
|---|---|
org.eclipse.stardust.engine.api.runtime.Deputy |
addDeputy(UserInfo user,
UserInfo deputyUser,
DeputyOptions options)
Adds a new deputy user for a given user. |
void |
closeSession(String sessionId)
Tracks the ending of a user session. |
User |
createUser(String account,
String firstName,
String lastName,
String description,
String password,
String eMail,
Date validFrom,
Date validTo)
Creates a new user with default realm ID. |
User |
createUser(String realm,
String account,
String firstName,
String lastName,
String description,
String password,
String eMail,
Date validFrom,
Date validTo)
Creates a new user. |
UserGroup |
createUserGroup(String id,
String name,
String description,
Date validFrom,
Date validTo)
Creates a new user group. |
UserRealm |
createUserRealm(String id,
String name,
String description)
Creates a new user realm. |
void |
dropUserRealm(String id)
Drops the user realm associated with the given ID. |
void |
generatePasswordResetToken(String realm,
String account)
Generates a token which is required to perform resetPassword(String, java.util.Map, String) |
List<org.eclipse.stardust.engine.api.runtime.Deputy> |
getDeputies(UserInfo user)
Returns a list of all deputy users for the given user. |
User |
getUser()
Retrieves information on the current user. |
User |
getUser(long userOID)
Retrieves the specified user. |
User |
getUser(String account)
Retrieves the user associated with the given account. |
User |
getUser(String realm,
String account)
Retrieves the user associated with the given account. |
UserGroup |
getUserGroup(long oid)
Retrieves the specified user group. |
UserGroup |
getUserGroup(String id)
Retrieves the user group associated with the given ID. |
List |
getUserRealms()
Retrives all existing user realms. |
List<org.eclipse.stardust.engine.api.runtime.Deputy> |
getUsersBeingDeputyFor(UserInfo deputyUser)
Returns a list of all users for which the given user is an deputy user. |
User |
invalidate(String account)
Deprecated. Please use invalidateUser(String) instead. |
User |
invalidateUser(String account)
Invalidates the user with the specified account. |
User |
invalidateUser(String realm,
String account)
Invalidates the user with the specified account. |
UserGroup |
invalidateUserGroup(long oid)
Invalidates the specified user group. |
UserGroup |
invalidateUserGroup(String id)
Invalidates the user group associated with the given ID. |
boolean |
isInternalAuthentication()
Checks if internal authentication is used. |
boolean |
isInternalAuthentified()
Deprecated. Superseded by isInternalAuthentication(). |
boolean |
isInternalAuthorization()
Checks if internal authorization is used. |
void |
login(String userId,
String password)
|
void |
login(String userId,
String password,
Map properties)
|
void |
logout()
|
org.eclipse.stardust.engine.api.runtime.Deputy |
modifyDeputy(UserInfo user,
UserInfo deputyUser,
DeputyOptions options)
Modifies an existing deputy user for a given user. |
User |
modifyLoginUser(String oldPassword,
String firstName,
String lastName,
String newPassword,
String eMail)
Modifies the current user. |
User |
modifyUser(User user)
Modifies the specified user. |
User |
modifyUser(User user,
boolean generatePassword)
Modifies the specified user. |
UserGroup |
modifyUserGroup(UserGroup userGroup)
Modifies the specified user group. |
void |
removeDeputy(UserInfo user,
UserInfo deputyUser)
Removes an existing deputy user for a given user. |
void |
resetPassword(String account,
Map properties,
String token)
Resets the password of specified user by generated password according to configured password rules. |
String |
startSession(String clientId)
Tracks the starting of a new user session. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
String startSession(String clientId)
throws org.eclipse.stardust.common.error.WorkflowException
clientId - the client starting the session.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.startSession(
java.lang.String clientId)
void closeSession(String sessionId)
throws org.eclipse.stardust.common.error.WorkflowException
sessionId - the id of the ending session.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.closeSession(
java.lang.String sessionId)
boolean isInternalAuthentified()
throws org.eclipse.stardust.common.error.WorkflowException
isInternalAuthentication().
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.isInternalAuthentified()
boolean isInternalAuthentication()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.isInternalAuthentication()
boolean isInternalAuthorization()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.isInternalAuthorization()
User getUser()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUser()
User modifyLoginUser(String oldPassword,
String firstName,
String lastName,
String newPassword,
String eMail)
throws org.eclipse.stardust.common.error.WorkflowException
oldPassword - the current password.firstName - first name of the user.lastName - last name of the user.newPassword - the new password.eMail - email address of the user.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the current user.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.security.InvalidPasswordException - if the new password does not match the given rules.
Instances of InvalidPasswordException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.modifyLoginUser(
java.lang.String oldPassword, java.lang.String firstName, java.lang.String lastName,
java.lang.String newPassword, java.lang.String eMail)
User modifyUser(User user)
throws org.eclipse.stardust.common.error.WorkflowException
user - the user to be modified.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified one.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user or a given grant is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.security.InvalidPasswordException - if the new password does not match the given rules.
Instances of InvalidPasswordException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.AccessForbiddenException - if the current user is not allowed for operation.
Instances of AccessForbiddenException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.modifyUser(
org.eclipse.stardust.engine.api.runtime.User user)
void generatePasswordResetToken(String realm,
String account)
throws org.eclipse.stardust.common.error.WorkflowException
resetPassword(String, java.util.Map, String)
realm - the realm ID of the user to retrieve.account - the user account to generate the token for
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.generatePasswordResetToken(
java.lang.String realm, java.lang.String account)
void resetPassword(String account,
Map properties,
String token)
throws org.eclipse.stardust.common.error.WorkflowException
account - the user account to be modified.properties - Map providing further login properties.token - the token generated by generatePasswordResetToken(String, String)
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified one.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user or a given grant is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.resetPassword(
java.lang.String account, java.util.Map properties, java.lang.String token)
User modifyUser(User user,
boolean generatePassword)
throws org.eclipse.stardust.common.error.WorkflowException
user - the user to be modified.generatePassword - if set to true a password will be generated and send by mail to the user.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified one.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user or a given grant is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.security.InvalidPasswordException - if the new password does not match the given rules.
Instances of InvalidPasswordException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.AccessForbiddenException - if the current user is not allowed for operation.
Instances of AccessForbiddenException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.modifyUser(
org.eclipse.stardust.engine.api.runtime.User user, boolean generatePassword)
User createUser(String account,
String firstName,
String lastName,
String description,
String password,
String eMail,
Date validFrom,
Date validTo)
throws org.eclipse.stardust.common.error.WorkflowException
account - the account name.firstName - first name of the user.lastName - last name of the user.description - short description.password - the user password.eMail - email address of the user.validFrom - validity start time or null if unlimited.validTo - validity end time or null if unlimited.
UserExistsException - if another user with the specified account already exists.
Instances of UserExistsException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.createUser(
java.lang.String account, java.lang.String firstName, java.lang.String lastName,
java.lang.String description, java.lang.String password, java.lang.String eMail,
java.util.Date validFrom, java.util.Date validTo)
User createUser(String realm,
String account,
String firstName,
String lastName,
String description,
String password,
String eMail,
Date validFrom,
Date validTo)
throws org.eclipse.stardust.common.error.WorkflowException
realm - the user's realm ID.account - the account name.firstName - first name of the user.lastName - last name of the user.description - short description.password - the user password.eMail - email address of the user.validFrom - validity start time or null if unlimited.validTo - validity end time or null if unlimited.
UserExistsException - if another user with the specified account already exists.
Instances of UserExistsException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.createUser(
java.lang.String realm, java.lang.String account, java.lang.String firstName,
java.lang.String lastName, java.lang.String description, java.lang.String password,
java.lang.String eMail, java.util.Date validFrom, java.util.Date validTo)
User getUser(String account)
throws org.eclipse.stardust.common.error.WorkflowException
account - the account name of the user to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user with the specified account.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUser(java.lang.String account)
User getUser(String realm,
String account)
throws org.eclipse.stardust.common.error.WorkflowException
realm - the realm ID of the user to retrieve.account - the account name of the user to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user with the specified account.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUser(
java.lang.String realm, java.lang.String account)
User getUser(long userOID)
throws org.eclipse.stardust.common.error.WorkflowException
userOID - the OID of the user to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user with the specified oid.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUser(long userOID)
User invalidate(String account)
throws org.eclipse.stardust.common.error.WorkflowException
invalidateUser(String) instead.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.invalidate(
java.lang.String account)
User invalidateUser(String account)
throws org.eclipse.stardust.common.error.WorkflowException
account - the account name of the user to invalidate.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user with the specified account.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.invalidateUser(
java.lang.String account)
User invalidateUser(String realm,
String account)
throws org.eclipse.stardust.common.error.WorkflowException
realm - the realm ID of the user to invalidate.account - the account name of the user to invalidate.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user with the specified account.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if the authentication is not internal.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.invalidateUser(
java.lang.String realm, java.lang.String account)
UserGroup createUserGroup(String id,
String name,
String description,
Date validFrom,
Date validTo)
throws org.eclipse.stardust.common.error.WorkflowException
id - the user group ID. Must not be null or empty and must be unique.name - the user group name. Must not be null or empty.description - short description. Must not be null.validFrom - validity start time or null if unlimited.validTo - validity end time or null if unlimited.
UserGroupExistsException - if another user group with the specified ID already exists.
Instances of UserGroupExistsException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.InvalidArgumentException - if ID is empty
if name is empty
if description is empty
Instances of InvalidArgumentException will be wrapped inside WorkflowException.
IllegalOperationException - if operation is not allowed in this context.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.createUserGroup(
java.lang.String id, java.lang.String name, java.lang.String description,
java.util.Date validFrom, java.util.Date validTo)
UserGroup getUserGroup(String id)
throws org.eclipse.stardust.common.error.WorkflowException
id - the id of the user group to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user group with the specified ID.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUserGroup(java.lang.String id)
UserGroup getUserGroup(long oid)
throws org.eclipse.stardust.common.error.WorkflowException
oid - the OID of the user group to retrieve.
org.eclipse.stardust.common.error.ObjectNotFoundException - if there is no user group with the specified OID.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUserGroup(long oid)
UserGroup modifyUserGroup(UserGroup userGroup)
throws org.eclipse.stardust.common.error.WorkflowException
userGroup - the user group to be modified.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified user group.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user group is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if operation is not allowed in this context.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.modifyUserGroup(
org.eclipse.stardust.engine.api.runtime.UserGroup userGroup)
UserGroup invalidateUserGroup(String id)
throws org.eclipse.stardust.common.error.WorkflowException
id - the ID of the user group to be invalidated.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified user group.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user group is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if operation is not allowed in this context.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.invalidateUserGroup(
java.lang.String id)
UserGroup invalidateUserGroup(long oid)
throws org.eclipse.stardust.common.error.WorkflowException
oid - the OID of the user group to invalidate.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified user group.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user group is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if operation is not allowed in this context.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.invalidateUserGroup(long oid)
UserRealm createUserRealm(String id,
String name,
String description)
throws org.eclipse.stardust.common.error.WorkflowException
id - the user realm ID.name - the user realm name.description - short description.
UserRealmExistsException - if another user realm with the specified ID already exists.
Instances of UserRealmExistsException will be wrapped inside WorkflowException.
IllegalOperationException - if operation is not allowed in this context.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.createUserRealm(
java.lang.String id, java.lang.String name, java.lang.String description)
void dropUserRealm(String id)
throws org.eclipse.stardust.common.error.WorkflowException
id - the ID of the user realm to be dropped.
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the specified user realm.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the user realm is not found.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
IllegalOperationException - if at least one user is assigned to the user realm.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.dropUserRealm(java.lang.String id)
List getUserRealms()
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.ConcurrencyException - if another user operates on the user realms.
Instances of ConcurrencyException will be wrapped inside WorkflowException.
IllegalOperationException - if operation is not allowed in this context.
Instances of IllegalOperationException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUserRealms()
org.eclipse.stardust.engine.api.runtime.Deputy addDeputy(UserInfo user,
UserInfo deputyUser,
DeputyOptions options)
throws org.eclipse.stardust.common.error.WorkflowException
fromDate is set to a date in the past then it will be set to new
Date() (now).
user - the user to which a deputy user shall be added.deputyUser - the deputy user.options - the options associated with the operation. Can be null, in which case the
default options will be used.
org.eclipse.stardust.engine.api.runtime.DeputyExistsException - if the requested deputy already exists.
Instances of DeputyExistsException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.InvalidArgumentException - if options.toDate is in the past
Instances of InvalidArgumentException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.addDeputy(
org.eclipse.stardust.engine.api.runtime.UserInfo user,
org.eclipse.stardust.engine.api.runtime.UserInfo deputyUser,
org.eclipse.stardust.engine.api.runtime.DeputyOptions options)
org.eclipse.stardust.engine.api.runtime.Deputy modifyDeputy(UserInfo user,
UserInfo deputyUser,
DeputyOptions options)
throws org.eclipse.stardust.common.error.WorkflowException
fromDate is set to a date in the past then it will be set to new
Date() (now).
user - the user for which a deputy user shall be modified.deputyUser - the deputy user.options - Used to provide the time frame for which the modification should apply.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the requested deputy does not exists.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.InvalidArgumentException - if options.toDate is in the past
Instances of InvalidArgumentException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.modifyDeputy(
org.eclipse.stardust.engine.api.runtime.UserInfo user,
org.eclipse.stardust.engine.api.runtime.UserInfo deputyUser,
org.eclipse.stardust.engine.api.runtime.DeputyOptions options)
void removeDeputy(UserInfo user,
UserInfo deputyUser)
throws org.eclipse.stardust.common.error.WorkflowException
user - the user for which a deputy user shall be removed.deputyUser - the deputy user.
org.eclipse.stardust.common.error.ObjectNotFoundException - if the requested deputy does not exists.
Instances of ObjectNotFoundException will be wrapped inside WorkflowException.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.removeDeputy(
org.eclipse.stardust.engine.api.runtime.UserInfo user,
org.eclipse.stardust.engine.api.runtime.UserInfo deputyUser)
List<org.eclipse.stardust.engine.api.runtime.Deputy> getDeputies(UserInfo user)
throws org.eclipse.stardust.common.error.WorkflowException
user - the user whose deputy users shall be returned.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getDeputies(
org.eclipse.stardust.engine.api.runtime.UserInfo user)
List<org.eclipse.stardust.engine.api.runtime.Deputy> getUsersBeingDeputyFor(UserInfo deputyUser)
throws org.eclipse.stardust.common.error.WorkflowException
deputyUser - the deputy user whose users shall be returned.
org.eclipse.stardust.common.error.WorkflowException - as a wrapper for
org.eclipse.stardust.common.error.PublicExceptions and org.eclipse.stardust.common.error.ResourceExceptionsUserService.getUsersBeingDeputyFor(
org.eclipse.stardust.engine.api.runtime.UserInfo deputyUser)
void login(String userId,
String password)
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowException
void login(String userId,
String password,
Map properties)
throws org.eclipse.stardust.common.error.WorkflowException
org.eclipse.stardust.common.error.WorkflowExceptionvoid logout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||