com.softslate.commerce.businessobjects.administrator
Class AdministratorBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.administrator.AdministratorBean
All Implemented Interfaces:
Administrator, BusinessObject, java.io.Serializable

public class AdministratorBean
extends BaseBusinessObject
implements Administrator, java.io.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:
Serialized Form

Field Summary
private  int administratorID
           
private  java.util.Collection administratorRoles
           
private  java.lang.String decryptedPassword
           
private  java.util.Collection exportedAttributeIDs
           
private  int importID
           
private  boolean isActive
           
private  java.lang.String lastLogin
           
(package private) static org.apache.commons.logging.Log log
           
private  java.lang.String password
           
private  java.util.Collection roleCodes
           
private static long serialVersionUID
           
private  java.lang.String userName
           
 
Constructor Summary
AdministratorBean()
           
 
Method Summary
 int getAdministratorID()
           
 java.util.Collection getAdministratorRoles()
           
 java.lang.String getDecryptedPassword()
           
 java.util.Collection getExportedAttributeIDs()
           
 int getImportID()
           
 boolean getIsActive()
           
 java.lang.String getLastLogin()
           
 java.lang.String getPassword()
           
 java.util.Collection getRoleCodes()
           
 java.lang.String getUserName()
           
 void setAdministratorID(int administratorID)
           
 void setAdministratorRoles(java.util.Collection administratorRoles)
           
 void setDecryptedPassword(java.lang.String decryptedPassword)
           
 void setExportedAttributeIDs(java.util.Collection exportedAttributeIDs)
           
 void setImportID(int importID)
           
 void setIsActive(boolean isActive)
           
 void setLastLogin(java.lang.String lastLogin)
           
 void setPassword(java.lang.String password)
           
 void setRoleCodes(java.util.Collection roleCodes)
           
 void setUserName(java.lang.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 Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

log

static org.apache.commons.logging.Log log

administratorID

private int administratorID

userName

private java.lang.String userName

password

private java.lang.String password

decryptedPassword

private java.lang.String decryptedPassword

lastLogin

private java.lang.String lastLogin

isActive

private boolean isActive

roleCodes

private java.util.Collection roleCodes

importID

private int importID

exportedAttributeIDs

private java.util.Collection exportedAttributeIDs

administratorRoles

private java.util.Collection administratorRoles
Constructor Detail

AdministratorBean

public AdministratorBean()
Method Detail

getAdministratorID

public int getAdministratorID()
Specified by:
getAdministratorID in interface Administrator

setAdministratorID

public void setAdministratorID(int administratorID)
Specified by:
setAdministratorID in interface Administrator

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface Administrator

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface Administrator

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface Administrator

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface Administrator

getDecryptedPassword

public java.lang.String getDecryptedPassword()
Specified by:
getDecryptedPassword in interface Administrator

setDecryptedPassword

public void setDecryptedPassword(java.lang.String decryptedPassword)
Specified by:
setDecryptedPassword in interface Administrator

getLastLogin

public java.lang.String getLastLogin()
Specified by:
getLastLogin in interface Administrator

setLastLogin

public void setLastLogin(java.lang.String lastLogin)
Specified by:
setLastLogin in interface Administrator

getIsActive

public boolean getIsActive()
Specified by:
getIsActive in interface Administrator

setIsActive

public void setIsActive(boolean isActive)
Specified by:
setIsActive in interface Administrator

getRoleCodes

public java.util.Collection getRoleCodes()
Specified by:
getRoleCodes in interface Administrator

setRoleCodes

public void setRoleCodes(java.util.Collection roleCodes)
Specified by:
setRoleCodes in interface Administrator

getImportID

public int getImportID()
Specified by:
getImportID in interface Administrator

setImportID

public void setImportID(int importID)
Specified by:
setImportID in interface Administrator

getExportedAttributeIDs

public java.util.Collection getExportedAttributeIDs()
Specified by:
getExportedAttributeIDs in interface Administrator

setExportedAttributeIDs

public void setExportedAttributeIDs(java.util.Collection exportedAttributeIDs)
Specified by:
setExportedAttributeIDs in interface Administrator

getAdministratorRoles

public java.util.Collection getAdministratorRoles()
Specified by:
getAdministratorRoles in interface Administrator

setAdministratorRoles

public void setAdministratorRoles(java.util.Collection administratorRoles)
Specified by:
setAdministratorRoles in interface Administrator


Copyright © SoftSlate, LLC 2003–2005