@Entity(name="User") @Indexed(index="search/index/user") @ClassBridge(name="documentFields", index=YES, analyze=YES, store=YES, impl=com.jamasoftware.contour.util.search.bridge.UserClassBridge.class) public class UserImpl extends DomainObjectSupport implements User
User.SearchField
ROOT_USER, UNASSIGNED_USER
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
OVERRIDE_ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
UserImpl() |
UserImpl(Integer userId) |
UserImpl(Integer id,
String userName,
String firstName,
String lastName) |
UserImpl(com.jamasoftware.contour.api.service.dto.property.UserPropertyDTO propDto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getAutoFollowCommentedItems() |
Attachment |
getAvatar() |
String |
getContent() |
Boolean |
getDisabled() |
String |
getDisplayName() |
String |
getEmail() |
Boolean |
getEmailUpdatesToFollowedItems() |
String |
getFirstName() |
String |
getFullName() |
Integer |
getId() |
String |
getLastName() |
com.jamasoftware.contour.api.util.license.UserLicenseType |
getLicenseType() |
String |
getLocale() |
String |
getLocation() |
Boolean |
getLocked() |
String |
getNotes() |
Organization |
getOrganization() |
Integer |
getOrganizationId()
Deprecated.
We are no longer using organizations, double check you need to use this method -TT
|
String |
getPassword() |
String |
getPhone() |
Set<Role> |
getRoles() |
String |
getSalt() |
Boolean |
getSendEmail() |
Boolean |
getSystem() |
String |
getTheme() |
String |
getTitle() |
String |
getUid() |
Boolean |
getUnregistered() |
String |
getUserName() |
Boolean |
getVisible() |
String |
getXmlToString() |
int |
hashCode() |
com.jamasoftware.contour.api.security.acl.AclObjectIdentity |
obtainAclObjectIdentity() |
void |
setAutoFollowCommentedItems(Boolean autoFollowCommentedItems) |
void |
setAvatar(Attachment avatar) |
void |
setDisabled(Boolean disabled) |
void |
setEmail(String email) |
void |
setEmailUpdatesToFollowedItems(Boolean emailUpdatesToFollowedItems) |
void |
setFirstName(String firstName) |
void |
setId(Integer userId) |
void |
setLastName(String lastName) |
void |
setLicenseType(com.jamasoftware.contour.api.util.license.UserLicenseType licenseType) |
void |
setLocale(String locale) |
void |
setLocation(String location) |
void |
setLocked(Boolean locked) |
void |
setNotes(String notes) |
void |
setOrganization(Organization organization)
Deprecated.
We are no longer using organizations, double check you need to use this method -TT
|
void |
setOrganizationId(Integer organizationId) |
void |
setPassword(String password) |
void |
setPhone(String phone) |
void |
setRoles(Set<Role> roles) |
void |
setSalt(String salt) |
void |
setSendEmail(Boolean sendEmail) |
void |
setSystem(Boolean system) |
void |
setTheme(String theme) |
void |
setTitle(String title) |
void |
setUnregistered(Boolean unregistered) |
void |
setUserName(String login) |
void |
setVisible(Boolean visible) |
String |
toString()
Constructs a
String with all attributes in name = value
format. |
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
isNewObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
public UserImpl()
public UserImpl(Integer userId)
public UserImpl(com.jamasoftware.contour.api.service.dto.property.UserPropertyDTO propDto)
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer userId)
setId
in interface DomainObjectBase
@Field(name="uid") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getUid()
@Field(name="firstName") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getFirstName()
getFirstName
in interface User
public void setFirstName(String firstName)
setFirstName
in interface User
@Field(name="lastName") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getLastName()
getLastName
in interface User
public void setLastName(String lastName)
setLastName
in interface User
@Field(name="email") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getEmail()
public String getPassword()
getPassword
in interface User
public void setPassword(String password)
setPassword
in interface User
@Field(name="userName") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getUserName()
getUserName
in interface User
public void setUserName(String login)
setUserName
in interface User
@FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getLocked()
@Field(name="organization") @FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.OrganizationFieldBridge.class) public Organization getOrganization()
getOrganization
in interface User
@Deprecated public void setOrganization(Organization organization)
setOrganization
in interface User
@Deprecated public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public String getLocation()
getLocation
in interface User
public void setLocation(String location)
setLocation
in interface User
@Field(name="disabled") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getDisabled()
getDisabled
in interface User
public void setDisabled(Boolean disabled)
setDisabled
in interface User
@Field(name="roles") @FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.RolesFieldBridge.class) public Set<Role> getRoles()
@Field(name="licenseType") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.EnumFieldBridge.class, params=) public com.jamasoftware.contour.api.util.license.UserLicenseType getLicenseType()
getLicenseType
in interface User
public void setLicenseType(com.jamasoftware.contour.api.util.license.UserLicenseType licenseType)
setLicenseType
in interface User
@Field(name="system") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getSystem()
public Boolean getVisible()
getVisible
in interface User
public void setVisible(Boolean visible)
setVisible
in interface User
@Field(name="fullName") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getFullName()
getFullName
in interface User
@Field(name="displayName") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.StringFieldBridge.class) public String getDisplayName()
getDisplayName
in interface User
public Attachment getAvatar()
public void setAvatar(Attachment avatar)
@FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getUnregistered()
getUnregistered
in interface User
public void setUnregistered(Boolean unregistered)
setUnregistered
in interface User
@FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getEmailUpdatesToFollowedItems()
getEmailUpdatesToFollowedItems
in interface User
public void setEmailUpdatesToFollowedItems(Boolean emailUpdatesToFollowedItems)
setEmailUpdatesToFollowedItems
in interface User
@FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getAutoFollowCommentedItems()
getAutoFollowCommentedItems
in interface User
public void setAutoFollowCommentedItems(Boolean autoFollowCommentedItems)
setAutoFollowCommentedItems
in interface User
public Boolean getSendEmail()
getSendEmail
in interface User
public void setSendEmail(Boolean sendEmail)
setSendEmail
in interface User
public String getXmlToString()
getXmlToString
in interface DomainObject
public com.jamasoftware.contour.api.security.acl.AclObjectIdentity obtainAclObjectIdentity()
obtainAclObjectIdentity
in interface DomainObject
obtainAclObjectIdentity
in class DomainObjectBaseSupport
public int hashCode()
hashCode
in class DomainObjectBaseSupport
public boolean equals(Object obj)
equals
in class DomainObjectBaseSupport
public String toString()
String
with all attributes in name = value
format.public String getContent()
getContent
in interface User
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.