public interface ReferenceEntityTransaction extends ReferenceEntity, IOTransaction
ReferenceEntity
object.
This will ensure that only one publication can modify this section at a time. A new transaction object can be retrieved when this object is released.
See LockManager
for further details on locking.ReferenceEntity
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 |
---|---|
void |
setCreationDate(Timestamp time)
Sets the time when this
ReferenceEntity was created. |
void |
setFirstPublished(Timestamp time)
Sets the time when this
ReferenceEntity was first published. |
void |
setGenericName(String name)
Sets the generic name of this
ReferenceEntity . |
void |
setLastModified(Timestamp time)
Sets the time when this
ReferenceEntity was last changed. |
void |
setPublishDate(Timestamp time)
Sets the time when this
ReferenceEntity was published. |
void |
setReferenceState(Type state)
Sets the state of this
ReferenceEntity . |
void |
setSourceId(String sourceId)
Sets the source id of this
ReferenceEntity . |
void |
setSourceName(String source)
Sets the source name of this
ReferenceEntity . |
void |
setStateChange(Timestamp time)
Sets the time of the last state changed.
|
void |
setType(Type type)
Sets the type of
ReferenceEntity . |
void |
setUrl(String url)
Sets the url of this
ReferenceEntity . |
getArticleRelations, getArticleRelations, getArticles, getArticles, getCreationDate, getFirstPublished, getGenericName, getLastModified, getPublishDate, getReferenceState, getReferenceType, getSourceId, getSourceName, getStateChange, getUrl, isPublished
create, delete, getObject, release, setId, setOwnerPublicationId, update
breakAndLock, createTransaction, getChecksum, getHashKey, getId, getLockKeeper, getObjectType, getOwnerPublicationId, getProtectionDomain, getProtectionDomains, isLocked, isPreview, isValid, lock, lock, lock, lock, refresh
void setGenericName(String name)
ReferenceEntity
.name
- the generic name of this ReferenceEntity
void setUrl(String url) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
.url
- the url of this ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setStateChange(Timestamp time)
time
- the time of the last state changedTimestamp
void setType(Type type)
ReferenceEntity
.type
- the type of ReferenceEntity
Type
void setSourceName(String source) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
.source
- the source name of this ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setSourceId(String sourceId) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
.sourceId
- the source id of this ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setReferenceState(Type state) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
.state
- the state of this ReferenceEntity
PersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setPublishDate(Timestamp time) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
was published.time
- the time when this ReferenceEntity
was publishedPersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setLastModified(Timestamp time) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
was last changed.time
- the time when this ReferenceEntity
was last changedPersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setCreationDate(Timestamp time) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
was created.time
- the time when this ReferenceEntity
was createdPersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not existvoid setFirstPublished(Timestamp time) throws PersistentStoreException, NoSuchObjectException
ReferenceEntity
was first published.time
- the time when this ReferenceEntity
was first publishedPersistentStoreException
- if an error occurs in the persistence layerNoSuchObjectException
- if trying to retrieve an object that does not exist© 1998- 2018 Stibo DX