Nuxeo ECM Projects 5.4.3-SNAPSHOT

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
addFacet, followTransition, getAllFacets, getAllowedStateTransitions, getFacets, getLastModified, getLifeCyclePolicy, getLifeCycleState, getName, getParent, getPath, getRepository, getSession, getSystemProp, getType, getUUID, hasFacet, isFolder, isProxy, readDocumentPart, remove, removeFacet, 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, removeLock, setLock
 

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 ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.