com.flexive.shared.security
Class AccountEdit

java.lang.Object
  extended by com.flexive.shared.AbstractSelectableObjectWithName
      extended by com.flexive.shared.security.Account
          extended by com.flexive.shared.security.AccountEdit
All Implemented Interfaces:
SelectableObject, SelectableObjectWithName, java.io.Serializable

public class AccountEdit
extends Account

An editable account wrapper implementation. Use this class for creating new accounts or editing existing ones.

Version:
$Rev: 2842 $
Author:
Daniel Lichtenberger, UCS
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.flexive.shared.security.Account
active, allowMultiLogin, contactDataId, defaultNodeId, description, email, id, language, lifeCycleInfo, loginName, mandatorId, name, NULL_ACCOUNT, restToken, restTokenExpires, updateToken, USER_GLOBAL_SUPERVISOR, USER_GUEST, VALID_FOREVER, validated, validFrom, validTo
 
Constructor Summary
AccountEdit()
           
AccountEdit(Account account)
           
 
Method Summary
 AccountEdit setActive(boolean bActive)
           
 AccountEdit setAllowMultiLogin(boolean bAllowMultiLogin)
           
 AccountEdit setContactDataId(long lContactDataId)
           
 AccountEdit setDefaultNode(long lDefaultNode)
           
 AccountEdit setDefaultNodeId(long defaultNodeId)
           
 AccountEdit setDescription(java.lang.String sDescription)
           
 AccountEdit setEmail(java.lang.String sEmail)
           
 AccountEdit setId(long id)
           
 AccountEdit setLanguage(FxLanguage language)
           
 AccountEdit setLifeCycleInfo(LifeCycleInfo lifeCycleInfo)
           
 AccountEdit setLoginName(java.lang.String sLoginName)
           
 AccountEdit setMandatorId(long iMandator)
           
 AccountEdit setName(java.lang.String sName)
           
 AccountEdit setRestToken(java.lang.String token)
           
 AccountEdit setRestTokenExpires(long timestamp)
           
 AccountEdit setUpdateToken(java.lang.String updateToken)
           
 AccountEdit setValidated(boolean bValidated)
           
 AccountEdit setValidFrom(java.util.Date dValidFrom)
           
 AccountEdit setValidTo(java.util.Date dValidTo)
           
 
Methods inherited from class com.flexive.shared.security.Account
asEditable, getContactData, getContactDataId, getDefaultNode, getDescription, getEmail, getId, getLanguage, getLifeCycleInfo, getLoginName, getMandatorId, getName, getRestToken, getRestTokenExpires, getUpdateToken, getValidFrom, getValidFromString, getValidTo, getValidToString, isActive, isAllowMultiLogin, isNew, isRestTokenExpired, isSystemInternalAccount, isValidated
 
Methods inherited from class com.flexive.shared.AbstractSelectableObjectWithName
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountEdit

public AccountEdit()

AccountEdit

public AccountEdit(Account account)
Method Detail

setId

public AccountEdit setId(long id)

setDefaultNodeId

public AccountEdit setDefaultNodeId(long defaultNodeId)

setUpdateToken

public AccountEdit setUpdateToken(java.lang.String updateToken)

setLifeCycleInfo

public AccountEdit setLifeCycleInfo(LifeCycleInfo lifeCycleInfo)

setName

public AccountEdit setName(java.lang.String sName)

setLoginName

public AccountEdit setLoginName(java.lang.String sLoginName)

setMandatorId

public AccountEdit setMandatorId(long iMandator)

setEmail

public AccountEdit setEmail(java.lang.String sEmail)

setLanguage

public AccountEdit setLanguage(FxLanguage language)

setActive

public AccountEdit setActive(boolean bActive)

setValidated

public AccountEdit setValidated(boolean bValidated)

setValidFrom

public AccountEdit setValidFrom(java.util.Date dValidFrom)

setValidTo

public AccountEdit setValidTo(java.util.Date dValidTo)

setDefaultNode

public AccountEdit setDefaultNode(long lDefaultNode)

setDescription

public AccountEdit setDescription(java.lang.String sDescription)

setContactDataId

public AccountEdit setContactDataId(long lContactDataId)

setAllowMultiLogin

public AccountEdit setAllowMultiLogin(boolean bAllowMultiLogin)

setRestToken

public AccountEdit setRestToken(java.lang.String token)

setRestTokenExpires

public AccountEdit setRestTokenExpires(long timestamp)