|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Allows to customise the behaviour of the abstract implementation classes of the repository User Management API.
For (important) general information about this and other strategy interfaces, see also
DocumentStrategy.
| Method Summary | |
void |
deleteRole(long roleId,
AuthenticatedUser requestingUser)
deletes a role from the system |
void |
deleteUser(long userId,
AuthenticatedUser requestingUser)
deletes the user with given userID from the system |
org.outerj.daisy.repository.user.AuthenticationSchemeInfos |
getAuthenticationSchemes(AuthenticatedUser requestingUser)
|
RoleImpl |
getRole(long roleId,
AuthenticatedUser user)
|
RoleImpl |
getRole(java.lang.String roleName,
AuthenticatedUser requestingUser)
|
UserImpl |
getUser(long userId,
AuthenticatedUser user)
|
UserImpl |
getUser(java.lang.String login,
AuthenticatedUser requestingUser)
|
long[] |
getUserIds(AuthenticatedUser requestingUser)
Returns the IDs of all users in the system. |
UsersImpl |
getUsersByEmail(java.lang.String email,
AuthenticatedUser requestingUser)
|
org.outerj.daisy.repository.user.Roles |
loadRoles(AuthenticatedUser requestingUser)
returns all the roles in the system |
org.outerj.daisy.repository.user.Users |
loadUsers(AuthenticatedUser requestingUser)
returns all the Users in the system |
void |
store(RoleImpl role)
stores the specified RoleImpl to the data store |
void |
store(UserImpl user)
stores the specified UserImpl to the data store |
| Method Detail |
public org.outerj.daisy.repository.user.Users loadUsers(AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
public long[] getUserIds(AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
public org.outerj.daisy.repository.user.Roles loadRoles(AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
public void deleteUser(long userId,
AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
userId - the data store id of the User to delete
org.outerj.daisy.repository.RepositoryException
public void deleteRole(long roleId,
AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
roleId - the data store id of the role to delete
org.outerj.daisy.repository.RepositoryException
public UserImpl getUser(java.lang.String login,
AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
login - login of the user objectrequestingUser - the authenticated user that requests this object
org.outerj.daisy.repository.RepositoryException
public RoleImpl getRole(java.lang.String roleName,
AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
roleName - the name of the role you want to obtainrequestingUser - the authenticated user that requests this object
org.outerj.daisy.repository.RepositoryException
public void store(UserImpl user)
throws org.outerj.daisy.repository.RepositoryException
user - the UserImpl object to persist
org.outerj.daisy.repository.RepositoryException
public void store(RoleImpl role)
throws org.outerj.daisy.repository.RepositoryException
role - the RoleImpl object to persist
org.outerj.daisy.repository.RepositoryException
public UserImpl getUser(long userId,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
userId - the data stoe id of the user object to fetchuser - the authenticated user that requests this object
org.outerj.daisy.repository.RepositoryException
public RoleImpl getRole(long roleId,
AuthenticatedUser user)
throws org.outerj.daisy.repository.RepositoryException
roleId - the data store id of the role object to fetchuser - the authenticated user that requests this object
org.outerj.daisy.repository.RepositoryException
public UsersImpl getUsersByEmail(java.lang.String email,
AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
public org.outerj.daisy.repository.user.AuthenticationSchemeInfos getAuthenticationSchemes(AuthenticatedUser requestingUser)
throws org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.RepositoryException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||