Package africa.absa.inception.security
Class UserDirectory
java.lang.Object
africa.absa.inception.security.UserDirectory
- All Implemented Interfaces:
Serializable
The UserDirectory class holds the information for a user directory.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.Returns the XML configuration data for the user directory.Returns the date and time the user directory was created.getId()Returns the ID for the user directory.getName()Returns the name of the user directory.Returns the parameters for the user directory.Returns the tenants the user directory is associated with.getType()Returns the code for the user directory type.Returns the date and time the user directory was last updated.inthashCode()Returns a hash code value for the object.protected voidonCreate()The Java Persistence callback method invoked before the entity is created in the database.protected voidonUpdate()The Java Persistence callback method invoked before the entity is updated in the database.voidsetConfiguration(String configuration) Set the XML configuration data for the user directory.voidSet the ID for the user directory.voidSet the name of the user directory.voidsetParameters(List<UserDirectoryParameter> parameters) Set the parameters for the user directory.voidsetTenants(Set<Tenant> tenants) Set the tenants the user directory is associated with.voidSet the code for the user directory type.
-
Constructor Details
-
UserDirectory
public UserDirectory()Constructs a new UserDirectory.
-
-
Method Details
-
equals
Indicates whether some other object is "equal to" this one. -
getConfiguration
Returns the XML configuration data for the user directory.- Returns:
- the XML configuration data for the user directory
-
getCreated
Returns the date and time the user directory was created.- Returns:
- the date and time the user directory was created
-
getId
Returns the ID for the user directory.- Returns:
- the ID for the user directory
-
getName
Returns the name of the user directory.- Returns:
- the name of the user directory
-
getParameters
Returns the parameters for the user directory.- Returns:
- the parameters for the user directory
-
getTenants
Returns the tenants the user directory is associated with.- Returns:
- the tenants the user directory is associated with
-
getType
Returns the code for the user directory type.- Returns:
- the code for the user directory type
-
getUpdated
Returns the date and time the user directory was last updated.- Returns:
- the date and time the user directory was last updated
-
hashCode
public int hashCode()Returns a hash code value for the object. -
setConfiguration
Set the XML configuration data for the user directory.- Parameters:
configuration- the XML configuration data for the user directory- Throws:
InvalidConfigurationException- if the XML configuration data could not be set for the user directory
-
setId
Set the ID for the user directory.- Parameters:
id- the ID for the user directory
-
setName
Set the name of the user directory.- Parameters:
name- the name of the user directory
-
setParameters
Set the parameters for the user directory.- Parameters:
parameters- the parameters for the user directory
-
setTenants
Set the tenants the user directory is associated with.- Parameters:
tenants- the tenants the user directory is associated with
-
setType
Set the code for the user directory type.- Parameters:
type- the code for the user directory type
-
onCreate
protected void onCreate()The Java Persistence callback method invoked before the entity is created in the database. -
onUpdate
protected void onUpdate()The Java Persistence callback method invoked before the entity is updated in the database.
-