public interface PublicationTransaction extends Publication, IOTransaction
Publication
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.Publication
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 |
deleteResource(String pResourceName)
Deletes a stored resource in the database.
|
OutputStream |
getResourceOutputStream(String pResourceName)
Replaces or stores a publication resource in the database.
|
addLayout, getAdvertisementId, getArticleLayouts, getArticleTypes, getAuxiliaryRootSections, getDefaultSection, getDynamoRoot, getElementLayouts, getEncoding, getFeature, getFeatures, getGridLayouts, getHistory, getInformation, getIsbn, getIssn, getLayouts, getLayouts, getName, getPublisherId, getRelatedPublication, getResourceAsStream, getResourceNames, getResourceNames, getRoot, getRootSection, getSectionLayouts, getSections, getSubscriptionId, getType, getUrl, hasRelatedPublication, hasSection, hasSection, hasSection, removeLayout, scanPublicationLayouts, setLayouts
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
OutputStream getResourceOutputStream(String pResourceName) throws PersistentStoreException
pResourceName
- The name of the resource, which must start with a forward slash ('/').PersistentStoreException
- if an error occurs in the persistence layerPublication.getResourceAsStream(String)
void deleteResource(String pResourceName) throws PersistentStoreException
pResourceName
- the name of the resource to deletePersistentStoreException
- if an error occurs in the persistence layer© 1998- 2021 Escenic AS