Class AdministratorBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.administrator.AdministratorBean
- All Implemented Interfaces:
Administrator
,BusinessObject
,Serializable
Object representing an administrator within the system.
AdministratorBean
is the default implementation of the
Administrator
interface for the application.
The database stores administrators in the sscAdministrator
table, and this class can be used to represent a single row of that table.
The Hibernate configuration file AdministratorBean.hbm.xml
maps that table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private Collection
private String
private String
private Collection
private int
private boolean
private boolean
private String
private String
(package private) static org.apache.commons.logging.Log
private Integer
private String
private String
private String
private Collection
private static final long
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
void
setAdministratorID
(int administratorID) void
setAdministratorRoles
(Collection administratorRoles) void
setAllowedIPAddresses
(String allowedIPAddresses) void
setDecryptedPassword
(String decryptedPassword) void
setExportedAttributeIDs
(Collection exportedAttributeIDs) void
setImportID
(int importID) void
setIsActive
(boolean isActive) void
setIsApiUser
(boolean isApiUser) void
setLastLogin
(String lastLogin) void
setLockedOutUntil
(String lockedOutUntil) void
setNumberOfFailedLogins
(Integer numberOfFailedLogins) void
setPassword
(String password) void
setPasswordExpires
(String passwordExpires) void
setPreviousPasswords
(String previousPasswords) void
setRoleCodes
(Collection roleCodes) void
setUserName
(String userName) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
administratorID
private int administratorID -
userName
-
password
-
decryptedPassword
-
lastLogin
-
isApiUser
private boolean isApiUser -
passwordExpires
-
numberOfFailedLogins
-
lockedOutUntil
-
previousPasswords
-
allowedIPAddresses
-
isActive
private boolean isActive -
roleCodes
-
importID
private int importID -
exportedAttributeIDs
-
administratorRoles
-
-
Constructor Details
-
AdministratorBean
public AdministratorBean()
-
-
Method Details
-
getAdministratorID
public int getAdministratorID()- Specified by:
getAdministratorID
in interfaceAdministrator
-
setAdministratorID
public void setAdministratorID(int administratorID) - Specified by:
setAdministratorID
in interfaceAdministrator
-
getUserName
- Specified by:
getUserName
in interfaceAdministrator
-
setUserName
- Specified by:
setUserName
in interfaceAdministrator
-
getPassword
- Specified by:
getPassword
in interfaceAdministrator
-
setPassword
- Specified by:
setPassword
in interfaceAdministrator
-
getDecryptedPassword
- Specified by:
getDecryptedPassword
in interfaceAdministrator
-
setDecryptedPassword
- Specified by:
setDecryptedPassword
in interfaceAdministrator
-
getLastLogin
- Specified by:
getLastLogin
in interfaceAdministrator
-
setLastLogin
- Specified by:
setLastLogin
in interfaceAdministrator
-
getIsApiUser
public boolean getIsApiUser()- Specified by:
getIsApiUser
in interfaceAdministrator
-
setIsApiUser
public void setIsApiUser(boolean isApiUser) - Specified by:
setIsApiUser
in interfaceAdministrator
-
getPasswordExpires
- Specified by:
getPasswordExpires
in interfaceAdministrator
-
setPasswordExpires
- Specified by:
setPasswordExpires
in interfaceAdministrator
-
getNumberOfFailedLogins
- Specified by:
getNumberOfFailedLogins
in interfaceAdministrator
-
setNumberOfFailedLogins
- Specified by:
setNumberOfFailedLogins
in interfaceAdministrator
-
getLockedOutUntil
- Specified by:
getLockedOutUntil
in interfaceAdministrator
-
setLockedOutUntil
- Specified by:
setLockedOutUntil
in interfaceAdministrator
-
getPreviousPasswords
- Specified by:
getPreviousPasswords
in interfaceAdministrator
-
setPreviousPasswords
- Specified by:
setPreviousPasswords
in interfaceAdministrator
-
getAllowedIPAddresses
- Specified by:
getAllowedIPAddresses
in interfaceAdministrator
-
setAllowedIPAddresses
- Specified by:
setAllowedIPAddresses
in interfaceAdministrator
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActive
in interfaceAdministrator
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActive
in interfaceAdministrator
-
getRoleCodes
- Specified by:
getRoleCodes
in interfaceAdministrator
-
setRoleCodes
- Specified by:
setRoleCodes
in interfaceAdministrator
-
getImportID
public int getImportID()- Specified by:
getImportID
in interfaceAdministrator
-
setImportID
public void setImportID(int importID) - Specified by:
setImportID
in interfaceAdministrator
-
getExportedAttributeIDs
- Specified by:
getExportedAttributeIDs
in interfaceAdministrator
-
setExportedAttributeIDs
- Specified by:
setExportedAttributeIDs
in interfaceAdministrator
-
getAdministratorRoles
- Specified by:
getAdministratorRoles
in interfaceAdministrator
-
setAdministratorRoles
- Specified by:
setAdministratorRoles
in interfaceAdministrator
-