Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.model
Interface DocumentProxy

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

public interface DocumentProxy
extends Document

Methods specific to a proxy.


Method Summary
 Document getTargetDocument()
          Gets the document (version or live document) to which this proxy points.
 void setTargetDocument(Document target)
          Sets the document (version or live document) to which this proxy points.
 
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
 

Method Detail

getTargetDocument

Document getTargetDocument()
Gets the document (version or live document) to which this proxy points.


setTargetDocument

void setTargetDocument(Document target)
                       throws DocumentException
Sets the document (version or live document) to which this proxy points.

Throws:
DocumentException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.