public interface ReferenceEntity extends IOObject
IOObjects
. Contains methods for retrieving
dates, catalogs and generic info belonging to the implementing object. Typical reference entitites are:
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 |
---|---|
IORelation[] |
getArticleRelations() |
IORelation[] |
getArticleRelations(Type relationType) |
Article[] |
getArticles() |
Article[] |
getArticles(Type relationType) |
Timestamp |
getCreationDate()
Retrieves the date when this reference entity was created.
|
Timestamp |
getFirstPublished()
Retrieves the date when this reference entity was first published.
|
String |
getGenericName()
Retrieves this reference entity's generic name.
|
Timestamp |
getLastModified()
Retrieves the date when this reference entity was last modified.
|
Timestamp |
getPublishDate()
Retrieves the date when this reference entity was published.
|
Type |
getReferenceState()
Retrieves the state of this reference entity.
|
Type |
getReferenceType()
Retrieves the type of the reference entity.
|
String |
getSourceId()
Retrieves the source id belonging to this reference entity.
|
String |
getSourceName()
Retrieves the source name belonging to this reference entity.
|
Timestamp |
getStateChange()
Retrieves the time of the last state change.
|
String |
getUrl()
Retrieves the url of this reference entity.
|
boolean |
isPublished()
Checks whether or not this entity is published.
|
breakAndLock, createTransaction, getChecksum, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomain, getProtectionDomains, isLocked, isPreview, isValid, lock, lock, lock, lock, refresh
String getGenericName() throws PersistentStoreException, NoSuchObjectException
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getUrl() throws PersistentStoreException, NoSuchObjectException
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existTimestamp getStateChange() throws PersistentStoreException, NoSuchObjectException
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existType getReferenceType() throws PersistentStoreException, NoSuchObjectException
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existString getSourceId()
String getSourceName()
Type getReferenceState()
Timestamp getPublishDate()
Timestamp
representation of the date when this reference entity was publishedTimestamp getLastModified()
Timestamp
representation of the date when this reference entity was last modifiedTimestamp getCreationDate()
Timestamp
representation of the date when this reference entity was createdTimestamp getFirstPublished()
Timestamp
representation of the date when this reference entity was first publishedArticle[] getArticles()
IORelation[] getArticleRelations()
IORelation[] getArticleRelations(Type relationType)
boolean isPublished() throws PersistentStoreException, NoSuchObjectException
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not exist© 1998- 2018 Stibo DX