public interface Person extends ReferenceEntity, Member
Person
objects in the
Escenic system. A PersonTransaction
must be retrieved when you need to modify this
object.PersonTransaction
,
LockManager
,
User
IOAtom.ObjectType
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
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Retrieves the address of this
Person . |
Article[] |
getArticlesByRoleKeeper()
returns all articles where the user has any kind of role
|
String |
getDescription()
Retrieves the description this
Person . |
String |
getEmailAddress()
Retrieves the email address to this
Person . |
String[] |
getEmailAddresses()
Deprecated.
not in use anymore
|
String |
getFirstName()
Retrieves the first name of this
Person . |
Collection<Integer> |
getFriendlyPublicationIds()
Deprecated.
The friendly publication concept is not used any more.
Add the appropriate
ProtectionDomain and list of roles to the user instead. |
com.escenic.auth.Realm[] |
getLoginRealms()
Get the list of realms the user has login access to.
|
String |
getName()
Retrieves the name (firstname + surname) of this
Person . |
String |
getOccupation()
Retrieves the occupation of this
Person . |
String |
getPhoneMobile()
Retrieves the phone number to this
Person's mobilePhone. |
String |
getPhonePrivate()
Retrieves the phone number to where this
Person lives. |
String |
getPhoneWorkDirect()
Retrieves the direct phone number to where this
Person works. |
String |
getPostNumber()
Retrieves the post number/zip code of this
Person address. |
String |
getPostPlace()
Retrieves the post place of this
Person address. |
List<IORelation> |
getProfiles()
Retrieves all the profile relations of this user
|
String |
getSurName()
Retrieves the surname of this
Person . |
String |
getUserName()
Retrieves the username of this
Person as a String . |
boolean |
isExternal()
Deprecated.
no replacement
|
boolean |
isPrivileged() |
boolean |
isUser()
Checks whether or not this person is an Escenic user.
|
getArticleRelations, getArticleRelations, getArticles, getArticles, getCreationDate, getFirstPublished, getGenericName, getLastModified, getPublishDate, getReferenceState, getReferenceType, getSourceId, getSourceName, getStateChange, getUrl, isPublished
getProtectionDomain, getUserGroups
breakAndLock, createTransaction, getChecksum, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomains, isLocked, isPreview, isValid, lock, lock, lock, lock, refresh
String getUserName() throws PersistentStoreException, NoSuchObjectException
Person
as a String
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getFirstName() throws PersistentStoreException, NoSuchObjectException
Person
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getSurName() throws PersistentStoreException, NoSuchObjectException
Person
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getName() throws PersistentStoreException, NoSuchObjectException
Person
.getName
in interface Member
Person
PersistentStoreException
NoSuchObjectException
String getOccupation() throws PersistentStoreException, NoSuchObjectException
Person
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getAddress() throws PersistentStoreException, NoSuchObjectException
Person
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getPostNumber() throws PersistentStoreException, NoSuchObjectException
Person
address.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getPostPlace() throws PersistentStoreException, NoSuchObjectException
Person
address.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getPhoneWorkDirect() throws PersistentStoreException, NoSuchObjectException
Person
works.PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getPhonePrivate() throws PersistentStoreException, NoSuchObjectException
Person
lives.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getPhoneMobile() throws PersistentStoreException, NoSuchObjectException
Person's
mobilePhone.Person's
mobile phonePersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getDescription() throws PersistentStoreException, NoSuchObjectException
Person
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString[] getEmailAddresses() throws PersistentStoreException, NoSuchObjectException
Person
.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getEmailAddress() throws PersistentStoreException, NoSuchObjectException
Person
. If there
are more than one email address, the first will be returned.Person
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not exist@Deprecated Collection<Integer> getFriendlyPublicationIds() throws PersistentStoreException, UnsupportedOperationException
ProtectionDomain
and list of roles to the user instead.UnsupportedOperationException
- always.PersistentStoreException
boolean isUser()
boolean isPrivileged()
com.escenic.auth.Realm[] getLoginRealms()
boolean isExternal()
Article[] getArticlesByRoleKeeper()
List<IORelation> getProfiles()
© 1998- 2018 Stibo DX