com.retek.component.security.impl
Class UserImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.security.impl.UserImpl
All Implemented Interfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, Taskable, User

public class UserImpl
extends DistributedObjectImpl
implements User


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.security.User
BOOTSTRAP_USERNAME, CALL_CENTER, PRIMARY_LOCATION, SYSTEM_USERNAME
 
Constructor Summary
UserImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
UserImpl(DistributedContext context, DistributedReference ref, java.lang.String userName)
           
 
Method Summary
 void addRole(Role role)
           
 byte[] getAuthenticationToken()
           
 CallCenter getCallCenter()
           
 RDate getCreateDate()
           
 UserDto getDto()
           
 java.lang.String getEmployeeNumber()
           
 java.lang.String getExternalLoginName()
           
 java.lang.String getFirstName()
           
 java.lang.String getLastName()
           
 java.util.Set getRoles()
           
 java.lang.String getSupervisor()
           
 Task getTask()
           
 java.lang.String getTelephoneNumber()
           
 java.lang.String getUserName()
           
 UserType getUserType()
           
protected  Dto readLatest()
           
 void removeRole(Role role)
           
 void setAuthenticationToken(byte[] token)
           
 void setCallCenter(CallCenter callCenter)
           
 void setEmployeeNumber(java.lang.String employeeNumber)
           
 void setExternalLoginName(java.lang.String id)
           
 void setFirstName(java.lang.String firstName)
           
 void setLastName(java.lang.String lastName)
           
 void setSupervisor(java.lang.String supervisor)
           
 void setTelephoneNumber(java.lang.String telephoneNumber)
           
 void setUserName(java.lang.String userName)
           
 void setUserType(UserType userType)
           
 void submit()
           
 java.lang.String toDisplayString()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 
Methods inherited from interface com.retek.component.task.Taskable
getReference
 

Constructor Detail

UserImpl

public UserImpl(DistributedContext context,
                DistributedReference ref,
                boolean createHollow)
         throws SystemException

UserImpl

public UserImpl(DistributedContext context,
                DistributedReference ref,
                java.lang.String userName)
         throws SystemException
Method Detail

getDto

public UserDto getDto()
               throws SystemException
Throws:
SystemException

submit

public void submit()
            throws BusinessException,
                   SystemException
Specified by:
submit in interface User
Throws:
BusinessException
SystemException

getUserName

public java.lang.String getUserName()
                             throws SystemException
Specified by:
getUserName in interface User
Throws:
SystemException

getExternalLoginName

public java.lang.String getExternalLoginName()
                                      throws SystemException
Specified by:
getExternalLoginName in interface User
Throws:
SystemException

addRole

public void addRole(Role role)
             throws SystemException
Specified by:
addRole in interface User
Throws:
SystemException

getRoles

public java.util.Set getRoles()
                       throws SystemException
Specified by:
getRoles in interface User
Throws:
SystemException

removeRole

public void removeRole(Role role)
                throws SystemException
Specified by:
removeRole in interface User
Throws:
SystemException

getFirstName

public java.lang.String getFirstName()
                              throws SystemException
Specified by:
getFirstName in interface User
Throws:
SystemException

getLastName

public java.lang.String getLastName()
                             throws SystemException
Specified by:
getLastName in interface User
Throws:
SystemException

getCreateDate

public RDate getCreateDate()
                    throws SystemException
Specified by:
getCreateDate in interface User
Throws:
SystemException

getEmployeeNumber

public java.lang.String getEmployeeNumber()
                                   throws SystemException
Specified by:
getEmployeeNumber in interface User
Throws:
SystemException

getSupervisor

public java.lang.String getSupervisor()
                               throws SystemException
Specified by:
getSupervisor in interface User
Throws:
SystemException

getTelephoneNumber

public java.lang.String getTelephoneNumber()
                                    throws SystemException
Specified by:
getTelephoneNumber in interface User
Throws:
SystemException

getCallCenter

public CallCenter getCallCenter()
                         throws SystemException
Specified by:
getCallCenter in interface User
Throws:
SystemException

getTask

public Task getTask()
             throws SystemException
Specified by:
getTask in interface User
Throws:
SystemException

getAuthenticationToken

public byte[] getAuthenticationToken()
                              throws SystemException
Throws:
SystemException

getUserType

public UserType getUserType()
                     throws SystemException
Specified by:
getUserType in interface User
Throws:
SystemException

setUserName

public void setUserName(java.lang.String userName)
                 throws SystemException
Specified by:
setUserName in interface User
Throws:
SystemException

setExternalLoginName

public void setExternalLoginName(java.lang.String id)
                          throws SystemException
Specified by:
setExternalLoginName in interface User
Throws:
SystemException

setFirstName

public void setFirstName(java.lang.String firstName)
                  throws SystemException
Specified by:
setFirstName in interface User
Throws:
SystemException

setLastName

public void setLastName(java.lang.String lastName)
                 throws SystemException
Specified by:
setLastName in interface User
Throws:
SystemException

setEmployeeNumber

public void setEmployeeNumber(java.lang.String employeeNumber)
                       throws SystemException
Specified by:
setEmployeeNumber in interface User
Throws:
SystemException

setSupervisor

public void setSupervisor(java.lang.String supervisor)
                   throws SystemException
Specified by:
setSupervisor in interface User
Throws:
SystemException

setTelephoneNumber

public void setTelephoneNumber(java.lang.String telephoneNumber)
                        throws SystemException
Specified by:
setTelephoneNumber in interface User
Throws:
SystemException

setCallCenter

public void setCallCenter(CallCenter callCenter)
                   throws SystemException
Specified by:
setCallCenter in interface User
Throws:
SystemException

setAuthenticationToken

public void setAuthenticationToken(byte[] token)
                            throws SystemException
Throws:
SystemException

setUserType

public void setUserType(UserType userType)
                 throws SystemException
Specified by:
setUserType in interface User
Throws:
SystemException

toDisplayString

public java.lang.String toDisplayString()
Specified by:
toDisplayString in interface com.retek.swing11.commons.type.Displayable

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28