Nuxeo Enterprise Platform 5.4

org.nuxeo.dam.webapp
Class FictiveDocumentModel

java.lang.Object
  extended by org.nuxeo.ecm.core.api.impl.SimpleDocumentModel
      extended by org.nuxeo.dam.webapp.FictiveDocumentModel
All Implemented Interfaces:
Serializable, org.nuxeo.ecm.core.api.DocumentModel

public class FictiveDocumentModel
extends org.nuxeo.ecm.core.api.impl.SimpleDocumentModel

Author:
Thomas Roger
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.nuxeo.ecm.core.api.impl.SimpleDocumentModel
org.nuxeo.ecm.core.api.impl.SimpleDocumentModel.SimpleDataModel
 
Nested classes/interfaces inherited from interface org.nuxeo.ecm.core.api.DocumentModel
org.nuxeo.ecm.core.api.DocumentModel.DocumentModelRefresh
 
Field Summary
 
Fields inherited from interface org.nuxeo.ecm.core.api.DocumentModel
REFRESH_ACP, REFRESH_ACP_IF_LOADED, REFRESH_ACP_LAZY, REFRESH_ALL, REFRESH_CONTENT, REFRESH_CONTENT_IF_LOADED, REFRESH_CONTENT_LAZY, REFRESH_DEFAULT, REFRESH_IF_LOADED, REFRESH_LAZY, REFRESH_PREFETCH, REFRESH_STATE
 
Constructor Summary
FictiveDocumentModel(List<String> schemas)
           
 
Method Summary
static org.nuxeo.ecm.core.api.DocumentModel createFictiveDocumentModelWith(List<String> schemas)
           
 void setPropertyValue(String xpath, Serializable value)
           
 
Methods inherited from class org.nuxeo.ecm.core.api.impl.SimpleDocumentModel
addFacet, checkIn, checkOut, clone, copyContent, copyContextData, followTransition, getACP, getAdapter, getAdapter, getAllowedStateTransitions, getCacheKey, getCheckinComment, getContextData, getContextData, getContextData, getCoreSession, getCurrentLifeCycleState, getDataModel, getDataModels, getDataModelsCollection, getDeclaredFacets, getDeclaredSchemas, getDocumentType, getFacets, getFlags, getId, getLifeCyclePolicy, getLock, getLockInfo, getName, getParentRef, getPart, getParts, getPath, getPathAsString, getPrefetch, getProperties, getProperty, getProperty, getPropertyValue, getRef, getRepositoryName, getSchemas, getSessionId, getSourceId, getSystemProp, getTitle, getType, getVersionLabel, getVersionSeriesId, hasFacet, hasSchema, isCheckedOut, isDownloadable, isFolder, isImmutable, isLatestMajorVersion, isLatestVersion, isLifeCycleLoaded, isLocked, isMajorVersion, isProxy, isVersion, isVersionable, isVersionSeriesCheckedOut, prefetchCurrentLifecycleState, prefetchLifeCyclePolicy, prefetchProperty, putContextData, putContextData, refresh, refresh, removeFacet, removeLock, reset, setACP, setLock, setLock, setPathInfo, setProperties, setProperty, setType, unlock
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FictiveDocumentModel

public FictiveDocumentModel(List<String> schemas)
Method Detail

createFictiveDocumentModelWith

public static org.nuxeo.ecm.core.api.DocumentModel createFictiveDocumentModelWith(List<String> schemas)

setPropertyValue

public void setPropertyValue(String xpath,
                             Serializable value)
                      throws org.nuxeo.ecm.core.api.model.PropertyException,
                             org.nuxeo.ecm.core.api.ClientException
Specified by:
setPropertyValue in interface org.nuxeo.ecm.core.api.DocumentModel
Overrides:
setPropertyValue in class org.nuxeo.ecm.core.api.impl.SimpleDocumentModel
Throws:
org.nuxeo.ecm.core.api.model.PropertyException
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.