Package com.soffid.iam.api
Class AbstractUser
- java.lang.Object
-
- com.soffid.iam.api.AbstractUser
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
User
public abstract class AbstractUser extends Object implements Serializable
ValueObject AbstractUser- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractUser()
AbstractUser(AbstractUser otherBean)
AbstractUser(Long id, String userName, String firstName, String lastName, String middleName, String fullName, String userType, String primaryGroup, String primaryGroupDescription, String homeServer, String profileServer, String emailAddress, String mailAlias, String mailServer, String shortName, String mailDomain, Boolean active, Boolean multiSession, String comments, String createdByUser, Calendar createdDate, String modifiedByUser, Calendar modifiedDate, Map<String,Object> attributes)
AbstractUser(String userName, String firstName, String lastName, String userType, String primaryGroup)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getActive()
Gets value for attribute activeMap<String,Object>
getAttributes()
Gets value for attribute attributesString
getComments()
Gets value for attribute commentsString
getCreatedBy()
Gets value for attribute createdByUserString
getCreatedByUser()
Gets value for attribute createdByUserCalendar
getCreatedDate()
Gets value for attribute createdDateCalendar
getCreatedOn()
Gets value for attribute createdDateString
getEmailAddress()
Gets value for attribute emailAddressString
getFirstName()
Gets value for attribute firstNameString
getFullName()
Gets value for attribute fullNameString
getHomeServer()
Gets value for attribute homeServerLong
getId()
Gets value for attribute idString
getLastName()
Gets value for attribute lastNameString
getLastName2()
Gets value for attribute middleNameString
getMailAlias()
Gets value for attribute mailAliasString
getMailDomain()
Gets value for attribute mailDomainString
getMailServer()
Gets value for attribute mailServerString
getMiddleName()
Gets value for attribute middleNameString
getModifiedBy()
Gets value for attribute modifiedByUserString
getModifiedByUser()
Gets value for attribute modifiedByUserCalendar
getModifiedDate()
Gets value for attribute modifiedDateCalendar
getModifiedOn()
Gets value for attribute modifiedDateBoolean
getMultiSession()
Gets value for attribute multiSessionString
getPrimaryGroup()
Gets value for attribute primaryGroupString
getPrimaryGroupDescription()
Gets value for attribute primaryGroupDescriptionString
getProfileServer()
Gets value for attribute profileServerString
getShortName()
Gets value for attribute shortNameString
getUserName()
Gets value for attribute userNameString
getUserType()
Gets value for attribute userTypevoid
setActive(Boolean active)
Sets value for attribute activevoid
setAttributes(Map<String,Object> attributes)
Sets value for attribute attributesvoid
setComments(String comments)
Sets value for attribute commentsvoid
setCreatedBy(String createdByUser)
Sets value for attribute createdByUservoid
setCreatedByUser(String createdByUser)
Sets value for attribute createdByUservoid
setCreatedDate(Calendar createdDate)
Sets value for attribute createdDatevoid
setCreatedOn(Calendar createdDate)
Sets value for attribute createdDatevoid
setEmailAddress(String emailAddress)
Sets value for attribute emailAddressvoid
setFirstName(String firstName)
Sets value for attribute firstNamevoid
setFullName(String fullName)
Sets value for attribute fullNamevoid
setHomeServer(String homeServer)
Sets value for attribute homeServervoid
setId(Long id)
Sets value for attribute idvoid
setLastName(String lastName)
Sets value for attribute lastNamevoid
setLastName2(String middleName)
Sets value for attribute middleNamevoid
setMailAlias(String mailAlias)
Sets value for attribute mailAliasvoid
setMailDomain(String mailDomain)
Sets value for attribute mailDomainvoid
setMailServer(String mailServer)
Sets value for attribute mailServervoid
setMiddleName(String middleName)
Sets value for attribute middleNamevoid
setModifiedBy(String modifiedByUser)
Sets value for attribute modifiedByUservoid
setModifiedByUser(String modifiedByUser)
Sets value for attribute modifiedByUservoid
setModifiedDate(Calendar modifiedDate)
Sets value for attribute modifiedDatevoid
setModifiedOn(Calendar modifiedDate)
Sets value for attribute modifiedDatevoid
setMultiSession(Boolean multiSession)
Sets value for attribute multiSessionvoid
setPrimaryGroup(String primaryGroup)
Sets value for attribute primaryGroupvoid
setPrimaryGroupDescription(String primaryGroupDescription)
Sets value for attribute primaryGroupDescriptionvoid
setProfileServer(String profileServer)
Sets value for attribute profileServervoid
setShortName(String shortName)
Sets value for attribute shortNamevoid
setUserName(String userName)
Sets value for attribute userNamevoid
setUserType(String userType)
Sets value for attribute userTypeString
toString()
Returns a string representation of the value object.static User
toUser(Usuari vo)
Creates a User value object based on a Usuari object.static void
toUser(Usuari source, AbstractUser target)
Updates a User value object based on a Usuari object.static User[]
toUserArray(Usuari[] source)
Creates a User array on a Usuari array.static AsyncList<User>
toUserAsyncList(AsyncList<Usuari> source)
Creates a User asynclist on a Usuari collection.static PagedResult<User>
toUserList(PagedResult<Usuari> source)
Creates a User pagedResult on a Usuari collection.static List<User>
toUserList(Collection<Usuari> source)
Creates a User list on a Usuari collection.
-
-
-
Constructor Detail
-
AbstractUser
public AbstractUser()
-
AbstractUser
public AbstractUser(Long id, String userName, String firstName, String lastName, String middleName, String fullName, String userType, String primaryGroup, String primaryGroupDescription, String homeServer, String profileServer, String emailAddress, String mailAlias, String mailServer, String shortName, String mailDomain, Boolean active, Boolean multiSession, String comments, String createdByUser, Calendar createdDate, String modifiedByUser, Calendar modifiedDate, Map<String,Object> attributes)
-
AbstractUser
public AbstractUser(String userName, String firstName, String lastName, String userType, String primaryGroup)
-
AbstractUser
public AbstractUser(AbstractUser otherBean)
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getUserName
public String getUserName()
Gets value for attribute userName
-
setUserName
public void setUserName(String userName)
Sets value for attribute userName
-
getFirstName
public String getFirstName()
Gets value for attribute firstName
-
setFirstName
public void setFirstName(String firstName)
Sets value for attribute firstName
-
getLastName
public String getLastName()
Gets value for attribute lastName
-
setLastName
public void setLastName(String lastName)
Sets value for attribute lastName
-
getMiddleName
public String getMiddleName()
Gets value for attribute middleName
-
setMiddleName
public void setMiddleName(String middleName)
Sets value for attribute middleName
-
getLastName2
public String getLastName2()
Gets value for attribute middleName
-
setLastName2
public void setLastName2(String middleName)
Sets value for attribute middleName
-
getFullName
public String getFullName()
Gets value for attribute fullName
-
setFullName
public void setFullName(String fullName)
Sets value for attribute fullName
-
getUserType
public String getUserType()
Gets value for attribute userType
-
setUserType
public void setUserType(String userType)
Sets value for attribute userType
-
getPrimaryGroup
public String getPrimaryGroup()
Gets value for attribute primaryGroup
-
setPrimaryGroup
public void setPrimaryGroup(String primaryGroup)
Sets value for attribute primaryGroup
-
getPrimaryGroupDescription
public String getPrimaryGroupDescription()
Gets value for attribute primaryGroupDescription
-
setPrimaryGroupDescription
public void setPrimaryGroupDescription(String primaryGroupDescription)
Sets value for attribute primaryGroupDescription
-
getHomeServer
public String getHomeServer()
Gets value for attribute homeServer
-
setHomeServer
public void setHomeServer(String homeServer)
Sets value for attribute homeServer
-
getProfileServer
public String getProfileServer()
Gets value for attribute profileServer
-
setProfileServer
public void setProfileServer(String profileServer)
Sets value for attribute profileServer
-
getEmailAddress
public String getEmailAddress()
Gets value for attribute emailAddress
-
setEmailAddress
public void setEmailAddress(String emailAddress)
Sets value for attribute emailAddress
-
getMailAlias
public String getMailAlias()
Gets value for attribute mailAlias
-
setMailAlias
public void setMailAlias(String mailAlias)
Sets value for attribute mailAlias
-
getMailServer
public String getMailServer()
Gets value for attribute mailServer
-
setMailServer
public void setMailServer(String mailServer)
Sets value for attribute mailServer
-
getShortName
public String getShortName()
Gets value for attribute shortName
-
setShortName
public void setShortName(String shortName)
Sets value for attribute shortName
-
getMailDomain
public String getMailDomain()
Gets value for attribute mailDomain
-
setMailDomain
public void setMailDomain(String mailDomain)
Sets value for attribute mailDomain
-
getActive
public Boolean getActive()
Gets value for attribute active
-
setActive
public void setActive(Boolean active)
Sets value for attribute active
-
getMultiSession
public Boolean getMultiSession()
Gets value for attribute multiSession
-
setMultiSession
public void setMultiSession(Boolean multiSession)
Sets value for attribute multiSession
-
getComments
public String getComments()
Gets value for attribute comments
-
setComments
public void setComments(String comments)
Sets value for attribute comments
-
getCreatedByUser
public String getCreatedByUser()
Gets value for attribute createdByUser
-
setCreatedByUser
public void setCreatedByUser(String createdByUser)
Sets value for attribute createdByUser
-
getCreatedBy
public String getCreatedBy()
Gets value for attribute createdByUser
-
setCreatedBy
public void setCreatedBy(String createdByUser)
Sets value for attribute createdByUser
-
getCreatedDate
public Calendar getCreatedDate()
Gets value for attribute createdDate
-
setCreatedDate
public void setCreatedDate(Calendar createdDate)
Sets value for attribute createdDate
-
getCreatedOn
public Calendar getCreatedOn()
Gets value for attribute createdDate
-
setCreatedOn
public void setCreatedOn(Calendar createdDate)
Sets value for attribute createdDate
-
getModifiedByUser
public String getModifiedByUser()
Gets value for attribute modifiedByUser
-
setModifiedByUser
public void setModifiedByUser(String modifiedByUser)
Sets value for attribute modifiedByUser
-
getModifiedBy
public String getModifiedBy()
Gets value for attribute modifiedByUser
-
setModifiedBy
public void setModifiedBy(String modifiedByUser)
Sets value for attribute modifiedByUser
-
getModifiedDate
public Calendar getModifiedDate()
Gets value for attribute modifiedDate
-
setModifiedDate
public void setModifiedDate(Calendar modifiedDate)
Sets value for attribute modifiedDate
-
getModifiedOn
public Calendar getModifiedOn()
Gets value for attribute modifiedDate
-
setModifiedOn
public void setModifiedOn(Calendar modifiedDate)
Sets value for attribute modifiedDate
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Sets value for attribute attributes
-
toString
public String toString()
Returns a string representation of the value object.
-
toUserList
public static List<User> toUserList(Collection<Usuari> source)
Creates a User list on a Usuari collection.
-
toUserList
public static PagedResult<User> toUserList(PagedResult<Usuari> source)
Creates a User pagedResult on a Usuari collection.
-
toUserAsyncList
public static AsyncList<User> toUserAsyncList(AsyncList<Usuari> source)
Creates a User asynclist on a Usuari collection.
-
toUserArray
public static User[] toUserArray(Usuari[] source)
Creates a User array on a Usuari array.
-
toUser
public static void toUser(Usuari source, AbstractUser target)
Updates a User value object based on a Usuari object.
-
-