public class PersonImpl extends IOObjectImpl implements Person
IOAtom.ObjectType
Modifier and Type | Field and Description |
---|---|
protected Timestamp |
mCreationDate
Deprecated.
|
protected Timestamp |
mFirstPublished
Deprecated.
|
protected Timestamp |
mLastModified
Deprecated.
|
protected neo.xredsys.Person |
mPerson
Deprecated.
|
protected Timestamp |
mPublishDate
Deprecated.
|
protected Type |
mReferenceState
Deprecated.
|
protected Type |
mReferenceType
Deprecated.
|
protected Timestamp |
mStateChange
Deprecated.
|
protected UserGroup[] |
mUserGroups
Deprecated.
|
LOGGER, sRefreshObjectBeforeLock
ID_INVALID, OBJECTTYPE_AGREEMENTINFO, OBJECTTYPE_ARTICLE, OBJECTTYPE_CATALOG, OBJECTTYPE_CATEGORY, OBJECTTYPE_ENTITY, OBJECTTYPE_FORUM, OBJECTTYPE_LAYOUT, OBJECTTYPE_MAX, OBJECTTYPE_MIN, OBJECTTYPE_PERSON, OBJECTTYPE_POOL, OBJECTTYPE_POSTING, OBJECTTYPE_PRESENTATION_FORUM, OBJECTTYPE_PRESENTATION_POSTING, OBJECTTYPE_PRESENTATION_THREAD, OBJECTTYPE_PROFILE, OBJECTTYPE_PUBLICATION, OBJECTTYPE_SECTION, OBJECTTYPE_THREAD, OBJECTTYPE_TOPIC, OBJECTTYPE_UNKNOWN, OBJECTTYPE_USERGROUP
Constructor and Description |
---|
PersonImpl()
Deprecated.
|
PersonImpl(neo.xredsys.Person pPerson)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkLoaded()
Deprecated.
|
String |
getAddress()
Deprecated.
Retrieves the address of this
Person . |
IORelation[] |
getArticleRelations()
Deprecated.
|
IORelation[] |
getArticleRelations(Type relationType)
Deprecated.
|
Article[] |
getArticles()
Deprecated.
|
Article[] |
getArticles(Type relationType)
Deprecated.
|
Article[] |
getArticlesByRoleKeeper()
Deprecated.
returns all articles where the user has any kind of role
|
String |
getChecksum()
Deprecated.
Get the version for this object.
|
Timestamp |
getCreationDate()
Deprecated.
Retrieves the date when this reference entity was created.
|
String |
getDescription()
Deprecated.
Retrieves the description this
Person . |
String |
getEmailAddress()
Deprecated.
Retrieves the email address to this
Person . |
String[] |
getEmailAddresses()
Deprecated.
Retrieves the email addresses to this
Person . |
String |
getFirstName()
Deprecated.
Retrieves the first name of this
Person . |
Timestamp |
getFirstPublished()
Deprecated.
Retrieves the date when this reference entity was first published.
|
Collection<Integer> |
getFriendlyPublicationIds()
Deprecated.
|
String |
getGenericName()
Deprecated.
Retrieves this reference entity's generic name.
|
Timestamp |
getLastModified()
Deprecated.
Retrieves the date when this reference entity was last modified.
|
com.escenic.auth.Realm[] |
getLoginRealms()
Deprecated.
Get the list of realms the user has login access to.
|
String |
getName()
Deprecated.
Retrieves the name (firstname + surname) of this
Person . |
String |
getOccupation()
Deprecated.
Retrieves the occupation of this
Person . |
String |
getPhoneMobile()
Deprecated.
Retrieves the phone number to this
Person's mobilePhone. |
String |
getPhonePrivate()
Deprecated.
Retrieves the phone number to where this
Person lives. |
String |
getPhoneWorkDirect()
Deprecated.
Retrieves the direct phone number to where this
Person works. |
String |
getPostNumber()
Deprecated.
Retrieves the post number/zip code of this
Person address. |
String |
getPostPlace()
Deprecated.
Retrieves the post place of this
Person address. |
List<IORelation> |
getProfiles()
Deprecated.
Retrieves all the profile relations of this user
|
protected Type |
getProfileType()
Deprecated.
|
ProtectionDomain |
getProtectionDomain()
Deprecated.
Retrieves the
ProtectionDomain of this object. |
Timestamp |
getPublishDate()
Deprecated.
Retrieves the date when this reference entity was published.
|
Type |
getReferenceState()
Deprecated.
Retrieves the state of this reference entity.
|
Type |
getReferenceType()
Deprecated.
Retrieves the type of the reference entity.
|
String |
getSourceId()
Deprecated.
Retrieves the source id belonging to this reference entity.
|
String |
getSourceName()
Deprecated.
Retrieves the source name belonging to this reference entity.
|
Timestamp |
getStateChange()
Deprecated.
Retrieves the time of the last state change.
|
String |
getSurName()
Deprecated.
Retrieves the surname of this
Person . |
IOTransaction |
getTransactionObjectImpl()
Deprecated.
|
String |
getUrl()
Deprecated.
Retrieves the url of this reference entity.
|
UserGroup[] |
getUserGroups()
Deprecated.
Returns the user groups where this object is a member.
|
String |
getUserName()
Deprecated.
Retrieves the username of this
Person as a String . |
String |
getUUID()
Deprecated.
|
boolean |
isExternal()
Deprecated.
|
boolean |
isPrivileged()
Deprecated.
|
boolean |
isPublished()
Deprecated.
Checks whether or not this entity is published.
|
boolean |
isUser()
Deprecated.
Checks whether or not this person is an Escenic user.
|
void |
refresh()
Deprecated.
|
protected void |
refreshDates()
Deprecated.
|
breakAndLock, compareTo, createTransaction, equals, getDefaultProtectionDomain, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomains, getValid, hashCode, isLocked, isPreview, isStillValid, isValid, lock, lock, lock, lock, objectTypeAsString, setId, setOwnerPublicationId, setValid, stringToObjectType, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
breakAndLock, createTransaction, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomains, isLocked, isPreview, isValid, lock, lock, lock, lock
protected Timestamp mStateChange
protected Type mReferenceType
protected Type mReferenceState
protected Timestamp mPublishDate
protected Timestamp mLastModified
protected Timestamp mCreationDate
protected Timestamp mFirstPublished
protected neo.xredsys.Person mPerson
protected UserGroup[] mUserGroups
public PersonImpl(neo.xredsys.Person pPerson)
public PersonImpl()
protected void checkLoaded() throws PersistentStoreException, NoSuchObjectException
public void refresh() throws PersistentStoreException, NoSuchObjectException
refresh
in interface IOObject
PersistentStoreException
NoSuchObjectException
protected void refreshDates()
public IOTransaction getTransactionObjectImpl()
getTransactionObjectImpl
in class IOObjectImpl
public String getUUID()
getUUID
in class IOObjectImpl
public String getUserName() throws PersistentStoreException, NoSuchObjectException
Person
Person
as a String
.getUserName
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getFirstName() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getFirstName
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getSurName() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getSurName
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getName() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getName
in interface Member
getName
in interface Person
Person
PersistentStoreException
NoSuchObjectException
public String getOccupation() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getOccupation
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getAddress() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getAddress
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getPostNumber() throws PersistentStoreException, NoSuchObjectException
Person
Person
address.getPostNumber
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getPostPlace() throws PersistentStoreException, NoSuchObjectException
Person
Person
address.getPostPlace
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getPhoneWorkDirect() throws PersistentStoreException, NoSuchObjectException
Person
Person
works.getPhoneWorkDirect
in interface Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getPhonePrivate() throws PersistentStoreException, NoSuchObjectException
Person
Person
lives.getPhonePrivate
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getPhoneMobile() throws PersistentStoreException, NoSuchObjectException
Person
Person's
mobilePhone.getPhoneMobile
in interface Person
Person's
mobile phonePersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getDescription() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getDescription
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String[] getEmailAddresses() throws PersistentStoreException, NoSuchObjectException
Person
Person
.getEmailAddresses
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getEmailAddress() throws PersistentStoreException, NoSuchObjectException
Person
Person
. If there
are more than one email address, the first will be returned.getEmailAddress
in interface Person
Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic UserGroup[] getUserGroups()
Member
getUserGroups
in interface Member
public Collection<Integer> getFriendlyPublicationIds()
getFriendlyPublicationIds
in interface Person
public boolean isUser()
Person
public boolean isExternal()
isExternal
in interface Person
public Article[] getArticlesByRoleKeeper()
Person
getArticlesByRoleKeeper
in interface Person
public ProtectionDomain getProtectionDomain() throws PersistentStoreException, NoSuchObjectException
IOObject
ProtectionDomain
of this object.getProtectionDomain
in interface IOObject
getProtectionDomain
in interface Member
getProtectionDomain
in class IOObjectImpl
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic Timestamp getPublishDate()
ReferenceEntity
getPublishDate
in interface ReferenceEntity
Timestamp
representation of the date when this reference entity was publishedpublic Timestamp getLastModified()
ReferenceEntity
getLastModified
in interface ReferenceEntity
Timestamp
representation of the date when this reference entity was last modifiedpublic Timestamp getCreationDate()
ReferenceEntity
getCreationDate
in interface ReferenceEntity
Timestamp
representation of the date when this reference entity was createdpublic Timestamp getFirstPublished()
ReferenceEntity
getFirstPublished
in interface ReferenceEntity
Timestamp
representation of the date when this reference entity was first publishedpublic Timestamp getStateChange()
ReferenceEntity
getStateChange
in interface ReferenceEntity
public boolean isPrivileged()
isPrivileged
in interface Person
public com.escenic.auth.Realm[] getLoginRealms()
Person
getLoginRealms
in interface Person
public String getGenericName() throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
getGenericName
in interface ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getUrl() throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
getUrl
in interface ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic Type getReferenceType() throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
getReferenceType
in interface ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getSourceId()
ReferenceEntity
getSourceId
in interface ReferenceEntity
public String getSourceName()
ReferenceEntity
getSourceName
in interface ReferenceEntity
public Type getReferenceState()
ReferenceEntity
getReferenceState
in interface ReferenceEntity
public Article[] getArticles(Type relationType) throws PersistentStoreException, NoSuchObjectException
getArticles
in interface ReferenceEntity
PersistentStoreException
NoSuchObjectException
public Article[] getArticles()
getArticles
in interface ReferenceEntity
public IORelation[] getArticleRelations()
getArticleRelations
in interface ReferenceEntity
public IORelation[] getArticleRelations(Type relationType)
getArticleRelations
in interface ReferenceEntity
public boolean isPublished() throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
isPublished
in interface ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existpublic String getChecksum()
IOObject
getChecksum
in interface IOObject
getChecksum
in class IOObjectImpl
public List<IORelation> getProfiles()
Person
getProfiles
in interface Person
protected final Type getProfileType()
© 1998- 2021 Escenic AS