Package org.alfresco.rest.api.model
Class Person
java.lang.Object
org.alfresco.rest.api.model.Person
- All Implemented Interfaces:
Serializable
Represents a person (aka user) within the system.
- Author:
- steveglover
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NodeRefprotected Companyprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringstatic final org.alfresco.service.namespace.QNamestatic final org.alfresco.service.namespace.QNamestatic final org.alfresco.service.namespace.QNamestatic final org.alfresco.service.namespace.QNamestatic final org.alfresco.service.namespace.QNameprotected Longprotected Longprotected Stringprotected Dateprotected Stringprotected Stringprotected String -
Constructor Summary
ConstructorsConstructorDescriptionPerson()Person(String userName, Boolean enabled, NodeRef avatarId, String firstName, String lastName, String jobTitle, String location, String telephone, String mobile, String email, String skypeId, String instantMessageId, String userStatus, Date statusUpdatedAt, String googleId, Long quota, Long quotaUsed, Boolean emailNotificationsEnabled, String description, Company company) Person(NodeRef nodeRef, Map<org.alfresco.service.namespace.QName, Serializable> nodeProps, boolean enabled) -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getQuota()protected voidmapProperties(Map<org.alfresco.service.namespace.QName, Serializable> nodeProps) voidsetAspectNames(List<String> aspectNames) voidsetAvatarId(NodeRef avatarId) voidsetCapabilities(Map<String, Boolean> capabilities) voidsetCompany(Company company) voidsetDescription(String description) voidvoidsetEmailNotificationsEnabled(Boolean emailNotificationsEnabled) voidsetEnabled(Boolean enabled) voidsetFirstName(String firstName) voidsetGoogleId(String googleId) voidsetInstantMessageId(String instantMessageId) voidsetJobTitle(String jobTitle) voidsetLastName(String lastName) voidsetLocation(String location) voidvoidsetOldPassword(String oldPassword) voidsetPassword(String password) voidsetProperties(Map<String, Object> properties) protected voidprotected voidsetQuotaUsed(Long quotaUsed) voidsetSkypeId(String skypeId) protected voidsetStatusUpdatedAt(Date statusUpdatedAt) voidsetTelephone(String telephone) voidsetUserName(String userName) voidsetUserStatus(String userStatus) Map<org.alfresco.service.namespace.QName, Serializable> toString()booleanwasSet(org.alfresco.service.namespace.QName fieldName)
-
Field Details
-
userName
-
enabled
-
avatarId
-
firstName
-
lastName
-
displayName
-
jobTitle
-
location
-
telephone
-
mobile
-
email
-
skypeId
-
instantMessageId
-
userStatus
-
statusUpdatedAt
-
googleId
-
quota
-
quotaUsed
-
emailNotificationsEnabled
-
description
-
company
-
password
-
oldPassword
-
properties
-
aspectNames
-
capabilities
-
PROP_PERSON_DESCRIPTION
public static final org.alfresco.service.namespace.QName PROP_PERSON_DESCRIPTION -
PROP_PERSON_COMPANY
public static final org.alfresco.service.namespace.QName PROP_PERSON_COMPANY -
PROP_PERSON_AVATAR_ID
public static final org.alfresco.service.namespace.QName PROP_PERSON_AVATAR_ID -
PROP_PERSON_OLDPASSWORD
public static final org.alfresco.service.namespace.QName PROP_PERSON_OLDPASSWORD -
PROP_PERSON_PASSWORD
public static final org.alfresco.service.namespace.QName PROP_PERSON_PASSWORD
-
-
Constructor Details
-
Person
public Person() -
Person
public Person(String userName, Boolean enabled, NodeRef avatarId, String firstName, String lastName, String jobTitle, String location, String telephone, String mobile, String email, String skypeId, String instantMessageId, String userStatus, Date statusUpdatedAt, String googleId, Long quota, Long quotaUsed, Boolean emailNotificationsEnabled, String description, Company company) -
Person
public Person(NodeRef nodeRef, Map<org.alfresco.service.namespace.QName, Serializable> nodeProps, boolean enabled)
-
-
Method Details
-
mapProperties
-
getCompany
-
setCompany
-
getInstantMessageId
-
setInstantMessageId
-
getGoogleId
-
setGoogleId
-
getQuota
-
setQuota
-
getQuotaUsed
-
setQuotaUsed
-
getDescription
-
setDescription
-
getUserName
-
setUserName
-
isEnabled
-
setEnabled
-
setAvatarId
-
setPassword
-
setOldPassword
-
getAvatarId
-
getFirstName
-
setFirstName
-
setLastName
-
getLastName
-
getJobTitle
-
setJobTitle
-
getLocation
-
setLocation
-
getTelephone
-
setTelephone
-
getMobile
-
setMobile
-
getEmail
-
setEmail
-
getSkypeId
-
setSkypeId
-
getUserStatus
-
setUserStatus
-
getStatusUpdatedAt
-
setStatusUpdatedAt
-
isEmailNotificationsEnabled
-
setEmailNotificationsEnabled
-
getPassword
-
getOldPassword
-
getProperties
-
setProperties
-
getAspectNames
-
setAspectNames
-
getCapabilities
-
setCapabilities
-
wasSet
public boolean wasSet(org.alfresco.service.namespace.QName fieldName) -
getDisplayName
-
toString
-
toProperties
-