Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.coremodel
Interface SQLDocument

All Superinterfaces:
Document, DocumentContainer, Lockable, Property, PropertyContainer, VersionableDocument
All Known Implementing Classes:
SQLDocumentLive, SQLDocumentProxy, SQLDocumentVersion

public interface SQLDocument
extends Document, PropertyContainer, Property

Base interface for SQL documents.


Field Summary
static java.lang.String BINARY_TEXT_SYS_PROP
           
 
Method Summary
 void checkWritable()
          Raises an exception if the document is read-only.
 Property getACLProperty()
          Returns the property holding the ACL.
 Node getNode()
          Returns the node with info about the hierarchy location.
 
Methods inherited from interface org.nuxeo.ecm.core.model.Document
followTransition, getAllowedStateTransitions, getLastModified, getLifeCyclePolicy, getLifeCycleState, getName, getParent, getPath, getRepository, getSession, getSystemProp, getType, getUUID, isFolder, isProxy, readDocumentPart, remove, save, setCurrentLifeCycleState, setLifeCyclePolicy, setSystemProp, writeDocumentPart
 
Methods inherited from interface org.nuxeo.ecm.core.model.DocumentContainer
addChild, getChild, getChildren, getChildren, getChildrenIds, hasChild, hasChildren, orderBefore, removeChild, resolvePath
 
Methods inherited from interface org.nuxeo.ecm.core.model.PropertyContainer
exportFlatMap, exportMap, exportMap, getBoolean, getContent, getDate, getDirtyFields, getDouble, getLong, getProperties, getProperty, getPropertyIterator, getPropertyValue, getString, importFlatMap, importMap, isPropertySet, removeProperty, setBoolean, setContent, setDate, setDouble, setLong, setPropertyValue, setString
 
Methods inherited from interface org.nuxeo.ecm.core.versioning.VersionableDocument
checkIn, checkOut, getBaseVersion, getCheckinComment, getLastVersion, getSourceDocument, getVersion, getVersionCreationDate, getVersionLabel, getVersions, getVersionSeriesId, getVersionsIds, getWorkingCopy, hasVersions, isCheckedOut, isLatestMajorVersion, isLatestVersion, isMajorVersion, isVersion, isVersionSeriesCheckedOut, restore
 
Methods inherited from interface org.nuxeo.ecm.core.model.Lockable
getLock, isLocked, setLock, unlock
 
Methods inherited from interface org.nuxeo.ecm.core.model.Property
getName, getProperties, getProperty, getPropertyIterator, getType, getValue, isNull, isPropertySet, setNull, setValue
 

Field Detail

BINARY_TEXT_SYS_PROP

static final java.lang.String BINARY_TEXT_SYS_PROP
See Also:
Constant Field Values
Method Detail

getNode

Node getNode()
Returns the node with info about the hierarchy location.


getACLProperty

Property getACLProperty()
                        throws DocumentException
Returns the property holding the ACL.

Throws:
DocumentException

checkWritable

void checkWritable()
                   throws DocumentException
Raises an exception if the document is read-only.

Throws:
DocumentException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.