public class UserManagementFactory extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static UserManagementFactory |
getInstance()
Gets the single instance of UserManagementFactory.
|
Permissions |
newPermissions(Integer id,
String permission,
String description,
String shortcut)
Factory method for create an Permissions object.
|
Permissions |
newPermissions(String permission,
String description)
Gets the permissions.
|
Permissions |
newPermissions(String permission,
String description,
String shortcut)
Gets the permissions.
|
RelationPermissions |
newRelationPermissions(Integer id,
Users provider,
Users subscriber,
Set<Permissions> permissions)
Gets the relation permissions.
|
RelationPermissions |
newRelationPermissions(Users provider,
Users subscriber)
Gets the relation permissions.
|
RelationPermissions |
newRelationPermissions(Users provider,
Users subscriber,
Set<Permissions> permissions)
Gets the relation permissions.
|
ResetPasswords |
newResetPasswords(Date expiryDate,
String generatedPassword,
Date starttime,
Users user)
Data pool factory for ResetPasswords.
|
ResetPasswords |
newResetPasswords(Integer id,
Date expiryDate,
String generatedPassword,
Date starttime,
Users user)
Data pool factory for ResetPasswords.
|
Roles |
newRoles(Integer id,
String rolename,
String description,
Set<Permissions> permissions)
Factory method for create an Roles object.
|
Roles |
newRoles(String rolename,
String description)
Gets the roles.
|
Roles |
newRoles(String rolename,
String description,
Set<Permissions> permissions)
Gets the roles.
|
Users |
newUsers(Boolean active,
String pw,
String salt,
String username,
Boolean locked,
Set<Roles> roles)
Gets the users.
|
Users |
newUsers(Integer id,
Boolean active,
String pw,
String salt,
String username,
Boolean locked,
Set<Roles> roles)
Factory method for create an Users object.
|
public static UserManagementFactory getInstance()
public Permissions newPermissions(Integer id, String permission, String description, String shortcut)
id - the idpermission - the permissiondescription - the descriptionshortcut - the shortcutpublic Permissions newPermissions(String permission, String description)
permission - the permissiondescription - the descriptionpublic Permissions newPermissions(String permission, String description, String shortcut)
permission - the permissiondescription - the descriptionshortcut - the shortcutpublic RelationPermissions newRelationPermissions(Integer id, Users provider, Users subscriber, Set<Permissions> permissions)
id - the idprovider - the providersubscriber - the subscriberpermissions - the permissionspublic RelationPermissions newRelationPermissions(Users provider, Users subscriber)
provider - the providersubscriber - the subscriberpublic RelationPermissions newRelationPermissions(Users provider, Users subscriber, Set<Permissions> permissions)
provider - the providersubscriber - the subscriberpermissions - the permissionspublic ResetPasswords newResetPasswords(Date expiryDate, String generatedPassword, Date starttime, Users user)
expiryDate - the expiry dategeneratedPassword - the generated passwordstarttime - the starttimeuser - the userpublic ResetPasswords newResetPasswords(Integer id, Date expiryDate, String generatedPassword, Date starttime, Users user)
id - the idexpiryDate - the expiry dategeneratedPassword - the generated passwordstarttime - the starttimeuser - the userpublic Roles newRoles(Integer id, String rolename, String description, Set<Permissions> permissions)
id - the idrolename - the rolenamedescription - the descriptionpermissions - the permissionspublic Roles newRoles(String rolename, String description)
rolename - the rolenamedescription - the descriptionpublic Roles newRoles(String rolename, String description, Set<Permissions> permissions)
rolename - the rolenamedescription - the descriptionpermissions - the permissionspublic Users newUsers(Boolean active, String pw, String salt, String username, Boolean locked, Set<Roles> roles)
active - the activepw - the pwsalt - the saltusername - the usernamelocked - the lockedroles - the rolespublic Users newUsers(Integer id, Boolean active, String pw, String salt, String username, Boolean locked, Set<Roles> roles)
id - the idactive - the activepw - the pwsalt - the saltusername - the usernamelocked - the lockedroles - the rolesCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.