public class UserManagementFactory extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
static UserManagementFactory |
getInstance()
Gets the single instance of UserManagementFactory.
|
Contactmethods |
newContactmethods(ContactmethodType contactmethod,
String contactvalue)
Factory method for create an Contactmethods object.
|
Contactmethods |
newContactmethods(ContactmethodType contactmethod,
String contactvalue,
Integer id)
Factory method for create an Contactmethods object.
|
de.alpharogroup.user.entities.Permissions |
newPermissions(Integer id,
String permission,
String description,
String shortcut)
Factory method for create an Permissions object.
|
de.alpharogroup.user.entities.Permissions |
newPermissions(String permission,
String description)
Gets the permissions.
|
de.alpharogroup.user.entities.Permissions |
newPermissions(String permission,
String description,
String shortcut)
Gets the permissions.
|
Recommendations |
newRecommendations(Integer id,
de.alpharogroup.user.entities.Users user,
de.alpharogroup.user.entities.Users recommended,
String email,
String invitationText,
Boolean sent)
Gets the recommendation.
|
Recommendations |
newRecommendations(de.alpharogroup.user.entities.Users user,
de.alpharogroup.user.entities.Users recommended,
String email,
String invitationText)
Gets the recommendation.
|
Recommendations |
newRecommendations(de.alpharogroup.user.entities.Users user,
de.alpharogroup.user.entities.Users recommended,
String email,
String invitationText,
Boolean sent)
Gets the recommendation.
|
de.alpharogroup.user.entities.RelationPermissions |
newRelationPermissions(Integer id,
de.alpharogroup.user.entities.Users provider,
de.alpharogroup.user.entities.Users subscriber,
Set<de.alpharogroup.user.entities.Permissions> permissions)
Gets the relation permissions.
|
de.alpharogroup.user.entities.RelationPermissions |
newRelationPermissions(de.alpharogroup.user.entities.Users provider,
de.alpharogroup.user.entities.Users subscriber)
Gets the relation permissions.
|
de.alpharogroup.user.entities.RelationPermissions |
newRelationPermissions(de.alpharogroup.user.entities.Users provider,
de.alpharogroup.user.entities.Users subscriber,
Set<de.alpharogroup.user.entities.Permissions> permissions)
Gets the relation permissions.
|
de.alpharogroup.user.entities.ResetPasswords |
newResetPasswords(Date expiryDate,
String generatedPassword,
Date starttime,
de.alpharogroup.user.entities.Users user)
Data pool factory for ResetPasswords.
|
de.alpharogroup.user.entities.ResetPasswords |
newResetPasswords(Integer id,
Date expiryDate,
String generatedPassword,
Date starttime,
de.alpharogroup.user.entities.Users user)
Data pool factory for ResetPasswords.
|
Robinsons |
newRobinsons(Integer id,
de.alpharogroup.user.entities.Users robinson)
New robinsons.
|
Robinsons |
newRobinsons(de.alpharogroup.user.entities.Users robinson)
New robinsons.
|
de.alpharogroup.user.entities.Roles |
newRoles(Integer id,
String rolename,
String description,
Set<de.alpharogroup.user.entities.Permissions> permissions)
Factory method for create an Roles object.
|
de.alpharogroup.user.entities.Roles |
newRoles(String rolename,
String description)
Gets the roles.
|
de.alpharogroup.user.entities.Roles |
newRoles(String rolename,
String description,
Set<de.alpharogroup.user.entities.Permissions> permissions)
Gets the roles.
|
RuleViolations |
newRuleViolations(Integer id,
de.alpharogroup.user.entities.Users detector,
de.alpharogroup.user.entities.Users violator,
String description,
RuleViolationReason reason)
Gets the rule violations.
|
RuleViolations |
newRuleViolations(de.alpharogroup.user.entities.Users detector,
de.alpharogroup.user.entities.Users violator,
String description,
RuleViolationReason reason)
Gets the rule violations.
|
UserDatas |
newUserData(Integer id,
String birthname,
Date dateofbirth,
String firstname,
GenderType gender,
String ipAddress,
String lastname,
String locale)
Factory method for create an UserData object.
|
UserDatas |
newUserData(Integer id,
String birthname,
Date dateofbirth,
String firstname,
GenderType gender,
String ipAddress,
String lastname,
String locale,
Set<de.alpharogroup.address.book.entities.Addresses> addresses,
Set<Contactmethods> contactmethods,
Set<de.alpharogroup.resource.system.entities.Resources> resources,
Set<de.alpharogroup.user.entities.Users> userContacts)
Factory method for create an UserData object.
|
UserDatas |
newUserData(Integer id,
de.alpharogroup.user.entities.Users owner,
String birthname,
Date dateofbirth,
String firstname,
GenderType gender,
String ipAddress,
String lastname,
String locale,
Set<de.alpharogroup.address.book.entities.Addresses> addresses,
Set<Contactmethods> contactmethods,
Set<de.alpharogroup.resource.system.entities.Resources> resources,
Set<de.alpharogroup.user.entities.Users> userContacts)
Factory method for create an UserData object.
|
UserDatas |
newUserData(String birthname,
Date dateofbirth,
String firstname,
GenderType gender,
String ipAddress,
String lastname,
String locale)
Gets the user data.
|
de.alpharogroup.user.entities.Users |
newUsers(Boolean active,
String pw,
String salt,
String username,
Boolean locked,
Set<de.alpharogroup.user.entities.Roles> roles)
Gets the users.
|
de.alpharogroup.user.entities.Users |
newUsers(Integer id,
Boolean active,
String pw,
String salt,
String username,
Boolean locked,
Set<de.alpharogroup.user.entities.Roles> roles)
Factory method for create an Users object.
|
public static UserManagementFactory getInstance()
public Contactmethods newContactmethods(ContactmethodType contactmethod, String contactvalue)
contactmethod - the contactmethodcontactvalue - the contactvaluepublic Contactmethods newContactmethods(ContactmethodType contactmethod, String contactvalue, Integer id)
contactmethod - the contactmethodcontactvalue - the contactvalueid - the idpublic de.alpharogroup.user.entities.Permissions newPermissions(Integer id, String permission, String description, String shortcut)
id - the idpermission - the permissiondescription - the descriptionshortcut - the shortcutpublic de.alpharogroup.user.entities.Permissions newPermissions(String permission, String description)
permission - the permissiondescription - the descriptionpublic de.alpharogroup.user.entities.Permissions newPermissions(String permission, String description, String shortcut)
permission - the permissiondescription - the descriptionshortcut - the shortcutpublic Recommendations newRecommendations(Integer id, de.alpharogroup.user.entities.Users user, de.alpharogroup.user.entities.Users recommended, String email, String invitationText, Boolean sent)
id - the iduser - the userrecommended - the recommendedemail - the emailinvitationText - the invitationTextsent - the sentpublic Recommendations newRecommendations(de.alpharogroup.user.entities.Users user, de.alpharogroup.user.entities.Users recommended, String email, String invitationText)
user - the userrecommended - the recommendedemail - the emailinvitationText - the invitationTextpublic Recommendations newRecommendations(de.alpharogroup.user.entities.Users user, de.alpharogroup.user.entities.Users recommended, String email, String invitationText, Boolean sent)
user - the userrecommended - the recommendedemail - the emailinvitationText - the invitationTextsent - the sentpublic de.alpharogroup.user.entities.RelationPermissions newRelationPermissions(Integer id, de.alpharogroup.user.entities.Users provider, de.alpharogroup.user.entities.Users subscriber, Set<de.alpharogroup.user.entities.Permissions> permissions)
id - the idprovider - the providersubscriber - the subscriberpermissions - the permissionspublic de.alpharogroup.user.entities.RelationPermissions newRelationPermissions(de.alpharogroup.user.entities.Users provider,
de.alpharogroup.user.entities.Users subscriber)
provider - the providersubscriber - the subscriberpublic de.alpharogroup.user.entities.RelationPermissions newRelationPermissions(de.alpharogroup.user.entities.Users provider,
de.alpharogroup.user.entities.Users subscriber,
Set<de.alpharogroup.user.entities.Permissions> permissions)
provider - the providersubscriber - the subscriberpermissions - the permissionspublic de.alpharogroup.user.entities.ResetPasswords newResetPasswords(Date expiryDate, String generatedPassword, Date starttime, de.alpharogroup.user.entities.Users user)
expiryDate - the expiry dategeneratedPassword - the generated passwordstarttime - the starttimeuser - the userpublic de.alpharogroup.user.entities.ResetPasswords newResetPasswords(Integer id, Date expiryDate, String generatedPassword, Date starttime, de.alpharogroup.user.entities.Users user)
id - the idexpiryDate - the expiry dategeneratedPassword - the generated passwordstarttime - the starttimeuser - the userpublic Robinsons newRobinsons(Integer id, de.alpharogroup.user.entities.Users robinson)
id - the idrobinson - the robinsonpublic Robinsons newRobinsons(de.alpharogroup.user.entities.Users robinson)
robinson - the robinsonpublic de.alpharogroup.user.entities.Roles newRoles(Integer id, String rolename, String description, Set<de.alpharogroup.user.entities.Permissions> permissions)
id - the idrolename - the rolenamedescription - the descriptionpermissions - the permissionspublic de.alpharogroup.user.entities.Roles newRoles(String rolename, String description)
rolename - the rolenamedescription - the descriptionpublic de.alpharogroup.user.entities.Roles newRoles(String rolename, String description, Set<de.alpharogroup.user.entities.Permissions> permissions)
rolename - the rolenamedescription - the descriptionpermissions - the permissionspublic RuleViolations newRuleViolations(Integer id, de.alpharogroup.user.entities.Users detector, de.alpharogroup.user.entities.Users violator, String description, RuleViolationReason reason)
id - the iddetector - the detectorviolator - the violatordescription - the descriptionreason - the reasonpublic RuleViolations newRuleViolations(de.alpharogroup.user.entities.Users detector, de.alpharogroup.user.entities.Users violator, String description, RuleViolationReason reason)
detector - the detectorviolator - the violatordescription - the descriptionreason - the reasonpublic UserDatas newUserData(Integer id, String birthname, Date dateofbirth, String firstname, GenderType gender, String ipAddress, String lastname, String locale)
id - the idbirthname - the birthnamedateofbirth - the dateofbirthfirstname - the firstnamegender - the genderipAddress - the ip addresslastname - the lastnamelocale - the localepublic UserDatas newUserData(Integer id, String birthname, Date dateofbirth, String firstname, GenderType gender, String ipAddress, String lastname, String locale, Set<de.alpharogroup.address.book.entities.Addresses> addresses, Set<Contactmethods> contactmethods, Set<de.alpharogroup.resource.system.entities.Resources> resources, Set<de.alpharogroup.user.entities.Users> userContacts)
id - the idbirthname - the birthnamedateofbirth - the dateofbirthfirstname - the firstnamegender - the genderipAddress - the ip addresslastname - the lastnamelocale - the localeaddresses - the addressescontactmethods - the contactmethodsresources - the resourcesuserContacts - the user contactspublic UserDatas newUserData(Integer id, de.alpharogroup.user.entities.Users owner, String birthname, Date dateofbirth, String firstname, GenderType gender, String ipAddress, String lastname, String locale, Set<de.alpharogroup.address.book.entities.Addresses> addresses, Set<Contactmethods> contactmethods, Set<de.alpharogroup.resource.system.entities.Resources> resources, Set<de.alpharogroup.user.entities.Users> userContacts)
id - the idowner - the ownerbirthname - the birthnamedateofbirth - the dateofbirthfirstname - the firstnamegender - the genderipAddress - the ip addresslastname - the lastnamelocale - the localeaddresses - the addressescontactmethods - the contactmethodsresources - the resourcesuserContacts - the user contactspublic UserDatas newUserData(String birthname, Date dateofbirth, String firstname, GenderType gender, String ipAddress, String lastname, String locale)
birthname - the birthnamedateofbirth - the dateofbirthfirstname - the firstnamegender - the genderipAddress - the ip addresslastname - the lastnamelocale - the localepublic de.alpharogroup.user.entities.Users newUsers(Boolean active, String pw, String salt, String username, Boolean locked, Set<de.alpharogroup.user.entities.Roles> roles)
active - the activepw - the pwsalt - the saltusername - the usernamelocked - the lockedroles - the rolespublic de.alpharogroup.user.entities.Users newUsers(Integer id, Boolean active, String pw, String salt, String username, Boolean locked, Set<de.alpharogroup.user.entities.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.