Uses of Interface
org.nuxeo.ecm.core.api.DocumentModel
-
-
Uses of DocumentModel in org.nuxeo.adobe.cc
Methods in org.nuxeo.adobe.cc that return DocumentModel Modifier and Type Method Description DocumentModel
CompoundAttach. run(DocumentModel doc)
Methods in org.nuxeo.adobe.cc with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CompoundAttach. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.automation.scripting.internals
Fields in org.nuxeo.automation.scripting.internals declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentScriptingWrapper. doc
Methods in org.nuxeo.automation.scripting.internals that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentScriptingWrapper. getDoc()
Constructors in org.nuxeo.automation.scripting.internals with parameters of type DocumentModel Constructor Description DocumentScriptingWrapper(AutomationMapper mapper, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.binary.metadata.api
Methods in org.nuxeo.binary.metadata.api with parameters of type DocumentModel Modifier and Type Method Description void
BinaryMetadataService. applyUpdates(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates)
Applies synchronously the givenmappingUpdates
computed byBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)
to the document.List<MetadataMappingUpdate>
BinaryMetadataService. getMetadataUpdates(DocumentModel doc, boolean creation)
Returns the list ofMetadataMappingUpdate
to apply to the document and the blob according to following rules: If creation, write metadata from Blob to doc. If Blob dirty and document metadata dirty, write metadata from doc to Blob. If Blob dirty and document metadata not dirty, write metadata from Blob to doc. If Blob not dirty and document metadata dirty, write metadata from doc to Blob. In all cases, the metadata is never written from doc to Blob ifMetadataMappingDescriptor#isReadOnly()
returns true.void
BinaryMetadataService. handleSyncUpdate(DocumentModel doc)
Deprecated.since 2021.13, the listener now usesBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)
andBinaryMetadataService.applyUpdates(DocumentModel, List)
void
BinaryMetadataService. handleUpdate(List<MetadataMappingDescriptor> syncMappingDescriptors, DocumentModel doc)
Deprecated.since 2021.13, the listener and work now useBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)
andBinaryMetadataService.applyUpdates(DocumentModel, List)
Blob
BinaryMetadataService. writeMetadata(String processorName, Blob blob, String mappingDescriptorId, DocumentModel doc)
Write given metadata mapping id into a given binary with a Nuxeo default processor.Blob
BinaryMetadataService. writeMetadata(Blob blob, String mappingDescriptorId, DocumentModel doc)
Write given metadata mapping id into a given binary with a Nuxeo default processor.void
BinaryMetadataService. writeMetadata(DocumentModel doc)
Write metadata (from a binary) into a given Nuxeo Document according to the metadata mapping and rules contributions.void
BinaryMetadataService. writeMetadata(DocumentModel doc, String mappingDescriptorId)
Apply metadata mapping and override document properties according to the contribution. -
Uses of DocumentModel in org.nuxeo.binary.metadata.internals
Methods in org.nuxeo.binary.metadata.internals with parameters of type DocumentModel Modifier and Type Method Description void
BinaryMetadataServiceImpl. applyUpdates(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates)
protected ActionContext
BinaryMetadataServiceImpl. createActionContext(DocumentModel doc)
List<MetadataMappingUpdate>
BinaryMetadataServiceImpl. getMetadataUpdates(DocumentModel doc, boolean creation)
List<MetadataMappingDescriptor>
BinaryMetadataServiceImpl. getSyncMapping(DocumentModel doc)
Deprecated.since 2021.13, because only used byBinaryMetadataServiceImpl.handleSyncUpdate(DocumentModel)
void
BinaryMetadataServiceImpl. handleSyncUpdate(DocumentModel doc)
Deprecated.void
BinaryMetadataServiceImpl. handleUpdate(List<MetadataMappingDescriptor> mappingDescriptors, DocumentModel doc)
Deprecated.protected boolean
BinaryMetadataServiceImpl. isDirtyMapping(MetadataMappingDescriptor mappingDescriptor, DocumentModel doc)
Maps inspector only.Blob
BinaryMetadataServiceImpl. writeMetadata(String processorName, Blob blob, String mappingDescriptorId, DocumentModel doc)
Blob
BinaryMetadataServiceImpl. writeMetadata(Blob blob, String mappingDescriptorId, DocumentModel doc)
void
BinaryMetadataServiceImpl. writeMetadata(DocumentModel doc)
void
BinaryMetadataServiceImpl. writeMetadata(DocumentModel doc, String mappingDescriptorId)
void
BinaryMetadataServiceImpl. writeMetadata(DocumentModel doc, MetadataMappingDescriptor mappingDescriptor)
-
Uses of DocumentModel in org.nuxeo.binary.metadata.internals.listeners
Fields in org.nuxeo.binary.metadata.internals.listeners declared as DocumentModel Modifier and Type Field Description protected DocumentModel
BinaryMetadataSyncListener.DocumentMetadataMappingUpdates. doc
Constructors in org.nuxeo.binary.metadata.internals.listeners with parameters of type DocumentModel Constructor Description DocumentMetadataMappingUpdates(DocumentModel doc, List<MetadataMappingUpdate> updates)
-
Uses of DocumentModel in org.nuxeo.binary.metadata.internals.operations
Methods in org.nuxeo.binary.metadata.internals.operations that return DocumentModel Modifier and Type Method Description DocumentModel
WriteMetadataToBinaryFromDocument. run(DocumentModel doc)
Methods in org.nuxeo.binary.metadata.internals.operations with parameters of type DocumentModel Modifier and Type Method Description void
TriggerMetadataMappingOnDocument. run(DocumentModel document)
DocumentModel
WriteMetadataToBinaryFromDocument. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.directory.mongodb
Methods in org.nuxeo.directory.mongodb that return DocumentModel Modifier and Type Method Description protected DocumentModel
MongoDBSession. createEntryWithoutReferences(Map<String,Object> fieldMap)
protected DocumentModel
MongoDBSession. fieldMapToDocumentModel(Map<String,Object> fieldMap)
DocumentModel
MongoDBSession. getEntryFromSource(String id, boolean fetchReferences)
Methods in org.nuxeo.directory.mongodb with parameters of type DocumentModel Modifier and Type Method Description protected List<String>
MongoDBSession. updateEntryWithoutReferences(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.drive.adapter.impl
Methods in org.nuxeo.drive.adapter.impl that return DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractDocumentBackedFileSystemItem. getDocument(CoreSession session)
protected DocumentModel
AbstractDocumentBackedFileSystemItem. getDocumentById(String docId, CoreSession session)
Methods in org.nuxeo.drive.adapter.impl with parameters of type DocumentModel Modifier and Type Method Description Object
FileSystemItemAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected Blob
DocumentBackedFileItem. getBlob(DocumentModel doc)
protected BlobHolder
DocumentBackedFileItem. getBlobHolder(DocumentModel doc)
protected FolderItem
DocumentBackedFolderItem. getFolderItem(Map<DocumentRef,FolderItem> cache, DocumentModel doc, FolderItem parentItem, boolean cacheItem)
protected boolean
AbstractDocumentBackedFileSystemItem. handleCollectionMember(DocumentModel doc, CoreSession session, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected void
CollectionSyncRootFolderItem. initialize(DocumentModel doc)
protected void
DocumentBackedFileItem. initialize(FileSystemItemFactory factory, DocumentModel doc)
protected void
DocumentBackedFileItem. initialize(VersioningFileSystemItemFactory factory, DocumentModel doc)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreprotected void
DocumentBackedFolderItem. initialize(DocumentModel doc)
protected FolderItem
DocumentBackedFolderItem. populateAncestorCache(Map<DocumentRef,FolderItem> cache, DocumentModel doc, CoreSession session, boolean cacheItem)
protected void
DocumentBackedFileItem. updateDocTitleIfNeeded(DocumentModel doc, String name)
protected void
AbstractDocumentBackedFileSystemItem. updateLastModificationDate(DocumentModel doc)
static void
FileSystemItemHelper. versionIfNeeded(VersioningFileSystemItemFactory factory, DocumentModel doc, CoreSession session)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymoreConstructors in org.nuxeo.drive.adapter.impl with parameters of type DocumentModel Constructor Description AbstractDocumentBackedFileSystemItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
AbstractDocumentBackedFileSystemItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc)
AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint)
AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc)
DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc)
DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint)
DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactory
is not used anymoreDocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
DocumentBackedFolderItem(String factoryName, DocumentModel doc)
DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint)
DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
-
Uses of DocumentModel in org.nuxeo.drive.elasticsearch
Methods in org.nuxeo.drive.elasticsearch with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItem
ESSyncRootFolderItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
Constructors in org.nuxeo.drive.elasticsearch with parameters of type DocumentModel Constructor Description ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)
ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
-
Uses of DocumentModel in org.nuxeo.drive.hierarchy.permission.adapter
Constructors in org.nuxeo.drive.hierarchy.permission.adapter with parameters of type DocumentModel Constructor Description UserSyncRootParentFolderItem(String factoryName, DocumentModel doc, FolderItem parentItem, String folderName)
UserSyncRootParentFolderItem(String factoryName, DocumentModel doc, FolderItem parentItem, String folderName, boolean relaxSyncRootConstraint)
UserSyncRootParentFolderItem(String factoryName, DocumentModel doc, FolderItem parentItem, String folderName, boolean relaxSyncRootConstraint, boolean getLockInfo)
-
Uses of DocumentModel in org.nuxeo.drive.hierarchy.permission.factory
Methods in org.nuxeo.drive.hierarchy.permission.factory with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItem
PermissionSyncRootFactory. adaptDocument(DocumentModel doc, boolean forceParentId, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FileSystemItem
UserSyncRootParentFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
FileSystemItem
UserSyncRootParentFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
Force parent item usingUserSyncRootParentFactory.getTopLevelFolderItem(NuxeoPrincipal)
.FileSystemItem
UserSyncRootParentFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
UserSyncRootParentFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FolderItem
PermissionSyncRootFactory. getParentItem(DocumentModel doc)
boolean
PermissionSyncRootFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
Checks if the givenDocumentModel
is adaptable as aFileSystemItem
.boolean
UserSyncRootParentFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
-
Uses of DocumentModel in org.nuxeo.drive.hierarchy.userworkspace.adapter
Fields in org.nuxeo.drive.hierarchy.userworkspace.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModel
UserWorkspaceTopLevelFolderItem. userWorkspace
Methods in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type DocumentModel Modifier and Type Method Description static boolean
UserWorkspaceHelper. isUserWorkspace(DocumentModel doc)
Constructors in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type DocumentModel Constructor Description UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName)
UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName, boolean relaxSyncRootConstraint)
UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName, boolean relaxSyncRootConstraint, boolean getLockInfo)
-
Uses of DocumentModel in org.nuxeo.drive.hierarchy.userworkspace.factory
Methods in org.nuxeo.drive.hierarchy.userworkspace.factory with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItem
UserWorkspaceSyncRootFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FileSystemItem
UserWorkspaceTopLevelFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FolderItem
UserWorkspaceSyncRootFactory. getParentItem(DocumentModel doc)
boolean
UserWorkspaceTopLevelFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
-
Uses of DocumentModel in org.nuxeo.drive.listener
Methods in org.nuxeo.drive.listener that return DocumentModel Modifier and Type Method Description protected DocumentModel
NuxeoDriveFileSystemDeletionListener. handleBeforeDocUpdate(DocumentEventContext ctx, DocumentModel doc)
Methods in org.nuxeo.drive.listener that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
NuxeoDriveFileSystemDeletionListener. getChildSyncRoots(DocumentModel doc, CoreSession session)
Methods in org.nuxeo.drive.listener with parameters of type DocumentModel Modifier and Type Method Description protected void
NuxeoDriveFileSystemDeletionListener. fireVirtualEventLogEntries(DocumentModel doc, String eventName, NuxeoPrincipal principal, String impactedUserName, CoreSession session)
protected List<DocumentModel>
NuxeoDriveFileSystemDeletionListener. getChildSyncRoots(DocumentModel doc, CoreSession session)
protected FileSystemItem
NuxeoDriveFileSystemDeletionListener. getFileSystemItem(DocumentModel doc, String eventName)
protected DocumentModelList
NuxeoDriveSyncRootCopyListener. getSyncRoots(DocumentModel doc, CoreSession session)
protected boolean
NuxeoDriveFileSystemDeletionListener. handleAboutToRemove(DocumentModel doc)
protected DocumentModel
NuxeoDriveFileSystemDeletionListener. handleBeforeDocUpdate(DocumentEventContext ctx, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.drive.operations
Fields in org.nuxeo.drive.operations declared as DocumentModel Modifier and Type Field Description protected DocumentModel
NuxeoDriveAttachBlob. doc
Methods in org.nuxeo.drive.operations that return DocumentModel Modifier and Type Method Description DocumentModel
NuxeoDriveAddToLocallyEditedCollection. run(DocumentModel doc)
Deprecated.Methods in org.nuxeo.drive.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
NuxeoDriveAddToLocallyEditedCollection. run(DocumentModel doc)
Deprecated.void
NuxeoDriveSetSynchronizationOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.drive.operations.test
Methods in org.nuxeo.drive.operations.test with parameters of type DocumentModel Modifier and Type Method Description Blob
NuxeoDriveCreateTestDocuments. run(DocumentModel parent)
-
Uses of DocumentModel in org.nuxeo.drive.service
Methods in org.nuxeo.drive.service with parameters of type DocumentModel Modifier and Type Method Description void
NuxeoDriveManager. addToLocallyEditedCollection(CoreSession session, DocumentModel doc)
Adds the givenDocumentModel
to theLOCALLY_EDITED_COLLECTION_NAME
collection.FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem)
FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)
FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
FileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem)
FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)
FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
FileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
boolean
FileSystemItemFactory. isFileSystemItem(DocumentModel doc)
Returns true if the givenDocumentModel
is adaptable as aFileSystemItem
.boolean
FileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted)
Returns true if the givenDocumentModel
is adaptable as aFileSystemItem
.boolean
FileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
Returns true if the givenDocumentModel
is adaptable as aFileSystemItem
.boolean
NuxeoDriveManager. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)
Checks if the givenDocumentModel
is a synchronization root for the given user.boolean
VersioningFileSystemItemFactory. needsVersioning(DocumentModel doc)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymorevoid
NuxeoDriveManager. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)
void
NuxeoDriveManager. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.drive.service.impl
Methods in org.nuxeo.drive.service.impl that return DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractFileSystemItemFactory. getDocumentById(String docId, CoreSession session)
Methods in org.nuxeo.drive.service.impl with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItem
AbstractFileSystemItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem)
protected abstract FileSystemItem
AbstractFileSystemItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
Adapts the givenDocumentModel
to aFileSystemItem
.protected FileSystemItem
CollectionSyncRootFolderItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FileSystemItem
DefaultFileSystemItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FileSystemItem
DefaultSyncRootFolderItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
void
NuxeoDriveManagerImpl. addToLocallyEditedCollection(CoreSession session, DocumentModel doc)
protected void
NuxeoDriveManagerImpl. checkCanUpdateSynchronizationRoot(DocumentModel newRootContainer)
protected boolean
FileSystemItemAdapterServiceImpl. docTypeFactoryMatches(FileSystemItemFactoryWrapper factory, DocumentModel doc)
protected boolean
FileSystemItemAdapterServiceImpl. facetFactoryMatches(FileSystemItemFactoryWrapper factory, DocumentModel doc, boolean relaxSyncRootConstraint)
protected void
NuxeoDriveManagerImpl. fireEvent(DocumentModel sourceDocument, CoreSession session, String eventName, String impactedUserName)
protected Blob
DefaultFileSystemItemFactory. getBlob(DocumentModel doc)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
AbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
FileSystemItem
AbstractSyncRootFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel)
.FileSystemItem
AbstractSyncRootFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel)
.FileSystemItem
AbstractSyncRootFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel)
.FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
AbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean includeDeleted)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
Tries to adapt the given document as the top levelFolderItem
.FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)
FileSystemItem
FileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected abstract FolderItem
AbstractSyncRootFolderItemFactory. getParentItem(DocumentModel doc)
Returns the parentFileSystemItem
.protected FolderItem
DefaultSyncRootFolderItemFactory. getParentItem(DocumentModel doc)
boolean
AbstractFileSystemItemFactory. isFileSystemItem(DocumentModel doc)
boolean
AbstractFileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted)
boolean
AbstractSyncRootFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
The factory considers that aDocumentModel
is adaptable as aFileSystemItem
if: It is Folderish AND it is not a version nor a proxy AND it is not HiddenInNavigation AND it is not in the trash, unlessincludeDeleted
is true AND it is a synchronization root registered for the current user, unlessrelaxSyncRootConstraint
is trueboolean
AbstractVirtualFolderItemFactory. isFileSystemItem(DocumentModel doc)
boolean
AbstractVirtualFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted)
boolean
AbstractVirtualFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
boolean
CollectionSyncRootFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
The factory considers that aDocumentModel
is adaptable as aFileSystemItem
if: It is a Collection AND it is not HiddenInNavigation AND it is not in the trash, unlessincludeDeleted
is true AND it is a synchronization root registered for the current user, unlessrelaxSyncRootConstraint
is trueboolean
DefaultFileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)
The default factory considers that aDocumentModel
is adaptable as aFileSystemItem
if: It is not a version AND it is not HiddenInNavigation AND it is not in the trash, unlessincludeDeleted
is true AND it is Folderish or it can be adapted as aBlobHolder
with a blob AND its blob is not backed by an extended blob provider AND it is not a synchronization root registered for the current user, unlessrelaxSyncRootConstraint
is trueboolean
NuxeoDriveManagerImpl. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)
boolean
DefaultFileSystemItemFactory. needsVersioning(DocumentModel doc)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymorevoid
NuxeoDriveManagerImpl. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)
protected boolean
FileSystemItemAdapterServiceImpl. syncRootFactoryMatches(DocumentModel doc, boolean relaxSyncRootConstraint)
void
NuxeoDriveManagerImpl. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.easyshare
Methods in org.nuxeo.easyshare with parameters of type DocumentModel Modifier and Type Method Description protected static String
EasyShare. buildQuery(DocumentModel documentModel)
String
EasyShare. getFileName(DocumentModel doc)
static boolean
EasyShare. isSharedDocument(CoreSession session, DocumentModel sharedDoc, DocumentModel doc)
Returnstrue
if the givendoc
is either: A member of the givensharedDoc
collection. A descendant of a foldersish member of the givensharedDoc
collection. A descendant of the givensharedDoc
folderish document.protected boolean
EasyShare. isShareValid(DocumentModel docShare)
void
EasyShare. sendNotification(String notification, DocumentModel docShare, Map<String,Object> mail)
-
Uses of DocumentModel in org.nuxeo.ecm.admin.operation
Methods in org.nuxeo.ecm.admin.operation with parameters of type DocumentModel Modifier and Type Method Description void
PermissionsPurge. purgeDoc(DocumentModel doc)
Method parameters in org.nuxeo.ecm.admin.operation with type arguments of type DocumentModel Modifier and Type Method Description void
PermissionsPurge. purgeDocs(List<DocumentModel> docs)
-
Uses of DocumentModel in org.nuxeo.ecm.admin.permissions
Fields in org.nuxeo.ecm.admin.permissions declared as DocumentModel Modifier and Type Field Description protected DocumentModel
PermissionsPurgeWork. searchDocument
Constructors in org.nuxeo.ecm.admin.permissions with parameters of type DocumentModel Constructor Description PermissionsPurgeWork(DocumentModel searchDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.collectors
Methods in org.nuxeo.ecm.automation.core.collectors with parameters of type DocumentModel Modifier and Type Method Description void
DocumentModelCollector. collect(OperationContext ctx, DocumentModel obj)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.events.operations
Methods in org.nuxeo.ecm.automation.core.events.operations with parameters of type DocumentModel Modifier and Type Method Description protected void
FireEvent. sendDocumentEvent(DocumentModel input)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.impl.adapters
Methods in org.nuxeo.ecm.automation.core.impl.adapters that return DocumentModel Modifier and Type Method Description DocumentModel
StringToDocModel. getAdaptedValue(OperationContext ctx, Object objectToAdapt)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.impl.adapters.helper
Methods in org.nuxeo.ecm.automation.core.impl.adapters.helper that return DocumentModel Modifier and Type Method Description static DocumentModel
TypeAdapterHelper. createDocumentModel(AbsoluteDocumentRef docRef)
Creates a document model from its absolute reference.static DocumentModel
TypeAdapterHelper. createDocumentModel(OperationContext ctx, String value)
Create a document model from its pathstatic DocumentModel
TypeAdapterHelper. createDocumentModel(OperationContext ctx, DocumentRef docRef)
Create a document model from its reference -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations
Methods in org.nuxeo.ecm.automation.core.operations that return DocumentModel Modifier and Type Method Description DocumentModel
FetchContextDocument. run(DocumentModel doc)
DocumentModel
RestoreDocumentInput. run()
DocumentModel
RestoreDocumentInputFromScript. run()
Methods in org.nuxeo.ecm.automation.core.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
FetchContextDocument. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.blob
Fields in org.nuxeo.ecm.automation.core.operations.blob declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AttachBlob. doc
Methods in org.nuxeo.ecm.automation.core.operations.blob that return DocumentModel Modifier and Type Method Description DocumentModel
SetBlobFileName. run(DocumentModel doc)
Methods in org.nuxeo.ecm.automation.core.operations.blob with parameters of type DocumentModel Modifier and Type Method Description Blob
BlobToPDF. run(DocumentModel doc)
Blob
ConvertBlob. run(DocumentModel doc)
BlobList
GetAllDocumentBlobs. run(DocumentModel doc)
Blob
GetDocumentBlob. run(DocumentModel doc)
BlobList
GetDocumentBlobs. run(DocumentModel doc)
DocumentModel
SetBlobFileName. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.business.adapter
Fields in org.nuxeo.ecm.automation.core.operations.business.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModel
BusinessAdapter. doc
Methods in org.nuxeo.ecm.automation.core.operations.business.adapter that return DocumentModel Modifier and Type Method Description DocumentModel
BusinessAdapter. getDocument()
Constructors in org.nuxeo.ecm.automation.core.operations.business.adapter with parameters of type DocumentModel Constructor Description BusinessAdapter(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.collections
Fields in org.nuxeo.ecm.automation.core.operations.collections declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AddToCollectionOperation. collection
protected DocumentModel
RemoveFromCollectionOperation. collection
protected DocumentModel
MoveCollectionMemberOperation. member1
protected DocumentModel
MoveCollectionMemberOperation. member2
Methods in org.nuxeo.ecm.automation.core.operations.collections that return DocumentModel Modifier and Type Method Description DocumentModel
AddToCollectionOperation. run(DocumentModel doc)
DocumentModel
AddToFavoritesOperation. run(DocumentModel doc)
DocumentModel
CreateCollectionOperation. run()
DocumentModel
CreateCollectionOperation. run(DocumentModel doc)
DocumentModel
FetchFavorites. run()
DocumentModel
RemoveFromCollectionOperation. run(DocumentModel doc)
DocumentModel
RemoveFromFavoritesOperation. run(DocumentModel doc)
Methods in org.nuxeo.ecm.automation.core.operations.collections with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
AddToCollectionOperation. run(DocumentModel doc)
DocumentModel
AddToFavoritesOperation. run(DocumentModel doc)
DocumentModel
CreateCollectionOperation. run(DocumentModel doc)
PaginableDocumentModelListImpl
GetDocumentsFromCollectionOperation. run(DocumentModel collection)
DocumentModelList
GetDocumentsFromFavoritesOperation. run(DocumentModel context)
boolean
MoveCollectionMemberOperation. run(DocumentModel collection)
DocumentModel
RemoveFromCollectionOperation. run(DocumentModel doc)
DocumentModel
RemoveFromFavoritesOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.document
Fields in org.nuxeo.ecm.automation.core.operations.document declared as DocumentModel Modifier and Type Field Description protected DocumentModel
OrderDocument. before
protected DocumentModel
EmptyTrash. parent
protected DocumentModel
PublishDocument. target
protected DocumentModel
FetchDocument. value
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.execution
Methods in org.nuxeo.ecm.automation.core.operations.execution that return DocumentModel Modifier and Type Method Description DocumentModel
RunDocumentChain. run(DocumentModel doc)
Methods in org.nuxeo.ecm.automation.core.operations.execution with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
RunDocumentChain. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.login
Methods in org.nuxeo.ecm.automation.core.operations.login that return DocumentModel Modifier and Type Method Description DocumentModel
LoginAs. run(DocumentModel doc)
DocumentModel
Logout. run(DocumentModel doc)
Methods in org.nuxeo.ecm.automation.core.operations.login with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
LoginAs. run(DocumentModel doc)
DocumentModel
Logout. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.notification
Methods in org.nuxeo.ecm.automation.core.operations.notification that return DocumentModel Modifier and Type Method Description DocumentModel
SendMail. run(DocumentModel doc)
Methods in org.nuxeo.ecm.automation.core.operations.notification with parameters of type DocumentModel Modifier and Type Method Description protected Mailer.Message
SendMail. createMessage(DocumentModel doc, String message, Map<String,Object> map)
static String
MailTemplateHelper. getDocumentUrl(DocumentModel doc, String viewId)
DocumentModel
SendMail. run(DocumentModel doc)
protected void
SendMail. send(DocumentModel doc)
Constructors in org.nuxeo.ecm.automation.core.operations.notification with parameters of type DocumentModel Constructor Description MailBox(DocumentModel user, boolean isStrict)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.services
Fields in org.nuxeo.ecm.automation.core.operations.services declared as DocumentModel Modifier and Type Field Description protected DocumentModel
CreateRelation. object
protected DocumentModel
DeleteRelation. object
Methods in org.nuxeo.ecm.automation.core.operations.services that return DocumentModel Modifier and Type Method Description protected DocumentModel
BlobHolderAttach. getCurrentDocument()
protected DocumentModel
FileManagerImport. getCurrentDocument()
protected DocumentModel
FileManagerImportWithProperties. getCurrentDocument()
protected DocumentModel
GetActions. getCurrentDocumentFromContext()
protected DocumentModel
GetRelations. getDocumentModel(Node node)
DocumentModel
AuditLog. run(DocumentModel doc)
DocumentModel
BlobHolderAttach. run(BlobList blobs)
DocumentModel
BlobHolderAttach. run(Blob blob)
DocumentModel
CreateRelation. run(DocumentModel doc)
DocumentModel
DeleteRelation. run(DocumentModel doc)
DocumentModel
FileManagerCreateFolder. run(DocumentModel parent)
DocumentModel
FileManagerImport. run(Blob blob)
DocumentModel
FileManagerImportWithProperties. run(Blob blob)
DocumentModel
UserWorkspace. run()
Methods in org.nuxeo.ecm.automation.core.operations.services with parameters of type DocumentModel Modifier and Type Method Description protected ActionContext
GetActions. getActionContext(DocumentModel currentDocument)
protected QNameResource
GetRelations. getDocumentResource(DocumentModel document)
protected LogEntry
AuditLog. newEntry(DocumentModel doc, String principal, Date date)
DocumentModel
AuditLog. run(DocumentModel doc)
DocumentModel
CreateRelation. run(DocumentModel doc)
DocumentModel
DeleteRelation. run(DocumentModel doc)
DocumentModel
FileManagerCreateFolder. run(DocumentModel parent)
Blob
GetActions. run(DocumentModel currentDocument)
Blob
GetDirectoryEntries. run(DocumentModel doc)
DocumentModelList
GetRelations. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.services.bulk
Method parameters in org.nuxeo.ecm.automation.core.operations.services.bulk with type arguments of type DocumentModel Modifier and Type Method Description protected void
AbstractAutomationBulkAction.AutomationComputation. handleError(List<DocumentModel> documents, Exception e)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.stack
Methods in org.nuxeo.ecm.automation.core.operations.stack that return DocumentModel Modifier and Type Method Description DocumentModel
PopDocument. run()
DocumentModel
PullDocument. run()
DocumentModel
PushDocument. run(DocumentModel doc)
Methods in org.nuxeo.ecm.automation.core.operations.stack with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
PushDocument. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.users
Methods in org.nuxeo.ecm.automation.core.operations.users that return DocumentModel Modifier and Type Method Description DocumentModel
GetDocumentPrincipalEmails. run(DocumentModel input)
DocumentModel
GetDocumentUsersAndGroups. run(DocumentModel input)
DocumentModel
GetNuxeoPrincipal. run()
Methods in org.nuxeo.ecm.automation.core.operations.users with parameters of type DocumentModel Modifier and Type Method Description protected boolean
CreateOrUpdateGroup. canCreateOrUpdateGroup(DocumentModel groupDoc)
protected boolean
CreateOrUpdateUser. canCreateOrUpdateUser(DocumentModel userDoc)
protected void
CreateOrUpdateGroup. checkCanCreateOrUpdateGroup(DocumentModel groupDoc)
protected void
CreateOrUpdateUser. checkCanCreateOrUpdateUser(DocumentModel userDoc)
DocumentModel
GetDocumentPrincipalEmails. run(DocumentModel input)
DocumentModel
GetDocumentUsersAndGroups. run(DocumentModel input)
Method parameters in org.nuxeo.ecm.automation.core.operations.users with type arguments of type DocumentModel Modifier and Type Method Description protected Blob
QueryUsers. buildResponse(List<DocumentModel> users)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.rendering.operations
Methods in org.nuxeo.ecm.automation.core.rendering.operations with parameters of type DocumentModel Modifier and Type Method Description Blob
RenderDocument. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.scripting
Fields in org.nuxeo.ecm.automation.core.scripting declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentWrapper. doc
Methods in org.nuxeo.ecm.automation.core.scripting that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentWrapper. getDoc()
Constructors in org.nuxeo.ecm.automation.core.scripting with parameters of type DocumentModel Constructor Description DocumentWrapper(CoreSession session, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.core.util
Methods in org.nuxeo.ecm.automation.core.util that return DocumentModel Modifier and Type Method Description static DocumentModel
PageProviderHelper. getSearchDocumentModel(CoreSession session, String providerName, Map<String,String> namedParameters)
static DocumentModel
PageProviderHelper. getSearchDocumentModel(CoreSession session, PageProviderService pps, String providerName, Map<String,String> namedParameters)
Returns asearchDocumentModel
if the givenproviderName
is not null and has a validdefinition
, or if the givennamedParameters
is not empty.static DocumentModel
DocumentHelper. saveDocument(CoreSession session, DocumentModel doc)
Saves the document and clear context data to avoid incrementing version in next operations if not needed.Methods in org.nuxeo.ecm.automation.core.util with parameters of type DocumentModel Modifier and Type Method Description protected static void
PageProviderHelper. fillSearchDocument(CoreSession session, DocumentModel searchDoc, Map<String,String> namedParameters)
static void
DocumentHelper. removeProperty(DocumentModel doc, String xpath)
Removes a property from a document given the xpath.static DocumentModel
DocumentHelper. saveDocument(CoreSession session, DocumentModel doc)
Saves the document and clear context data to avoid incrementing version in next operations if not needed.static void
DocumentHelper. setJSONProperties(CoreSession session, DocumentModel doc, Properties properties)
Sets the properties of a document based on their JSON representation (especially for scalar lists).protected static void
DocumentHelper. setLocalAcl(CoreSession session, DocumentModel doc, String value)
static void
DocumentHelper. setProperties(CoreSession session, DocumentModel doc, Map<String,String> values)
Sets the properties given as a map of xpath:value to the given document.static void
DocumentHelper. setProperties(CoreSession session, DocumentModel doc, Properties properties)
static void
DocumentHelper. setProperties(CoreSession session, DocumentModel doc, Properties properties, Properties propertiesBehaviors)
static void
DocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value)
static void
DocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value, boolean decodeStringListAsJSON)
static void
DocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value, String behavior)
static void
DocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value, String behavior, boolean decodeStringListAsJSON)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.elasticsearch
Methods in org.nuxeo.ecm.automation.elasticsearch with parameters of type DocumentModel Modifier and Type Method Description void
ElasticsearchIndexOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.features
Methods in org.nuxeo.ecm.automation.features with parameters of type DocumentModel Modifier and Type Method Description HashSet<?>
PrincipalHelper. collectObjectsMatchingPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups, org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector)
Set<String>
PrincipalHelper. getEmailsForPermission(DocumentModel input, String permission, boolean ignoreGroups)
Set<NuxeoPrincipal>
PrincipalHelper. getPrincipalsForPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups)
Set<String>
PrincipalHelper. getUserAndGroupIdsForPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups, boolean prefixIds)
Resolves the list of identifiers for users and groups who have the given permission on given document. -
Uses of DocumentModel in org.nuxeo.ecm.automation.jaxrs.io.documents
Methods in org.nuxeo.ecm.automation.jaxrs.io.documents that return DocumentModel Modifier and Type Method Description DocumentModel
JSONDocumentModelReader. readFrom(Class<DocumentModel> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
Deprecated.static DocumentModel
JSONDocumentModelReader. readJson(com.fasterxml.jackson.core.JsonParser jp, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.servlet.http.HttpServletRequest request)
Deprecated.protected DocumentModel
JSONDocumentModelReader. readRequest(String content, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.servlet.http.HttpServletRequest request)
Deprecated.Methods in org.nuxeo.ecm.automation.jaxrs.io.documents that return types with arguments of type DocumentModel Modifier and Type Method Description PageProvider<DocumentModel>
PaginableDocumentModelListImpl. getProvider()
Methods in org.nuxeo.ecm.automation.jaxrs.io.documents with parameters of type DocumentModel Modifier and Type Method Description static void
JSONDocumentModelReader. applyPropertyValues(DocumentModel src, DocumentModel dst)
Deprecated.Method parameters in org.nuxeo.ecm.automation.jaxrs.io.documents with type arguments of type DocumentModel Modifier and Type Method Description DocumentModel
JSONDocumentModelReader. readFrom(Class<DocumentModel> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
Deprecated.Constructor parameters in org.nuxeo.ecm.automation.jaxrs.io.documents with type arguments of type DocumentModel Constructor Description PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider)
PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider, String documentLinkBuilder)
Creates aPaginableDocumentModelListImpl
with more display information. -
Uses of DocumentModel in org.nuxeo.ecm.automation.server.jaxrs.adapters
Methods in org.nuxeo.ecm.automation.server.jaxrs.adapters with parameters of type DocumentModel Modifier and Type Method Description protected void
AsyncOperationAdapter. attach(DocumentModel doc)
protected void
AsyncOperationAdapter. detach(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.automation.task
Methods in org.nuxeo.ecm.automation.task that return DocumentModel Modifier and Type Method Description DocumentModel
CreateTask. run(DocumentModel document)
Methods in org.nuxeo.ecm.automation.task with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CreateTask. run(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.collections.api
Methods in org.nuxeo.ecm.collections.api that return DocumentModel Modifier and Type Method Description DocumentModel
CollectionManager. createCollection(CoreSession session, String title, String description, String path)
Create a collection with a given name, description and path.DocumentModel
FavoritesManager. getFavorites(CoreSession session)
DocumentModel
FavoritesManager. getFavorites(DocumentModel context, CoreSession session)
Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)
insteadDocumentModel
CollectionManager. getUserDefaultCollections(CoreSession session)
Get user collections root document.DocumentModel
CollectionManager. getUserDefaultCollections(DocumentModel context, CoreSession session)
Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)
insteadDocumentModel
CollectionLocationService. getUserDefaultCollectionsRoot(CoreSession session)
Provide the default document where will be stored collections.DocumentModel
CollectionLocationService. getUserFavorites(CoreSession session)
Provide the default favorites document.Methods in org.nuxeo.ecm.collections.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
CollectionManager. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)
Get the list of collection of a document.List<DocumentModel>
CollectionManager. getVisibleCollection(DocumentModel collectionMember, CoreSession session)
Get the list of collection of a document.Methods in org.nuxeo.ecm.collections.api with parameters of type DocumentModel Modifier and Type Method Description void
CollectionManager. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)
Add a list of document to a collection.void
CollectionManager. addToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)
Add a document to a collection.void
FavoritesManager. addToFavorites(DocumentModel document, CoreSession session)
void
CollectionManager. addToNewCollection(String newTitle, String newDescription, DocumentModel documentToBeAdded, CoreSession session)
Add a document to a new collection.boolean
CollectionManager. canAddToCollection(DocumentModel collection, CoreSession session)
Check that a document is a collection and that the given core session has permission to add document inside.boolean
FavoritesManager. canAddToFavorites(DocumentModel document)
boolean
CollectionManager. canManage(DocumentModel collection, CoreSession session)
Check that the given core session has permission to manage the collection.void
CollectionManager. doRemoveFromCollection(DocumentModel documentToBeRemoved, String collectionId, CoreSession session)
DocumentModel
FavoritesManager. getFavorites(DocumentModel context, CoreSession session)
Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)
insteadDocumentModel
CollectionManager. getUserDefaultCollections(DocumentModel context, CoreSession session)
Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)
insteadList<DocumentModel>
CollectionManager. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)
Get the list of collection of a document.List<DocumentModel>
CollectionManager. getVisibleCollection(DocumentModel collectionMember, CoreSession session)
Get the list of collection of a document.boolean
CollectionManager. hasVisibleCollection(DocumentModel collectionMember, CoreSession session)
Check that the given core session has READ permission on at least one collection of the given document.boolean
CollectionManager. isCollectable(DocumentModel document)
Check that a document can be added to a collection.boolean
CollectionManager. isCollected(DocumentModel document)
Check that a document has already been added to a collection.boolean
CollectionManager. isCollection(DocumentModel document)
Check that a document is a collection.boolean
FavoritesManager. isFavorite(DocumentModel document, CoreSession session)
boolean
CollectionManager. isInCollection(DocumentModel collection, DocumentModel document, CoreSession session)
Check whether a document is in a given collection.boolean
CollectionManager. moveMembers(CoreSession session, DocumentModel collection, DocumentModel member1, DocumentModel member2)
Move the member1 right after the member2 within the collection.void
CollectionManager. processCopiedCollection(DocumentModel collection)
Update all documents referenced by a collection to add a reference back the collection.void
CollectionManager. processRemovedCollection(DocumentModel collection)
Update all documents referenced by a collection to remove the reference to the collection.void
CollectionManager. processRemovedCollectionMember(DocumentModel collectionMember)
Update all collections referenced by a document.void
CollectionManager. processRestoredCollection(DocumentModel collection, DocumentModel version)
Restore the collection members of the version.void
CollectionManager. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)
Remove a list of document from a given collection.void
CollectionManager. removeFromCollection(DocumentModel collection, DocumentModel documentToBeRemoved, CoreSession session)
Remove a document from a collection.void
FavoritesManager. removeFromFavorites(DocumentModel document, CoreSession session)
Method parameters in org.nuxeo.ecm.collections.api with type arguments of type DocumentModel Modifier and Type Method Description void
CollectionManager. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)
Add a list of document to a collection.void
CollectionManager. addToNewCollection(String newTitle, String newDescription, List<DocumentModel> documentListToBeAdded, CoreSession documentManager)
Add a list of document to a new collection.void
CollectionManager. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)
Remove a list of document from a given collection. -
Uses of DocumentModel in org.nuxeo.ecm.collections.core
Methods in org.nuxeo.ecm.collections.core that return DocumentModel Modifier and Type Method Description protected DocumentModel
CollectionManagerImpl. createCollection(String newTitle, String newDescription, DocumentModel context, CoreSession session)
DocumentModel
CollectionManagerImpl. createCollection(CoreSession session, String title, String description, String path)
DocumentModel
FavoritesManagerImpl. getFavorites(CoreSession session)
DocumentModel
FavoritesManagerImpl. getFavorites(DocumentModel context, CoreSession session)
Deprecated.DocumentModel
CollectionManagerImpl. getUserDefaultCollections(CoreSession session)
DocumentModel
CollectionManagerImpl. getUserDefaultCollections(DocumentModel context, CoreSession session)
Deprecated.Methods in org.nuxeo.ecm.collections.core that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)
List<DocumentModel>
CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, CoreSession session)
Methods in org.nuxeo.ecm.collections.core with parameters of type DocumentModel Modifier and Type Method Description void
CollectionManagerImpl. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)
void
CollectionManagerImpl. addToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)
void
FavoritesManagerImpl. addToFavorites(DocumentModel document, CoreSession session)
void
CollectionManagerImpl. addToNewCollection(String newTitle, String newDescription, DocumentModel documentToBeAdded, CoreSession session)
boolean
CollectionManagerImpl. canAddToCollection(DocumentModel collection, CoreSession session)
boolean
FavoritesManagerImpl. canAddToFavorites(DocumentModel document)
boolean
CollectionManagerImpl. canManage(DocumentModel collection, CoreSession session)
void
CollectionManagerImpl. checkCanAddToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)
protected void
CollectionManagerImpl. checkCanCollectInCollection(DocumentModel collection, CoreSession session)
protected DocumentModel
CollectionManagerImpl. createCollection(String newTitle, String newDescription, DocumentModel context, CoreSession session)
static void
CollectionManagerImpl. disableEvents(DocumentModel doc)
void
CollectionManagerImpl. doRemoveFromCollection(DocumentModel documentToBeRemoved, String collectionId, CoreSession session)
protected void
CollectionManagerImpl. fireEvent(DocumentModel doc, CoreSession session, String eventName, Map<String,Serializable> props)
DocumentModel
FavoritesManagerImpl. getFavorites(DocumentModel context, CoreSession session)
Deprecated.DocumentModel
CollectionManagerImpl. getUserDefaultCollections(DocumentModel context, CoreSession session)
Deprecated.List<DocumentModel>
CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)
List<DocumentModel>
CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, CoreSession session)
boolean
CollectionManagerImpl. hasVisibleCollection(DocumentModel collectionMember, CoreSession session)
boolean
CollectionManagerImpl. isCollectable(DocumentModel doc)
boolean
CollectionManagerImpl. isCollected(DocumentModel doc)
boolean
CollectionManagerImpl. isCollection(DocumentModel doc)
boolean
FavoritesManagerImpl. isFavorite(DocumentModel document, CoreSession session)
boolean
CollectionManagerImpl. isInCollection(DocumentModel collection, DocumentModel document, CoreSession session)
boolean
CollectionManagerImpl. moveMembers(CoreSession session, DocumentModel collection, DocumentModel member1, DocumentModel member2)
void
CollectionManagerImpl. processCopiedCollection(DocumentModel collection)
void
CollectionManagerImpl. processRemovedCollection(DocumentModel collection)
void
CollectionManagerImpl. processRemovedCollectionMember(DocumentModel collectionMember)
void
CollectionManagerImpl. processRestoredCollection(DocumentModel collection, DocumentModel version)
void
CollectionManagerImpl. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)
void
CollectionManagerImpl. removeFromCollection(DocumentModel collection, DocumentModel documentToBeRemoved, CoreSession session)
void
FavoritesManagerImpl. removeFromFavorites(DocumentModel document, CoreSession session)
Method parameters in org.nuxeo.ecm.collections.core with type arguments of type DocumentModel Modifier and Type Method Description void
CollectionManagerImpl. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)
void
CollectionManagerImpl. addToNewCollection(String newTitle, String newDescription, List<DocumentModel> documentListToBeAdded, CoreSession session)
void
CollectionManagerImpl. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.collections.core.adapter
Fields in org.nuxeo.ecm.collections.core.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModel
Collection. document
protected DocumentModel
CollectionMember. document
Methods in org.nuxeo.ecm.collections.core.adapter that return DocumentModel Modifier and Type Method Description DocumentModel
Collection. getDocument()
DocumentModel
CollectionMember. getDocument()
Methods in org.nuxeo.ecm.collections.core.adapter with parameters of type DocumentModel Modifier and Type Method Description Object
CollectionAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Object
CollectionMemberAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Constructors in org.nuxeo.ecm.collections.core.adapter with parameters of type DocumentModel Constructor Description Collection(DocumentModel doc)
CollectionMember(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.collections.core.io
Methods in org.nuxeo.ecm.collections.core.io with parameters of type DocumentModel Modifier and Type Method Description void
CollectionsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
FavoritesJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.collections.core.versioning
Methods in org.nuxeo.ecm.collections.core.versioning with parameters of type DocumentModel Modifier and Type Method Description boolean
NoVersioningCollectionPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.collections.core.worker
Methods in org.nuxeo.ecm.collections.core.worker with parameters of type DocumentModel Modifier and Type Method Description protected abstract void
RemovedAbstractWork. updateDocument(DocumentModel d)
protected void
RemovedCollectionMemberWork. updateDocument(DocumentModel collection)
protected void
RemovedCollectionWork. updateDocument(DocumentModel collectionMember)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api
Fields in org.nuxeo.ecm.core.api declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentTreeIterator. root
Root document.Fields in org.nuxeo.ecm.core.api with type parameters of type DocumentModel Modifier and Type Field Description protected Queue<Iterator<DocumentModel>>
DocumentTreeIterator. queue
The sequence queue.protected Iterator<DocumentModel>
DocumentTreeIterator. sequence
The current sequence.Methods in org.nuxeo.ecm.core.api that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentModel. clone()
Clone operation.DocumentModel
AbstractSession. copy(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)
Deprecated.DocumentModel
AbstractSession. copy(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)
DocumentModel
CoreSession. copy(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)
Deprecated.Since 8.2.DocumentModel
CoreSession. copy(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)
Copies the source document to the destination folder under the given name.DocumentModel
AbstractSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)
Deprecated.DocumentModel
AbstractSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)
DocumentModel
CoreSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)
Deprecated.Since 8.2.DocumentModel
CoreSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)
Work like copy but in the case of a source proxy the destination will be a new document instead of a proxy.DocumentModel
AbstractSession. createDocument(DocumentModel docModel)
DocumentModel[]
AbstractSession. createDocument(DocumentModel[] docModels)
DocumentModel
CoreSession. createDocument(DocumentModel model)
Creates a document using given document model for initialization.DocumentModel[]
CoreSession. createDocument(DocumentModel[] docModels)
Bulk creation of documents.DocumentModel
AbstractSession. createDocumentModel(String typeName)
DocumentModel
AbstractSession. createDocumentModel(String parentPath, String name, String typeName)
DocumentModel
AbstractSession. createDocumentModel(String typeName, Map<String,Object> options)
DocumentModel
CoreSession. createDocumentModel(String typeName)
Creates a document model using type name.DocumentModel
CoreSession. createDocumentModel(String parentPath, String name, String typeName)
Creates a document model using required information.DocumentModel
CoreSession. createDocumentModel(String typeName, Map<String,Object> options)
Creates a document model using required information.static DocumentModel
DocumentModelFactory. createDocumentModel(String type, String id)
Deprecated.since 11.1, unusedDocumentModel
AbstractSession. createProxy(DocumentRef docRef, DocumentRef folderRef)
DocumentModel
CoreSession. createProxy(DocumentRef docRef, DocumentRef folderRef)
Creates a generic proxy to the given document inside the given folder.protected DocumentModel
AbstractSession. createProxyInternal(Document doc, Document folder, Map<String,Serializable> options)
DocumentModel
AbstractSession. getChild(DocumentRef parent, String name)
DocumentModel
CoreSession. getChild(DocumentRef parent, String name)
Gets a child document given its name and the parent reference.DocumentModel
AbstractSession. getDocument(DocumentRef docRef)
DocumentModel
CoreSession. getDocument(DocumentRef docRef)
Gets a document model given its reference.DocumentModel
AbstractSession. getDocumentWithVersion(DocumentRef docRef, VersionModel version)
DocumentModel
CoreSession. getDocumentWithVersion(DocumentRef docRef, VersionModel version)
Returns a document that represents the specified version of the document.DocumentModel
AbstractSession. getLastDocumentVersion(DocumentRef docRef)
DocumentModel
CoreSession. getLastDocumentVersion(DocumentRef docRef)
Gets the document corresponding to the last version for the given document.DocumentModel
NuxeoGroup. getModel()
DocumentModel
NuxeoPrincipal. getModel()
DocumentModel
SystemPrincipal. getModel()
DocumentModel
AbstractSession. getOrCreateDocument(DocumentModel docModel)
DocumentModel
AbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
DocumentModel
CoreSession. getOrCreateDocument(DocumentModel docModel)
Gets a document if it exists, otherwise creates it.DocumentModel
CoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
Gets a document if it exists, otherwise creates it.DocumentModel
AbstractSession. getParentDocument(DocumentRef docRef)
DocumentModel
CoreSession. getParentDocument(DocumentRef docRef)
Gets the parent document or null if this is the root document.DocumentModel
AbstractSession. getRootDocument()
DocumentModel
CoreSession. getRootDocument()
Gets the root document of this repository.DocumentModel
AbstractSession. getSourceDocument(DocumentRef docRef)
DocumentModel
CoreSession. getSourceDocument(DocumentRef docRef)
Gets the head (live) document for this document.DocumentModel
AbstractSession. getSuperSpace(DocumentModel doc)
DocumentModel
CoreSession. getSuperSpace(DocumentModel doc)
Returns the parent SuperSpace (workspace, section, etc.).DocumentModel
AbstractSession. getVersion(String versionableId, VersionModel versionModel)
DocumentModel
CoreSession. getVersion(String versionableId, VersionModel versionModel)
Gets a document version, given the versionable id and label.DocumentModel
AbstractSession. getWorkingCopy(DocumentRef docRef)
DocumentModel
CoreSession. getWorkingCopy(DocumentRef docRef)
Gets the working copy (live document) for a proxy or a version.DocumentModel
AbstractSession. move(DocumentRef src, DocumentRef dst, String name)
DocumentModel
CoreSession. move(DocumentRef src, DocumentRef dst, String name)
Moves the source document to the destination folder under the given name.DocumentModel
AbstractSession. newDocumentModel(DocumentRef parentRef, String name, String typeName)
DocumentModel
CoreSession. newDocumentModel(DocumentRef parentRef, String name, String typeName)
Creates a new document model using required information.DocumentModel
DocumentTreeIterator. next()
DocumentModel
AbstractSession. publishDocument(DocumentModel docToPublish, DocumentModel section)
DocumentModel
AbstractSession. publishDocument(DocumentModel docModel, DocumentModel section, boolean overwriteExistingProxy)
DocumentModel
CoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section)
Publishes the document in a section overwriting any existing proxy to the same document.DocumentModel
CoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section, boolean overwriteExistingProxy)
Publishes the document in a section.protected DocumentModel
AbstractSession. readModel(Document doc)
Gets the document model for the given core document.protected DocumentModel
AbstractSession. readModel(Document doc, DocumentModel docModel)
Gets the document model for the given core document, preserving the contextData.DocumentModel
AbstractSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef)
DocumentModel
AbstractSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef, boolean skipSnapshotCreation, boolean skipCheckout)
protected DocumentModel
AbstractSession. restoreToVersion(Document doc, Document version, boolean skipSnapshotCreation, boolean skipCheckout)
DocumentModel
CoreSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef)
Restores the given document to the specified version.DocumentModel
CoreSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef, boolean skipSnapshotCreation, boolean skipCheckout)
Restores the given document to the specified version.DocumentModel
AbstractSession. saveDocument(DocumentModel docModel)
DocumentModel
CoreSession. saveDocument(DocumentModel docModel)
Saves changes done on the given document model.protected DocumentModel
AbstractSession. updateExistingProxies(Document doc, Document folder, Document target)
Update the proxy for doc in the given section to point to the new target.static DocumentModel
DocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc)
Writes a document model to a document.static DocumentModel
DocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc, boolean create)
Writes a document model to a document.protected DocumentModel
AbstractSession. writeModel(Document doc, DocumentModel docModel)
protected DocumentModel
AbstractSession. writeModel(Document doc, DocumentModel docModel, boolean create)
Methods in org.nuxeo.ecm.core.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
AbstractSession. copy(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)
Deprecated.List<DocumentModel>
AbstractSession. copy(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... opts)
List<DocumentModel>
CoreSession. copy(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)
Deprecated.Since 8.2.List<DocumentModel>
CoreSession. copy(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... copyOptions)
Bulk copy.List<DocumentModel>
AbstractSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)
Deprecated.List<DocumentModel>
AbstractSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... opts)
List<DocumentModel>
CoreSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)
Deprecated.Since 8.2.List<DocumentModel>
CoreSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... copyOptions)
Bulk copyProxyAsDocument.protected Iterator<DocumentModel>
DocumentTreeIterator. getNextNonEmptySequence()
Gets next non empty sequence from queue.List<DocumentModel>
AbstractSession. getParentDocuments(DocumentRef docRef)
List<DocumentModel>
CoreSession. getParentDocuments(DocumentRef docRef)
Gets the parent documents in path from the root to the given document or empty list if this is the root document.List<DocumentModel>
AbstractSession. getVersions(DocumentRef docRef)
List<DocumentModel>
CoreSession. getVersions(DocumentRef docRef)
Retrieves all the versions for a specified document.Methods in org.nuxeo.ecm.core.api with parameters of type DocumentModel Modifier and Type Method Description boolean
Filter. accept(DocumentModel docModel)
Filters data models objects.int
DocumentModelComparator. compare(DocumentModel doc1, DocumentModel doc2)
protected String
AbstractSession. computeKeyForAtomicCreation(DocumentModel docModel)
void
DocumentModel. copyContent(DocumentModel sourceDoc)
Copies all the data from a source document.void
DocumentModel. copyContextData(DocumentModel otherDocument)
Copies the context data from given document to this document.DocumentModel
AbstractSession. createDocument(DocumentModel docModel)
DocumentModel[]
AbstractSession. createDocument(DocumentModel[] docModels)
DocumentModel
CoreSession. createDocument(DocumentModel model)
Creates a document using given document model for initialization.DocumentModel[]
CoreSession. createDocument(DocumentModel[] docModels)
Bulk creation of documents.boolean
AbstractSession. followTransition(DocumentModel docModel, String transition)
boolean
CoreSession. followTransition(DocumentModel doc, String transition)
Follows a given life cycle transition.protected Map<String,Serializable>
AbstractSession. getContextMapEventInfo(DocumentModel doc)
DocumentModel
AbstractSession. getOrCreateDocument(DocumentModel docModel)
DocumentModel
AbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
DocumentModel
CoreSession. getOrCreateDocument(DocumentModel docModel)
Gets a document if it exists, otherwise creates it.DocumentModel
CoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
Gets a document if it exists, otherwise creates it.String
AbstractSession. getSuperParentType(DocumentModel doc)
String
CoreSession. getSuperParentType(DocumentModel doc)
Returns the type of his parent SuperSpace (workspace, section, etc.).DocumentModel
AbstractSession. getSuperSpace(DocumentModel doc)
DocumentModel
CoreSession. getSuperSpace(DocumentModel doc)
Returns the parent SuperSpace (workspace, section, etc.).String
AbstractSession. getVersionLabel(DocumentModel docModel)
String
CoreSession. getVersionLabel(DocumentModel docModel)
Gets the version label for a document, according to the versioning service.protected void
AbstractSession. importDocument(DocumentModel docModel)
protected void
AbstractSession. loadDataModelsForFacet(DocumentModel docModel, Document doc, String facetName)
DocumentEventContext
AbstractSession. newEventContext(DocumentModel source)
protected void
AbstractSession. notifyCheckedInVersion(DocumentModel docModel, DocumentRef checkedInVersionRef, Map<String,Serializable> options, String checkinComment)
Send a core event for the creation of a new check in version.protected void
AbstractSession. notifyEvent(String eventId, DocumentModel source, Map<String,Serializable> options, String category, String comment, boolean withLifeCycle, boolean inline)
protected void
AbstractSession. notifyVersionChange(DocumentModel oldDocument, DocumentModel newDocument, Map<String,Serializable> options)
Copied from obsolete VersionChangeNotifier.DocumentModel
AbstractSession. publishDocument(DocumentModel docToPublish, DocumentModel section)
DocumentModel
AbstractSession. publishDocument(DocumentModel docModel, DocumentModel section, boolean overwriteExistingProxy)
DocumentModel
CoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section)
Publishes the document in a section overwriting any existing proxy to the same document.DocumentModel
CoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section, boolean overwriteExistingProxy)
Publishes the document in a section.protected DocumentModel
AbstractSession. readModel(Document doc, DocumentModel docModel)
Gets the document model for the given core document, preserving the contextData.DocumentModel
AbstractSession. saveDocument(DocumentModel docModel)
DocumentModel
CoreSession. saveDocument(DocumentModel docModel)
Saves changes done on the given document model.void
AbstractSession. saveDocuments(DocumentModel[] docModels)
void
CoreSession. saveDocuments(DocumentModel[] docModels)
Bulk document saving.void
NuxeoPrincipal. setModel(DocumentModel model)
void
SystemPrincipal. setModel(DocumentModel model)
static DocumentModel
DocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc)
Writes a document model to a document.static DocumentModel
DocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc, boolean create)
Writes a document model to a document.protected DocumentModel
AbstractSession. writeModel(Document doc, DocumentModel docModel)
protected DocumentModel
AbstractSession. writeModel(Document doc, DocumentModel docModel, boolean create)
Method parameters in org.nuxeo.ecm.core.api with type arguments of type DocumentModel Modifier and Type Method Description DocumentModel
AbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
DocumentModel
AbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
DocumentModel
CoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
Gets a document if it exists, otherwise creates it.DocumentModel
CoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)
Gets a document if it exists, otherwise creates it.void
AbstractSession. importDocuments(List<DocumentModel> docModels)
void
CoreSession. importDocuments(List<DocumentModel> docModels)
Low-level import of documents, reserved for the administrator.Constructors in org.nuxeo.ecm.core.api with parameters of type DocumentModel Constructor Description DocumentTreeIterator(CoreSession session, DocumentModel root)
Creates the iterator given the tree root.DocumentTreeIterator(CoreSession session, DocumentModel root, boolean excludeRoot)
InstanceRef(DocumentModel doc, NuxeoPrincipal principal)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.adapter
Methods in org.nuxeo.ecm.core.api.adapter with parameters of type DocumentModel Modifier and Type Method Description Object
DocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.blobholder
Fields in org.nuxeo.ecm.core.api.blobholder declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentBlobHolder. doc
protected DocumentModel
DownloadContextBlobHolder. doc
Methods in org.nuxeo.ecm.core.api.blobholder that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentBlobHolder. getDocument()
DocumentModel
DownloadContextBlobHolder. getDocument()
Methods in org.nuxeo.ecm.core.api.blobholder with parameters of type DocumentModel Modifier and Type Method Description Object
BlobHolderAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
BlobHolder
BlobHolderFactory. getBlobHolder(DocumentModel doc)
BlobHolder
BlobHolderAdapterComponent. getBlobHolderAdapter(DocumentModel doc)
BlobHolder
BlobHolderAdapterComponent. getBlobHolderAdapter(DocumentModel doc, String factoryName)
BlobHolder
BlobHolderAdapterService. getBlobHolderAdapter(DocumentModel doc)
BlobHolder
BlobHolderAdapterService. getBlobHolderAdapter(DocumentModel doc, String factoryName)
Get a blob holder adapter instantiated by given factory name.void
DownloadContextBlobHolder. setDocument(DocumentModel doc)
Constructors in org.nuxeo.ecm.core.api.blobholder with parameters of type DocumentModel Constructor Description DocumentBlobHolder(DocumentModel doc, String xPath)
DocumentBlobHolder(DocumentModel doc, String xPath, List<Blob> blobList)
DocumentStringBlobHolder(DocumentModel doc, String path)
DocumentStringBlobHolder(DocumentModel doc, String path, String mime_type)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.impl
Classes in org.nuxeo.ecm.core.api.impl that implement DocumentModel Modifier and Type Class Description class
DocumentModelImpl
Standard implementation of aDocumentModel
.class
SimpleDocumentModel
A DocumentModel that can have any schema and is not made persistent by itself.Fields in org.nuxeo.ecm.core.api.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModel
UserPrincipal. model
Methods in org.nuxeo.ecm.core.api.impl that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentModelImpl. clone()
DocumentModel
SimpleDocumentModel. clone()
DocumentModel
UserPrincipal. getModel()
DocumentModel
DocumentModelChildrenIterator. next()
Methods in org.nuxeo.ecm.core.api.impl that return types with arguments of type DocumentModel Modifier and Type Method Description Iterator<DocumentModel>
DocumentModelChildrenIterator. iterator()
Methods in org.nuxeo.ecm.core.api.impl with parameters of type DocumentModel Modifier and Type Method Description boolean
CompoundFilter. accept(DocumentModel docModel)
boolean
FacetFilter. accept(DocumentModel docModel)
boolean
LifeCycleFilter. accept(DocumentModel docModel)
boolean
PermissionFilter. accept(DocumentModel docModel)
void
DocumentModelImpl. copyContent(DocumentModel sourceDoc)
void
SimpleDocumentModel. copyContent(DocumentModel sourceDoc)
void
DocumentModelImpl. copyContextData(DocumentModel otherDocument)
void
SimpleDocumentModel. copyContextData(DocumentModel otherDocument)
protected boolean
PermissionFilter. hasPermission(CoreSession session, DocumentModel doc, Set<String> permissions, boolean required)
void
UserPrincipal. setModel(DocumentModel model)
Constructors in org.nuxeo.ecm.core.api.impl with parameters of type DocumentModel Constructor Description DocumentLocationImpl(DocumentModel doc)
DocumentModelImpl(DocumentModel parent, String name, String type)
Constructor parameters in org.nuxeo.ecm.core.api.impl with type arguments of type DocumentModel Constructor Description DocumentModelListImpl(List<DocumentModel> list)
DocumentModelListImpl(List<DocumentModel> list, long totalSize)
Constructs a DocumentModelListImpl and sets the "total size" information. -
Uses of DocumentModel in org.nuxeo.ecm.core.api.localconfiguration
Methods in org.nuxeo.ecm.core.api.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description <T extends LocalConfiguration>
TLocalConfigurationService. getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)
Returns the firstLocalConfiguration
accessible from thecurrentDoc
,null
otherwise.<T extends LocalConfiguration>
TLocalConfigurationServiceImpl. getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.model.resolver
Fields in org.nuxeo.ecm.core.api.model.resolver declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentPropertyObjectResolverImpl. doc
Methods in org.nuxeo.ecm.core.api.model.resolver with parameters of type DocumentModel Modifier and Type Method Description static DocumentPropertyObjectResolverImpl
DocumentPropertyObjectResolverImpl. create(DocumentModel doc, String xpath)
Constructors in org.nuxeo.ecm.core.api.model.resolver with parameters of type DocumentModel Constructor Description DocumentPropertyObjectResolverImpl(DocumentModel doc, String xpath, ObjectResolver resolver)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.pathsegment
Methods in org.nuxeo.ecm.core.api.pathsegment with parameters of type DocumentModel Modifier and Type Method Description String
PathSegmentComponent. generatePathSegment(DocumentModel doc)
String
PathSegmentService. generatePathSegment(DocumentModel doc)
Generate the path segment to use for aDocumentModel
that's about to be created.String
PathSegmentServiceCompat. generatePathSegment(DocumentModel doc)
String
PathSegmentServiceDefault. generatePathSegment(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.propertiesmapping
Methods in org.nuxeo.ecm.core.api.propertiesmapping with parameters of type DocumentModel Modifier and Type Method Description void
PropertiesMappingService. mapProperties(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mappingName)
Copies the properties defined by the given xpaths in the mapping from the target to the source document. -
Uses of DocumentModel in org.nuxeo.ecm.core.api.propertiesmapping.impl
Methods in org.nuxeo.ecm.core.api.propertiesmapping.impl with parameters of type DocumentModel Modifier and Type Method Description void
PropertiesMappingComponent. mapProperties(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mapping)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.thumbnail
Fields in org.nuxeo.ecm.core.api.thumbnail declared as DocumentModel Modifier and Type Field Description protected DocumentModel
ThumbnailAdapter. doc
Methods in org.nuxeo.ecm.core.api.thumbnail with parameters of type DocumentModel Modifier and Type Method Description Blob
ThumbnailFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailService. computeThumbnail(DocumentModel doc, CoreSession session)
Compute the thumbnail (related to the document type/facet)Blob
ThumbnailServiceImpl. computeThumbnail(DocumentModel doc, CoreSession session)
Object
ThumbnailAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Blob
ThumbnailFactory. getThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailService. getThumbnail(DocumentModel doc, CoreSession session)
Get the document thumbnail (related to the doc type/facet)Blob
ThumbnailServiceImpl. getThumbnail(DocumentModel doc, CoreSession session)
ThumbnailFactory
ThumbnailServiceImpl. getThumbnailFactory(DocumentModel doc, CoreSession session)
Constructors in org.nuxeo.ecm.core.api.thumbnail with parameters of type DocumentModel Constructor Description ThumbnailAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.trash
Methods in org.nuxeo.ecm.core.api.trash that return DocumentModel Modifier and Type Method Description DocumentModel
TrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)
Gets the first non trashed ancestor.Methods in org.nuxeo.ecm.core.api.trash with parameters of type DocumentModel Modifier and Type Method Description default boolean
TrashService. canPurgeOrUntrash(DocumentModel doc, NuxeoPrincipal principal)
Is document purgeable/untrashable?DocumentModel
TrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)
Gets the first non trashed ancestor.DocumentModelList
TrashService. getDocuments(DocumentModel parent)
Deprecated.since 11.1, not scalableString
TrashService. mangleName(DocumentModel doc)
Mangles the name of a document to avoid collisions with non-trashed documents when it's in the trash.void
TrashService. purgeDocumentsUnder(DocumentModel parent)
Purges (completely deletes) trashed documents under the given parent.default void
TrashService. trashDocument(DocumentModel doc)
Moves document to the trash.String
TrashService. unmangleName(DocumentModel doc)
Unmangles the name of a document in the trash to find its un-trashed name.default void
TrashService. untrashDocument(DocumentModel doc)
Unmoves document from the trash.Method parameters in org.nuxeo.ecm.core.api.trash with type arguments of type DocumentModel Modifier and Type Method Description boolean
TrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)
Are all documents purgeable/undeletable?void
TrashService. trashDocuments(List<DocumentModel> docs)
Moves documents to the trash.void
TrashService. untrashDocuments(List<DocumentModel> docs)
Unmoves documents from the trash. -
Uses of DocumentModel in org.nuxeo.ecm.core.api.tree
Methods in org.nuxeo.ecm.core.api.tree with parameters of type DocumentModel Modifier and Type Method Description boolean
DefaultDocumentTreeFilter. accept(DocumentModel document)
int
DefaultDocumentTreeSorter. compare(DocumentModel doc1, DocumentModel doc2)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.validation
Methods in org.nuxeo.ecm.core.api.validation with parameters of type DocumentModel Modifier and Type Method Description DocumentValidationReport
DocumentValidationService. validate(DocumentModel document)
DocumentValidationReport
DocumentValidationService. validate(DocumentModel document, boolean dirtyOnly)
DocumentValidationReport
DocumentValidationServiceImpl. validate(DocumentModel document)
DocumentValidationReport
DocumentValidationServiceImpl. validate(DocumentModel document, boolean dirtyOnly)
-
Uses of DocumentModel in org.nuxeo.ecm.core.api.versioning
Methods in org.nuxeo.ecm.core.api.versioning with parameters of type DocumentModel Modifier and Type Method Description void
VersioningService. doAutomaticVersioning(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)
Does automatic versioning if a policy exists for the current input context.List<VersioningOption>
VersioningService. getSaveOptions(DocumentModel doc)
Checks what options are available on a document at save time.String
VersioningService. getVersionLabel(DocumentModel doc)
Gets the version label to display for a given document. -
Uses of DocumentModel in org.nuxeo.ecm.core.blob
Methods in org.nuxeo.ecm.core.blob with parameters of type DocumentModel Modifier and Type Method Description InputStream
DocumentBlobManager. getConvertedStream(Blob blob, String mimeType, DocumentModel doc)
Gets anInputStream
for a conversion to the given MIME type.InputStream
DocumentBlobManagerComponent. getConvertedStream(Blob blob, String mimeType, DocumentModel doc)
default InputStream
DocumentBlobProvider. getConvertedStream(ManagedBlob blob, String mimeType, DocumentModel doc)
Gets anInputStream
for a conversion to the given MIME type. -
Uses of DocumentModel in org.nuxeo.ecm.core.event
Classes in org.nuxeo.ecm.core.event that implement DocumentModel Modifier and Type Class Description class
DeletedDocumentModel
Constructors in org.nuxeo.ecm.core.event with parameters of type DocumentModel Constructor Description DeletedDocumentModel(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.event.impl
Classes in org.nuxeo.ecm.core.event.impl that implement DocumentModel Modifier and Type Class Description class
ShallowDocumentModel
Light weightDocumentModel
implementation Only holdsDocumentRef
, RepositoryName, name, path and context data.Methods in org.nuxeo.ecm.core.event.impl that return DocumentModel Modifier and Type Method Description DocumentModel
ShallowDocumentModel. clone()
DocumentModel
DocumentEventContext. getSourceDocument()
Methods in org.nuxeo.ecm.core.event.impl with parameters of type DocumentModel Modifier and Type Method Description void
ShallowDocumentModel. copyContent(DocumentModel sourceDoc)
void
ShallowDocumentModel. copyContextData(DocumentModel otherDocument)
Constructors in org.nuxeo.ecm.core.event.impl with parameters of type DocumentModel Constructor Description DocumentEventContext(CoreSession session, NuxeoPrincipal principal, DocumentModel source)
DocumentEventContext(CoreSession session, NuxeoPrincipal principal, DocumentModel source, DocumentRef destDoc)
ShallowDocumentModel(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.filter
Methods in org.nuxeo.ecm.core.filter with parameters of type DocumentModel Modifier and Type Method Description void
CharacterFilteringService. filter(DocumentModel docModel)
Removes all disallowed characters from the dirty document properties.void
CharacterFilteringServiceImpl. filter(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io
Methods in org.nuxeo.ecm.core.io with parameters of type DocumentModel Modifier and Type Method Description InputStream
DocumentXMLExporter. exportXML(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputStream
.byte[]
DocumentXMLExporter. exportXMLAsByteArray(DocumentModel doc, CoreSession session)
Exports a document to XML as a byte array.InputSource
DocumentXMLExporter. exportXMLAsInputSource(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputSource
.void
ExportExtension. updateExport(DocumentModel docModel, ExportedDocumentImpl result)
void
ImportExtension. updateImport(CoreSession session, DocumentModel docModel, ExportedDocument result)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.avro
Methods in org.nuxeo.ecm.core.io.avro that return DocumentModel Modifier and Type Method Description protected DocumentModel
DocumentModelMapper. documentModelFromAvro(org.apache.avro.generic.GenericRecord input)
DocumentModel
DocumentModelMapper. fromAvro(org.apache.avro.Schema schema, org.apache.avro.generic.GenericRecord input)
Methods in org.nuxeo.ecm.core.io.avro with parameters of type DocumentModel Modifier and Type Method Description org.apache.avro.Schema
DocumentModelSchemaFactory. createSchema(DocumentModel input)
protected void
DocumentModelMapper. documentModelToAvro(org.apache.avro.Schema schema, DocumentModel doc, org.apache.avro.generic.GenericRecord record)
String
DocumentModelSchemaFactory. getName(DocumentModel input)
org.apache.avro.generic.GenericRecord
DocumentModelMapper. toAvro(org.apache.avro.Schema schema, DocumentModel input)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.download
Fields in org.nuxeo.ecm.core.io.download declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DownloadService.DownloadContext.Builder. doc
protected DocumentModel
DownloadService.DownloadContext. doc
Methods in org.nuxeo.ecm.core.io.download that return DocumentModel Modifier and Type Method Description DocumentModel
DownloadService.DownloadContext. getDocumentModel()
Methods in org.nuxeo.ecm.core.io.download with parameters of type DocumentModel Modifier and Type Method Description boolean
DownloadService. checkPermission(DocumentModel doc, String xpath, Blob blob, String reason, Map<String,Serializable> extendedInfos)
Checks whether the download of the blob is allowed.boolean
DownloadServiceImpl. checkPermission(DocumentModel doc, String xpath, Blob blob, String reason, Map<String,Serializable> extendedInfos)
DownloadService.DownloadContext.Builder
DownloadService.DownloadContext.Builder. doc(DocumentModel doc)
The document from which to download the blob.void
DownloadService. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason)
Deprecated.since 11.1, useDownloadService.downloadBlob(DownloadContext)
insteadvoid
DownloadService. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos)
Deprecated.since 11.1, useDownloadService.downloadBlob(DownloadContext)
insteadvoid
DownloadService. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos, Boolean inline)
Deprecated.since 11.1, useDownloadService.downloadBlob(DownloadContext)
insteadvoid
DownloadService. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos, Boolean inline, Consumer<ByteRange> blobTransferer)
Deprecated.since 11.1, useDownloadService.downloadBlob(DownloadContext)
insteadvoid
DownloadServiceImpl. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason)
Deprecated.void
DownloadServiceImpl. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos)
Deprecated.void
DownloadServiceImpl. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos, Boolean inline)
Deprecated.void
DownloadServiceImpl. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos, Boolean inline, Consumer<ByteRange> blobTransferer)
Deprecated.String
DownloadService. getDownloadUrl(DocumentModel doc, String xpath, String filename)
Gets the URL to use to download the blob at the given xpath in the given document.String
DownloadServiceImpl. getDownloadUrl(DocumentModel doc, String xpath, String filename)
String
DownloadService. getFullDownloadUrl(DocumentModel doc, String xpath, Blob blob, String baseUrl)
Gets the full download URL (after redirects if configured so) for the given blob.String
DownloadServiceImpl. getFullDownloadUrl(DocumentModel doc, String xpath, Blob blob, String baseUrl)
void
DownloadService. logDownload(javax.servlet.http.HttpServletRequest request, DocumentModel doc, String blobXPath, String filename, String reason, Map<String,Serializable> extendedInfos)
Logs a download.default void
DownloadService. logDownload(DocumentModel doc, String blobXPath, String filename, String reason, Map<String,Serializable> extendedInfos)
Deprecated.since 11.1, use the signature including the requestvoid
DownloadServiceImpl. logDownload(javax.servlet.http.HttpServletRequest request, DocumentModel doc, String xpath, String filename, String reason, Map<String,Serializable> extendedInfos)
Blob
DownloadService. resolveBlob(DocumentModel doc)
Finds a document's blob.Blob
DownloadService. resolveBlob(DocumentModel doc, String xpath)
Finds a document's blob given an xpath or blobholder indexBlob
DownloadServiceImpl. resolveBlob(DocumentModel doc)
Blob
DownloadServiceImpl. resolveBlob(DocumentModel doc, String xpath)
Constructors in org.nuxeo.ecm.core.io.download with parameters of type DocumentModel Constructor Description DownloadContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos, Boolean inline, Consumer<ByteRange> blobTransferer, Calendar lastModified)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.impl
Methods in org.nuxeo.ecm.core.io.impl that return DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractDocumentModelWriter. createDocument(ExportedDocument xdoc, Path toPath)
Creates a new document given its path.protected DocumentModel
AbstractDocumentModelWriter. updateDocument(ExportedDocument xdoc, DocumentModel doc)
Updates an existing document.Methods in org.nuxeo.ecm.core.io.impl with parameters of type DocumentModel Modifier and Type Method Description protected void
AbstractDocumentModelWriter. beforeCreateDocument(DocumentModel doc)
protected void
AbstractDocumentModelWriter. beforeSaveDocument(DocumentModel doc)
InputStream
DocumentXMLExporterImpl. exportXML(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputStream
.byte[]
DocumentXMLExporterImpl. exportXMLAsByteArray(DocumentModel doc, CoreSession session)
Exports a document to XML as a byte array.InputSource
DocumentXMLExporterImpl. exportXMLAsInputSource(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputSource
.protected boolean
AbstractDocumentModelWriter. loadFacetsInfo(DocumentModel docModel, org.dom4j.Document doc)
protected static void
AbstractDocumentModelWriter. loadSchema(ExportedDocument xdoc, Schema schema, DocumentModel doc, org.dom4j.Element schemaElement)
protected void
AbstractDocumentModelWriter. loadSchemas(ExportedDocument xdoc, DocumentModel docModel, org.dom4j.Document doc)
protected void
AbstractDocumentModelWriter. loadSystemInfo(DocumentModel docModel, org.dom4j.Document doc)
protected void
ExportedDocumentImpl. readDocument(DocumentModel doc, boolean inlineBlobs)
protected void
ExportedDocumentImpl. readDocumentSchemas(org.dom4j.Element element, DocumentModel doc, boolean inlineBlobs)
protected void
ExportedDocumentImpl. readFacets(org.dom4j.Element element, DocumentModel doc)
protected void
ExportedDocumentImpl. readLifeCycleInfo(org.dom4j.Element element, DocumentModel doc)
protected DocumentModel
AbstractDocumentModelWriter. updateDocument(ExportedDocument xdoc, DocumentModel doc)
Updates an existing document.Constructors in org.nuxeo.ecm.core.io.impl with parameters of type DocumentModel Constructor Description ExportedDocumentImpl(DocumentModel doc)
ExportedDocumentImpl(DocumentModel doc, boolean inlineBlobs)
ExportedDocumentImpl(DocumentModel doc, Path path, boolean inlineBlobs)
TypedExportedDocumentImpl(DocumentModel doc)
Instantiates a new typed exported document impl.TypedExportedDocumentImpl(DocumentModel doc, boolean inlineBlobs)
Instantiates a new typed exported document impl.TypedExportedDocumentImpl(DocumentModel doc, Path path, boolean inlineBlobs)
Instantiates a new typed exported document impl. -
Uses of DocumentModel in org.nuxeo.ecm.core.io.impl.extensions
Methods in org.nuxeo.ecm.core.io.impl.extensions with parameters of type DocumentModel Modifier and Type Method Description void
LockExporterExtension. updateExport(DocumentModel docModel, ExportedDocumentImpl result)
void
VersionInfoExportExtension. updateExport(DocumentModel docModel, ExportedDocumentImpl result)
void
DocumentLockImporter. updateImport(CoreSession session, DocumentModel docModel, ExportedDocument xdoc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.impl.plugins
Fields in org.nuxeo.ecm.core.io.impl.plugins declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SingleDocumentReader. doc
Fields in org.nuxeo.ecm.core.io.impl.plugins with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
ExtensibleDocumentTreeReader. pendingVersions
Methods in org.nuxeo.ecm.core.io.impl.plugins that return DocumentModel Modifier and Type Method Description protected DocumentModel
ExtensibleDocumentWriter. createDocument(ExportedDocument xdoc, Path toPath)
Constructors in org.nuxeo.ecm.core.io.impl.plugins with parameters of type DocumentModel Constructor Description DocumentTreeReader(CoreSession session, DocumentModel root)
DocumentTreeReader(CoreSession session, DocumentModel root, boolean excludeRoot)
ExtensibleDocumentTreeReader(CoreSession session, DocumentModel root)
ExtensibleDocumentTreeReader(CoreSession session, DocumentModel root, boolean excludeRoot)
SingleDocumentReader(CoreSession session, DocumentModel root)
TypedSingleDocumentReader(CoreSession session, DocumentModel root)
Constructor parameters in org.nuxeo.ecm.core.io.impl.plugins with type arguments of type DocumentModel Constructor Description DocumentsListReader(CoreSession session, List<DocumentModel> docsList)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.marshallers.json.document
Methods in org.nuxeo.ecm.core.io.marshallers.json.document that return DocumentModel Modifier and Type Method Description protected DocumentModel
DocumentModelJsonReader. getDocument(com.fasterxml.jackson.databind.JsonNode jn)
DocumentModel
DocumentModelJsonReader. read(Class<?> clazz, Type genericType, javax.ws.rs.core.MediaType mediaType, InputStream in)
protected DocumentModel
DocumentModelJsonReader. readEntity(com.fasterxml.jackson.databind.JsonNode jn)
Methods in org.nuxeo.ecm.core.io.marshallers.json.document with parameters of type DocumentModel Modifier and Type Method Description static void
DocumentModelJsonReader. applyAllPropertyValues(DocumentModel src, DocumentModel dst)
static void
DocumentModelJsonReader. applyDirtyPropertyValues(DocumentModel src, DocumentModel dst)
protected static void
DocumentModelJsonReader. applyPropertyValue(Property property, DocumentModel dst)
static void
DocumentModelJsonReader. applyPropertyValues(DocumentModel src, DocumentModel dst)
static void
DocumentModelJsonReader. applyPropertyValues(DocumentModel src, DocumentModel dst, boolean dirtyOnly)
protected void
DocumentModelJsonWriter. writeEntityBody(DocumentModel doc, com.fasterxml.jackson.core.JsonGenerator jg)
protected void
DocumentModelJsonWriter. writeSchemaProperties(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String schemaName)
Method parameters in org.nuxeo.ecm.core.io.marshallers.json.document with type arguments of type DocumentModel Modifier and Type Method Description void
DocumentModelListJsonWriter. write(List<DocumentModel> docs, com.fasterxml.jackson.core.JsonGenerator jg)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.marshallers.json.enrichers
Methods in org.nuxeo.ecm.core.io.marshallers.json.enrichers with parameters of type DocumentModel Modifier and Type Method Description void
BasePermissionsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
BreadcrumbJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
ChildrenJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
ContextualParametersJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel enriched)
void
FirstAccessibleAncestorJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
HasFolderishChildJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
SubtypesJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel enriched)
Deprecated.void
UserVisiblePermissionsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.core.io.registry.context
Methods in org.nuxeo.ecm.core.io.registry.context with parameters of type DocumentModel Modifier and Type Method Description RenderingContext.SessionWrapper
RenderingContext. getSession(DocumentModel document)
Gets the currentCoreSession
or try to create one.RenderingContext.SessionWrapper
RenderingContextImpl. getSession(DocumentModel document)
RenderingContext.SessionWrapper
ThreadSafeRenderingContext. getSession(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.core.lifecycle.event
Methods in org.nuxeo.ecm.core.lifecycle.event with parameters of type DocumentModel Modifier and Type Method Description protected void
BulkLifeCycleChangeListener. changeChildrenState(CoreSession session, String transition, String targetState, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.management.storage
Methods in org.nuxeo.ecm.core.management.storage that return DocumentModel Modifier and Type Method Description protected DocumentModel
DocumentStoreManager. createRootlet(CoreSession session)
Methods in org.nuxeo.ecm.core.management.storage with parameters of type DocumentModel Modifier and Type Method Description protected AdministrativeStatus
DocumentModelStatusPersister.StatusFetcher. wrap(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.impl.client
Methods in org.nuxeo.ecm.core.opencmis.impl.client with parameters of type DocumentModel Modifier and Type Method Description org.apache.chemistry.opencmis.client.api.CmisObject
NuxeoSession. getObject(DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)
Gets a CMIS object given a NuxeoDocumentModel
. -
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.impl.server
Fields in org.nuxeo.ecm.core.opencmis.impl.server declared as DocumentModel Modifier and Type Field Description DocumentModel
NuxeoObjectData. doc
protected DocumentModel
NuxeoPropertyDataBase. doc
Methods in org.nuxeo.ecm.core.opencmis.impl.server that return DocumentModel Modifier and Type Method Description protected DocumentModel
NuxeoCmisService. createDocumentModel(org.apache.chemistry.opencmis.client.api.ObjectId folder, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String name)
Creates and save document model.protected DocumentModel
NuxeoCmisService. createDocumentModel(org.apache.chemistry.opencmis.client.api.ObjectId folder, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
Creates bare unsaved document model.protected DocumentModel
NuxeoCmisService. getDocumentModel(String id)
protected DocumentModel
NuxeoCmisService. getObjectByPathOfNames(String path)
Gets a document given a path built out of dc:title components.Methods in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type DocumentModel Modifier and Type Method Description static NuxeoContentStream
NuxeoContentStream. create(DocumentModel doc, String xpath, Blob blob, String reason, Map<String,Serializable> extendedInfos, Calendar lastModified, javax.servlet.http.HttpServletRequest request)
static org.apache.chemistry.opencmis.commons.data.AllowableActions
NuxeoObjectData. getAllowableActions(DocumentModel doc, boolean creation)
static org.apache.chemistry.opencmis.commons.enums.BaseTypeId
NuxeoTypeHelper. getBaseTypeId(DocumentModel doc)
protected static Blob
NuxeoPropertyData. getBlob(DocumentModel doc)
static org.apache.chemistry.opencmis.commons.data.ContentStream
NuxeoPropertyData. getContentStream(DocumentModel doc, javax.servlet.http.HttpServletRequest request)
Deprecated.since 11.1, now unusedstatic List<String>
NuxeoPropertyData. getFacets(DocumentModel doc)
Gets the doc's relevant facets.protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData>
NuxeoObjectData. getIconRendition(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
Deprecated.since 7.3.static List<org.apache.chemistry.opencmis.commons.data.RenditionData>
NuxeoObjectData. getRenditions(DocumentModel doc, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData>
NuxeoObjectData. getRenditionServiceRenditions(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
static List<String>
NuxeoPropertyData. getSecondaryTypeIds(DocumentModel doc)
Gets the doc's secondary type ids.static String
NuxeoPropertyData.NuxeoPropertyDataName. getValue(DocumentModel doc)
Gets the value for the cmis:name property.boolean
NuxeoCmisService. isFilteredOut(DocumentModel doc)
Checks if the doc should be ignored because it is "invisible" (deleted, hidden in navigation).protected static boolean
NuxeoPropertyData. isVersionOrProxyToVersion(DocumentModel doc)
protected void
NuxeoCmisService. setChangeTokenForUpdate(DocumentModel doc, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder)
static void
NuxeoPropertyData. setContentStream(DocumentModel doc, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean overwrite)
static void
NuxeoPropertyData. validateBlobDigest(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
Constructors in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type DocumentModel Constructor Description NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc)
NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)
NuxeoPropertyBooleanData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataCheckInComment(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataContentStreamDigest(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataContentStreamFileName(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataContentStreamLength(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigInteger> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataContentStreamMimeType(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataIsLatestMajorVersion(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataIsLatestVersion(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataIsMajorVersion(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataIsVersionSeriesCheckedOut(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataName(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataParentId(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataPath(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataVersionLabel(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDataVersionSeriesCheckedOutBy(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyDataVersionSeriesCheckedOutId(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)
NuxeoPropertyDateTimeData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<GregorianCalendar> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyDecimalData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigDecimal> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyHtmlData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyIdData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyIntegerData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigInteger> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyStringData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
NuxeoPropertyUriData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
-
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.impl.server.versioning
Methods in org.nuxeo.ecm.core.opencmis.impl.server.versioning with parameters of type DocumentModel Modifier and Type Method Description boolean
CMISVersioningFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.tests
Methods in org.nuxeo.ecm.core.opencmis.tests that return DocumentModel Modifier and Type Method Description static DocumentModel
Helper. createDocument(CoreSession session, DocumentModel doc)
static DocumentModel
Helper. saveDocument(CoreSession session, DocumentModel doc)
Methods in org.nuxeo.ecm.core.opencmis.tests with parameters of type DocumentModel Modifier and Type Method Description static DocumentModel
Helper. createDocument(CoreSession session, DocumentModel doc)
static DocumentModel
Helper. saveDocument(CoreSession session, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.rest
Fields in org.nuxeo.ecm.core.rest declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentObject. doc
Methods in org.nuxeo.ecm.core.rest that return DocumentModel Modifier and Type Method Description protected DocumentModel
CommentService. createCommentDocument(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow creation of localized comment.static DocumentModel
DocumentHelper. createDocument(WebContext context, DocumentModel parent, String name)
DocumentModel
DocumentObject. getDocument()
static DocumentModel
DocumentHelper. updateDocument(WebContext ctx, DocumentModel doc)
Methods in org.nuxeo.ecm.core.rest with parameters of type DocumentModel Modifier and Type Method Description protected void
CommentService. approveComent(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow workflow.protected DocumentModel
CommentService. createCommentDocument(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow creation of localized comment.static DocumentModel
DocumentHelper. createDocument(WebContext context, DocumentModel parent, String name)
protected void
CommentService. deleteComment(DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow workflow.static DocumentObject
DocumentFactory. newDocument(WebContext ctx, DocumentModel doc)
DocumentObject
DocumentObject. newDocument(DocumentModel doc)
static DocumentObject
DocumentFactory. newDocumentRoot(WebContext ctx, DocumentModel doc)
protected void
CommentService. publishComment(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow workflow.protected void
CommentService. rejectComment(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow workflow.static DocumentModel
DocumentHelper. updateDocument(WebContext ctx, DocumentModel doc)
Constructors in org.nuxeo.ecm.core.rest with parameters of type DocumentModel Constructor Description DocumentRoot(WebContext ctx, DocumentModel root)
-
Uses of DocumentModel in org.nuxeo.ecm.core.search.api.client.search.results.impl
Fields in org.nuxeo.ecm.core.search.api.client.search.results.impl declared as DocumentModel Modifier and Type Field Description DocumentModel
DocumentModelResultItem. doc
Methods in org.nuxeo.ecm.core.search.api.client.search.results.impl that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentModelResultItem. getDocumentModel()
Constructors in org.nuxeo.ecm.core.search.api.client.search.results.impl with parameters of type DocumentModel Constructor Description DocumentModelResultItem(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.storage
Fields in org.nuxeo.ecm.core.storage declared as DocumentModel Modifier and Type Field Description protected DocumentModel
FulltextExtractorWork. document
Methods in org.nuxeo.ecm.core.storage with parameters of type DocumentModel Modifier and Type Method Description void
FulltextExtractorWork. extractBinaryFulltext(CoreSession session, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.core.trash
Fields in org.nuxeo.ecm.core.trash with type parameters of type DocumentModel Modifier and Type Field Description List<DocumentModel>
TrashInfo. docs
Docs found ok.Methods in org.nuxeo.ecm.core.trash that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractTrashService. getAboveDocument(DocumentModel doc, Set<Path> rootPaths)
DocumentModel
AbstractTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)
DocumentModel
TrashService. getAboveDocument(DocumentModel doc, Set<Path> paths)
Deprecated.since 10.1 only used in JSF part, useTrashService.getAboveDocument(DocumentModel, NuxeoPrincipal)
instead.Methods in org.nuxeo.ecm.core.trash with parameters of type DocumentModel Modifier and Type Method Description protected void
AbstractTrashService. checkCanTrash(DocumentModel model)
Deprecated.since 2023,AbstractSession.canRemoveDocument(DocumentRef)
does this checkint
AbstractTrashService.PathComparator. compare(DocumentModel doc1, DocumentModel doc2)
protected void
PropertyTrashService. doTrashDocument(DocumentModel doc)
protected Set<DocumentRef>
PropertyTrashService. doUntrashDocument(DocumentModel doc, boolean processChildren)
boolean
AbstractTrashService. folderAllowsDelete(DocumentModel folder)
boolean
TrashService. folderAllowsDelete(DocumentModel folder)
Deprecated.since 10.1 only used in JSF part, no replacementDocumentModel
AbstractTrashService. getAboveDocument(DocumentModel doc, Set<Path> rootPaths)
DocumentModel
AbstractTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)
DocumentModel
TrashService. getAboveDocument(DocumentModel doc, Set<Path> paths)
Deprecated.since 10.1 only used in JSF part, useTrashService.getAboveDocument(DocumentModel, NuxeoPrincipal)
instead.protected static String
AbstractTrashService. getDocumentLocker(DocumentModel doc)
DocumentModelList
AbstractTrashService. getDocuments(DocumentModel parent)
String
AbstractTrashService. mangleName(DocumentModel doc)
protected void
AbstractTrashService. notifyEvent(CoreSession session, String eventId, DocumentModel doc)
protected void
AbstractTrashService. notifyEvent(CoreSession session, String eventId, DocumentModel doc, boolean immediate)
protected void
AbstractTrashService. notifyEvent(CoreSession session, String eventId, DocumentModel doc, boolean immediate, boolean inline)
void
AbstractTrashService. purgeDocumentsUnder(DocumentModel parent)
protected void
PropertyTrashService. trashDescendants(DocumentModel model, Boolean value)
protected void
LifeCycleTrashService. trashDocument(CoreSession session, DocumentModel doc)
Deprecated.protected void
LifeCycleTrashService. undeleteDocument(CoreSession session, DocumentModel doc)
Deprecated.String
AbstractTrashService. unmangleName(DocumentModel doc)
Method parameters in org.nuxeo.ecm.core.trash with type arguments of type DocumentModel Modifier and Type Method Description boolean
AbstractTrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)
boolean
TrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)
Deprecated.since 10.1 only used in JSF part, no replacementdefault boolean
TrashService. canPurgeOrUndelete(List<DocumentModel> docs, NuxeoPrincipal principal)
Deprecated.since 10.1, useTrashService.canPurgeOrUntrash(List, NuxeoPrincipal)
boolean
AbstractTrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)
boolean
AbstractTrashService. checkDeletePermOnParents(List<DocumentModel> docs)
boolean
TrashService. checkDeletePermOnParents(List<DocumentModel> docs)
Deprecated.since 10.1 only used in JSF part, no replacementprotected TrashInfo
AbstractTrashService. getInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)
TrashInfo
AbstractTrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)
TrashInfo
TrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)
Deprecated.since 10.1 only used in JSF part, no replacementvoid
BridgeTrashService. trashDocuments(List<DocumentModel> docs)
void
LifeCycleTrashService. trashDocuments(List<DocumentModel> docs)
Deprecated.void
PropertyTrashService. trashDocuments(List<DocumentModel> docs)
protected Set<DocumentRef>
LifeCycleTrashService. undeleteDocumentList(CoreSession session, List<DocumentModel> docs)
Deprecated.Undeletes a list of documents.Set<DocumentRef>
BridgeTrashService. undeleteDocuments(List<DocumentModel> docs)
Set<DocumentRef>
LifeCycleTrashService. undeleteDocuments(List<DocumentModel> docs)
Deprecated.Set<DocumentRef>
PropertyTrashService. undeleteDocuments(List<DocumentModel> docs)
Set<DocumentRef>
TrashService. undeleteDocuments(List<DocumentModel> docs)
Deprecated.since 10.1 useTrashService.untrashDocuments(List)
insteadvoid
AbstractTrashService. untrashDocuments(List<DocumentModel> docs)
-
Uses of DocumentModel in org.nuxeo.ecm.core.uidgen
Methods in org.nuxeo.ecm.core.uidgen with parameters of type DocumentModel Modifier and Type Method Description String
UIDGenerator. createUID(DocumentModel document)
Returns a new UID for the given doc.String
UIDGeneratorComponent. createUID(DocumentModel doc)
String
UIDGeneratorService. createUID(DocumentModel doc)
protected int
AbstractUIDGenerator. getNext(DocumentModel document)
protected long
AbstractUIDGenerator. getNextLong(DocumentModel document)
String
UIDGenerator. getSequenceKey(DocumentModel document)
UIDGenerator
UIDGeneratorComponent. getUIDGeneratorFor(DocumentModel doc)
Returns the uid generator to use for this document.UIDGenerator
UIDGeneratorService. getUIDGeneratorFor(DocumentModel doc)
Returns the uid generator to use for this document.protected boolean
AbstractUIDGenerator. isPropValueDefined(String propName, DocumentModel document)
Checks if the property with the given name is defined and is not null.void
AbstractUIDGenerator. setUID(DocumentModel document)
void
UIDGenerator. setUID(DocumentModel document)
Creates a new UID for the given doc and sets the field configured in the generator component with this value.void
UIDGeneratorComponent. setUID(DocumentModel doc)
Creates a new UID for the given doc and sets the field configured in the generator component with this value.void
UIDGeneratorService. setUID(DocumentModel doc)
Creates a new UID for the given doc and sets the field configured in the generator component with this value.protected String
AbstractUIDGenerator. str(String propName, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.core.utils
Fields in org.nuxeo.ecm.core.utils declared as DocumentModel Modifier and Type Field Description protected DocumentModel
StringsExtractor. document
Methods in org.nuxeo.ecm.core.utils with parameters of type DocumentModel Modifier and Type Method Description List<String>
StringsExtractor. findStrings(DocumentModel document, Set<String> includedPaths, Set<String> excludedPaths)
Finds strings from the document for a given set of included and excluded paths.List<Blob>
BlobsExtractor. getBlobs(DocumentModel doc)
Gets the blobs of the document.List<Property>
BlobsExtractor. getBlobsProperties(DocumentModel doc)
Gets the blob properties of the document.static Object
DocumentModelUtils. getComplexPropertyValue(DocumentModel doc, String propertyPath)
Obtains a property value given its path.static Map<String,Object>
DocumentModelUtils. getProperties(DocumentModel docModel)
Gets all properties defined in declared schemas of a DocumentModel.static Object
DocumentModelUtils. getPropertyValue(DocumentModel doc, String propertyName)
The given propertyName should have 'schema_name:property_name' format. -
Uses of DocumentModel in org.nuxeo.ecm.core.versioning
Fields in org.nuxeo.ecm.core.versioning declared as DocumentModel Modifier and Type Field Description DocumentModel
VersioningDocumentAdapter. doc
Methods in org.nuxeo.ecm.core.versioning with parameters of type DocumentModel Modifier and Type Method Description void
StandardVersioningService. doAutomaticVersioning(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)
void
VersioningComponent. doAutomaticVersioning(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)
Object
VersioningDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected long
StandardVersioningService. getMajor(DocumentModel docModel)
protected long
StandardVersioningService. getMinor(DocumentModel docModel)
List<VersioningOption>
StandardVersioningService. getSaveOptions(DocumentModel docModel)
List<VersioningOption>
VersioningComponent. getSaveOptions(DocumentModel docModel)
protected long
StandardVersioningService. getVersion(DocumentModel docModel, String prop)
String
CompatVersioningService. getVersionLabel(DocumentModel doc)
Deprecated.String
StandardVersioningService. getVersionLabel(DocumentModel docModel)
String
VersioningComponent. getVersionLabel(DocumentModel doc)
protected boolean
StandardVersioningService. isPolicyMatch(VersioningPolicyDescriptor policyDescriptor, DocumentModel previousDocument, DocumentModel currentDocument)
protected VersioningPolicyDescriptor
StandardVersioningService. retrieveMatchingVersioningPolicy(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)
boolean
NoVersioningPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)
boolean
StandardVersioningPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)
boolean
VersioningPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)
Constructors in org.nuxeo.ecm.core.versioning with parameters of type DocumentModel Constructor Description VersioningDocumentAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.csv.core
Methods in org.nuxeo.ecm.csv.core with parameters of type DocumentModel Modifier and Type Method Description protected String
CSVImporterWork. getDocumentUrl(DocumentModel doc)
protected void
DefaultCSVImporterDocumentFactory. setLifeCycleState(Map<String,Serializable> values, DocumentModel doc, String lifeCyclePropertyName)
-
Uses of DocumentModel in org.nuxeo.ecm.directory
Methods in org.nuxeo.ecm.directory that return DocumentModel Modifier and Type Method Description DocumentModel
EntryAdaptor. adapt(Directory directory, DocumentModel entry)
Apply an arbitrary transformation of the fetched entry.DocumentModel
BaseSession. createEntry(Map<String,Object> fieldMap)
DocumentModel
BaseSession. createEntry(DocumentModel documentModel)
DocumentModel
Session. createEntry(Map<String,Object> fieldMap)
Creates an entry in a directory.DocumentModel
Session. createEntry(DocumentModel entry)
Creates an entry in a directory.static DocumentModel
BaseSession. createEntryModel(String schema)
Returns a bare document model suitable for directory implementations.static DocumentModel
BaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values)
Deprecated.since 11.1, sessionId is unusedstatic DocumentModel
BaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values, boolean readOnly)
Deprecated.since 11.1, sessionId is unusedstatic DocumentModel
BaseSession. createEntryModel(String schema, String id, Map<String,Object> values)
Returns a bare document model suitable for directory implementations.static DocumentModel
BaseSession. createEntryModel(String schema, String id, Map<String,Object> values, boolean readOnly)
Returns a bare document model suitable for directory implementations.protected abstract DocumentModel
BaseSession. createEntryWithoutReferences(Map<String,Object> fieldMap)
To be implemented for specific creation.DocumentModel
BaseSession. getEntry(String id)
DocumentModel
BaseSession. getEntry(String id, boolean fetchReferences)
DocumentModel
DirectoryCache. getEntry(String entryId, EntrySource source)
DocumentModel
DirectoryCache. getEntry(String entryId, EntrySource source, boolean fetchReferences)
DocumentModel
Session. getEntry(String id)
Retrieves a directory entry using its id.DocumentModel
Session. getEntry(String id, boolean fetchReferences)
Retrieves a directory entry using its id.DocumentModel
BaseSession. getEntryFromSource(String id, boolean fetchReferences)
DocumentModel
EntrySource. getEntryFromSource(String entryId, boolean fetchReferences)
Methods in org.nuxeo.ecm.directory with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
EntryAdaptor. adapt(Directory directory, DocumentModel entry)
Apply an arbitrary transformation of the fetched entry.DocumentModel
BaseSession. createEntry(DocumentModel documentModel)
DocumentModel
Session. createEntry(DocumentModel entry)
Creates an entry in a directory.void
BaseSession. deleteEntry(DocumentModel docModel)
void
Session. deleteEntry(DocumentModel docModel)
Deletes a directory entry.Directory
DirectoryServiceImpl. getDirectory(String id, DocumentModel documentContext)
protected DirectoryConfiguration
DirectoryServiceImpl. getDirectoryConfiguration(DocumentModel documentContext)
protected Directory
DirectoryServiceImpl. getDirectoryOrFail(String id, DocumentModel documentContext)
protected String
DirectoryEntryResolver. getHierarchicalReference(DocumentModel entry)
static boolean
BaseSession. isReadOnlyEntry(DocumentModel entry)
Test whether entry comes from a read-only back-end directory.Session
DirectoryServiceImpl. open(String directoryName, DocumentModel documentContext)
static void
BaseSession. setReadOnlyEntry(DocumentModel entry)
Set the read-only flag of a directory entry.static void
BaseSession. setReadWriteEntry(DocumentModel entry)
Unset the read-only flag of a directory entry.void
BaseSession. updateEntry(DocumentModel docModel)
void
Session. updateEntry(DocumentModel docModel)
Updates a directory entry.protected abstract List<String>
BaseSession. updateEntryWithoutReferences(DocumentModel docModel)
To be implemented for specific update.Method parameters in org.nuxeo.ecm.directory with type arguments of type DocumentModel Modifier and Type Method Description void
AbstractDirectory. orderEntries(List<DocumentModel> entries, Map<String,String> orderBy)
Helper method to order entries. -
Uses of DocumentModel in org.nuxeo.ecm.directory.api
Methods in org.nuxeo.ecm.directory.api that return DocumentModel Modifier and Type Method Description DocumentModel
DirectoryEntry. getDocumentModel()
Methods in org.nuxeo.ecm.directory.api with parameters of type DocumentModel Modifier and Type Method Description Directory
DirectoryService. getDirectory(String id, DocumentModel documentContext)
Returns the directory for the specified id and document context.Session
DirectoryService. open(String directoryName, DocumentModel documentContext)
Opens a session on the directory for the specified context.Constructors in org.nuxeo.ecm.directory.api with parameters of type DocumentModel Constructor Description DirectoryEntry(String dirName, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.core
Methods in org.nuxeo.ecm.directory.core that return DocumentModel Modifier and Type Method Description DocumentModel
CoreDirectorySession. createEntry(Map<String,Object> fieldMap)
DocumentModel
CoreDirectorySession. createEntryWithoutReferences(Map<String,Object> fieldMap)
DocumentModel
CoreDirectorySession. getEntry(String id, boolean fetchReferences)
protected DocumentModel
CoreDirectory. setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted)
Methods in org.nuxeo.ecm.directory.core with parameters of type DocumentModel Modifier and Type Method Description void
CoreDirectorySession. deleteEntry(DocumentModel docModel)
protected DocumentModel
CoreDirectory. setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted)
void
CoreDirectorySession. updateEntry(DocumentModel docModel)
protected List<String>
CoreDirectorySession. updateEntryWithoutReferences(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.impl
Methods in org.nuxeo.ecm.directory.impl that return DocumentModel Modifier and Type Method Description DocumentModel
WritePolicyEntryAdaptor. adapt(Directory directory, DocumentModel entry)
Methods in org.nuxeo.ecm.directory.impl with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
WritePolicyEntryAdaptor. adapt(Directory directory, DocumentModel entry)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.ldap
Methods in org.nuxeo.ecm.directory.ldap that return DocumentModel Modifier and Type Method Description DocumentModel
LDAPSession. createEntry(DocumentModel entry)
protected DocumentModel
LDAPSession. createEntryWithoutReferences(Map<String,Object> fieldMap)
protected DocumentModel
LDAPSession. fieldMapToDocumentModel(Map<String,Object> fieldMap)
DocumentModel
LDAPSession. getEntryFromSource(String id, boolean fetchReferences)
protected DocumentModel
LDAPSession. ldapResultToDocumentModel(SearchResult result, String entryId, boolean fetchReferences)
Methods in org.nuxeo.ecm.directory.ldap with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
LDAPSession. createEntry(DocumentModel entry)
protected List<String>
LDAPSession. updateEntryWithoutReferences(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.localconfiguration
Methods in org.nuxeo.ecm.directory.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description Object
DirectoryConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)
Constructors in org.nuxeo.ecm.directory.localconfiguration with parameters of type DocumentModel Constructor Description DirectoryConfigurationAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.memory
Methods in org.nuxeo.ecm.directory.memory that return DocumentModel Modifier and Type Method Description DocumentModel
MemoryDirectorySession. createEntry(Map<String,Object> fieldMap)
DocumentModel
MemoryDirectorySession. createEntry(DocumentModel entry)
DocumentModel
MemoryDirectorySession. createEntryWithoutReferences(Map<String,Object> fieldMap)
DocumentModel
MemoryDirectorySession. getEntry(String id, boolean fetchReferences)
Methods in org.nuxeo.ecm.directory.memory with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
MemoryDirectorySession. createEntry(DocumentModel entry)
void
MemoryDirectorySession. deleteEntry(DocumentModel docModel)
void
MemoryDirectorySession. updateEntry(DocumentModel docModel)
protected List<String>
MemoryDirectorySession. updateEntryWithoutReferences(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.multi
Methods in org.nuxeo.ecm.directory.multi that return DocumentModel Modifier and Type Method Description DocumentModel
MultiDirectorySession. createEntry(DocumentModel entry)
DocumentModel
MultiDirectorySession. createEntryWithoutReferences(Map<String,Object> fieldMap)
DocumentModel
MultiDirectorySession. getEntry(String id, boolean fetchReferences)
Methods in org.nuxeo.ecm.directory.multi with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
MultiDirectorySession. createEntry(DocumentModel entry)
void
MultiDirectorySession. deleteEntry(DocumentModel docModel)
protected static void
MultiDirectorySession. setProperties(DocumentModel doc, String schema, Map<String,Object> map)
Sets the properties of the givendoc
andschema
to the values provided by the givenmap
, ensuring that anynull
value gets transformed to an empty string for a string property.void
MultiDirectorySession. updateEntry(DocumentModel docModel)
protected List<String>
MultiDirectorySession. updateEntryWithoutReferences(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.directory.sql
Methods in org.nuxeo.ecm.directory.sql that return DocumentModel Modifier and Type Method Description protected DocumentModel
SQLSession. createEntryWithoutReferences(Map<String,Object> fieldMap)
protected DocumentModel
SQLSession. fieldMapToDocumentModel(Map<String,Object> fieldMap)
DocumentModel
SQLSession. getEntryFromSource(String id, boolean fetchReferences)
Methods in org.nuxeo.ecm.directory.sql with parameters of type DocumentModel Modifier and Type Method Description protected List<String>
SQLSession. updateEntryWithoutReferences(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.core
Methods in org.nuxeo.ecm.liveconnect.core that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
AbstractLiveConnectBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> docs)
Method parameters in org.nuxeo.ecm.liveconnect.core with type arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
AbstractLiveConnectBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> docs)
-
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.google.drive
Methods in org.nuxeo.ecm.liveconnect.google.drive with parameters of type DocumentModel Modifier and Type Method Description InputStream
GoogleDriveBlobProvider. getConvertedStream(ManagedBlob blob, String mimeType, DocumentModel doc)
protected Blob
GoogleDriveBlobProvider. retrieveBlobConversion(ManagedBlob blob, String mimeType, DocumentModel doc)
Retrieve a stored conversion of the given blob -
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.google.drive.converter
Methods in org.nuxeo.ecm.liveconnect.google.drive.converter with parameters of type DocumentModel Modifier and Type Method Description protected Blob
GoogleDriveBlobConverter. convert(Blob blob, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.update
Methods in org.nuxeo.ecm.liveconnect.update that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
BatchUpdateBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> documents)
Check the given list of document for change and update if needed.Method parameters in org.nuxeo.ecm.liveconnect.update with type arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
BatchUpdateBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> documents)
Check the given list of document for change and update if needed. -
Uses of DocumentModel in org.nuxeo.ecm.localconf
Fields in org.nuxeo.ecm.localconf declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SimpleConfigurationAdapter. detachedDocument
Methods in org.nuxeo.ecm.localconf that return DocumentModel Modifier and Type Method Description DocumentModel
PutSimpleConfParam. run(DocumentModel doc)
DocumentModel
PutSimpleConfParams. run(DocumentModel doc)
DocumentModel
SetSimpleConfParamVar. run(DocumentModel doc)
Methods in org.nuxeo.ecm.localconf with parameters of type DocumentModel Modifier and Type Method Description protected Map<String,String>
SimpleConfigurationAdapter. computeParametersFromDocument(DocumentModel doc)
Object
SimpleConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected void
SimpleConfigurationAdapter. loadFromDocument(DocumentModel doc)
DocumentModel
PutSimpleConfParam. run(DocumentModel doc)
DocumentModel
PutSimpleConfParams. run(DocumentModel doc)
DocumentModel
SetSimpleConfParamVar. run(DocumentModel doc)
Constructors in org.nuxeo.ecm.localconf with parameters of type DocumentModel Constructor Description SimpleConfigurationAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.multi.tenant
Fields in org.nuxeo.ecm.multi.tenant declared as DocumentModel Modifier and Type Field Description protected DocumentModel
MultiTenantHelper.TenantIdFinder. target
Methods in org.nuxeo.ecm.multi.tenant that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
MultiTenantService. getTenants()
List<DocumentModel>
MultiTenantServiceImpl. getTenants()
Methods in org.nuxeo.ecm.multi.tenant with parameters of type DocumentModel Modifier and Type Method Description void
MultiTenantService. disableTenantIsolationFor(CoreSession session, DocumentModel doc)
void
MultiTenantServiceImpl. disableTenantIsolationFor(CoreSession session, DocumentModel doc)
void
MultiTenantService. enableTenantIsolationFor(CoreSession session, DocumentModel doc)
void
MultiTenantServiceImpl. enableTenantIsolationFor(CoreSession session, DocumentModel doc)
static String
MultiTenantHelper. getOwningTenantId(DocumentModel doc)
Return the Tenant containing the provided DocumentModel if anyprotected String
MultiTenantServiceImpl. getTenantIdForTenant(DocumentModel doc)
Gets the tenant id for a tenant document (Domain).protected NuxeoPrincipal
MultiTenantUserManager. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)
Constructors in org.nuxeo.ecm.multi.tenant with parameters of type DocumentModel Constructor Description TenantIdFinder(DocumentModel target)
-
Uses of DocumentModel in org.nuxeo.ecm.permissions
Methods in org.nuxeo.ecm.permissions with parameters of type DocumentModel Modifier and Type Method Description static String
TransientUserPermissionHelper. acquireToken(String username, DocumentModel doc, String permission)
Deprecated.since 10.3.protected void
ACEStatusUpdatedListener. checkForEffectiveACE(CoreSession session, DocumentModel doc, List<ACE> aces)
protected Map<String,Serializable>
ACLJsonEnricher. computeAdditionalFields(DocumentModel doc, String aclName, String aceId)
protected String
ACLJsonEnricher. computeDirectoryId(DocumentModel doc, String aclName, String aceId)
static String
PermissionHelper. computeDirectoryId(DocumentModel doc, String aclName, String aceId)
static Map<String,Object>
PermissionHelper. createDirectoryEntry(DocumentModel doc, String aclName, ACE ace, boolean notify, String comment)
static void
PermissionHelper. firePermissionNotificationEvent(CoreSession session, DocumentModel doc, String aclName, ACE ace)
protected static boolean
TransientUserPermissionHelper. hasOtherPermission(String username, DocumentModel doc)
Returnstrue
if the givenusername
has a non-archived ACE on another document thandoc
,false
otherwise.protected void
PermissionListener. removeToken(DocumentModel doc, ACE deletedAce)
static void
TransientUserPermissionHelper. revokeToken(String username, DocumentModel doc)
void
ACLJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
protected void
ACLJsonEnricher. writeACEsField(com.fasterxml.jackson.core.JsonGenerator jg, String fieldName, ACL acl, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.permissions.operations
Methods in org.nuxeo.ecm.permissions.operations that return DocumentModel Modifier and Type Method Description DocumentModel
SendNotificationEmailForPermission. run(DocumentModel doc)
DocumentModel
SendNotificationEmailForPermission. run(DocumentRef docRef)
Methods in org.nuxeo.ecm.permissions.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
SendNotificationEmailForPermission. run(DocumentModel doc)
protected void
SendNotificationEmailForPermission. sendEmail(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.actions
Fields in org.nuxeo.ecm.platform.actions declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractActionContext. currentDocument
Methods in org.nuxeo.ecm.platform.actions that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractActionContext. getCurrentDocument()
DocumentModel
ActionContext. getCurrentDocument()
Returns the current document to use for filter evaluationMethods in org.nuxeo.ecm.platform.actions with parameters of type DocumentModel Modifier and Type Method Description void
AbstractActionContext. setCurrentDocument(DocumentModel doc)
void
ActionContext. setCurrentDocument(DocumentModel doc)
Sets the current document to use for filter evaluation -
Uses of DocumentModel in org.nuxeo.ecm.platform.audio.extension
Methods in org.nuxeo.ecm.platform.audio.extension that return DocumentModel Modifier and Type Method Description DocumentModel
AudioImporter. createOrUpdate(FileImporterContext context)
Methods in org.nuxeo.ecm.platform.audio.extension with parameters of type DocumentModel Modifier and Type Method Description Blob
ThumbnailAudioFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailAudioFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api
Methods in org.nuxeo.ecm.platform.audit.api with parameters of type DocumentModel Modifier and Type Method Description List<LogEntry>
DocumentHistoryReader. getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)
Retrieve a page ofLogEntry
for the history of the inputDocumentModel
PageProvider<LogEntry>
DocumentHistoryReader. getPageProvider(DocumentModel doc, long pageIndex, long pageSize)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api.comment
Fields in org.nuxeo.ecm.platform.audit.api.comment declared as DocumentModel Modifier and Type Field Description protected DocumentModel
LinkedDocument. document
Methods in org.nuxeo.ecm.platform.audit.api.comment that return DocumentModel Modifier and Type Method Description DocumentModel
LinkedDocument. getDocument()
Methods in org.nuxeo.ecm.platform.audit.api.comment with parameters of type DocumentModel Modifier and Type Method Description void
LinkedDocument. setDocument(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api.document
Fields in org.nuxeo.ecm.platform.audit.api.document declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SourceDocumentResolver. document
DocumentModel
SourceDocumentResolver. sourceDocument
Methods in org.nuxeo.ecm.platform.audit.api.document with parameters of type DocumentModel Modifier and Type Method Description List<LogEntry>
DocumentHistoryReaderImpl. getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)
PageProvider<LogEntry>
DocumentHistoryReaderImpl. getPageProvider(DocumentModel doc, long pageIndex, long pageSize)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.provider
Fields in org.nuxeo.ecm.platform.audit.provider with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
LatestCreatedUsersOrGroupsPageProvider. currentPage
Methods in org.nuxeo.ecm.platform.audit.provider that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
LatestCreatedUsersOrGroupsPageProvider. getCurrentPage()
-
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.service
Methods in org.nuxeo.ecm.platform.audit.service that return DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractAuditBackend. guardedDocument(CoreSession session, DocumentRef reference)
Methods in org.nuxeo.ecm.platform.audit.service with parameters of type DocumentModel Modifier and Type Method Description protected LogEntry
AbstractAuditBackend. doCreateAndFillEntryFromDocument(DocumentModel doc, Principal principal)
protected void
AbstractAuditBackend. doPutExtendedInfos(LogEntry entry, EventContext eventContext, DocumentModel source, Principal principal)
protected long
AbstractAuditBackend. doSyncNode(BaseLogEntryProvider provider, CoreSession session, DocumentModel node, boolean recurs)
protected void
AbstractAuditBackend. populateExtendedInfo(LogEntry entry, DocumentModel source, ExpressionContext context, Collection<ExtendedInfoDescriptor> extInfos)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.auth.saml.user
Methods in org.nuxeo.ecm.platform.auth.saml.user that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractUserResolver. createNuxeoUser(String nuxeoLogin)
abstract DocumentModel
AbstractUserResolver. updateUserInfo(DocumentModel user, SAMLCredential userInfo)
DocumentModel
EmailBasedUserResolver. updateUserInfo(DocumentModel user, SAMLCredential credential)
Methods in org.nuxeo.ecm.platform.auth.saml.user with parameters of type DocumentModel Modifier and Type Method Description abstract DocumentModel
AbstractUserResolver. updateUserInfo(DocumentModel user, SAMLCredential userInfo)
DocumentModel
EmailBasedUserResolver. updateUserInfo(DocumentModel user, SAMLCredential credential)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.api
Fields in org.nuxeo.ecm.platform.comment.api declared as DocumentModel Modifier and Type Field Description protected DocumentModel
CommentImpl. docModel
DocumentModel
storing theComment
metadata.Methods in org.nuxeo.ecm.platform.comment.api that return DocumentModel Modifier and Type Method Description DocumentModel
CommentableDocument. addComment(DocumentModel comment)
Creates a new comment.DocumentModel
CommentableDocument. addComment(DocumentModel comment, String path)
Creates a new comment in a specific location.DocumentModel
CommentableDocument. addComment(DocumentModel parent, DocumentModel comment)
Creates a new comment as a reply to an existing comment.DocumentModel
CommentManager. createComment(DocumentModel docModel, String comment)
Deprecated.CommentManager cannot find the author if invoked remotely so one should useCommentManager.createComment(DocumentModel, String, String)
DocumentModel
CommentManager. createComment(DocumentModel docModel, String comment, String author)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.createComment(CoreSession, Comment)
instead.DocumentModel
CommentManager. createComment(DocumentModel docModel, DocumentModel comment)
Creates a comment document model, filling its properties with given info and linking it to given document.DocumentModel
CommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.createComment(CoreSession, Comment)
instead.DocumentModel
CommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
Creates a comment document model.DocumentModel
Comment. getDocument()
Gets the document model backing this pojo.DocumentModel
CommentImpl. getDocument()
DocumentModel
CommentManager. getThreadForComment(DocumentModel comment)
Deprecated.since 11.1, unusedMethods in org.nuxeo.ecm.platform.comment.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
CommentableDocument. getComments()
Returns all comments for this document.List<DocumentModel>
CommentableDocument. getComments(DocumentModel parent)
Returns the comments for this document that are replied to a parent comment.List<DocumentModel>
CommentManager. getComments(CoreSession session, DocumentModel docModel)
Gets comments of a document.List<DocumentModel>
CommentManager. getComments(DocumentModel docModel)
Gets comments of a document.List<DocumentModel>
CommentManager. getComments(DocumentModel docModel, DocumentModel parent)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.getComments(DocumentModel)
instead.List<DocumentModel>
CommentManager. getDocumentsForComment(DocumentModel comment)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, only used with deprecated implementation, no replacement.Methods in org.nuxeo.ecm.platform.comment.api with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CommentableDocument. addComment(DocumentModel comment)
Creates a new comment.DocumentModel
CommentableDocument. addComment(DocumentModel comment, String path)
Creates a new comment in a specific location.DocumentModel
CommentableDocument. addComment(DocumentModel parent, DocumentModel comment)
Creates a new comment as a reply to an existing comment.static void
Comments. annotationToDocumentModel(Annotation annotation, DocumentModel documentModel)
Deprecated.since 11.1, unusedstatic void
Comments. commentToDocumentModel(Comment comment, DocumentModel documentModel)
Deprecated.since 11.1, useComment.getDocument()
withDocumentModelJsonReader
insteadDocumentModel
CommentManager. createComment(DocumentModel docModel, String comment)
Deprecated.CommentManager cannot find the author if invoked remotely so one should useCommentManager.createComment(DocumentModel, String, String)
DocumentModel
CommentManager. createComment(DocumentModel docModel, String comment, String author)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.createComment(CoreSession, Comment)
instead.DocumentModel
CommentManager. createComment(DocumentModel docModel, DocumentModel comment)
Creates a comment document model, filling its properties with given info and linking it to given document.DocumentModel
CommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.createComment(CoreSession, Comment)
instead.DocumentModel
CommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
Creates a comment document model.void
CommentManager. deleteComment(DocumentModel docModel, DocumentModel comment)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.deleteComment(CoreSession, String)
instead.static void
Comments. documentModelToAnnotation(DocumentModel documentModel, Annotation annotation)
Deprecated.since 11.1, unusedstatic void
Comments. documentModelToComment(DocumentModel documentModel, Comment comment)
Deprecated.since 11.1, unusedstatic void
Comments. documentModelToExternalEntity(DocumentModel documentModel, ExternalEntity entity)
Deprecated.since 11.1, unusedstatic void
Comments. externalEntityToDocumentModel(ExternalEntity entity, DocumentModel documentModel)
Deprecated.since 11.1, unusedComment
CommentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
List<DocumentModel>
CommentableDocument. getComments(DocumentModel parent)
Returns the comments for this document that are replied to a parent comment.List<DocumentModel>
CommentManager. getComments(CoreSession session, DocumentModel docModel)
Gets comments of a document.List<DocumentModel>
CommentManager. getComments(DocumentModel docModel)
Gets comments of a document.List<DocumentModel>
CommentManager. getComments(DocumentModel docModel, DocumentModel parent)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.getComments(DocumentModel)
instead.List<DocumentModel>
CommentManager. getDocumentsForComment(DocumentModel comment)
Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, only used with deprecated implementation, no replacement.DocumentModel
CommentManager. getThreadForComment(DocumentModel comment)
Deprecated.since 11.1, unusedstatic Annotation
Comments. newAnnotation(DocumentModel annotationModel)
Deprecated.since 11.1, usegetAdapter(Class)
withAnnotation
class insteadstatic Comment
Comments. newComment(DocumentModel commentModel)
Deprecated.since 11.1, usegetAdapter(Class)
withComment
class insteadvoid
CommentableDocument. removeComment(DocumentModel comment)
Removes a comment from the document comment list.void
CommentConverter. updateDocumentModel(DocumentModel docModel, DocumentModel comment)
Transforms the comment object into the document model.Constructors in org.nuxeo.ecm.platform.comment.api with parameters of type DocumentModel Constructor Description AnnotationImpl(DocumentModel docModel)
Constructor for the document adapter factory.CommentImpl(DocumentModel docModel)
Constructor for the document adapter factory. -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.impl
Fields in org.nuxeo.ecm.platform.comment.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModel
CommentableDocumentAdapter. docModel
Methods in org.nuxeo.ecm.platform.comment.impl that return DocumentModel Modifier and Type Method Description DocumentModel
CommentableDocumentAdapter. addComment(DocumentModel comment)
DocumentModel
CommentableDocumentAdapter. addComment(DocumentModel comment, String path)
DocumentModel
CommentableDocumentAdapter. addComment(DocumentModel parent, DocumentModel comment)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, String comment)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, String comment, String author)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, DocumentModel comment)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, String comment)
Deprecated.DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, String comment, String author)
Deprecated.DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, DocumentModel comment)
Deprecated.DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, String comment)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, String text, String author)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, DocumentModel commentModel)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
Deprecated.DocumentModel
TreeCommentManager. createComment(DocumentModel doc, String text)
DocumentModel
TreeCommentManager. createComment(DocumentModel doc, String text, String author)
DocumentModel
TreeCommentManager. createComment(DocumentModel commentedDoc, DocumentModel commentDoc)
DocumentModel
TreeCommentManager. createComment(DocumentModel doc, DocumentModel parent, DocumentModel child)
protected DocumentModel
CommentManagerImpl. createHiddenFolder(CoreSession session, String parentPath, String name)
Deprecated.DocumentModel
BridgeCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
DocumentModel
CommentManagerImpl. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
Deprecated.DocumentModel
PropertyCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
Deprecated.DocumentModel
TreeCommentManager. createLocatedComment(DocumentModel doc, DocumentModel comment, String path)
protected DocumentModel
AnnotationServiceImpl. getAnnotationModel(CoreSession session, String entityId)
Deprecated, for removal: This API element is subject to removal in a future version.since 11.1.protected DocumentModel
TreeCommentManager. getCommentDocumentModel(CoreSession session, String id)
protected abstract DocumentModel
AbstractCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
BridgeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
CommentManagerImpl. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
Deprecated.protected DocumentModel
PropertyCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
Deprecated.protected DocumentModel
TreeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
PropertyCommentManager. getExternalCommentModel(CoreSession session, String documentId, String entityId)
Deprecated.protected DocumentModel
TreeCommentManager. getExternalCommentModel(CoreSession session, String documentId, String entityId)
DocumentModel
BridgeCommentManager. getThreadForComment(DocumentModel comment)
DocumentModel
CommentManagerImpl. getThreadForComment(DocumentModel comment)
Deprecated.protected DocumentModel
PropertyCommentManager. getThreadForComment(CoreSession s, DocumentModel comment)
Deprecated.DocumentModel
PropertyCommentManager. getThreadForComment(DocumentModel comment)
Deprecated.DocumentModel
TreeCommentManager. getThreadForComment(DocumentModel comment)
protected abstract DocumentModel
AbstractCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
BridgeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
CommentManagerImpl. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)
Deprecated.protected DocumentModel
PropertyCommentManager. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)
Deprecated.protected DocumentModel
TreeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
CommentManagerImpl. internalCreateComment(CoreSession session, DocumentModel docModel, DocumentModel comment, String path)
Deprecated.Methods in org.nuxeo.ecm.platform.comment.impl that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
CommentManagerImpl. doPrivileged(CoreSession session, String repositoryName, Function<CoreSession,List<DocumentModel>> function)
Deprecated.protected PartialList<DocumentModel>
TreeCommentManager. getCommentDocuments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)
List<DocumentModel>
AbstractCommentManager. getComments(DocumentModel docModel)
List<DocumentModel>
AbstractCommentManager. getComments(DocumentModel docModel, DocumentModel parent)
List<DocumentModel>
BridgeCommentManager. getComments(CoreSession session, DocumentModel docModel)
List<DocumentModel>
BridgeCommentManager. getComments(DocumentModel docModel)
List<DocumentModel>
CommentableDocumentAdapter. getComments()
List<DocumentModel>
CommentableDocumentAdapter. getComments(DocumentModel parent)
List<DocumentModel>
CommentManagerImpl. getComments(CoreSession s, DocumentModel docModel)
Deprecated.List<DocumentModel>
PropertyCommentManager. getComments(CoreSession session, DocumentModel docModel)
Deprecated.List<DocumentModel>
PropertyCommentManager. getComments(DocumentModel docModel, DocumentModel parent)
Deprecated.List<DocumentModel>
TreeCommentManager. getComments(CoreSession session, DocumentModel doc)
List<DocumentModel>
BridgeCommentManager. getDocumentsForComment(DocumentModel comment)
List<DocumentModel>
CommentManagerImpl. getDocumentsForComment(DocumentModel comment)
Deprecated.List<DocumentModel>
PropertyCommentManager. getDocumentsForComment(DocumentModel comment)
Deprecated.List<DocumentModel>
TreeCommentManager. getDocumentsForComment(DocumentModel comment)
protected List<DocumentModel>
AnnotationServiceImpl. getPageProviderPage(String ppName, Map<String,Serializable> props, Object... parameters)
protected Stream<DocumentModel>
AnnotationServiceImpl. streamAnnotations(CoreSession session, String documentId, String xpath)
Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CommentableDocumentAdapter. addComment(DocumentModel comment)
DocumentModel
CommentableDocumentAdapter. addComment(DocumentModel comment, String path)
DocumentModel
CommentableDocumentAdapter. addComment(DocumentModel parent, DocumentModel comment)
int
CommentSorter. compare(DocumentModel doc1, DocumentModel doc2)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, String comment)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, String comment, String author)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, DocumentModel comment)
DocumentModel
BridgeCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, String comment)
Deprecated.DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, String comment, String author)
Deprecated.DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, DocumentModel comment)
Deprecated.DocumentModel
CommentManagerImpl. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, String comment)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, String text, String author)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, DocumentModel commentModel)
Deprecated.DocumentModel
PropertyCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)
Deprecated.DocumentModel
TreeCommentManager. createComment(DocumentModel doc, String text)
DocumentModel
TreeCommentManager. createComment(DocumentModel doc, String text, String author)
DocumentModel
TreeCommentManager. createComment(DocumentModel commentedDoc, DocumentModel commentDoc)
DocumentModel
TreeCommentManager. createComment(DocumentModel doc, DocumentModel parent, DocumentModel child)
DocumentModel
BridgeCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
DocumentModel
CommentManagerImpl. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
Deprecated.DocumentModel
PropertyCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)
Deprecated.DocumentModel
TreeCommentManager. createLocatedComment(DocumentModel doc, DocumentModel comment, String path)
void
BridgeCommentManager. deleteComment(DocumentModel docModel, DocumentModel comment)
void
CommentManagerImpl. deleteComment(DocumentModel docModel, DocumentModel comment)
Deprecated.void
PropertyCommentManager. deleteComment(DocumentModel docModel, DocumentModel comment)
Deprecated.void
TreeCommentManager. deleteComment(DocumentModel doc, DocumentModel comment)
Object
CommentableAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected DocumentRef
PropertyCommentManager. getAncestorRef(CoreSession session, DocumentModel documentModel)
Deprecated.protected NuxeoPrincipal
AbstractCommentManager. getAuthor(DocumentModel docModel)
protected abstract DocumentModel
AbstractCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
BridgeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
CommentManagerImpl. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
Deprecated.protected DocumentModel
PropertyCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
Deprecated.protected DocumentModel
TreeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)
List<DocumentModel>
AbstractCommentManager. getComments(DocumentModel docModel)
List<DocumentModel>
AbstractCommentManager. getComments(DocumentModel docModel, DocumentModel parent)
List<DocumentModel>
BridgeCommentManager. getComments(CoreSession session, DocumentModel docModel)
List<DocumentModel>
BridgeCommentManager. getComments(DocumentModel docModel)
List<DocumentModel>
CommentableDocumentAdapter. getComments(DocumentModel parent)
List<DocumentModel>
CommentManagerImpl. getComments(CoreSession s, DocumentModel docModel)
Deprecated.List<DocumentModel>
PropertyCommentManager. getComments(CoreSession session, DocumentModel docModel)
Deprecated.List<DocumentModel>
PropertyCommentManager. getComments(DocumentModel docModel, DocumentModel parent)
Deprecated.List<DocumentModel>
TreeCommentManager. getComments(CoreSession session, DocumentModel doc)
List<DocumentModel>
BridgeCommentManager. getDocumentsForComment(DocumentModel comment)
List<DocumentModel>
CommentManagerImpl. getDocumentsForComment(DocumentModel comment)
Deprecated.List<DocumentModel>
PropertyCommentManager. getDocumentsForComment(DocumentModel comment)
Deprecated.List<DocumentModel>
TreeCommentManager. getDocumentsForComment(DocumentModel comment)
protected DocumentRef
TreeCommentManager. getLocationRefOfCommentCreation(CoreSession session, DocumentModel commentedDoc)
Returns theDocumentRef
of the comments location in repository for the given commented document model.DocumentModel
BridgeCommentManager. getThreadForComment(DocumentModel comment)
DocumentModel
CommentManagerImpl. getThreadForComment(DocumentModel comment)
Deprecated.protected DocumentModel
PropertyCommentManager. getThreadForComment(CoreSession s, DocumentModel comment)
Deprecated.DocumentModel
PropertyCommentManager. getThreadForComment(DocumentModel comment)
Deprecated.DocumentModel
TreeCommentManager. getThreadForComment(DocumentModel comment)
protected abstract DocumentModel
AbstractCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
BridgeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)
protected DocumentModel
CommentManagerImpl. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)
Deprecated.protected DocumentModel
PropertyCommentManager. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)
Deprecated.protected DocumentModel
TreeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)
protected void
TreeCommentManager. handleNotificationAutoSubscriptions(CoreSession session, DocumentModel topLevelDoc, DocumentModel commentDoc)
protected boolean
TreeCommentManager. hasComments(CoreSession session, DocumentModel document)
Returnstrue
if the document has comments.protected boolean
TreeCommentManager. hasComments(CoreSession session, DocumentModel document, String user)
Returnstrue
if the documents has comments from the given user.protected DocumentModel
CommentManagerImpl. internalCreateComment(CoreSession session, DocumentModel docModel, DocumentModel comment, String path)
Deprecated.protected void
TreeCommentManager. manageRelatedTextOfTopLevelDocument(CoreSession session, DocumentModel topLevelDoc, String commentId, String commentText)
Manages (Add, Update or Remove) the related textFacetNames.HAS_RELATED_TEXT
of the top level document ancestorAbstractCommentManager.getTopLevelDocumentRef(CoreSession, DocumentRef)
for the given comment / annotation.protected void
AbstractCommentManager. notifyEvent(CoreSession session, String eventType, DocumentModel commentDoc)
Notifies the event of typeeventType
on the givencommentDoc
.protected void
AbstractCommentManager. notifyEvent(CoreSession session, String eventType, DocumentModel commentedDoc, DocumentModel commentDoc)
protected void
AbstractCommentManager. notifyEvent(CoreSession session, String eventType, DocumentModel topLevelDoc, DocumentModel commentedDoc, DocumentModel commentDoc)
void
CommentableDocumentAdapter. removeComment(DocumentModel comment)
protected void
AbstractCommentManager. setCommentPermissions(CoreSession session, DocumentModel documentModel)
Deprecated.since 11.1.protected void
AbstractCommentManager. setFolderPermissions(CoreSession session, DocumentModel documentModel)
protected void
TreeCommentManager. subscribeToNotifications(DocumentModel document, NuxeoPrincipal user)
Subscribes a user to notifications on the document.protected Comment
TreeCommentManager. update(CoreSession session, Comment comment, DocumentModel commentDoc)
void
CommentConverterImpl. updateDocumentModel(DocumentModel docModel, DocumentModel comment)
Method parameters in org.nuxeo.ecm.platform.comment.impl with type arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
CommentManagerImpl. doPrivileged(CoreSession session, String repositoryName, Function<CoreSession,List<DocumentModel>> function)
Deprecated.Constructors in org.nuxeo.ecm.platform.comment.impl with parameters of type DocumentModel Constructor Description CommentableDocumentAdapter(DocumentModel docModel)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.listener
Methods in org.nuxeo.ecm.platform.comment.listener with parameters of type DocumentModel Modifier and Type Method Description protected void
AbstractCommentListener. deleteCommentChildren(CoreSession coreSession, CommentManager commentManager, DocumentModel documentModel)
protected abstract void
AbstractCommentListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)
protected void
CommentRemovedEventListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)
protected void
DocumentRemovedCommentEventListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.workflow
Methods in org.nuxeo.ecm.platform.comment.workflow that return DocumentModel Modifier and Type Method Description DocumentModel
ModerateCommentOperation. run(DocumentModel doc)
DocumentModel
ModerateCommentOperation. run(DocumentRef docRef)
Methods in org.nuxeo.ecm.platform.comment.workflow with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
ModerateCommentOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.workflow.services
Methods in org.nuxeo.ecm.platform.comment.workflow.services with parameters of type DocumentModel Modifier and Type Method Description void
CommentsModerationService. approveComent(CoreSession session, DocumentModel document, String commentId)
Approve the comment with the given commentId.void
CommentsModerationServiceImpl. approveComent(CoreSession session, DocumentModel doc, String commentId)
Task
CommentsModerationServiceImpl. getModerationTask(TaskService taskService, CoreSession session, DocumentModel doc, String commentId)
protected void
CommentsModerationServiceImpl. notifyEvent(CoreSession session, String eventId, Map<String,Serializable> properties, String comment, String category, DocumentModel dm)
void
CommentsModerationService. publishComment(CoreSession session, DocumentModel comment)
Publish the given comment.void
CommentsModerationServiceImpl. publishComment(CoreSession session, DocumentModel comment)
void
CommentsModerationService. rejectComment(CoreSession session, DocumentModel document, String commentId)
Reject the comment with the given commentId.void
CommentsModerationServiceImpl. rejectComment(CoreSession session, DocumentModel doc, String commentId)
void
CommentsModerationService. startModeration(CoreSession session, DocumentModel document, String commentId, ArrayList<String> moderators)
Starts the moderation process on given Comment posted on a documentModel.void
CommentsModerationServiceImpl. startModeration(CoreSession session, DocumentModel doc, String commentID, ArrayList<String> moderators)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.computedgroups
Fields in org.nuxeo.ecm.platform.computedgroups declared as DocumentModel Modifier and Type Field Description protected DocumentModel
NuxeoComputedGroup. model
Methods in org.nuxeo.ecm.platform.computedgroups that return DocumentModel Modifier and Type Method Description DocumentModel
UserManagerWithComputedGroups. createGroup(DocumentModel groupModel, DocumentModel context)
protected DocumentModel
UserManagerWithComputedGroups. getComputedGroupAsDocumentModel(String grpName)
DocumentModel
UserManagerWithComputedGroups. getGroupModel(String groupName)
DocumentModel
NuxeoComputedGroup. getModel()
Methods in org.nuxeo.ecm.platform.computedgroups with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
UserManagerWithComputedGroups. createGroup(DocumentModel groupModel, DocumentModel context)
void
UserManagerWithComputedGroups. deleteGroup(String groupId, DocumentModel context)
NuxeoGroup
UserManagerWithComputedGroups. getGroup(String groupName, DocumentModel context)
protected NuxeoPrincipal
UserManagerWithComputedGroups. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)
DocumentModelList
UserManagerWithComputedGroups. searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
DocumentModelList
UserManagerWithComputedGroups. searchGroups(QueryBuilder queryBuilder, DocumentModel context)
void
UserManagerWithComputedGroups. updateGroup(DocumentModel groupModel, DocumentModel context)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.content.template.factories
Methods in org.nuxeo.ecm.platform.content.template.factories with parameters of type DocumentModel Modifier and Type Method Description void
ImportBasedFactory. createContentStructure(DocumentModel eventDoc)
void
SimpleTemplateBasedFactory. createContentStructure(DocumentModel eventDoc)
void
SimpleTemplateBasedRootFactory. createContentStructure(DocumentModel eventDoc)
protected boolean
BaseContentFactory. initSession(DocumentModel eventDoc)
protected boolean
SimpleTemplateBasedFactory. isTargetEmpty(DocumentModel eventDoc)
protected void
SimpleTemplateBasedFactory. setProperties(List<PropertyDescriptor> properties, DocumentModel doc)
protected boolean
SimpleTemplateBasedRootFactory. shouldInitAcl(DocumentModel rootDoc)
Checks if we should init the acl of the root document. -
Uses of DocumentModel in org.nuxeo.ecm.platform.content.template.service
Methods in org.nuxeo.ecm.platform.content.template.service with parameters of type DocumentModel Modifier and Type Method Description void
ContentFactory. createContentStructure(DocumentModel eventDoc)
void
ContentTemplateService. executeFactoryForType(DocumentModel createdDocument)
void
ContentTemplateServiceImpl. executeFactoryForType(DocumentModel createdDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.csv.export.io
Methods in org.nuxeo.ecm.platform.csv.export.io with parameters of type DocumentModel Modifier and Type Method Description protected void
DocumentModelCSVWriter. write(DocumentModel entity, org.apache.commons.csv.CSVPrinter printer)
protected void
DocumentModelCSVWriter. writeHeader(DocumentModel entity, org.apache.commons.csv.CSVPrinter printer)
protected void
DocumentModelCSVWriter. writeProperty(DocumentModel entity, String xpath, org.apache.commons.csv.CSVPrinter printer)
protected void
DocumentModelCSVWriter. writeSchema(DocumentModel entity, Schema schema, org.apache.commons.csv.CSVPrinter printer)
protected void
DocumentModelCSVWriter. writeSystem(DocumentModel doc, org.apache.commons.csv.CSVPrinter printer)
Method parameters in org.nuxeo.ecm.platform.csv.export.io with type arguments of type DocumentModel Modifier and Type Method Description protected void
DocumentModelListCSVWriter. write(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer)
protected void
DocumentModelListCSVWriter. writeHeader(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.dublincore.service
Methods in org.nuxeo.ecm.platform.dublincore.service with parameters of type DocumentModel Modifier and Type Method Description void
DublinCoreStorageService. addContributor(DocumentModel doc, Event event)
Adds a contributor to the document.void
DublinCoreStorageServiceImpl. addContributor(DocumentModel doc, Event event)
protected List<String>
DublinCoreStorageServiceImpl. getSanitizedExistingContributors(DocumentModel doc)
Returns a "Sanitized" list of contributors according to NXP-25005void
DublinCoreStorageService. setCreationDate(DocumentModel doc, Calendar creationDate)
Sets the document's creation date.default void
DublinCoreStorageService. setCreationDate(DocumentModel doc, Calendar creationDate, Event event)
Deprecated.since 10.2, use directlyDublinCoreStorageService.setCreationDate(DocumentModel, Calendar)
void
DublinCoreStorageServiceImpl. setCreationDate(DocumentModel doc, Calendar creationDate)
void
DublinCoreStorageService. setIssuedDate(DocumentModel doc, Calendar issuedDate)
Sets the document's issued date.void
DublinCoreStorageServiceImpl. setIssuedDate(DocumentModel doc, Calendar issuedDate)
void
DublinCoreStorageService. setModificationDate(DocumentModel doc, Calendar modificationDate)
Sets the document's modified date.default void
DublinCoreStorageService. setModificationDate(DocumentModel doc, Calendar modificationDate, Event event)
Deprecated.since 10.2, use directlyDublinCoreStorageService.setModificationDate(DocumentModel, Calendar)
void
DublinCoreStorageServiceImpl. setModificationDate(DocumentModel doc, Calendar modificationDate)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification
Fields in org.nuxeo.ecm.platform.ec.notification declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SubscriptionAdapter. doc
Methods in org.nuxeo.ecm.platform.ec.notification with parameters of type DocumentModel Modifier and Type Method Description void
SubscriptionAdapter. copySubscriptionsTo(DocumentModel targetDoc)
Copy the subscriptions of the current doc to the targetted document.Object
SubscriptionAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Constructors in org.nuxeo.ecm.platform.ec.notification with parameters of type DocumentModel Constructor Description SubscriptionAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.automation
Methods in org.nuxeo.ecm.platform.ec.notification.automation that return DocumentModel Modifier and Type Method Description DocumentModel
SubscribeOperation. run(DocumentModel doc)
DocumentModel
UnsubscribeOperation. run(DocumentModel doc)
Methods in org.nuxeo.ecm.platform.ec.notification.automation with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
SubscribeOperation. run(DocumentModel doc)
DocumentModel
UnsubscribeOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.io
Methods in org.nuxeo.ecm.platform.ec.notification.io with parameters of type DocumentModel Modifier and Type Method Description void
NotificationsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.service
Methods in org.nuxeo.ecm.platform.ec.notification.service that return DocumentModel Modifier and Type Method Description protected static DocumentModel
NotificationService. detachDocumentModel(DocumentModel doc)
Methods in org.nuxeo.ecm.platform.ec.notification.service that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
NotificationService. getSubscribedDocuments(String prefixedPrincipalName, String repositoryName)
Methods in org.nuxeo.ecm.platform.ec.notification.service with parameters of type DocumentModel Modifier and Type Method Description void
NotificationService. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)
void
NotificationService. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)
protected static DocumentModel
NotificationService. detachDocumentModel(DocumentModel doc)
protected void
NotificationService. disableEvents(DocumentModel doc)
List<String>
NotificationService. getSubscribers(String notification, DocumentModel doc)
List<String>
NotificationService. getSubscriptionsForUserOnDocument(String username, DocumentModel doc)
List<String>
NotificationService. getUsersSubscribedToNotificationOnDocument(String notification, DocumentModel doc)
void
NotificationService. removeSubscription(String username, String notification, DocumentModel doc)
void
NotificationService. removeSubscriptions(String username, List<String> notifications, DocumentModel doc)
protected void
NotificationService. restoreEvents(DocumentModel doc)
void
NotificationService. sendDocumentByMail(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.el
Methods in org.nuxeo.ecm.platform.el that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentPropertyContext. getDoc()
Constructors in org.nuxeo.ecm.platform.el with parameters of type DocumentModel Constructor Description DocumentPropertyContext(DocumentModel doc, String schema)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.api
Methods in org.nuxeo.ecm.platform.filemanager.api that return DocumentModel Modifier and Type Method Description DocumentModel
FileManager. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName)
Deprecated.since 10.10.DocumentModel
FileManager. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck)
Deprecated.since 10.10.default DocumentModel
FileManager. createFolder(CoreSession documentManager, String fullname, String path)
Deprecated.since 9.1, useFileManager.createFolder(CoreSession, String, String, boolean)
insteadDocumentModel
FileManager. createFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)
Creates a Folder.DocumentModel
FileManager. createOrUpdateDocument(FileImporterContext context)
Returns a created or updated document based on the givencontext
.DocumentModel
FileManager. updateDocumentFromBlob(CoreSession documentManager, Blob input, String path, String fullName)
Deprecated.since 10.10. -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.core.listener
Methods in org.nuxeo.ecm.platform.filemanager.core.listener with parameters of type DocumentModel Modifier and Type Method Description protected void
AbstractUnicityChecker. doUnicityCheck(DocumentModel doc2Check, CoreSession session, Event event)
protected abstract void
AbstractUnicityChecker. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
AsynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
SynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
AbstractUnicityChecker. raiseDuplicatedFileEvent(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs)
void
MimetypeIconUpdater. setDefaultIcon(DocumentModel doc)
If the icon field is empty, initialize it to the document type iconvoid
MimetypeIconUpdater. updateBlobProperty(DocumentModel doc, MimetypeRegistry mimetypeService, Property dirtyProperty)
Updates the mimetype of a blob along with the icon and size fields of the document if the blob is the main blob of the document.void
MimetypeIconUpdater. updateIconField(MimetypeEntry mimetypeEntry, DocumentModel doc)
Computes the main icon of a Nuxeo document based on the mime type of the main attached blob with of fallback on the document type generic icon. -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.service
Methods in org.nuxeo.ecm.platform.filemanager.service that return DocumentModel Modifier and Type Method Description DocumentModel
FileManagerService. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName)
DocumentModel
FileManagerService. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck)
DocumentModel
FileManagerService. createFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)
DocumentModel
FileManagerService. createOrUpdateDocument(FileImporterContext context)
DocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path)
Deprecated.since 9.1, useFileManagerService.defaultCreateFolder(CoreSession, String, String, boolean)
insteadDocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)
DocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes)
Deprecated.DocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes, boolean overwrite)
DocumentModel
FileManagerService. updateDocumentFromBlob(CoreSession documentManager, Blob input, String path, String fullName)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.service.extension
Methods in org.nuxeo.ecm.platform.filemanager.service.extension that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractFileImporter. create(CoreSession session, Blob content, String path, boolean overwrite, String fullname, TypeManager typeService)
DocumentModel
AbstractFolderImporter. create(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager)
DocumentModel
FileImporter. create(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService)
Deprecated.since 10.10.DocumentModel
FolderImporter. create(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager)
DocumentModel
AbstractFileImporter. createOrUpdate(FileImporterContext context)
DocumentModel
CSVZipImporter. createOrUpdate(FileImporterContext context)
DocumentModel
ExportedZipImporter. createOrUpdate(FileImporterContext context)
DocumentModel
FileImporter. createOrUpdate(FileImporterContext fileImporterContext)
Returns a created or updated document based on the givencontext
.Methods in org.nuxeo.ecm.platform.filemanager.service.extension with parameters of type DocumentModel Modifier and Type Method Description protected void
AbstractFileImporter. checkIn(DocumentModel doc)
Deprecated.since 9.1 automatic versioning is now handled at versioning service level, remove versioning behaviors from importersprotected void
AbstractFileImporter. checkInAfterAdd(DocumentModel doc)
Deprecated.since 9.1 automatic versioning is now handled at versioning service level, remove versioning behaviors from importersprotected void
AbstractFileImporter. createDocument(DocumentModel doc, String title)
Creates the document (sets its properties).protected Blob
AbstractFileImporter. getBlob(DocumentModel doc)
protected static UITypesConfiguration
DefaultFileImporter. getConfiguration(DocumentModel currentDoc)
protected String
AbstractFileImporter. getDocType(DocumentModel container)
Gets the doc type to use in the given container.String
DefaultFileImporter. getDocType(DocumentModel container)
static String
DefaultFileImporter. getTypeName(DocumentModel currentDoc)
protected void
AbstractFileImporter. updateDocument(DocumentModel doc, Blob content)
Updates the document (sets its properties).void
NoteImporter. updateDocument(DocumentModel doc, Blob content)
protected boolean
AbstractFileImporter. updateDocumentIfPossible(DocumentModel doc, Blob content)
Tries to update the documentdoc
with the blobcontent
.boolean
NoteImporter. updateDocumentIfPossible(DocumentModel doc, Blob content)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.utils
Methods in org.nuxeo.ecm.platform.filemanager.utils that return DocumentModel Modifier and Type Method Description static DocumentModel
FileManagerUtils. getExistingDocByFileName(CoreSession documentManager, String path, String filename)
Looks if an existing Document with the same filename exists.static DocumentModel
FileManagerUtils. getExistingDocByPropertyName(CoreSession documentManager, String path, String value, String propertyName)
Looks if an existing Document has the same value for a given property.static DocumentModel
FileManagerUtils. getExistingDocByTitle(CoreSession documentManager, String path, String title)
Looks if an existing Document with the same title exists. -
Uses of DocumentModel in org.nuxeo.ecm.platform.htmlsanitizer
Methods in org.nuxeo.ecm.platform.htmlsanitizer with parameters of type DocumentModel Modifier and Type Method Description void
HtmlSanitizerService. sanitizeDocument(DocumentModel doc)
Sanitizes a document's fields, depending on the service configuration.void
HtmlSanitizerServiceImpl. sanitizeDocument(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.base
Fields in org.nuxeo.ecm.platform.importer.base declared as DocumentModel Modifier and Type Field Description protected DocumentModel
GenericThreadedImportTask. rootDoc
protected DocumentModel
GenericMultiThreadedImporter. targetContainer
Methods in org.nuxeo.ecm.platform.importer.base that return DocumentModel Modifier and Type Method Description protected DocumentModel
GenericMultiThreadedImporter. createTargetContainer()
Creates the target container where the import will // TODO Auto-generated constructor stub }be done.protected DocumentModel
GenericThreadedImportTask. doCreateFolderishNode(DocumentModel parent, SourceNode node)
protected DocumentModel
GenericThreadedImportTask. doCreateLeafNode(DocumentModel parent, SourceNode node)
protected DocumentModel
GenericMultiThreadedImporter. getTargetContainer()
Methods in org.nuxeo.ecm.platform.importer.base with parameters of type DocumentModel Modifier and Type Method Description protected GenericThreadedImportTask
GenericThreadedImportTask. createNewTask(DocumentModel parent, SourceNode node, ImporterLogger log, Integer batchSize)
protected GenericThreadedImportTask
GenericThreadedImportTask. createNewTaskIfNeeded(DocumentModel parent, SourceNode node)
protected DocumentModel
GenericThreadedImportTask. doCreateFolderishNode(DocumentModel parent, SourceNode node)
protected DocumentModel
GenericThreadedImportTask. doCreateLeafNode(DocumentModel parent, SourceNode node)
protected GenericThreadedImportTask
GenericMultiThreadedImporter. initRootTask(SourceNode importSource, DocumentModel targetContainer, boolean skipRootContainerCreation, ImporterLogger log, Integer batchSize, String jobName)
protected void
GenericThreadedImportTask. recursiveCreateDocumentFromNode(DocumentModel parent, SourceNode node)
protected void
GenericThreadedImportTask. setRootDoc(DocumentModel rootDoc)
void
GenericThreadedImportTask. setTargetFolder(DocumentModel rootDoc)
Constructors in org.nuxeo.ecm.platform.importer.base with parameters of type DocumentModel Constructor Description GenericThreadedImportTask(String repositoryName, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy, String jobName)
GenericThreadedImportTask(CoreSession session, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.factories
Methods in org.nuxeo.ecm.platform.importer.factories that return DocumentModel Modifier and Type Method Description DocumentModel
DefaultDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
FileManagerDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ImporterDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
DefaultDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
FileManagerDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ImporterDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
DefaultDocumentModelFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
AbstractDocumentModelFactory. setDocumentProperties(CoreSession session, Map<String,Serializable> properties, DocumentModel doc)
Set all the properties to the givendoc
.Methods in org.nuxeo.ecm.platform.importer.factories with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
DefaultDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
FileManagerDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ImporterDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
DefaultDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
FileManagerDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ImporterDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
DefaultDocumentModelFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
boolean
AbstractDocumentModelFactory. processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
By default there is no process bound to a folderish node creation error, and the global import task will continue.boolean
ImporterDocumentModelFactory. processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
Defines the process to execute when a folderish node creation error occurs.boolean
AbstractDocumentModelFactory. processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
By default there is no process bound to a leaf node creation error, and the global import task will continue.boolean
ImporterDocumentModelFactory. processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
Defines the process to execute when a leaf node creation error occurs.protected DocumentModel
AbstractDocumentModelFactory. setDocumentProperties(CoreSession session, Map<String,Serializable> properties, DocumentModel doc)
Set all the properties to the givendoc
. -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.properties
Fields in org.nuxeo.ecm.platform.importer.properties declared as DocumentModel Modifier and Type Field Description protected DocumentModel
MetadataFile. doc
Methods in org.nuxeo.ecm.platform.importer.properties with parameters of type DocumentModel Modifier and Type Method Description static MetadataFile
MetadataFile. createFromDocument(DocumentModel doc)
Create aMetadataFile
from aDocumentModel
's schemas.static MetadataFile
MetadataFile. createFromProperties(DocumentModel doc, List<String> properties)
Create aMetadataFile
from the listed properties of aDocumentModel
static MetadataFile
MetadataFile. createFromSchemas(DocumentModel doc, List<String> allPropertiesSchemas)
Create aMetadataFile
from the listed schemas (with all properties) of aDocumentModel
static MetadataFile
MetadataFile. createFromSchemasAndProperties(DocumentModel doc, List<String> allPropertiesSchemas, List<String> properties)
Create aMetadataFile
from the listed schemas (with all properties) and the listed properties of aDocumentModel
Constructors in org.nuxeo.ecm.platform.importer.properties with parameters of type DocumentModel Constructor Description MetadataFile(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.threading
Methods in org.nuxeo.ecm.platform.importer.threading with parameters of type DocumentModel Modifier and Type Method Description boolean
DefaultMultiThreadingPolicy. needToCreateThreadAfterNewFolderishNode(DocumentModel parent, SourceNode node, long uploadedSources, int batchSize, int scheduledTasks)
boolean
ImporterThreadingPolicy. needToCreateThreadAfterNewFolderishNode(DocumentModel parent, SourceNode node, long uploadedSources, int batchSize, int scheduledTasks)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.xml.parser
Fields in org.nuxeo.ecm.platform.importer.xml.parser declared as DocumentModel Modifier and Type Field Description protected DocumentModel
XMLImporterServiceImpl. rootDoc
Fields in org.nuxeo.ecm.platform.importer.xml.parser with type parameters of type DocumentModel Modifier and Type Field Description protected Stack<DocumentModel>
MVELImporterFunction. docsStack
protected Stack<DocumentModel>
XMLImporterServiceImpl. docsStack
protected Map<org.dom4j.Element,DocumentModel>
MVELImporterFunction. elToDoc
protected Map<org.dom4j.Element,DocumentModel>
XMLImporterServiceImpl. elToDoc
Methods in org.nuxeo.ecm.platform.importer.xml.parser that return DocumentModel Modifier and Type Method Description DocumentModel
AdvancedScannedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
MVELImporterFunction. mkdir(DocumentModel parent, String regexp, String data, String typeName)
Methods in org.nuxeo.ecm.platform.importer.xml.parser that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile, boolean deferSave)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)
List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source)
ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source, boolean deferSave)
ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)
Same asXMLImporterService.importDocuments(DocumentModel, File)
with map injected into mvel contexts used during parsingList<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)
List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream)
ImportsDocumentModel
in Nuxeo from an XML Stream.List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)
Same asXMLImporterService.importDocuments(DocumentModel, InputStream)
with map injected into mvel contexts used during parsingList<DocumentModel>
XMLImporterServiceImpl. parse(File file)
List<DocumentModel>
XMLImporterServiceImpl. parse(InputStream is)
List<DocumentModel>
XMLImporterServiceImpl. parse(org.dom4j.Document doc)
Methods in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
AdvancedScannedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile, boolean deferSave)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream)
List<DocumentModel>
XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)
List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source)
ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source, boolean deferSave)
ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)
Same asXMLImporterService.importDocuments(DocumentModel, File)
with map injected into mvel contexts used during parsingList<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)
List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream)
ImportsDocumentModel
in Nuxeo from an XML Stream.List<DocumentModel>
XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)
Same asXMLImporterService.importDocuments(DocumentModel, InputStream)
with map injected into mvel contexts used during parsingDocumentModel
MVELImporterFunction. mkdir(DocumentModel parent, String regexp, String data, String typeName)
protected void
XMLImporterServiceImpl. processDocAttributes(DocumentModel doc, org.dom4j.Element el, AttributeConfigDescriptor conf)
Constructors in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type DocumentModel Constructor Description XMLImporterServiceImpl(DocumentModel rootDoc, ParserConfigRegistry registry)
XMLImporterServiceImpl(DocumentModel rootDoc, ParserConfigRegistry registry, Map<String,Object> mvelContext, boolean deferSave)
Constructor parameters in org.nuxeo.ecm.platform.importer.xml.parser with type arguments of type DocumentModel Constructor Description MVELImporterFunction(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element,DocumentModel> elToDoc, org.dom4j.Element el)
MVELImporterFunction(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element,DocumentModel> elToDoc, org.dom4j.Element el)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.io.operation
Methods in org.nuxeo.ecm.platform.io.operation with parameters of type DocumentModel Modifier and Type Method Description protected DocumentReader
ExportDocument. makeDocumentReader(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip)
Blob
ExportDocument. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.login.deputy.management
Methods in org.nuxeo.ecm.platform.login.deputy.management that return DocumentModel Modifier and Type Method Description protected DocumentModel
DeputyManagementStorageService. newEntry(String username, String deputy)
DocumentModel
DeputyManagementStorageService. newMandate(String username, String deputy)
DocumentModel
DeputyManagementStorageService. newMandate(String username, String deputy, Calendar start, Calendar end)
DocumentModel
DeputyManager. newMandate(String username, String deputy)
DocumentModel
DeputyManager. newMandate(String username, String deputy, Calendar start, Calendar end)
Methods in org.nuxeo.ecm.platform.login.deputy.management that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
DeputyManagementStorageService. getAvalaibleMandates(String userName)
List<DocumentModel>
DeputyManager. getAvalaibleMandates(String userName)
Methods in org.nuxeo.ecm.platform.login.deputy.management with parameters of type DocumentModel Modifier and Type Method Description void
DeputyManagementStorageService. addMandate(DocumentModel entry)
void
DeputyManager. addMandate(DocumentModel entry)
protected String
DeputyManagementStorageService. id(DocumentModel entry)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.adapter
Methods in org.nuxeo.ecm.platform.mail.adapter with parameters of type DocumentModel Modifier and Type Method Description BlobHolder
MailMessageBlobHolderfactory. getBlobHolder(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.mail.adapter with parameters of type DocumentModel Constructor Description MailMessageBlobHolder(DocumentModel doc, String xPath, String filename)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.listener.action
Constructors in org.nuxeo.ecm.platform.mail.listener.action with parameters of type DocumentModel Constructor Description UnrestrictedCreateDocument(DocumentModel document, CoreSession session, Map<String,String> names)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.operations
Methods in org.nuxeo.ecm.platform.mail.operations with parameters of type DocumentModel Modifier and Type Method Description void
MailCheckInboxOperation. run(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.utils
Methods in org.nuxeo.ecm.platform.mail.utils with parameters of type DocumentModel Modifier and Type Method Description static void
MailCoreHelper. checkMail(DocumentModel currentMailFolder, CoreSession coreSession)
Creates MailMessage documents for every unread mail found in the INBOX.protected static void
MailCoreHelper. doCheckMail(DocumentModel currentMailFolder, CoreSession coreSession)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.notification.api
Methods in org.nuxeo.ecm.platform.notification.api that return types with arguments of type DocumentModel Modifier and Type Method Description default List<DocumentModel>
NotificationManager. getSubscribedDocuments(String prefixedPrincipalName)
Deprecated.since 9.1, useNotificationManager.getSubscribedDocuments(String, String)
insteadList<DocumentModel>
NotificationManager. getSubscribedDocuments(String prefixedPrincipalName, String respositoryName)
Returns the list of live docs the user is subscribed to in the given repository .Methods in org.nuxeo.ecm.platform.notification.api with parameters of type DocumentModel Modifier and Type Method Description void
NotificationManager. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)
Called when a user subscribes to a notification.void
NotificationManager. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)
List<String>
NotificationManager. getSubscribers(String notification, DocumentModel doc)
Gets the users that subscribed to a notification on a certain document.List<String>
NotificationManager. getSubscriptionsForUserOnDocument(String username, DocumentModel doc)
Gets the notifications for which a user subscribed for a certain document.List<String>
NotificationManager. getUsersSubscribedToNotificationOnDocument(String notification, DocumentModel doc)
Gets all users and groups that subscribed to a notification on a document This is used in management of subscritptions.void
NotificationManager. removeSubscription(String username, String notification, DocumentModel doc)
Called when a user cancels his notification.void
NotificationManager. removeSubscriptions(String username, List<String> notifications, DocumentModel doc)
void
NotificationManager. sendDocumentByMail(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo)
Sends an e-mail directly. -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth.consumers
Methods in org.nuxeo.ecm.platform.oauth.consumers that return DocumentModel Modifier and Type Method Description protected DocumentModel
NuxeoOAuthConsumer. asDocumentModel(DocumentModel entry)
Methods in org.nuxeo.ecm.platform.oauth.consumers with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModel
NuxeoOAuthConsumer. asDocumentModel(DocumentModel entry)
static NuxeoOAuthConsumer
NuxeoOAuthConsumer. createFromDirectoryEntry(DocumentModel entry, String keyType)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth.providers
Methods in org.nuxeo.ecm.platform.oauth.providers that return DocumentModel Modifier and Type Method Description protected DocumentModel
NuxeoOAuthServiceProvider. asDocumentModel(DocumentModel entry)
protected DocumentModel
OAuthServiceProviderRegistryImpl. getBestEntry(DocumentModelList entries, String gadgetUri, String serviceName)
Methods in org.nuxeo.ecm.platform.oauth.providers with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModel
NuxeoOAuthServiceProvider. asDocumentModel(DocumentModel entry)
static NuxeoOAuthServiceProvider
NuxeoOAuthServiceProvider. createFromDirectoryEntry(DocumentModel entry)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth.tokens
Methods in org.nuxeo.ecm.platform.oauth.tokens with parameters of type DocumentModel Modifier and Type Method Description protected NuxeoOAuthToken
OAuthTokenStoreImpl. getTokenFromDirectoryEntry(DocumentModel entry)
void
NuxeoOAuthToken. updateEntry(DocumentModel entry)
Constructors in org.nuxeo.ecm.platform.oauth.tokens with parameters of type DocumentModel Constructor Description NuxeoOAuthToken(DocumentModel entry)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.clients
Methods in org.nuxeo.ecm.platform.oauth2.clients that return DocumentModel Modifier and Type Method Description static DocumentModel
OAuth2Client. fromOAuth2Client(OAuth2Client oAuth2Client)
Creates aDocumentModel
from anOAuth2Client
.protected DocumentModel
OAuth2ClientServiceImpl. getClientModel(String clientId)
protected DocumentModel
OAuth2ClientServiceImpl. getDocument(String clientId)
Gets the document model from a givenclientId
static DocumentModel
OAuth2Client. updateDocument(DocumentModel documentModel, OAuth2Client oAuth2Client)
Updates theDocumentModel
by theOAuth2Client
.Methods in org.nuxeo.ecm.platform.oauth2.clients that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
OAuth2ClientServiceImpl. queryClients()
Methods in org.nuxeo.ecm.platform.oauth2.clients with parameters of type DocumentModel Modifier and Type Method Description static OAuth2Client
OAuth2Client. fromDocumentModel(DocumentModel doc)
static DocumentModel
OAuth2Client. updateDocument(DocumentModel documentModel, OAuth2Client oAuth2Client)
Updates theDocumentModel
by theOAuth2Client
. -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.openid.auth
Methods in org.nuxeo.ecm.platform.oauth2.openid.auth that return DocumentModel Modifier and Type Method Description protected DocumentModel
UserResolver. createNuxeoUser(String nuxeoLogin)
DocumentModel
EmailBasedUserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
DocumentModel
StoredUserInfoResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
protected DocumentModel
UserMapperResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
protected abstract DocumentModel
UserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
Methods in org.nuxeo.ecm.platform.oauth2.openid.auth with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
EmailBasedUserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
DocumentModel
StoredUserInfoResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
protected DocumentModel
UserMapperResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
protected abstract DocumentModel
UserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.providers
Methods in org.nuxeo.ecm.platform.oauth2.providers that return DocumentModel Modifier and Type Method Description protected DocumentModel
OAuth2ServiceProviderRegistryImpl. getProviderDocModel(String serviceName)
Methods in org.nuxeo.ecm.platform.oauth2.providers that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
OAuth2ServiceProviderRegistryImpl. queryProviders(Map<String,Serializable> filter, int limit)
Methods in org.nuxeo.ecm.platform.oauth2.providers with parameters of type DocumentModel Modifier and Type Method Description protected OAuth2ServiceProvider
OAuth2ServiceProviderRegistryImpl. buildProvider(DocumentModel entry)
Instantiates the provider merging the contribution and the directory entry -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.tokens
Methods in org.nuxeo.ecm.platform.oauth2.tokens that return DocumentModel Modifier and Type Method Description protected DocumentModel
OAuth2TokenStore. find(Map<String,Serializable> filter)
Methods in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type DocumentModel Modifier and Type Method Description static com.google.api.client.auth.oauth2.StoredCredential
NuxeoOAuth2Token. asCredential(DocumentModel entry)
protected NuxeoOAuth2Token
OAuth2TokenStore. getTokenFromDirectoryEntry(DocumentModel entry)
NuxeoOAuth2Token
OAuth2TokenStore. refresh(DocumentModel entry, NuxeoOAuth2Token token)
void
NuxeoOAuth2Token. updateEntry(DocumentModel entry)
Constructors in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type DocumentModel Constructor Description NuxeoOAuth2Token(DocumentModel entry)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.pdf
Methods in org.nuxeo.ecm.platform.pdf that return DocumentModel Modifier and Type Method Description DocumentModel
PDFInfo. toFields(DocumentModel inDoc, HashMap<String,String> inMapping, boolean inSave, CoreSession inSession)
TheinMapping
map is an HashMap where the key is the xpath of the destination field, and the value is the exact label of a PDF info as returned bytoHashMap()
.Methods in org.nuxeo.ecm.platform.pdf with parameters of type DocumentModel Modifier and Type Method Description void
PDFMerge. addBlob(DocumentModel inDoc, String inXPath)
DocumentModel
PDFInfo. toFields(DocumentModel inDoc, HashMap<String,String> inMapping, boolean inSave, CoreSession inSession)
TheinMapping
map is an HashMap where the key is the xpath of the destination field, and the value is the exact label of a PDF info as returned bytoHashMap()
.Constructors in org.nuxeo.ecm.platform.pdf with parameters of type DocumentModel Constructor Description PDFInfo(DocumentModel inDoc)
Constructor with a DocumentModel.PDFInfo(DocumentModel inDoc, String inXPath, String inPassword)
Constructor for DocumentModel + encrypted PDFPDFMerge(DocumentModel inDoc, String inXPath)
PDFPageExtractor(DocumentModel inDoc, String inXPath)
Constructor with aDocumentModel
.PDFPageNumbering(DocumentModel inDoc, String inXPath)
PDFTextExtractor(DocumentModel inDoc, String inXPath)
Constructor with aDocumentModel
. -
Uses of DocumentModel in org.nuxeo.ecm.platform.pdf.operations
Methods in org.nuxeo.ecm.platform.pdf.operations that return DocumentModel Modifier and Type Method Description DocumentModel
PDFExtractInfoOperation. run(DocumentModel inDoc)
DocumentModel
PDFExtractTextOperation. run(DocumentModel input)
Methods in org.nuxeo.ecm.platform.pdf.operations with parameters of type DocumentModel Modifier and Type Method Description BlobList
PDFConvertToPicturesOperation. run(DocumentModel inDoc)
Blob
PDFEncryptOperation. run(DocumentModel inDoc)
Blob
PDFEncryptReadOnlyOperation. run(DocumentModel inDoc)
DocumentModel
PDFExtractInfoOperation. run(DocumentModel inDoc)
Blob
PDFExtractPagesOperation. run(DocumentModel inDoc)
DocumentModel
PDFExtractTextOperation. run(DocumentModel input)
Blob
PDFMergeDocumentsOperation. run(DocumentModel inDoc)
Blob
PDFRemoveEncryptionOperation. run(DocumentModel inDoc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture
Methods in org.nuxeo.ecm.platform.picture with parameters of type DocumentModel Modifier and Type Method Description protected Blob
ImagingComponent. callPictureConversionChain(DocumentModel doc, Blob blob, PictureConversion pictureConversion, ImageInfo imageInfo, Point size, String conversionFormat)
protected boolean
ImagingComponent. canApplyPictureConversion(PictureConversion pictureConversion, DocumentModel doc)
protected PictureView
ImagingComponent. computeView(DocumentModel doc, Blob blob, PictureConversion pictureConversion, ImageInfo imageInfo)
protected PictureView
ImagingComponent. computeView(DocumentModel doc, Blob blob, PictureConversion pictureConversion, ImageInfo imageInfo, boolean convert)
List<PictureView>
ImagingComponent. computeViewsFor(DocumentModel doc, Blob blob, ImageInfo imageInfo, boolean convert)
protected ActionContext
ImagingComponent. createActionContext(DocumentModel doc)
protected void
PictureViewsGenerationWork. firePictureViewsGenerationDoneEvent(DocumentModel doc)
Deprecated.Fire aPICTURE_VIEWS_GENERATION_DONE_EVENT
boolean
PictureViewsHelper. hasPrefillPictureViews(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.api
Methods in org.nuxeo.ecm.platform.picture.api with parameters of type DocumentModel Modifier and Type Method Description List<PictureView>
ImagingService. computeViewsFor(DocumentModel doc, Blob blob, ImageInfo imageInfo, boolean convert)
Compute all the registeredPictureConversion
For each picture template theImagingService.computeViewFor(Blob, PictureConversion, ImageInfo, boolean)
method is call -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.api.adapters
Fields in org.nuxeo.ecm.platform.picture.api.adapters declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractPictureAdapter. doc
Methods in org.nuxeo.ecm.platform.picture.api.adapters with parameters of type DocumentModel Modifier and Type Method Description Object
MultiviewPictureAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Object
NoPictureResourceAdapterFactory. getAdapter(DocumentModel doc, Class<?> cls)
Deprecated.Object
PictureResourceAdapterFactory. getAdapter(DocumentModel doc, Class<?> cls)
BlobHolder
PictureBlobHolderFactory. getBlobHolder(DocumentModel doc)
void
AbstractPictureAdapter. setDocumentModel(DocumentModel doc)
void
PictureResourceAdapter. setDocumentModel(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.picture.api.adapters with parameters of type DocumentModel Constructor Description MultiviewPictureAdapter(DocumentModel docModel)
PictureBlobHolder(DocumentModel doc, String path)
PictureBookBlobHolder(DocumentModel doc, String xPath)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.extension
Methods in org.nuxeo.ecm.platform.picture.extension with parameters of type DocumentModel Modifier and Type Method Description void
ImagePlugin. updateDocument(DocumentModel doc, Blob content)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.listener
Methods in org.nuxeo.ecm.platform.picture.listener that return DocumentModel Modifier and Type Method Description protected DocumentModel
PictureChangedListener. getParentDocument(CoreSession session, DocumentModel doc)
Methods in org.nuxeo.ecm.platform.picture.listener with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModel
PictureChangedListener. getParentDocument(CoreSession session, DocumentModel doc)
protected void
PictureChangedListener. preFillPictureViews(CoreSession session, DocumentModel doc)
protected boolean
PictureChangedListener. triggersPictureViewsGeneration(Event event, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.operation
Methods in org.nuxeo.ecm.platform.picture.operation that return DocumentModel Modifier and Type Method Description DocumentModel
CreatePicture. run(DocumentModel doc)
DocumentModel
CreatePicture. run(DocumentRef doc)
Methods in org.nuxeo.ecm.platform.picture.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CreatePicture. run(DocumentModel doc)
Blob
GetPictureView. run(DocumentModel doc)
Blob
PictureResize. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.preview.adapter.factories
Methods in org.nuxeo.ecm.platform.picture.preview.adapter.factories with parameters of type DocumentModel Modifier and Type Method Description HtmlPreviewAdapter
PicturePreviewAdapterFactory. getAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.recompute
Methods in org.nuxeo.ecm.platform.picture.recompute with parameters of type DocumentModel Modifier and Type Method Description protected void
RecomputeViewsAction.RecomputeViewsComputation. fireEvent(CoreSession session, DocumentModel document, String eventName)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.rendition
Methods in org.nuxeo.ecm.platform.picture.rendition with parameters of type DocumentModel Modifier and Type Method Description List<RenditionDefinition>
PictureRenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)
boolean
PictureRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)
List<Blob>
PictureRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.thumbnail
Methods in org.nuxeo.ecm.platform.picture.thumbnail with parameters of type DocumentModel Modifier and Type Method Description Blob
ThumbnailPictureFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailPictureFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.adapter
Methods in org.nuxeo.ecm.platform.preview.adapter with parameters of type DocumentModel Modifier and Type Method Description HtmlPreviewAdapter
PreviewAdapterFactory. getAdapter(DocumentModel doc)
HtmlPreviewAdapter
PreviewAdapterManager. getAdapter(DocumentModel doc)
HtmlPreviewAdapter
PreviewAdapterManagerComponent. getAdapter(DocumentModel doc)
Object
PreviewDocumentModelAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
List<Blob>
MimeTypePreviewer. getPreview(Blob blob, DocumentModel dm)
List<Blob>
PlainImagePreviewer. getPreview(Blob blob, DocumentModel dm)
Deprecated.List<Blob>
PlainTextPreviewer. getPreview(Blob blob, DocumentModel dm)
List<Blob>
ZipPreviewer. getPreview(Blob blob, DocumentModel dm)
protected String
AbstractPreviewer. getPreviewTitle(DocumentModel dm)
boolean
PreviewAdapterManager. hasAdapter(DocumentModel doc)
boolean
PreviewAdapterManagerComponent. hasAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.adapter.base
Fields in org.nuxeo.ecm.platform.preview.adapter.base declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractHtmlPreviewAdapter. adaptedDoc
Methods in org.nuxeo.ecm.platform.preview.adapter.base with parameters of type DocumentModel Modifier and Type Method Description void
AbstractHtmlPreviewAdapter. setAdaptedDocument(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.adapter.factories
Methods in org.nuxeo.ecm.platform.preview.adapter.factories with parameters of type DocumentModel Modifier and Type Method Description HtmlPreviewAdapter
BlobHolderPreviewAdapterFactory. getAdapter(DocumentModel doc)
HtmlPreviewAdapter
FileBasedPreviewAdapterFactory. getAdapter(DocumentModel doc)
HtmlPreviewAdapter
NotePreviewAdapter. getAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.api
Methods in org.nuxeo.ecm.platform.preview.api with parameters of type DocumentModel Modifier and Type Method Description void
HtmlPreviewAdapter. setAdaptedDocument(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.helper
Methods in org.nuxeo.ecm.platform.preview.helper with parameters of type DocumentModel Modifier and Type Method Description static boolean
PreviewHelper. blobSupportsPreview(DocumentModel doc, String xpath)
static boolean
PreviewHelper. docHasBlobToPreview(DocumentModel document)
static HtmlPreviewAdapter
PreviewHelper. getBlobPreviewAdapter(DocumentModel doc)
static String
PreviewHelper. getPreviewURL(DocumentModel doc)
static String
PreviewHelper. getPreviewURL(DocumentModel doc, String xpath)
static boolean
PreviewHelper. typeSupportsPreview(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.io
Methods in org.nuxeo.ecm.platform.preview.io with parameters of type DocumentModel Modifier and Type Method Description void
PreviewJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.work
Methods in org.nuxeo.ecm.platform.preview.work with parameters of type DocumentModel Modifier and Type Method Description protected String
PreviewWork. getSourceId(DocumentModel doc)
Returns the identifier of the object to render, could be the main blob or a doc.Constructors in org.nuxeo.ecm.platform.preview.work with parameters of type DocumentModel Constructor Description PreviewWork(DocumentModel doc, String xpath, boolean blobPostProcessing)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.api
Methods in org.nuxeo.ecm.platform.publisher.api that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractBasePublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)
DocumentModel
PublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)
Methods in org.nuxeo.ecm.platform.publisher.api with parameters of type DocumentModel Modifier and Type Method Description PublicationTree
PublisherService. getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params, DocumentModel currentDocument)
PublicationTree
PublisherService. getPublicationTreeFor(DocumentModel doc, CoreSession coreSession)
String[]
AbstractBasePublishedDocumentFactory. getValidatorsFor(DocumentModel dm)
String[]
PublishedDocumentFactory. getValidatorsFor(DocumentModel dm)
Computes the list of publishing validators given the document model of the document just published.boolean
AbstractBasePublicationTree. isPublicationNode(DocumentModel documentModel)
boolean
PublicationTree. isPublicationNode(DocumentModel documentModel)
Returnstrue
if the givendocumentModel
is a PublicationNode of the current tree,false
otherwise.boolean
PublisherService. isPublishedDocument(DocumentModel documentModel)
protected boolean
AbstractBasePublishedDocumentFactory. needToVersionDocument(DocumentModel doc)
protected void
AbstractBasePublishedDocumentFactory. notifyEvent(String eventId, Map<String,Serializable> properties, String comment, String category, DocumentModel dm, CoreSession coreSession)
protected void
AbstractBasePublishedDocumentFactory. notifyEvent(PublishingEvent event, DocumentModel doc, CoreSession coreSession)
PublishedDocument
AbstractBasePublicationTree. publish(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
AbstractBasePublicationTree. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
PublishedDocument
PublicationTree. publish(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
PublicationTree. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
PublishedDocument
PublisherService. publish(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
PublisherService. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
PublishedDocument
AbstractBasePublishedDocumentFactory. publishDocument(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
PublishedDocumentFactory. publishDocument(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
PublishedDocumentFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
void
AbstractBasePublicationTree. setCurrentDocument(DocumentModel currentDocument)
void
PublicationTree. setCurrentDocument(DocumentModel currentDocument)
Sets the current document on which the tree will be based, if needed.DocumentModel
AbstractBasePublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)
DocumentModel
PublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)
void
PublicationTree. unpublish(DocumentModel doc, PublicationNode targetNode)
void
PublisherService. unpublish(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
PublishedDocumentFactory. wrapDocumentModel(DocumentModel doc)
PublicationNode
AbstractBasePublicationTree. wrapToPublicationNode(DocumentModel documentModel)
PublicationNode
PublicationTree. wrapToPublicationNode(DocumentModel documentModel)
Returns a PublicationNode for the current tree built on the givendocumentModel
.PublicationNode
PublisherService. wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession)
PublishedDocument
AbstractBasePublicationTree. wrapToPublishedDocument(DocumentModel documentModel)
PublishedDocument
PublicationTree. wrapToPublishedDocument(DocumentModel documentModel)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.helper
Methods in org.nuxeo.ecm.platform.publisher.helper with parameters of type DocumentModel Modifier and Type Method Description static void
PublicationRelationHelper. addPublicationRelation(DocumentModel documentModel, PublicationTree publicationTree)
String
RootSectionsManager. addSection(String sectionId, DocumentModel currentDocument)
boolean
RootSectionsManager. canAddSection(DocumentModel section, DocumentModel currentDocument)
DocumentModelList
RootSectionFinder. getAccessibleSectionRoots(DocumentModel currentDoc)
static PublicationTree
PublicationRelationHelper. getPublicationTreeUsedForPublishing(DocumentModel documentModel, CoreSession coreSession)
DocumentModelList
RootSectionFinder. getSectionRootsForWorkspace(DocumentModel currentDoc)
Returns the head (root) sections that are bound to a given Workspace.DocumentModelList
RootSectionFinder. getSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots)
Returns the head (root) sections that are bound to a given Workspace.static String
VersioningHelper. getVersionLabelFor(DocumentModel doc)
static boolean
PublicationRelationHelper. isPublished(DocumentModel documentModel)
static void
PublicationRelationHelper. removePublicationRelation(DocumentModel documentModel)
String
RootSectionsManager. removeSection(String sectionId, DocumentModel currentDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.core
Fields in org.nuxeo.ecm.platform.publisher.impl.core declared as DocumentModel Modifier and Type Field Description protected DocumentModel
RootSectionsPublicationTree. currentDocument
protected DocumentModel
CoreFolderPublicationNode. folder
protected DocumentModel
SimpleCorePublishedDocument. proxy
protected DocumentModel
SectionPublicationTree. treeRoot
Methods in org.nuxeo.ecm.platform.publisher.impl.core that return DocumentModel Modifier and Type Method Description DocumentModel
SimpleCorePublishedDocument. getProxy()
DocumentModel
CoreFolderPublicationNode. getTargetDocumentModel()
DocumentModel
CoreProxyFactory. snapshotDocumentBeforePublish(DocumentModel doc)
DocumentModel
CoreProxyFactory. unwrapPublishedDocument(PublishedDocument pubDoc)
Constructors in org.nuxeo.ecm.platform.publisher.impl.core with parameters of type DocumentModel Constructor Description CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory)
CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory)
SimpleCorePublishedDocument(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.finder
Fields in org.nuxeo.ecm.platform.publisher.impl.finder declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractRootSectionsFinder. currentDocument
Methods in org.nuxeo.ecm.platform.publisher.impl.finder with parameters of type DocumentModel Modifier and Type Method Description protected abstract void
AbstractRootSectionsFinder. computeUserSectionRoots(DocumentModel currentDoc)
protected void
DefaultRootSectionsFinder. computeUserSectionRoots(DocumentModel currentDoc)
DocumentModelList
AbstractRootSectionsFinder. getAccessibleSectionRoots(DocumentModel currentDoc)
DocumentModelList
AbstractRootSectionsFinder. getSectionRootsForWorkspace(DocumentModel currentDoc)
DocumentModelList
AbstractRootSectionsFinder. getSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots)
protected DocumentModelList
AbstractRootSectionsFinder. getSectionRootsFromWorkspaceConfig(DocumentModel workspace, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.service
Fields in org.nuxeo.ecm.platform.publisher.impl.service with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
DomainsFinder. domains
Methods in org.nuxeo.ecm.platform.publisher.impl.service that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
DomainsFinder. getDomains()
protected List<DocumentModel>
DomainsFinder. getDomainsFiltered()
Methods in org.nuxeo.ecm.platform.publisher.impl.service with parameters of type DocumentModel Modifier and Type Method Description PublicationTree
PublisherServiceImpl. getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params, DocumentModel currentDocument)
PublicationTree
PublisherServiceImpl. getPublicationTreeFor(DocumentModel doc, CoreSession coreSession)
boolean
PublisherServiceImpl. isPublishedDocument(DocumentModel documentModel)
PublishedDocument
PublisherServiceImpl. publish(DocumentModel doc, PublicationNode targetNode)
PublishedDocument
PublisherServiceImpl. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
void
PublisherServiceImpl. registerTreeConfigFor(DocumentModel domain)
void
PublisherServiceImpl. unpublish(DocumentModel doc, PublicationNode targetNode)
void
PublisherServiceImpl. unRegisterTreeConfigFor(DocumentModel domain)
PublicationNode
PublisherServiceImpl. wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.listeners
Methods in org.nuxeo.ecm.platform.publisher.listeners with parameters of type DocumentModel Modifier and Type Method Description protected void
DomainEventsListener. handleDomainGoesFromTrashedState(DocumentModel doc)
protected void
DomainEventsListener. handleDomainGoesToTrashedState(DocumentModel doc)
protected void
DomainEventsListener. handleDomainLifeCycleChanged(DocumentEventContext docCtx, DocumentModel doc)
protected void
DomainEventsListener. handleDomainMoved(DocumentEventContext docCtx, DocumentModel doc)
protected void
DomainEventsListener. registerNewPublicationTrees(DocumentModel doc)
protected void
DomainEventsListener. unregisterPublicationTrees(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.rules
Methods in org.nuxeo.ecm.platform.publisher.rules with parameters of type DocumentModel Modifier and Type Method Description String[]
DefaultValidatorsRule. computesValidatorsFor(DocumentModel doc)
String[]
ValidatorsRule. computesValidatorsFor(DocumentModel dm)
Computes the list of publishing validators given the document model of the document just published.Constructors in org.nuxeo.ecm.platform.publisher.rules with parameters of type DocumentModel Constructor Description UnrestrictedACPGetter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.task
Methods in org.nuxeo.ecm.platform.publisher.task that return DocumentModel Modifier and Type Method Description protected DocumentModel
CoreProxyWithWorkflowFactory. getLiveDocument(CoreSession session, DocumentModel proxy)
DocumentModel
PublishUnrestricted. getModel()
Methods in org.nuxeo.ecm.platform.publisher.task with parameters of type DocumentModel Modifier and Type Method Description protected void
CoreProxyWithWorkflowFactory. createTask(DocumentModel document, CoreSession session, NuxeoPrincipal principal)
protected void
CoreProxyWithWorkflowFactory. endTask(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event)
protected DocumentModel
CoreProxyWithWorkflowFactory. getLiveDocument(CoreSession session, DocumentModel proxy)
protected boolean
CoreProxyWithWorkflowFactory. hasValidationTask(DocumentModel proxy, NuxeoPrincipal currentUser)
boolean
LookupState. isPublished(DocumentModel doc, CoreSession session)
protected boolean
CoreProxyWithWorkflowFactory. isPublishedDocWaitingForPublication(DocumentModel doc, CoreSession session)
protected boolean
CoreProxyWithWorkflowFactory. isValidator(DocumentModel document, NuxeoPrincipal principal)
PublishedDocument
CoreProxyWithWorkflowFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
protected void
CoreProxyWithWorkflowFactory. removeACL(DocumentModel document, CoreSession coreSession)
protected void
CoreProxyWithWorkflowFactory. removeExistingProxiesOnPreviousVersions(DocumentModel newProxy)
protected void
CoreProxyWithWorkflowFactory. removeProxy(DocumentModel doc, CoreSession coreSession)
protected void
CoreProxyWithWorkflowFactory. restrictPermission(DocumentModel newProxy, NuxeoPrincipal principal, CoreSession coreSession, ACL acl)
PublishedDocument
CoreProxyWithWorkflowFactory. wrapDocumentModel(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.publisher.task with parameters of type DocumentModel Constructor Description ChangePermissionUnrestricted(CoreSession session, DocumentModel document, String[] validators, NuxeoPrincipal principal, String aclName, ACL acl)
DeleteDocumentUnrestricted(CoreSession session, DocumentModel document)
PublishUnrestricted(CoreSession session, DocumentModel docToPublish, DocumentModel sectionToPublishTo)
PublishUnrestricted(CoreSession session, DocumentModel docToPublish, DocumentModel sectionToPublishTo, boolean overwriteProxy)
RemoveACLUnrestricted(CoreSession session, DocumentModel document, String aclName, String oldAclName)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.query.api
Fields in org.nuxeo.ecm.platform.query.api declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractPageProvider. searchDocumentModel
Methods in org.nuxeo.ecm.platform.query.api that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractPageProvider. getSearchDocumentModel()
DocumentModel
PageProvider. getSearchDocumentModel()
Methods in org.nuxeo.ecm.platform.query.api with parameters of type DocumentModel Modifier and Type Method Description PageProvider<?>
PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
Returns an instance of page provider with given name.PageProvider<?>
PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)
Returns an instance of page provider with given name.PageProvider<?>
PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
Returns an instance of page provider with given name.PageProvider<?>
PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)
Returns an instance of page provider with given name.PageProvider<?>
PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
Returns an instance of page provider with given name and definition.PageProvider<?>
PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)
Returns an instance of page provider with given name and definition.PageProvider<?>
PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
Returns an instance of page provider with given name.PageProvider<?>
PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)
Returns an instance of page provider with given name.protected boolean
AbstractPageProvider. searchDocumentModelChanged(DocumentModel oldDoc, DocumentModel newDoc)
void
AbstractPageProvider. setSearchDocumentModel(DocumentModel searchDocumentModel)
void
PageProvider. setSearchDocumentModel(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.query.core
Fields in org.nuxeo.ecm.platform.query.core declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AggregateBase. searchDocument
Methods in org.nuxeo.ecm.platform.query.core that return DocumentModel Modifier and Type Method Description DocumentModel
AggregateBase. getSearchDocument()
Methods in org.nuxeo.ecm.platform.query.core that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
DocumentModelListPageProvider. getCurrentPage()
Methods in org.nuxeo.ecm.platform.query.core with parameters of type DocumentModel Modifier and Type Method Description PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)
PageProvider<?>
PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)
Method parameters in org.nuxeo.ecm.platform.query.core with type arguments of type DocumentModel Modifier and Type Method Description void
DocumentModelListPageProvider. setDocumentModelList(List<DocumentModel> docs)
Constructors in org.nuxeo.ecm.platform.query.core with parameters of type DocumentModel Constructor Description AggregateBase(AggregateDefinition definition, DocumentModel searchDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.query.nxql
Fields in org.nuxeo.ecm.platform.query.nxql with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
CoreQueryDocumentPageProvider. currentPageDocuments
Methods in org.nuxeo.ecm.platform.query.nxql that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
CoreQueryDocumentPageProvider. getCurrentPage()
PageSelections<DocumentModel>
CoreQueryDocumentPageProvider. getCurrentSelectPage()
Methods in org.nuxeo.ecm.platform.query.nxql with parameters of type DocumentModel Modifier and Type Method Description protected static String
NXQLQueryBuilder. atomicQueryElement(DocumentModel model, PredicateDefinition predicateDescriptor, Escaper escaper)
static Boolean
NXQLQueryBuilder. getBooleanValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
static String
NXQLQueryBuilder. getFieldType(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
static Integer
NXQLQueryBuilder. getIntValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
static List<String>
NXQLQueryBuilder. getListValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
static String
NXQLQueryBuilder. getPlainStringValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
static String
NXQLQueryBuilder. getQuery(String pattern, Object[] params, boolean quoteParameters, boolean escape, DocumentModel searchDocumentModel, SortInfo... sortInfos)
static String
NXQLQueryBuilder. getQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, SortInfo... sortInfos)
static String
NXQLQueryBuilder. getQuery(DocumentModel model, WhereClauseDefinition whereClause, String quickFiltersClause, Object[] params, SortInfo... sortInfos)
static String
NXQLQueryBuilder. getQueryElement(DocumentModel model, PredicateDefinition predicateDescriptor, Escaper escaper)
static String
NXQLQueryBuilder. getQueryElement(DocumentModel model, WhereClauseDefinition whereClause, Object[] params)
static String
NXQLQueryBuilder. getQueryElement(DocumentModel model, WhereClauseDefinition whereClause, String quickFiltersClause, Object[] params)
static Object
NXQLQueryBuilder. getRawValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
static String
NXQLQueryBuilder. getStringValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)
protected static String
NXQLQueryBuilder. subClauseQueryElement(DocumentModel model, PredicateDefinition predicateDescriptor)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.relations
Methods in org.nuxeo.ecm.platform.relations that return DocumentModel Modifier and Type Method Description protected DocumentModel
CoreGraph.StatementAdder. setRelationProperties(DocumentModel rel, Statement statement)
Methods in org.nuxeo.ecm.platform.relations with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModel
CoreGraph.StatementAdder. setRelationProperties(DocumentModel rel, Statement statement)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.relations.api
Methods in org.nuxeo.ecm.platform.relations.api with parameters of type DocumentModel Modifier and Type Method Description void
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment)
Add link between two documentvoid
DocumentRelationManager. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate)
void
DocumentRelationManager. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.relations.api.util
Methods in org.nuxeo.ecm.platform.relations.api.util that return DocumentModel Modifier and Type Method Description static DocumentModel
RelationHelper. getDocumentModel(Node node, CoreSession session)
Returns the document model corresponding to a relation node.Methods in org.nuxeo.ecm.platform.relations.api.util with parameters of type DocumentModel Modifier and Type Method Description static QNameResource
RelationHelper. getDocumentResource(DocumentModel document)
Returns the relation node corresponding to a document model.static DocumentModelList
RelationHelper. getObjectDocuments(String graphName, DocumentModel subjectDoc, Resource predicat)
static DocumentModelList
RelationHelper. getObjectDocuments(DocumentModel subjectDoc, Resource predicat)
static List<Statement>
RelationHelper. getStatements(String graphName, DocumentModel subjectDoc, Resource predicat)
static List<Statement>
RelationHelper. getStatements(DocumentModel subjectDoc, Resource predicat)
static DocumentModelList
RelationHelper. getSubjectDocuments(String graphName, Resource predicat, DocumentModel objectDocument)
static DocumentModelList
RelationHelper. getSubjectDocuments(Resource predicat, DocumentModel objectDocument)
static DocumentModelList
RelationHelper. getSubjectDocumentsOut(String graphName, Resource predicat, DocumentModel objectDocument)
static DocumentModelList
RelationHelper. getSubjectDocumentsOut(Resource predicat, DocumentModel objectDocument)
static void
RelationHelper. removeRelation(String graphName, DocumentModel subjectDoc, Resource predicat, DocumentModel objectDoc)
static void
RelationHelper. removeRelation(DocumentModel subjectDoc, Resource predicat, DocumentModel objectDoc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.relations.services
Methods in org.nuxeo.ecm.platform.relations.services with parameters of type DocumentModel Modifier and Type Method Description void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node toResource, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment)
void
DocumentRelationService. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate)
void
DocumentRelationService. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents)
protected void
DocumentRelationService. notifyEvent(String eventId, DocumentModel source, Map<String,Serializable> options, String comment, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.api
Methods in org.nuxeo.ecm.platform.rendering.api with parameters of type DocumentModel Modifier and Type Method Description Object
DefaultDocumentView. get(DocumentModel doc, String name)
Object
DocumentView. get(DocumentModel doc, String name)
Object
DefaultDocumentView.Field. getValue(DocumentModel doc)
Collection<String>
DefaultDocumentView. keys(DocumentModel doc)
Collection<String>
DocumentView. keys(DocumentModel doc)
int
DefaultDocumentView. size(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.fm.adapters
Fields in org.nuxeo.ecm.platform.rendering.fm.adapters declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentTemplate. doc
DocumentModel
SchemaTemplate.DocumentSchema. doc
Methods in org.nuxeo.ecm.platform.rendering.fm.adapters that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentTemplate. getDocument()
Constructors in org.nuxeo.ecm.platform.rendering.fm.adapters with parameters of type DocumentModel Constructor Description DocumentSchema(DocumentModel doc, String schemaName)
DocumentTemplate(freemarker.template.ObjectWrapper wrapper, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.impl
Methods in org.nuxeo.ecm.platform.rendering.impl that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentRenderingContext. getDocument()
Methods in org.nuxeo.ecm.platform.rendering.impl with parameters of type DocumentModel Modifier and Type Method Description void
DocumentRenderingContext. setDocument(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.template
Fields in org.nuxeo.ecm.platform.rendering.template declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DocumentModelAdapter. doc
Methods in org.nuxeo.ecm.platform.rendering.template with parameters of type DocumentModel Modifier and Type Method Description abstract Object
DocumentFieldAccessor. getValue(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.rendering.template with parameters of type DocumentModel Constructor Description DocumentModelAdapter(DocumentModel doc)
DocumentModelAdapter(DocumentModel doc, freemarker.template.ObjectWrapper wrapper)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition
Methods in org.nuxeo.ecm.platform.rendition that return DocumentModel Modifier and Type Method Description DocumentModel
Rendition. getHostDocument()
Return the Document hosting the rendition. -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.adapter
Fields in org.nuxeo.ecm.platform.rendition.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DownloadBlobHolder. doc
protected DocumentModel
RenderableDocument. doc
Methods in org.nuxeo.ecm.platform.rendition.adapter with parameters of type DocumentModel Modifier and Type Method Description Object
RenderableAdapterFactory. getAdapter(DocumentModel doc, Class<?> adapterClass)
BlobHolder
DownloadBlobHolderFactory. getBlobHolder(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.rendition.adapter with parameters of type DocumentModel Constructor Description DownloadBlobHolder(DocumentModel doc)
RenderableDocument(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.extension
Methods in org.nuxeo.ecm.platform.rendition.extension with parameters of type DocumentModel Modifier and Type Method Description String
DefaultAutomationRenditionProvider. getVariant(DocumentModel doc, RenditionDefinition definition)
Gets the optionalRENDITION_VARIANT_PROPERTY
value for a givenRenditionDefinition
.default String
RenditionProvider. getVariant(DocumentModel doc, RenditionDefinition definition)
Gets the optionalRENDITION_VARIANT_PROPERTY
value for a givenRenditionDefinition
.boolean
DefaultAutomationRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)
boolean
PdfAutomationRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)
boolean
RenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)
Test if the Rendition is available on the given DocumentModelstatic List<Blob>
AutomationRenderer. render(DocumentModel doc, RenditionDefinition definition, CoreSession session)
Generate the rendition Blobs for a givenRenditionDefinition
.List<Blob>
DefaultAutomationRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
List<Blob>
RenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
Generate the rendition Blobs for a givenRenditionDefinition
. -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.impl
Fields in org.nuxeo.ecm.platform.rendition.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModel
LiveRendition. doc
protected DocumentModel
StoredRendition. stored
Methods in org.nuxeo.ecm.platform.rendition.impl that return DocumentModel Modifier and Type Method Description DocumentModel
LiveRendition. getHostDocument()
DocumentModel
StoredRendition. getHostDocument()
Constructors in org.nuxeo.ecm.platform.rendition.impl with parameters of type DocumentModel Constructor Description LiveRendition(DocumentModel doc, RenditionDefinition definition)
StoredRendition(DocumentModel stored, RenditionDefinition definition)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.io
Methods in org.nuxeo.ecm.platform.rendition.io with parameters of type DocumentModel Modifier and Type Method Description void
PublicationJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
RenditionJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.lazy
Methods in org.nuxeo.ecm.platform.rendition.lazy with parameters of type DocumentModel Modifier and Type Method Description protected String
AbstractRenditionBuilderWork. buildId(DocumentModel doc, RenditionDefinition def)
String
AbstractLazyCachableRenditionProvider. buildRenditionKey(DocumentModel doc, RenditionDefinition def)
protected abstract List<Blob>
AbstractRenditionBuilderWork. doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)
Does the actual Rendition Computation: this code will be called from inside an Asynchronous Workprotected List<Blob>
AutomationRenditionBuilder. doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)
protected abstract Work
AbstractLazyCachableRenditionProvider. getRenditionWork(String key, DocumentModel doc, RenditionDefinition def)
protected Work
AutomationLazyRenditionProvider. getRenditionWork(String key, DocumentModel doc, RenditionDefinition def)
String
AbstractLazyCachableRenditionProvider. getSourceDocumentModificationDate(DocumentModel doc, RenditionDefinition definition)
protected String
AbstractRenditionBuilderWork. getSourceDocumentModificationDate(DocumentModel doc)
protected void
AbstractLazyCachableRenditionProvider. handleCompletedRendition(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate, String tsSourceDocumentModificationDate, List<Blob> blobs)
protected void
AbstractLazyCachableRenditionProvider. handleIncompleteRendition(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate, String tsSourceDocumentModificationDate)
protected List<Blob>
AbstractLazyCachableRenditionProvider. handleNewRendition(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate)
List<Blob>
AbstractLazyCachableRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
Constructors in org.nuxeo.ecm.platform.rendition.lazy with parameters of type DocumentModel Constructor Description AbstractRenditionBuilderWork(String key, DocumentModel doc, RenditionDefinition def)
AutomationRenditionBuilder(String key, DocumentModel doc, RenditionDefinition def)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.operation
Fields in org.nuxeo.ecm.platform.rendition.operation declared as DocumentModel Modifier and Type Field Description protected DocumentModel
PublishRendition. target
Methods in org.nuxeo.ecm.platform.rendition.operation that return DocumentModel Modifier and Type Method Description DocumentModel
PublishRendition. run(DocumentModel doc)
Methods in org.nuxeo.ecm.platform.rendition.operation with parameters of type DocumentModel Modifier and Type Method Description protected Blob
GetContainerRendition. getDefaultRendition(DocumentModel doc, int currentDepth)
protected BlobList
GetContainerRendition. getFolderishBlobs(DocumentModel parent, int currentDepth)
protected void
PublishRendition. notifyPublishedEvent(DocumentModel proxy)
protected Blob
GetContainerRendition. processContainer(DocumentModel doc, int currentDepth)
Blob
GetContainerRendition. run(DocumentModel doc)
Blob
GetRendition. run(DocumentModel doc)
DocumentModel
PublishRendition. run(DocumentModel doc)
void
UnpublishAll. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.publisher
Fields in org.nuxeo.ecm.platform.rendition.publisher declared as DocumentModel Modifier and Type Field Description protected DocumentModel
RenditionLiveDocFetcher. liveDocument
protected DocumentModel
RenditionLiveDocFetcher. proxy
Methods in org.nuxeo.ecm.platform.rendition.publisher that return DocumentModel Modifier and Type Method Description DocumentModel
RenditionLiveDocFetcher. getLiveDocument()
protected DocumentModel
RenditionPublicationFactory. getLiveDocument(CoreSession session, DocumentModel proxy)
Methods in org.nuxeo.ecm.platform.rendition.publisher with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModel
RenditionPublicationFactory. getLiveDocument(CoreSession session, DocumentModel proxy)
protected List<PublishedDocument>
RenditionPublicationCoreTree. getPublishedDocumentsFromProxyDocument(DocumentRef docRef, DocumentModel sourceDocument)
PublishedDocument
RenditionPublicationFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
protected void
RenditionPublicationFactory. removeExistingProxiesOnPreviousVersions(DocumentModel newProxy)
Constructors in org.nuxeo.ecm.platform.rendition.publisher with parameters of type DocumentModel Constructor Description RenditionLiveDocFetcher(CoreSession session, DocumentModel source)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.service
Fields in org.nuxeo.ecm.platform.rendition.service declared as DocumentModel Modifier and Type Field Description protected DocumentModel
RenditionCreator. detachedRendition
protected DocumentModel
RenditionsRemover. proxy
protected DocumentModel
RenditionFinder. source
protected DocumentModel
RenditionFinder. storedRendition
Methods in org.nuxeo.ecm.platform.rendition.service that return DocumentModel Modifier and Type Method Description protected DocumentModel
RenditionCreator. createRenditionDocument(DocumentModel sourceDocument)
DocumentModel
RenditionCreator. getDetachedDendition()
Deprecated.since 7.10, misspelled, useRenditionCreator.getDetachedRendition()
instead.DocumentModel
RenditionCreator. getDetachedRendition()
DocumentModel
RenditionFinder. getStoredRendition()
DocumentModel
RenditionService. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)
Publish a document's rendition.DocumentModel
RenditionServiceImpl. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)
protected DocumentModel
RenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition, String name)
Deprecated.since 8.1Methods in org.nuxeo.ecm.platform.rendition.service with parameters of type DocumentModel Modifier and Type Method Description protected boolean
RenditionDefinitionRegistry. canUseRenditionDefinition(RenditionDefinition renditionDefinition, DocumentModel doc)
protected boolean
RenditionDefinitionProviderRegistry. canUseRenditionDefinitionProvider(RenditionDefinitionProviderDescriptor renditionDefinitionProviderDescriptor, DocumentModel doc)
protected ActionContext
RenditionDefinitionProviderRegistry. createActionContext(DocumentModel doc)
protected ActionContext
RenditionDefinitionRegistry. createActionContext(DocumentModel doc)
protected DocumentModel
RenditionCreator. createRenditionDocument(DocumentModel sourceDocument)
StoredRendition
DefaultStoredRenditionManager. createStoredRendition(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)
StoredRendition
StoredRenditionManager. createStoredRendition(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)
Creates aStoredRendition
for the live document or the version document if provided.protected DocumentRef
RenditionServiceImpl. createVersionIfNeeded(DocumentModel source, CoreSession session)
StoredRendition
DefaultStoredRenditionManager. findStoredRendition(DocumentModel sourceDocument, RenditionDefinition renditionDefinition)
StoredRendition
StoredRenditionManager. findStoredRendition(DocumentModel sourceDocument, RenditionDefinition renditionDefinition)
Finds theStoredRendition
associated with aDocumentModel
.RenditionDefinition
RenditionService. getAvailableRenditionDefinition(DocumentModel doc, String renditionName)
Returns theRenditionDefinition
available on the given document for the given rendition definition name.RenditionDefinition
RenditionServiceImpl. getAvailableRenditionDefinition(DocumentModel doc, String renditionName)
List<RenditionDefinition>
RenditionService. getAvailableRenditionDefinitions(DocumentModel doc)
Returns aList
ofRenditionDefinition
available on the given Document.List<RenditionDefinition>
RenditionServiceImpl. getAvailableRenditionDefinitions(DocumentModel doc)
List<Rendition>
RenditionService. getAvailableRenditions(DocumentModel doc)
Returns aList
ofRendition
available on the given Document.List<Rendition>
RenditionService. getAvailableRenditions(DocumentModel doc, boolean onlyVisible)
Returns aList
ofRendition
available on the given Document.List<Rendition>
RenditionServiceImpl. getAvailableRenditions(DocumentModel doc)
List<Rendition>
RenditionServiceImpl. getAvailableRenditions(DocumentModel doc, boolean onlyVisible)
Rendition
RenditionService. getDefaultRendition(DocumentModel doc, String reason, boolean store, Map<String,Serializable> extendedInfos)
Return the defaultRendition
object for the givenDocumentModel
.Rendition
RenditionService. getDefaultRendition(DocumentModel doc, String reason, Map<String,Serializable> extendedInfos)
Same asRenditionService.getDefaultRendition(DocumentModel, String, boolean, Map)
with store parameter set to false.Rendition
RenditionServiceImpl. getDefaultRendition(DocumentModel doc, String reason, boolean store, Map<String,Serializable> extendedInfos)
Rendition
RenditionServiceImpl. getDefaultRendition(DocumentModel doc, String reason, Map<String,Serializable> extendedInfos)
Rendition
RenditionService. getRendition(DocumentModel doc, String renditionName)
Return theRendition
object for the givenDocumentModel
and a rendition definition name.Rendition
RenditionService. getRendition(DocumentModel doc, String renditionName, boolean store)
Return theRendition
object for the givenDocumentModel
and a rendition definition name.Rendition
RenditionServiceImpl. getRendition(DocumentModel doc, String renditionName)
Rendition
RenditionServiceImpl. getRendition(DocumentModel doc, String renditionName, boolean store)
protected Rendition
RenditionServiceImpl. getRendition(DocumentModel doc, RenditionDefinition renditionDefinition, boolean store)
RenditionDefinition
RenditionDefinitionProviderRegistry. getRenditionDefinition(String name, DocumentModel doc)
List<RenditionDefinition>
RenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)
List<RenditionDefinition>
RenditionDefinitionProviderRegistry. getRenditionDefinitions(DocumentModel doc)
List<RenditionDefinition>
RenditionDefinitionRegistry. getRenditionDefinitions(DocumentModel doc)
protected Optional<Rendition>
RenditionServiceImpl. getRenditionSafe(DocumentModel doc, String defaultRenditionName, boolean store)
protected void
RenditionsRemover. notifyEvent(String eventId, DocumentModel doc, Map<String,Serializable> options)
DocumentModel
RenditionService. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)
Publish a document's rendition.DocumentModel
RenditionServiceImpl. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)
protected void
RenditionCreator. removeBlobs(DocumentModel rendition)
protected void
RenditionCreator. setCorrectVersion(DocumentModel rendition, DocumentModel versionDocument)
DocumentRef
RenditionService. storeRendition(DocumentModel sourceDocument, String renditionDefinitionName)
Render a document based on the given rendition definition name and returns the stored RenditionDocumentRef
.DocumentRef
RenditionServiceImpl. storeRendition(DocumentModel source, String renditionDefinitionName)
protected StoredRendition
RenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition)
Deprecated.since 10.10, useRenditionServiceImpl.storeRendition(DocumentModel, Rendition, RenditionDefinition)
insteadprotected DocumentModel
RenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition, String name)
Deprecated.since 8.1protected StoredRendition
RenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition, RenditionDefinition renditionDefinition)
protected StoredRendition
DefaultStoredRenditionManager. toStoredRendition(DocumentModel storedDoc, RenditionDefinition def, CoreSession coreSession)
Wraps the re-attached stored document in aStoredRendition
.protected void
RenditionCreator. updateMainBlob(DocumentModel rendition)
Constructors in org.nuxeo.ecm.platform.rendition.service with parameters of type DocumentModel Constructor Description RenditionCreator(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)
RenditionFinder(DocumentModel source, RenditionDefinition renditionDefinition)
RenditionsRemover(DocumentModel source)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.work
Methods in org.nuxeo.ecm.platform.rendition.work with parameters of type DocumentModel Modifier and Type Method Description protected String
RenditionWork. getSourceId(DocumentModel doc)
Returns the identifier of the object to render, could be the main blob or a doc.Constructors in org.nuxeo.ecm.platform.rendition.work with parameters of type DocumentModel Constructor Description RenditionWork(DocumentModel doc, String renditionName)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.api
Methods in org.nuxeo.ecm.platform.routing.api that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentRoutingPersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)
Creates a blankDocumentRoute
instance from a model.DocumentModel
DocumentRouteElement. getDocument()
Get the underlying document representing this element.DocumentModel
DocumentRouteTableElement. getDocument()
Deprecated.DocumentModel
DocumentRoutingPersister. getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)
Will get, and create if it does not exists the root document in whichDocumentRoute
structure will be created.DocumentModel
DocumentRoutingPersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)
Get or create the parent folder for aDocumentRoute
route instance.DocumentModel
DocumentRoutingPersister. getParentFolderForDocumentRouteModels(CoreSession session)
Gets or creates the parent folder for aDocumentRoute
route instance.DocumentModel
DocumentRoutingPersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)
Returns a folder in which new model, created from an instance of route will be stored.DocumentModel
DocumentRoutingPersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)
Methods in org.nuxeo.ecm.platform.routing.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
DocumentRoutingService. getWorkflowInputDocuments(CoreSession session, Task task)
Gets the documents following the workflow to which the given task belongsList<DocumentModel>
RoutingTaskService. getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.since 5.6, use DocumentRoutingService insteadList<DocumentModel>
DocumentRoutingService. searchRouteModels(CoreSession session, String searchString)
Returns the route models matching thesearchString
.Methods in org.nuxeo.ecm.platform.routing.api with parameters of type DocumentModel Modifier and Type Method Description boolean
DocumentRoutingService. canValidateRoute(DocumentModel documentRoute, CoreSession coreSession)
Checks if the principal that created the client session can validate the routeDocumentModel
DocumentRoutingPersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)
Creates a blankDocumentRoute
instance from a model.List<DocumentRoute>
DocumentRoutingService. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)
String
DocumentRoutingPersister. getNewModelName(DocumentModel instance)
Return the new name of a model when it is created from an instance.DocumentModel
DocumentRoutingPersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)
Get or create the parent folder for aDocumentRoute
route instance.DocumentModel
DocumentRoutingPersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)
Returns a folder in which new model, created from an instance of route will be stored.List<Task>
DocumentRoutingService. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String workflowModelName, CoreSession session)
Deprecated.since 11.1 this method does not scale as it does not paginate results.boolean
DocumentRoutingService. isRoutable(DocumentModel doc)
Checks if the given document can be associated to a DocumentRoute.DocumentModel
DocumentRoutingPersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)
Method parameters in org.nuxeo.ecm.platform.routing.api with type arguments of type DocumentModel Modifier and Type Method Description void
DocumentRoutingService. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)
Grants on these documents the specified assignees permissions for this task.void
DocumentRoutingService. grantPermissionToTaskDelegatedActors(CoreSession session, String permission, List<DocumentModel> docs, Task task)
Grants on these documents the specified assignees permissions for this task to the tasks delegated actors.void
DocumentRoutingService. removePermissionFromTaskAssignees(CoreSession session, List<DocumentModel> docs, Task task)
Removes on these documents the specified assignees permissions for this task.void
DocumentRoutingService. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, String taskId)
Removes on these documents the specified assignees permissions for the task actors and also tasks delegated actors if this task was delegatedvoid
DocumentRoutingService. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)
Removes on these documents the specified assignees permissions for the task actors and also tasks delegated actors if this task was delegated -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.api.operation
Methods in org.nuxeo.ecm.platform.routing.api.operation that return DocumentModel Modifier and Type Method Description DocumentModel
MapPropertiesOnTaskOperation. run(DocumentModel taskDoc)
Methods in org.nuxeo.ecm.platform.routing.api.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
MapPropertiesOnTaskOperation. run(DocumentModel taskDoc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.adapter
Methods in org.nuxeo.ecm.platform.routing.core.adapter with parameters of type DocumentModel Modifier and Type Method Description Object
DocumentRouteAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Object
LockableDocumentAdapterFactory. getAdapter(DocumentModel doc, Class clazz)
protected DocumentRoutingConstants.ExecutionTypeValues
DocumentRouteAdapterFactory. getExecutionType(DocumentModel doc, String type)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.api.operation
Methods in org.nuxeo.ecm.platform.routing.core.api.operation that return DocumentModel Modifier and Type Method Description DocumentModel
CompleteTaskOperation. completeTask(DocumentModel task)
DocumentModel
StartWorkflowOperation. run(DocumentModel doc)
Methods in org.nuxeo.ecm.platform.routing.core.api.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CompleteTaskOperation. completeTask(DocumentModel task)
DocumentModelList
GetOpenTasksOperation. getAllTasks(DocumentModel doc)
protected String
GetTaskNamesOperation. getWorkflowTranslatedTitle(DocumentModel taskDoc, Locale locale)
DocumentModel
StartWorkflowOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.impl
Fields in org.nuxeo.ecm.platform.routing.core.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModel
LockableDocumentRouteImpl. doc
protected DocumentModel
DocumentRouteElementImpl. document
Methods in org.nuxeo.ecm.platform.routing.core.impl that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentRoutingTreePersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)
protected DocumentModel
DocumentRoutingTreePersister. createDocumentRoutesStructure(String routeStructureDocType, String id, CoreSession session)
Finds the first domain by name, and creates under it the root container for the structure containing the route instances.protected DocumentModel
DocumentRoutingTreePersister. createModelsRoutesStructure(String routeStructureDocType, String id, CoreSession session)
Create the rootModels under to root document.DocumentModel
DocumentRouteElementImpl. getDocument()
DocumentModel
GraphNode. getDocument()
Gets the document representing this nodeprotected DocumentModel
DocumentRoutingTreePersister. getDocumentRoutesStructure(String type, CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForDocumentRouteModels(CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)
DocumentModel
DocumentRoutingTreePersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)
protected DocumentModel
DocumentRoutingTreePersister. undoReadOnlySecurityPolicy(DocumentModel instance, CoreSession session)
Methods in org.nuxeo.ecm.platform.routing.core.impl that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
DocumentRoutingServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)
List<DocumentModel>
RoutingTaskServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.List<DocumentModel>
DocumentRoutingServiceImpl. searchRouteModels(CoreSession session, String searchString)
Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentModel Modifier and Type Method Description boolean
DocumentRoutingServiceImpl. canValidateRoute(DocumentModel documentRoute, CoreSession coreSession)
DocumentModel
DocumentRoutingTreePersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)
static void
AuditEventFirer. fireEvent(CoreSession coreSession, DocumentRouteElement element, Map<String,Serializable> eventProperties, String eventName, DocumentModel doc)
List<DocumentRoute>
DocumentRoutingServiceImpl. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)
String
DocumentRoutingTreePersister. getNewModelName(DocumentModel instance)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)
List<Task>
DocumentRoutingServiceImpl. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String worflowModelName, CoreSession s)
Deprecated.since 11.1 this method does not scale as it does not paginate results.static Map<String,Serializable>
GraphVariablesUtil. getVariables(DocumentModel doc, String facetProp)
static Map<String,Serializable>
GraphVariablesUtil. getVariables(DocumentModel doc, String facetProp, boolean mapToJSON)
boolean
DocumentRoutingServiceImpl. isRoutable(DocumentModel doc)
protected void
DocumentRoutingServiceImpl. processElementsInFolder(DocumentModel doc, List<DocumentRouteTableElement> elements, RouteTable table, CoreSession session, int depth, RouteFolderElement folder)
Deprecated.since 5.9.2 - Use only routes of type 'graph'DocumentModel
DocumentRoutingTreePersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)
static void
GraphVariablesUtil. setJSONVariables(DocumentModel doc, String facetProp, Map<String,String> map)
Sets the variables of the workflow based on their JSON representation (especially for scalar lists).static void
GraphVariablesUtil. setJSONVariables(DocumentModel doc, String facetProp, Map<String,String> map, boolean save)
static void
GraphVariablesUtil. setVariables(DocumentModel doc, String facetProp, Map<String,Serializable> map)
static void
GraphVariablesUtil. setVariables(DocumentModel doc, String facetProp, Map<String,Serializable> map, boolean save)
protected DocumentModel
DocumentRoutingTreePersister. undoReadOnlySecurityPolicy(DocumentModel instance, CoreSession session)
Method parameters in org.nuxeo.ecm.platform.routing.core.impl with type arguments of type DocumentModel Modifier and Type Method Description static void
EventFirer. fireEvent(CoreSession coreSession, List<DocumentModel> docs, Map<String,Serializable> eventProperties, String eventName)
Fires an event in the category 'routing' for every document in the listvoid
DocumentRoutingServiceImpl. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)
void
DocumentRoutingServiceImpl. grantPermissionToTaskDelegatedActors(CoreSession session, String permission, List<DocumentModel> docs, Task task)
void
DocumentRoutingServiceImpl. removePermissionFromTaskAssignees(CoreSession s, List<DocumentModel> docs, Task task)
void
DocumentRoutingServiceImpl. removePermissionsForTaskActors(CoreSession s, List<DocumentModel> docs, String taskId)
void
DocumentRoutingServiceImpl. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)
protected void
DocumentRoutingServiceImpl. setAclForActors(CoreSession s, String aclName, String permission, List<DocumentModel> docs, List<String> actors)
Constructors in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentModel Constructor Description DocumentRouteElementImpl(DocumentModel doc, ElementRunner runner)
DocumentRouteImpl(DocumentModel doc, ElementRunner runner)
DocumentRouteStepsContainerImpl(DocumentModel doc, ElementRunner runner)
GraphNodeImpl(DocumentModel doc)
GraphNodeImpl(DocumentModel doc, GraphRouteImpl graph)
GraphRouteImpl(DocumentModel doc)
LockableDocumentRouteImpl(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.io
Methods in org.nuxeo.ecm.platform.routing.core.io with parameters of type DocumentModel Modifier and Type Method Description static void
JsonEncodeDecodeUtils. encodeBlob(DocumentModel doc, String propVariableFacet, String variableName, Blob blob, com.fasterxml.jackson.core.JsonGenerator jg, javax.servlet.ServletRequest request)
Deprecated.static void
JsonEncodeDecodeUtils. encodeVariableEntry(DocumentModel doc, String propVariableFacet, Map.Entry<String,Serializable> e, com.fasterxml.jackson.core.JsonGenerator jg, javax.servlet.http.HttpServletRequest request)
Deprecated. -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.io.enrichers
Methods in org.nuxeo.ecm.platform.routing.core.io.enrichers with parameters of type DocumentModel Modifier and Type Method Description void
PendingTasksJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
RunnableWorkflowJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
RunningWorkflowJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.persistence
Methods in org.nuxeo.ecm.platform.routing.core.persistence that return DocumentModel Modifier and Type Method Description DocumentModel
RouteModelsZipImporter. createOrUpdate(FileImporterContext context)
static DocumentModel
TreeHelper. getOrCreate(CoreSession session, String rootPath, String id, String folderType)
static DocumentModel
TreeHelper. getOrCreateDateTreeFolder(CoreSession session, DocumentModel root, Date date, String folderType)
Find or create a set of folders representing the date hierarchystatic DocumentModel
TreeHelper. getOrCreatePath(CoreSession session, DocumentModel root, String subPath, String folderType)
Methods in org.nuxeo.ecm.platform.routing.core.persistence with parameters of type DocumentModel Modifier and Type Method Description static DocumentModel
TreeHelper. getOrCreateDateTreeFolder(CoreSession session, DocumentModel root, Date date, String folderType)
Find or create a set of folders representing the date hierarchystatic DocumentModel
TreeHelper. getOrCreatePath(CoreSession session, DocumentModel root, String subPath, String folderType)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.scanimporter.processor
Methods in org.nuxeo.ecm.platform.scanimporter.processor that return DocumentModel Modifier and Type Method Description DocumentModel
ScanedFileFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ScanedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
ScanedFileFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
Methods in org.nuxeo.ecm.platform.scanimporter.processor with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
ScanedFileFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ScanedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
ScanedFileFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.search.core
Methods in org.nuxeo.ecm.platform.search.core that return DocumentModel Modifier and Type Method Description DocumentModel
SavedSearch. getDocument()
DocumentModel
SavedSearchImpl. getDocument()
Methods in org.nuxeo.ecm.platform.search.core with parameters of type DocumentModel Modifier and Type Method Description Object
SavedSearchAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
void
SavedSearch. setDocument(DocumentModel doc)
void
SavedSearchImpl. setDocument(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.search.core with parameters of type DocumentModel Constructor Description SavedSearchImpl(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.shibboleth
Methods in org.nuxeo.ecm.platform.shibboleth that return DocumentModel Modifier and Type Method Description static DocumentModel
ShibbolethGroupHelper. createGroup(DocumentModel group)
static DocumentModel
ShibbolethGroupHelper. getBareGroupModel(CoreSession core)
static DocumentModel
ShibbolethGroupHelper. getGroup(String groupName)
Methods in org.nuxeo.ecm.platform.shibboleth that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
ShibbolethGroupsPageProvider. searchAllGroups()
protected List<DocumentModel>
ShibbolethGroupsPageProvider. searchGroups()
Methods in org.nuxeo.ecm.platform.shibboleth with parameters of type DocumentModel Modifier and Type Method Description protected static void
ShibbolethGroupHelper. checkExpressionLanguageValidity(DocumentModel group)
static DocumentModel
ShibbolethGroupHelper. createGroup(DocumentModel group)
static void
ShibbolethGroupHelper. deleteGroup(DocumentModel group)
static void
ShibbolethGroupHelper. updateGroup(DocumentModel group)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.shibboleth.computedgroups
Methods in org.nuxeo.ecm.platform.shibboleth.computedgroups with parameters of type DocumentModel Modifier and Type Method Description static boolean
ELGroupComputerHelper. isUserInGroup(DocumentModel user, String el)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.api.sign
Methods in org.nuxeo.ecm.platform.signature.api.sign with parameters of type DocumentModel Modifier and Type Method Description void
SignatureAppearanceFactory. format(com.lowagie.text.pdf.PdfSignatureAppearance pdfSignatureAppearance, DocumentModel doc, String principal, String reason)
List<X509Certificate>
SignatureService. getCertificates(DocumentModel doc)
Returns a list of certificates associated with a given document.SignatureService.StatusWithBlob
SignatureService. getSigningStatus(DocumentModel doc, DocumentModel currentUser)
Finds the signing status for the document.Blob
SignatureService. signDocument(DocumentModel doc, DocumentModel user, String userKeyPassword, String reason, boolean pdfa, SignatureService.SigningDisposition disposition, String archiveFilename)
Signs a document with a user certificate (converts it into a PDF first if needed).Blob
SignatureService. signPDF(Blob pdfBlob, DocumentModel doc, DocumentModel user, String userKeyPassword, String reason)
Signs a PDF document with a user certificate. -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.api.user
Methods in org.nuxeo.ecm.platform.signature.api.user that return DocumentModel Modifier and Type Method Description DocumentModel
CUserService. createCertificate(DocumentModel user, String userKeyPassword)
Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.DocumentModel
CUserService. getCertificate(String userID)
Retrieves a user certificate from the directory.Methods in org.nuxeo.ecm.platform.signature.api.user with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CUserService. createCertificate(DocumentModel user, String userKeyPassword)
Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.String
CUserService. getUserCertInfo(DocumentModel user, String userKeyPassword)
Returns simplified textual representation of a certificate's contents.UserInfo
CUserService. getUserInfo(DocumentModel userModel)
Retrieves a UserInfo object containing information needed for certificate generation. -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.operations
Fields in org.nuxeo.ecm.platform.signature.core.operations declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SignPDF. doc
Methods in org.nuxeo.ecm.platform.signature.core.operations with parameters of type DocumentModel Modifier and Type Method Description Blob
SignPDFDocument. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.sign
Methods in org.nuxeo.ecm.platform.signature.core.sign with parameters of type DocumentModel Modifier and Type Method Description void
DefaultSignatureAppearanceFactory. format(com.lowagie.text.pdf.PdfSignatureAppearance pdfSignatureAppearance, DocumentModel doc, String principal, String reason)
List<X509Certificate>
SignatureServiceImpl. getCertificates(DocumentModel doc)
protected SignatureService.StatusWithBlob
SignatureServiceImpl. getSignedPdfBlobAndStatus(DocumentModel doc, DocumentModel user)
Finds the first signed PDF blob.protected int
SignatureServiceImpl. getSigningStatus(Blob pdfBlob, DocumentModel user)
SignatureService.StatusWithBlob
SignatureServiceImpl. getSigningStatus(DocumentModel doc, DocumentModel user)
Blob
SignatureServiceImpl. signDocument(DocumentModel doc, DocumentModel user, String keyPassword, String reason, boolean pdfa, SignatureService.SigningDisposition disposition, String archiveFilename)
Blob
SignatureServiceImpl. signPDF(Blob pdfBlob, DocumentModel doc, DocumentModel user, String keyPassword, String reason)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.user
Methods in org.nuxeo.ecm.platform.signature.core.user that return DocumentModel Modifier and Type Method Description DocumentModel
CUserServiceImpl. createCertificate(DocumentModel user, String userKeyPassword)
DocumentModel
CUserServiceImpl. getCertificate(String userID)
Methods in org.nuxeo.ecm.platform.signature.core.user with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CUserServiceImpl. createCertificate(DocumentModel user, String userKeyPassword)
String
CUserServiceImpl. getUserCertInfo(DocumentModel user, String userKeyPassword)
UserInfo
CUserServiceImpl. getUserInfo(DocumentModel userModel)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.suggestbox.service
Fields in org.nuxeo.ecm.platform.suggestbox.service declared as DocumentModel Modifier and Type Field Description DocumentModel
SuggestionContext. currentDocument
Methods in org.nuxeo.ecm.platform.suggestbox.service with parameters of type DocumentModel Modifier and Type Method Description static Suggestion
DocumentSuggestion. fromDocumentModel(DocumentModel doc)
SuggestionContext
SuggestionContext. withCurrentDocument(DocumentModel currentDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.tag
Methods in org.nuxeo.ecm.platform.tag with parameters of type DocumentModel Modifier and Type Method Description protected void
TagsMigrator. addTags(DocumentModel doc, Set<TagsMigrator.Tag> tags)
protected List<Map<String,Serializable>>
FacetedTagService. getTags(DocumentModel docModel)
protected void
FacetedTagService. saveDocument(CoreSession session, DocumentModel doc)
protected void
FacetedTagService. setTags(DocumentModel docModel, List<Map<String,Serializable>> tags)
boolean
NoVersioningFacetedTagFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.automation
Fields in org.nuxeo.ecm.platform.tag.automation declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SuggestTagEntry. doc
-
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.io
Methods in org.nuxeo.ecm.platform.tag.io with parameters of type DocumentModel Modifier and Type Method Description void
TagsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.operations
Methods in org.nuxeo.ecm.platform.tag.operations that return DocumentModel Modifier and Type Method Description DocumentModel
RemoveDocumentTags. run(DocumentModel document)
DocumentModel
TagDocument. run(DocumentModel document)
DocumentModel
UntagDocument. run(DocumentModel document)
Methods in org.nuxeo.ecm.platform.tag.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
RemoveDocumentTags. run(DocumentModel document)
DocumentModel
TagDocument. run(DocumentModel document)
DocumentModel
UntagDocument. run(DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.task
Methods in org.nuxeo.ecm.platform.task that return DocumentModel Modifier and Type Method Description DocumentModel
Task. getDocument()
DocumentModel
TaskImpl. getDocument()
DocumentModel
TaskService. getTargetDocumentModel(Task ti, CoreSession coreSession)
Methods in org.nuxeo.ecm.platform.task with parameters of type DocumentModel Modifier and Type Method Description List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
Creates a task of the given document type and starts it.List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Creates a task and starts it.List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Creates a task and starts it.Object
TaskAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.Method parameters in org.nuxeo.ecm.platform.task with type arguments of type DocumentModel Modifier and Type Method Description List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskService. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
Creates a task of the given documents type and starts it.Constructors in org.nuxeo.ecm.platform.task with parameters of type DocumentModel Constructor Description TaskImpl(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.task.core.service
Fields in org.nuxeo.ecm.platform.task.core.service declared as DocumentModel Modifier and Type Field Description protected DocumentModel
TaskServiceImpl.GetTaskRootParentPathUnrestricted. taskRootDoc
Fields in org.nuxeo.ecm.platform.task.core.service with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
CreateTaskUnrestricted. documents
Methods in org.nuxeo.ecm.platform.task.core.service that return DocumentModel Modifier and Type Method Description DocumentModel
TaskServiceImpl. getTargetDocumentModel(Task task, CoreSession coreSession)
DocumentModel
TaskServiceImpl.GetTaskRootParentPathUnrestricted. getTaskRootDoc()
Methods in org.nuxeo.ecm.platform.task.core.service with parameters of type DocumentModel Modifier and Type Method Description void
CreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
void
CreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
static void
TaskEventNotificationHelper. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)
Method parameters in org.nuxeo.ecm.platform.task.core.service with type arguments of type DocumentModel Modifier and Type Method Description void
CreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
void
CreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskServiceImpl. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
protected void
TaskServiceImpl. notifyEvent(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String,Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds)
static List<Task>
DocumentTaskProvider. wrapDocModelInTask(List<DocumentModel> taskDocuments)
Converts aDocumentModelList
to a list ofTask
s.Constructors in org.nuxeo.ecm.platform.task.core.service with parameters of type DocumentModel Constructor Description CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Constructor parameters in org.nuxeo.ecm.platform.task.core.service with type arguments of type DocumentModel Constructor Description CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.task.dashboard
Fields in org.nuxeo.ecm.platform.task.dashboard declared as DocumentModel Modifier and Type Field Description protected DocumentModel
DashBoardItemImpl. document
Methods in org.nuxeo.ecm.platform.task.dashboard that return DocumentModel Modifier and Type Method Description DocumentModel
DashBoardItem. getDocument()
Returns the icon path for the doc ref.DocumentModel
DashBoardItemImpl. getDocument()
Methods in org.nuxeo.ecm.platform.task.dashboard with parameters of type DocumentModel Modifier and Type Method Description protected String
AbstractDashBoardItemImpl. getDefaultViewFor(DocumentModel doc)
Constructors in org.nuxeo.ecm.platform.task.dashboard with parameters of type DocumentModel Constructor Description DashBoardItemImpl(Task task, DocumentModel document, Locale locale)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.adapter
Methods in org.nuxeo.ecm.platform.threed.adapter with parameters of type DocumentModel Modifier and Type Method Description Blob
ThumbnailThreeDFactory. computeThumbnail(DocumentModel documentModel, CoreSession coreSession)
Object
ThreeDDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Blob
ThumbnailThreeDFactory. getThumbnail(DocumentModel documentModel, CoreSession coreSession)
Constructors in org.nuxeo.ecm.platform.threed.adapter with parameters of type DocumentModel Constructor Description ThreeDDocumentAdapter(DocumentModel threed)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.importer
Methods in org.nuxeo.ecm.platform.threed.importer that return DocumentModel Modifier and Type Method Description DocumentModel
ThreeDImporter. createOrUpdate(FileImporterContext context)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.rendition
Methods in org.nuxeo.ecm.platform.threed.rendition with parameters of type DocumentModel Modifier and Type Method Description List<RenditionDefinition>
ThreeDRenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)
boolean
RenderViewRenditionProvider. isAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)
boolean
TransmissionThreeDRenditionProvider. isAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)
List<Blob>
RenderViewRenditionProvider. render(DocumentModel documentModel, RenditionDefinition renditionDefinition)
List<Blob>
TransmissionThreeDRenditionProvider. render(DocumentModel documentModel, RenditionDefinition renditionDefinition)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.service
Methods in org.nuxeo.ecm.platform.threed.service with parameters of type DocumentModel Modifier and Type Method Description void
ThreeDService. cleanBatchData(DocumentModel doc)
Clears data model for render views and transmission formats.void
ThreeDServiceImpl. cleanBatchData(DocumentModel doc)
protected void
ThreeDBatchUpdateWork. fireThreeDConversionsDoneEvent(DocumentModel doc)
Fire aTHREED_CONVERSIONS_DONE_EVENT
protected ThreeD
ThreeDBatchUpdateWork. getThreeDToConvert(DocumentModel doc)
void
ThreeDService. launchBatchConversion(DocumentModel doc)
Launch all the registered automatic lod transmission version and thumbnail render on the givendoc
.void
ThreeDServiceImpl. launchBatchConversion(DocumentModel doc)
protected void
ThreeDBatchUpdateWork. saveMainInfo(DocumentModel doc, ThreeDInfo info)
protected void
ThreeDBatchUpdateWork. saveNewProperties(DocumentModel doc, Serializable properties, String schema)
protected void
ThreeDBatchUpdateWork. saveNewRenderViews(DocumentModel doc, List<ThreeDRenderView> threeDRenderViews)
protected void
ThreeDBatchUpdateWork. saveNewTransmissionThreeDs(DocumentModel doc, List<TransmissionThreeD> transmissionThreeDs)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.action
Methods in org.nuxeo.ecm.platform.thumbnail.action with parameters of type DocumentModel Modifier and Type Method Description protected void
RecomputeThumbnailsAction.RecomputeThumbnailsComputation. processDoc(CoreSession session, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.factories
Methods in org.nuxeo.ecm.platform.thumbnail.factories with parameters of type DocumentModel Modifier and Type Method Description Blob
ThumbnailDocumentFactory. computeThumbnail(DocumentModel doc, CoreSession session)
protected Blob
ThumbnailDocumentFactory. getDefaultThumbnail(DocumentModel doc)
Blob
ThumbnailDocumentFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.io
Methods in org.nuxeo.ecm.platform.thumbnail.io with parameters of type DocumentModel Modifier and Type Method Description void
ThumbnailJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.listener
Methods in org.nuxeo.ecm.platform.thumbnail.listener with parameters of type DocumentModel Modifier and Type Method Description void
ThumbnailHelper. createThumbnailIfNeeded(CoreSession session, DocumentModel doc)
Creates a thumbnail if needed and synchronizes the document facet.protected Blob
ThumbnailHelper. getManagedThumbnail(DocumentModel doc)
protected void
UpdateThumbnailListener. processDoc(CoreSession session, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.rendition
Methods in org.nuxeo.ecm.platform.thumbnail.rendition with parameters of type DocumentModel Modifier and Type Method Description boolean
ThumbnailRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)
List<Blob>
ThumbnailRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.types
Methods in org.nuxeo.ecm.platform.types with parameters of type DocumentModel Modifier and Type Method Description boolean
TypeManager. canCreate(String typeName, String containerTypeName, DocumentModel currentDoc)
Returnstrue
iftypeName
is a sub type, allowed in creation, ofcontainerTypeName
,false
otherwise.boolean
TypeService. canCreate(String typeName, String containerTypeName, DocumentModel currentDoc)
protected Collection<String>
SubtypesJsonEnricher. computeLocalConfigurationSubtypes(DocumentModel enriched, Collection<String> defaultSubtypes)
protected Collection<String>
SubtypesJsonEnricher. computeSubtypes(DocumentModel enriched)
protected Map<String,SubType>
TypeService. filterSubTypesFromConfiguration(Map<String,SubType> allowedSubTypes, DocumentModel currentDoc)
Collection<Type>
TypeManager. findAllAllowedSubTypesFrom(String typeName, DocumentModel currentDoc)
Returns recursively all the allowed sub types from the giventypeName
, filtered by a local UI types configuration retrieved from thecurrentDoc
, if any.Collection<Type>
TypeService. findAllAllowedSubTypesFrom(String typeName, DocumentModel currentDoc)
protected Collection<Type>
TypeService. findAllAllowedSubTypesFrom(String typeName, DocumentModel currentDoc, List<String> alreadyProcessedTypes)
Collection<Type>
TypeManager. getAllowedSubTypes(String typeName, DocumentModel currentDoc)
Returns the allowed sub types of the giventypeName
, filtered by a local UI types configuration retrieved from thecurrentDoc
, if any.Collection<Type>
TypeService. getAllowedSubTypes(String typeName, DocumentModel currentDoc)
protected UITypesConfiguration
TypeService. getConfiguration(DocumentModel currentDoc)
protected Map<String,SubType>
TypeService. getFilteredAllowedSubTypes(String containerTypeName, DocumentModel currentDoc)
Map<String,List<Type>>
TypeManager. getTypeMapForDocumentType(String typeName, DocumentModel currentDoc)
Returns the sub type of the giventypeName
, filtered by a local UI types configuration retrieved from thecurrentDoc
, if any, and organized by type categories.Map<String,List<Type>>
TypeService. getTypeMapForDocumentType(String typeName, DocumentModel currentDoc)
boolean
TypeManager. isAllowedSubType(String typeName, String containerTypeName, DocumentModel currentDoc)
Returnstrue
iftypeName
is an allowed sub type ofcontainerTypeName
, filtered by a local UI types configuration retrieved from thecurrentDoc
, if any,false
otherwise.boolean
TypeService. isAllowedSubType(String typeName, String containerTypeName, DocumentModel currentDoc)
void
SubtypesJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel enriched)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.types.adapter
Methods in org.nuxeo.ecm.platform.types.adapter with parameters of type DocumentModel Modifier and Type Method Description Object
TypeInfoAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Constructors in org.nuxeo.ecm.platform.types.adapter with parameters of type DocumentModel Constructor Description TypeInfoAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.types.localconfiguration
Methods in org.nuxeo.ecm.platform.types.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description Object
ContentViewConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)
Object
UITypesConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected String
UITypesConfigurationAdapter. getDefaultType(DocumentModel doc)
protected boolean
UITypesConfigurationAdapter. getDenyAllTypesProperty(DocumentModel doc)
protected List<String>
UITypesConfigurationAdapter. getTypesList(DocumentModel doc, String property)
Constructors in org.nuxeo.ecm.platform.types.localconfiguration with parameters of type DocumentModel Constructor Description ContentViewConfigurationAdapter(DocumentModel doc)
UITypesConfigurationAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.url
Constructors in org.nuxeo.ecm.platform.url with parameters of type DocumentModel Constructor Description DocumentViewImpl(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.url.codec
Methods in org.nuxeo.ecm.platform.url.codec with parameters of type DocumentModel Modifier and Type Method Description static String
DocumentFileCodec. getFilename(DocumentModel doc, DocumentView docView)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.url.io
Methods in org.nuxeo.ecm.platform.url.io with parameters of type DocumentModel Modifier and Type Method Description void
DocumentUrlJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.usermanager
Fields in org.nuxeo.ecm.platform.usermanager declared as DocumentModel Modifier and Type Field Description protected DocumentModel
UserAdapterImpl. doc
protected DocumentModel
NuxeoGroupImpl. model
DocumentModel
NuxeoPrincipalImpl. model
Methods in org.nuxeo.ecm.platform.usermanager that return DocumentModel Modifier and Type Method Description DocumentModel
FakeUserManagerImpl. createGroup(DocumentModel groupModel)
DocumentModel
MultiTenantUserManager. createGroup(DocumentModel groupModel, DocumentModel context)
Creates a group from given model with the given context.DocumentModel
UserManager. createGroup(DocumentModel groupModel)
Creates a group from given modelDocumentModel
UserManagerImpl. createGroup(DocumentModel groupModel)
DocumentModel
UserManagerImpl. createGroup(DocumentModel groupModel, DocumentModel context)
DocumentModel
FakeUserManagerImpl. createUser(DocumentModel userModel)
DocumentModel
MultiTenantUserManager. createUser(DocumentModel userModel, DocumentModel context)
Creates user from given model into the given context document.DocumentModel
UserManager. createUser(DocumentModel userModel)
Creates user from given model.DocumentModel
UserManagerImpl. createUser(DocumentModel userModel)
DocumentModel
UserManagerImpl. createUser(DocumentModel userModel, DocumentModel context)
DocumentModel
FakeUserManagerImpl. getBareGroupModel()
DocumentModel
UserManager. getBareGroupModel()
Returns a bare group model.DocumentModel
UserManagerImpl. getBareGroupModel()
DocumentModel
FakeUserManagerImpl. getBareUserModel()
DocumentModel
UserManager. getBareUserModel()
Returns a bare user model.DocumentModel
UserManagerImpl. getBareUserModel()
protected DocumentModel
UserManagerImpl. getDigestAuthModel()
DocumentModel
FakeUserManagerImpl. getGroupModel(String groupName)
DocumentModel
MultiTenantUserManager. getGroupModel(String groupName, DocumentModel context)
Return the group document model with this id concatenated with the directory local config (if not null) or null if group does not exist.DocumentModel
UserManager. getGroupModel(String groupName)
Return the group document model with this id or null if group does not exist.DocumentModel
UserManagerImpl. getGroupModel(String groupName)
DocumentModel
UserManagerImpl. getGroupModel(String groupIdValue, DocumentModel context)
DocumentModel
NuxeoGroupImpl. getModel()
DocumentModel
NuxeoPrincipalImpl. getModel()
DocumentModel
FakeUserManagerImpl. getUserModel(String userName)
DocumentModel
MultiTenantUserManager. getUserModel(String userName, DocumentModel context)
Returns the document model representing user with given id or null if it does not exist into the given context document.DocumentModel
UserManager. getUserModel(String userName)
Returns the document model representing user with given id or null if it does not exist.DocumentModel
UserManagerImpl. getUserModel(String userName)
DocumentModel
UserManagerImpl. getUserModel(String userName, DocumentModel context)
protected DocumentModel
UserManagerImpl. getUserModel(String userName, DocumentModel context, boolean fetchReferences)
DocumentModel
DefaultUserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)
DocumentModel
UserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)
Transform the Group DocumentModel store it into the tenant described by the contextprotected DocumentModel
UserManagerImpl. makeVirtualUserEntry(String id, VirtualUser user)
Methods in org.nuxeo.ecm.platform.usermanager with parameters of type DocumentModel Modifier and Type Method Description protected void
UserManagerImpl. appendSubgroups(String groupId, Set<String> groups, DocumentModel context)
protected void
UserManagerImpl. checkGrouId(DocumentModel groupModel)
protected void
UserManagerImpl. checkGroupsExistence(DocumentModel userModel, String schema, DocumentModel context)
protected void
UserManagerImpl. checkPasswordValidity(DocumentModel userModel)
protected void
UserManagerImpl. checkUserId(DocumentModel userModel)
DocumentModel
FakeUserManagerImpl. createGroup(DocumentModel groupModel)
DocumentModel
MultiTenantUserManager. createGroup(DocumentModel groupModel, DocumentModel context)
Creates a group from given model with the given context.DocumentModel
UserManager. createGroup(DocumentModel groupModel)
Creates a group from given modelDocumentModel
UserManagerImpl. createGroup(DocumentModel groupModel)
DocumentModel
UserManagerImpl. createGroup(DocumentModel groupModel, DocumentModel context)
DocumentModel
FakeUserManagerImpl. createUser(DocumentModel userModel)
DocumentModel
MultiTenantUserManager. createUser(DocumentModel userModel, DocumentModel context)
Creates user from given model into the given context document.DocumentModel
UserManager. createUser(DocumentModel userModel)
Creates user from given model.DocumentModel
UserManagerImpl. createUser(DocumentModel userModel)
DocumentModel
UserManagerImpl. createUser(DocumentModel userModel, DocumentModel context)
void
FakeUserManagerImpl. deleteGroup(DocumentModel groupModel)
void
MultiTenantUserManager. deleteGroup(String groupId, DocumentModel context)
Deletes group with given id with the given context.void
MultiTenantUserManager. deleteGroup(DocumentModel groupModel, DocumentModel context)
Deletes group represented by given model with the given context.void
UserManager. deleteGroup(DocumentModel groupModel)
Deletes group represented by given model.void
UserManagerImpl. deleteGroup(String groupId, DocumentModel context)
void
UserManagerImpl. deleteGroup(DocumentModel groupModel)
void
UserManagerImpl. deleteGroup(DocumentModel groupModel, DocumentModel context)
void
FakeUserManagerImpl. deleteUser(DocumentModel userModel)
void
MultiTenantUserManager. deleteUser(String userId, DocumentModel context)
Deletes user with given id into the given context document.void
MultiTenantUserManager. deleteUser(DocumentModel userModel, DocumentModel context)
Deletes user represented by given model into the given context document.void
UserManager. deleteUser(DocumentModel userModel)
Deletes user represented by given model.void
UserManagerImpl. deleteUser(String userId, DocumentModel context)
void
UserManagerImpl. deleteUser(DocumentModel userModel)
void
UserManagerImpl. deleteUser(DocumentModel userModel, DocumentModel context)
Object
UserAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected String
DefaultUserMultiTenantManagement. getDirectorySuffix(DocumentModel documentContext)
protected NuxeoGroup
UserManagerImpl. getGroup(String groupName, DocumentModel context)
protected String
UserManagerImpl. getGroupId(DocumentModel groupModel)
List<String>
MultiTenantUserManager. getGroupIds(DocumentModel context)
Returns the list of all groups ids with the given context.List<String>
UserManagerImpl. getGroupIds(DocumentModel context)
DocumentModel
MultiTenantUserManager. getGroupModel(String groupName, DocumentModel context)
Return the group document model with this id concatenated with the directory local config (if not null) or null if group does not exist.DocumentModel
UserManagerImpl. getGroupModel(String groupIdValue, DocumentModel context)
List<String>
MultiTenantUserManager. getGroupsInGroup(String parentId, DocumentModel context)
Returns the list of groups that belong to this group with the given context.List<String>
UserManagerImpl. getGroupsInGroup(String parentId, DocumentModel context)
NuxeoPrincipal
MultiTenantUserManager. getPrincipal(String username, DocumentModel context)
Retrieves the principal with the given username or null if it does not exist into the given context document.NuxeoPrincipal
UserManagerImpl. getPrincipal(String username, DocumentModel context)
protected NuxeoPrincipal
UserManagerImpl. getPrincipal(String username, DocumentModel context, boolean fetchReferences)
List<String>
MultiTenantUserManager. getTopLevelGroups(DocumentModel context)
Returns the list of groups that are not members of other groups with the given context.List<String>
UserManagerImpl. getTopLevelGroups(DocumentModel context)
protected String
UserManagerImpl. getUserId(DocumentModel userModel)
List<String>
MultiTenantUserManager. getUserIds(DocumentModel context)
Returns the list of all user ids into the given context document.List<String>
UserManagerImpl. getUserIds(DocumentModel context)
DocumentModel
MultiTenantUserManager. getUserModel(String userName, DocumentModel context)
Returns the document model representing user with given id or null if it does not exist into the given context document.DocumentModel
UserManagerImpl. getUserModel(String userName, DocumentModel context)
protected DocumentModel
UserManagerImpl. getUserModel(String userName, DocumentModel context, boolean fetchReferences)
String[]
MultiTenantUserManager. getUsersForPermission(String perm, ACP acp, DocumentModel context)
For an ACP, get the list of user that has a permission into the given context.String[]
UserManagerImpl. getUsersForPermission(String perm, ACP acp, DocumentModel context)
List<String>
MultiTenantUserManager. getUsersInGroup(String groupId, DocumentModel context)
Returns the list of users that belong to this group into the given contextList<String>
UserManagerImpl. getUsersInGroup(String groupId, DocumentModel context)
List<String>
MultiTenantUserManager. getUsersInGroupAndSubGroups(String groupId, DocumentModel context)
Get users from a group and its subgroups into the given contextList<String>
UserManagerImpl. getUsersInGroupAndSubGroups(String groupId, DocumentModel context)
String
DefaultUserMultiTenantManagement. groupnameTranformer(UserManager um, String groupname, DocumentModel context)
String
UserMultiTenantManagement. groupnameTranformer(UserManager um, String groupname, DocumentModel context)
Transform the GroupName to add to tenant characteristic.QueryBuilder
DefaultUserMultiTenantManagement. groupQueryTransformer(UserManager um, QueryBuilder queryBuilder, DocumentModel context)
QueryBuilder
UserMultiTenantManagement. groupQueryTransformer(UserManager um, QueryBuilder queryBuilder, DocumentModel context)
Transforms the query builder to add tenant-related information.DocumentModel
DefaultUserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)
DocumentModel
UserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)
Transform the Group DocumentModel store it into the tenant described by the contextprotected NuxeoGroup
UserManagerImpl. makeGroup(DocumentModel groupEntry)
protected NuxeoPrincipal
UserManagerImpl. makePrincipal(DocumentModel userEntry)
protected NuxeoPrincipal
UserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, boolean isTransient, List<String> groups)
protected NuxeoPrincipal
UserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)
void
DefaultUserMultiTenantManagement. queryTransformer(UserManager um, Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
void
UserMultiTenantManagement. queryTransformer(UserManager um, Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
Transform filter and fulltext to fetch Groups for the given context and the query specified with the given filter and fulltext.DocumentModelList
MultiTenantUserManager. searchGroups(String pattern, DocumentModel context)
Search matching groups through their defined search fields into the given context document.DocumentModelList
MultiTenantUserManager. searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
Returns groups matching given criteria with the given context.DocumentModelList
MultiTenantUserManager. searchGroups(QueryBuilder queryBuilder, DocumentModel context)
Returns groups matching the given query, within the given context.DocumentModelList
UserManagerImpl. searchGroups(String pattern, DocumentModel context)
DocumentModelList
UserManagerImpl. searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
DocumentModelList
UserManagerImpl. searchGroups(QueryBuilder queryBuilder, DocumentModel context)
DocumentModelList
MultiTenantUserManager. searchUsers(String pattern, DocumentModel context)
Returns users matching given pattern with the given context.DocumentModelList
MultiTenantUserManager. searchUsers(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
Returns users matching given criteria and with the given context.DocumentModelList
MultiTenantUserManager. searchUsers(QueryBuilder queryBuilder, DocumentModel context)
Returns users matching the given query, within the given context.DocumentModelList
UserManagerImpl. searchUsers(String pattern, DocumentModel context)
DocumentModelList
UserManagerImpl. searchUsers(Map<String,Serializable> filter, Set<String> fulltext, Map<String,String> orderBy, DocumentModel context)
MULTI-TENANT-IMPLEMENTATIONDocumentModelList
UserManagerImpl. searchUsers(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)
DocumentModelList
UserManagerImpl. searchUsers(QueryBuilder queryBuilder, DocumentModel context)
void
NuxeoPrincipalImpl. setModel(DocumentModel model)
void
NuxeoPrincipalImpl. setModel(DocumentModel model, boolean updateAllGroups)
Sets model and recomputes all groups.void
FakeUserManagerImpl. updateGroup(DocumentModel groupModel)
void
MultiTenantUserManager. updateGroup(DocumentModel groupModel, DocumentModel context)
Updates group represented by given model with the given context.void
UserManager. updateGroup(DocumentModel groupModel)
Updates group represented by given model.void
UserManagerImpl. updateGroup(DocumentModel groupModel)
void
UserManagerImpl. updateGroup(DocumentModel groupModel, DocumentModel context)
void
FakeUserManagerImpl. updateUser(DocumentModel userModel)
void
MultiTenantUserManager. updateUser(DocumentModel userModel, DocumentModel context)
Updates user represented by given model into the given context document.void
UserManager. updateUser(DocumentModel userModel)
Updates user represented by given model.void
UserManagerImpl. updateUser(DocumentModel userModel)
void
UserManagerImpl. updateUser(DocumentModel userModel, DocumentModel context)
Method parameters in org.nuxeo.ecm.platform.usermanager with type arguments of type DocumentModel Modifier and Type Method Description protected DocumentModelList
UserManagerImpl. queryWithVirtualEntries(Session session, QueryBuilder queryBuilder, List<DocumentModel> virtualEntries)
Executes a query then adds virtual entries (already supposed to match the query).Constructors in org.nuxeo.ecm.platform.usermanager with parameters of type DocumentModel Constructor Description NuxeoGroupImpl(DocumentModel model, GroupConfig config)
UserAdapterImpl(DocumentModel doc, UserManager userManager)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.usermanager.io
Methods in org.nuxeo.ecm.platform.usermanager.io with parameters of type DocumentModel Modifier and Type Method Description protected void
NuxeoGroupJsonReader. readMemberGroups(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)
protected void
NuxeoGroupJsonReader. readMemberUsers(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)
protected void
NuxeoGroupJsonReader. readParentGroups(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)
protected void
NuxeoGroupJsonReader. readProperties(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.usermanager.providers
Fields in org.nuxeo.ecm.platform.usermanager.providers with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
AbstractGroupsPageProvider. pageGroups
protected List<DocumentModel>
AbstractUsersPageProvider. pageUsers
Methods in org.nuxeo.ecm.platform.usermanager.providers that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
AbstractGroupsPageProvider. computeCurrentPage()
protected List<DocumentModel>
AbstractUsersPageProvider. computeCurrentPage()
List<DocumentModel>
GroupsPageProvider. getCurrentPage()
List<DocumentModel>
UsersPageProvider. getCurrentPage()
protected List<DocumentModel>
AbstractGroupsPageProvider. searchAllGroups()
protected List<DocumentModel>
AbstractUsersPageProvider. searchAllUsers(UserManager userManager)
protected List<DocumentModel>
AbstractGroupsPageProvider. searchGroups()
protected List<DocumentModel>
AbstractUsersPageProvider. searchUsers(UserManager userManager)
protected List<DocumentModel>
AbstractUsersPageProvider. searchUsersFromCatalog(UserManager userManager)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.userpreferences
Constructors in org.nuxeo.ecm.platform.userpreferences with parameters of type DocumentModel Constructor Description SimpleUserPreferences(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.api
Methods in org.nuxeo.ecm.platform.userworkspace.api that return DocumentModel Modifier and Type Method Description DocumentModel
UserWorkspaceManagerActions. getCurrentUserPersonalWorkspace()
Gets the current user personal workspace.DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)
Gets the current user personal workspace from a lower level.DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession)
Gets the current user personal workspace.DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)
Deprecated.since 9.3.DocumentModel
UserWorkspaceService. getUserPersonalWorkspace(String userName, DocumentModel context)
Gets a detached user workspace of a specified user.DocumentModel
UserWorkspaceService. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)
Gets a detached user workspace of a specified user depending of the passed principal.Methods in org.nuxeo.ecm.platform.userworkspace.api with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)
Gets the current user personal workspace from a lower level.DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)
Deprecated.since 9.3.DocumentModel
UserWorkspaceService. getUserPersonalWorkspace(String userName, DocumentModel context)
Gets a detached user workspace of a specified user.DocumentModel
UserWorkspaceService. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)
Gets a detached user workspace of a specified user depending of the passed principal.boolean
UserWorkspaceService. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)
Checks whether the passed document is under the user's workspace (or is the workspace itself). -
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.core.service
Fields in org.nuxeo.ecm.platform.userworkspace.core.service declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder. userWorkspace
Methods in org.nuxeo.ecm.platform.userworkspace.core.service that return DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractUserWorkspaceImpl. createDefaultCollectionsRoot(CoreSession session, DocumentModel userWorkspace)
protected DocumentModel
AbstractUserWorkspaceImpl. createFavorites(CoreSession session, DocumentModel userWorkspace)
protected abstract DocumentModel
AbstractUserWorkspaceImpl. doCreateUserWorkspace(CoreSession unrestrictedSession, PathRef wsRef, String username)
protected DocumentModel
DefaultUserWorkspaceServiceImpl. doCreateUserWorkspace(CoreSession unrestrictedSession, PathRef wsRef, String userName)
protected abstract DocumentModel
AbstractUserWorkspaceImpl. doCreateUserWorkspacesRoot(CoreSession unrestrictedSession, PathRef rootRef)
protected DocumentModel
DefaultUserWorkspaceServiceImpl. doCreateUserWorkspacesRoot(CoreSession unrestrictedSession, PathRef rootRef)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)
Deprecated.since 9.3protected DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(NuxeoPrincipal principal, String userName, CoreSession userCoreSession)
This method handles the UserWorkspace creation with a Principal or a username.DocumentModel
AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder. getDetachedUserWorkspace()
DocumentModel
AbstractUserWorkspaceImpl. getUserDefaultCollectionsRoot(CoreSession session)
DocumentModel
AbstractUserWorkspaceImpl. getUserFavorites(CoreSession session)
DocumentModel
AbstractUserWorkspaceImpl. getUserPersonalWorkspace(String userName, DocumentModel context)
DocumentModel
AbstractUserWorkspaceImpl. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)
protected DocumentModel
AbstractUserWorkspaceImpl. initCreateFavorites(CoreSession session, DocumentModel favorites)
protected abstract DocumentModel
AbstractUserWorkspaceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)
protected DocumentModel
DefaultUserWorkspaceServiceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)
protected abstract DocumentModel
AbstractUserWorkspaceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)
protected DocumentModel
DefaultUserWorkspaceServiceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)
protected DocumentModel
AbstractUserWorkspaceImpl. initDefaultCollectionsRoot(CoreSession session, DocumentModel collectionsRoot)
Methods in org.nuxeo.ecm.platform.userworkspace.core.service with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractUserWorkspaceImpl. createDefaultCollectionsRoot(CoreSession session, DocumentModel userWorkspace)
protected DocumentModel
AbstractUserWorkspaceImpl. createFavorites(CoreSession session, DocumentModel userWorkspace)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)
Deprecated.since 9.3DocumentModel
AbstractUserWorkspaceImpl. getUserPersonalWorkspace(String userName, DocumentModel context)
DocumentModel
AbstractUserWorkspaceImpl. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)
protected DocumentModel
AbstractUserWorkspaceImpl. initCreateFavorites(CoreSession session, DocumentModel favorites)
protected abstract DocumentModel
AbstractUserWorkspaceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)
protected DocumentModel
DefaultUserWorkspaceServiceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)
protected abstract DocumentModel
AbstractUserWorkspaceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)
protected DocumentModel
DefaultUserWorkspaceServiceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)
protected DocumentModel
AbstractUserWorkspaceImpl. initDefaultCollectionsRoot(CoreSession session, DocumentModel collectionsRoot)
boolean
AbstractUserWorkspaceImpl. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)
protected void
AbstractUserWorkspaceImpl. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, String eventId, Map<String,Serializable> properties)
Constructors in org.nuxeo.ecm.platform.userworkspace.core.service with parameters of type DocumentModel Constructor Description UnrestrictedUserWorkspaceFinder(String userName, DocumentModel context)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.operations
Methods in org.nuxeo.ecm.platform.userworkspace.operations that return DocumentModel Modifier and Type Method Description protected DocumentModel
UserWorkspaceCreateFromBlob. getCurrentDocument()
DocumentModel
UserWorkspaceCreateFromBlob. run(Blob blob)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.versioning.api
Methods in org.nuxeo.ecm.platform.versioning.api with parameters of type DocumentModel Modifier and Type Method Description VersionIncEditOptions
VersioningManager. getVersionIncEditOptions(DocumentModel doc)
Get document increment options as defined by versioning rules.String
VersioningManager. getVersionLabel(DocumentModel doc)
Gets the label for the current version of a document, for the UI. -
Uses of DocumentModel in org.nuxeo.ecm.platform.versioning.service
Methods in org.nuxeo.ecm.platform.versioning.service with parameters of type DocumentModel Modifier and Type Method Description VersionIncEditOptions
VersioningManagerImpl. getVersionIncEditOptions(DocumentModel doc)
String
VersioningManagerImpl. getVersionLabel(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video
Methods in org.nuxeo.ecm.platform.video with parameters of type DocumentModel Modifier and Type Method Description static void
VideoHelper. updatePreviews(DocumentModel docModel, Blob video)
Update the JPEG previews of a Video document from the video blob content by taking a screen-shot of the movie.static void
VideoHelper. updatePreviews(DocumentModel docModel, Blob video, Double position, List<Map<String,Object>> templates)
Update the JPEG previews of a Video document from the video blob content by taking a screen-shot of the movie at timecode offset given in seconds.static void
VideoHelper. updateStoryboard(DocumentModel docModel, Blob video)
Update the JPEG story board and duration in seconds of a Video document from the video blob content.static void
VideoHelper. updateVideoInfo(DocumentModel docModel, Blob video)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video.adapter
Methods in org.nuxeo.ecm.platform.video.adapter with parameters of type DocumentModel Modifier and Type Method Description Blob
ThumbnailVideoFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Object
VideoDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
Blob
ThumbnailVideoFactory. getThumbnail(DocumentModel doc, CoreSession session)
Constructors in org.nuxeo.ecm.platform.video.adapter with parameters of type DocumentModel Constructor Description VideoDocumentAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video.importer
Methods in org.nuxeo.ecm.platform.video.importer with parameters of type DocumentModel Modifier and Type Method Description void
VideoImporter. updateDocument(DocumentModel doc, Blob content)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video.listener
Methods in org.nuxeo.ecm.platform.video.listener with parameters of type DocumentModel Modifier and Type Method Description protected void
VideoChangedListener. resetProperties(DocumentModel doc)
protected void
VideoChangedListener. scheduleAsyncProcessing(DocumentModel doc)
protected boolean
VideoChangedListener. shouldProcess(DocumentModel doc, String eventName)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video.rendition
Methods in org.nuxeo.ecm.platform.video.rendition with parameters of type DocumentModel Modifier and Type Method Description List<RenditionDefinition>
VideoRenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)
boolean
VideoRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)
List<Blob>
VideoRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video.service
Methods in org.nuxeo.ecm.platform.video.service with parameters of type DocumentModel Modifier and Type Method Description protected Video
VideoConversionWork. getVideoToConvert(DocumentModel doc)
default void
VideoService. launchAutomaticConversions(DocumentModel doc)
Launch all the registered automatic video conversions on the givendoc
.void
VideoService. launchAutomaticConversions(DocumentModel doc, boolean onlyMissing)
Launch registered automatic video conversions on the givendoc
.void
VideoServiceImpl. launchAutomaticConversions(DocumentModel doc, boolean onlyMissing)
void
VideoService. launchConversion(DocumentModel doc, String conversionName)
Launch an asynchronously video conversion of the givendoc
.void
VideoServiceImpl. launchConversion(DocumentModel doc, String conversionName)
protected void
VideoConversionWork. resetTranscodedVideos(DocumentModel doc)
protected void
VideoConversionWork. saveNewTranscodedVideo(DocumentModel doc, TranscodedVideo transcodedVideo)
protected boolean
VideoStoryboardWork. updatePreviews(DocumentModel doc, Blob blob)
protected boolean
VideoStoryboardWork. updateStoryboard(DocumentModel doc, Blob blob)
protected void
VideoInfoWork. updateVideoInfo(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.video.tools.operations
Fields in org.nuxeo.ecm.platform.video.tools.operations declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AddWatermarkToVideo. watermark
Methods in org.nuxeo.ecm.platform.video.tools.operations with parameters of type DocumentModel Modifier and Type Method Description Blob
AddWatermarkToVideo. run(DocumentModel input)
Blob
ExtractClosedCaptionsFromVideo. run(DocumentModel input)
Blob
SliceVideo. run(DocumentModel input)
BlobList
SliceVideoInParts. run(DocumentModel input)
-
Uses of DocumentModel in org.nuxeo.ecm.platform.web.common
Methods in org.nuxeo.ecm.platform.web.common with parameters of type DocumentModel Modifier and Type Method Description protected static String
MobileBannerHelper. getDocumentPart(DocumentModel doc)
Deprecated.static String
MobileBannerHelper. getURLForAndroidApplication(javax.servlet.http.HttpServletRequest request, DocumentModel doc)
Deprecated.Returns a full URL opening the Android mobile application for the given document.static String
MobileBannerHelper. getURLForIOSApplication(javax.servlet.http.HttpServletRequest request, DocumentModel doc)
Deprecated.Returns a full URL opening the iOS mobile application for the given document.static String
MobileBannerHelper. getURLForMobileApplication(String protocol, String baseURL, DocumentModel doc, String requestedURL)
Deprecated.static String
MobileBannerHelper. getURLForMobileApplication(String protocol, javax.servlet.http.HttpServletRequest request, DocumentModel doc)
Deprecated. -
Uses of DocumentModel in org.nuxeo.ecm.platform.web.common.locale
Methods in org.nuxeo.ecm.platform.web.common.locale with parameters of type DocumentModel Modifier and Type Method Description Locale
DefaultLocaleProvider. getLocale(DocumentModel userProfileDoc)
Locale
LocaleProvider. getLocale(DocumentModel userProfileDoc)
Gets the locale stored in the given user profile.Locale
DefaultLocaleProvider. getLocaleWithDefault(DocumentModel userProfileDoc)
Locale
LocaleProvider. getLocaleWithDefault(DocumentModel userProfileDoc)
-
Uses of DocumentModel in org.nuxeo.ecm.quota
Methods in org.nuxeo.ecm.quota that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
AbstractQuotaStatsUpdater. getAncestors(CoreSession session, DocumentModel doc)
Gets all the ancestors of the document, including the root.protected List<DocumentModel>
QuotaStatsServiceImpl. getParentsInReverseOrder(DocumentModel doc, CoreSession session)
Methods in org.nuxeo.ecm.quota with parameters of type DocumentModel Modifier and Type Method Description boolean
QuotaStatsService. canSetMaxQuota(long maxQuota, DocumentModel doc, CoreSession session)
Test to see if quota allowed.boolean
QuotaStatsServiceImpl. canSetMaxQuota(long maxQuota, DocumentModel doc, CoreSession session)
static void
QuotaUtils. clearContextData(DocumentModel doc)
Clears the context data of the various flags used to disable listeners.static void
QuotaUtils. disableListeners(DocumentModel doc)
Disables listeners and options when saving a value in a quota facet.protected List<DocumentModel>
AbstractQuotaStatsUpdater. getAncestors(CoreSession session, DocumentModel doc)
Gets all the ancestors of the document, including the root.protected List<DocumentModel>
QuotaStatsServiceImpl. getParentsInReverseOrder(DocumentModel doc, CoreSession session)
long
QuotaStatsService. getQuotaFromParent(DocumentModel doc, CoreSession session)
Gets the quota from the first parent where quota has been set.long
QuotaStatsServiceImpl. getQuotaFromParent(DocumentModel doc, CoreSession session)
String
QuotaStatsServiceImpl. getUserWorkspaceRootId(DocumentModel context, CoreSession session)
void
QuotaStatsService. launchSetMaxQuotaOnUserWorkspaces(long maxQuota, DocumentModel context, CoreSession session)
Sets this maxQuota on all user workspacesvoid
QuotaStatsServiceImpl. launchSetMaxQuotaOnUserWorkspaces(long maxSize, DocumentModel context, CoreSession session)
protected abstract boolean
AbstractQuotaStatsUpdater. needToProcessEventOnDocument(Event event, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentAboutToBeRemoved(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentBeforeCheckedIn(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentBeforeCheckedOut(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentBeforeRestore(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentBeforeUpdate(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentCheckedIn(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentCheckedOut(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentCopied(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentCreated(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentMoved(CoreSession session, DocumentModel doc, DocumentModel sourceParent)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentRestored(CoreSession session, DocumentModel doc)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentTrashOp(CoreSession session, DocumentModel doc, boolean isTrashed)
protected abstract void
AbstractQuotaStatsUpdater. processDocumentUpdated(CoreSession session, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.quota.automation
Methods in org.nuxeo.ecm.quota.automation with parameters of type DocumentModel Modifier and Type Method Description JsonAdapter
GetQuotaInfoOperation. run(DocumentModel doc)
Long
SetQuotaInfoOperation. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.quota.count
Methods in org.nuxeo.ecm.quota.count with parameters of type DocumentModel Modifier and Type Method Description Object
QuotaStatsAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
protected long
DocumentsCountUpdater. getCount(DocumentModel doc)
protected boolean
DocumentsCountUpdater. needToProcessEventOnDocument(Event event, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentAboutToBeRemoved(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentBeforeCheckedIn(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentBeforeCheckedOut(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentBeforeRestore(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentBeforeUpdate(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentCheckedIn(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentCheckedOut(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentCopied(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentCreated(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentMoved(CoreSession session, DocumentModel doc, DocumentModel sourceParent)
protected void
DocumentsCountUpdater. processDocumentRestored(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. processDocumentTrashOp(CoreSession session, DocumentModel doc, boolean isTrashed)
protected void
DocumentsCountUpdater. processDocumentUpdated(CoreSession session, DocumentModel doc)
protected void
DocumentsCountUpdater. saveDocumentsCount(CoreSession session, DocumentModel folder, org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count count)
protected void
DocumentsCountUpdater. updateCount(CoreSession session, DocumentModel parent, String xpath, long count)
protected void
DocumentsCountUpdater. updateCountStatistics(CoreSession session, DocumentModel doc, List<DocumentModel> ancestors, long count)
Method parameters in org.nuxeo.ecm.quota.count with type arguments of type DocumentModel Modifier and Type Method Description protected void
DocumentsCountUpdater. updateCountStatistics(CoreSession session, DocumentModel doc, List<DocumentModel> ancestors, long count)
Constructors in org.nuxeo.ecm.quota.count with parameters of type DocumentModel Constructor Description QuotaStatsNonFolderishCountAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.quota.size
Fields in org.nuxeo.ecm.quota.size declared as DocumentModel Modifier and Type Field Description protected DocumentModel
QuotaAwareDocument. doc
Methods in org.nuxeo.ecm.quota.size that return DocumentModel Modifier and Type Method Description DocumentModel
QuotaAware. getDoc()
DocumentModel
QuotaAwareDocument. getDoc()
Methods in org.nuxeo.ecm.quota.size with parameters of type DocumentModel Modifier and Type Method Description protected void
DocumentsSizeUpdater. checkQuota(CoreSession session, DocumentModel doc, long delta)
Checks the size delta against the maximum quota specified for this document or an ancestor.Object
QuotaAwareDocumentFactory. getAdapter(DocumentModel doc, Class<?> adapter)
protected List<Blob>
DocumentsSizeUpdater. getAllBlobs(DocumentModel doc)
Returns the list of blobs for this document.protected long
DocumentsSizeUpdater. getBlobsSize(DocumentModel doc)
Gets the sum of all blobs sizes for this document.protected long
DocumentsSizeUpdater. getVersionsSize(CoreSession session, DocumentModel doc)
Gets the sum of all blobs sizes for all the document's versions.protected void
DocumentsSizeUpdater. initDocument(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. initDocumentFromChildren(DocumentModel doc)
static QuotaAware
QuotaAwareDocumentFactory. make(DocumentModel doc)
protected boolean
DocumentsSizeUpdater. needToProcessEventOnDocument(Event event, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentAboutToBeRemoved(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentBeforeCheckedIn(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentBeforeCheckedOut(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentBeforeRestore(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentBeforeUpdate(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentCheckedIn(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentCheckedOut(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentCopied(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentCreated(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentMoved(CoreSession session, DocumentModel doc, DocumentModel sourceParent)
protected void
DocumentsSizeUpdater. processDocumentRestored(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. processDocumentTrashOp(CoreSession session, DocumentModel doc, boolean isTrashed)
protected void
DocumentsSizeUpdater. processDocumentUpdated(CoreSession session, DocumentModel doc)
protected void
DocumentsSizeUpdater. updateAncestors(CoreSession session, DocumentModel doc, long deltaTotal, long deltaTrash, long deltaVersions)
protected void
DocumentsSizeUpdater. updateDocument(DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions)
protected void
DocumentsSizeUpdater. updateDocument(DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions, boolean allowSave)
protected void
DocumentsSizeUpdater. updateDocumentAndAncestors(CoreSession session, DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions)
Constructors in org.nuxeo.ecm.quota.size with parameters of type DocumentModel Constructor Description QuotaAwareDocument(DocumentModel doc)
QuotaExceededException(DocumentModel targetDocument, String message)
QuotaExceededException(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue)
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs
Methods in org.nuxeo.ecm.restapi.server.jaxrs that return DocumentModel Modifier and Type Method Description DocumentModel
JSONDocumentObject. doGet()
DocumentModel
JSONDocumentObject. doPut(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers)
protected DocumentModel
PaginableObject. getSearchDocument()
protected DocumentModel
QueryObject. getSearchDocumentModel(CoreSession session, PageProviderService pps, String providerName, Properties namedParameters)
Deprecated.since 11.1, usePageProviderHelper.getSearchDocumentModel(CoreSession, PageProviderService, String, Map)
insteadprotected DocumentModel
OAuth2Object. getTokenDoc(OAuth2Client client, String nxuser)
protected DocumentModel
OAuth2Object. getTokenDoc(NuxeoOAuth2ServiceProvider provider, String nxuser)
Methods in org.nuxeo.ecm.restapi.server.jaxrs with parameters of type DocumentModel Modifier and Type Method Description protected void
OAuth2Object. deleteToken(DocumentModel token)
javax.ws.rs.core.Response
JSONDocumentObject. doPost(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers)
DocumentModel
JSONDocumentObject. doPut(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers)
DocumentModelList
BulkDocumentsObject. doUpdate(DocumentModel updateDoc)
Deprecated.DocumentObject
JSONDocumentObject. newDocument(DocumentModel doc)
protected void
OAuth2Object. updateTokenDoc(NuxeoOAuth2Token token, DocumentModel entry)
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.adapters
Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters that return DocumentModel Modifier and Type Method Description DocumentModel
EmptyDocumentAdapter. getEmptyDocumentModel(String type, String name)
protected DocumentModel
AuditAdapter. getSearchDocument()
protected DocumentModel
PaginableAdapter. getSearchDocument()
Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters that return types with arguments of type DocumentModel Modifier and Type Method Description protected Paginable<DocumentModel>
DocumentModelListPaginableAdapter. getPaginableEntries(PageProvider<DocumentModel> pageProvider)
Paginable<DocumentModel>
PageProviderAdapter. getProviderDocs(String providerName)
Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters with parameters of type DocumentModel Modifier and Type Method Description protected List<Blob>
PreviewAdapter. previewBlobs(DocumentModel doc, String xpath, boolean blobPostProcessing)
Method parameters in org.nuxeo.ecm.restapi.server.jaxrs.adapters with type arguments of type DocumentModel Modifier and Type Method Description protected Paginable<DocumentModel>
DocumentModelListPaginableAdapter. getPaginableEntries(PageProvider<DocumentModel> pageProvider)
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.blob
Fields in org.nuxeo.ecm.restapi.server.jaxrs.blob declared as DocumentModel Modifier and Type Field Description protected DocumentModel
BlobAdapter. doc
protected DocumentModel
BlobObject. doc
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.enrichers
Methods in org.nuxeo.ecm.restapi.server.jaxrs.enrichers with parameters of type DocumentModel Modifier and Type Method Description protected boolean
HasContentJsonEnricher. hasContent(DocumentModel document, String query)
void
AuditJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
void
HasContentJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.rendition
Fields in org.nuxeo.ecm.restapi.server.jaxrs.rendition declared as DocumentModel Modifier and Type Field Description protected DocumentModel
RenditionObject. doc
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.search
Methods in org.nuxeo.ecm.restapi.server.jaxrs.search with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelList
QueryExecutor. queryByLang(String query, Long pageSize, Long currentPageIndex, Long currentPageOffset, Long maxResults, List<SortInfo> sortInfo, Map<String,Serializable> props, DocumentModel searchDocumentModel, Object... parameters)
protected DocumentModelList
QueryExecutor. queryByPageProvider(String pageProviderName, Long pageSize, Long currentPageIndex, Long currentPageOffset, List<SortInfo> sortInfo, List<String> highlights, List<QuickFilter> quickFilters, Map<String,Serializable> props, DocumentModel searchDocumentModel, Object... parameters)
protected DocumentModelList
QueryExecutor. queryByPageProvider(String pageProviderName, Long pageSize, Long currentPageIndex, Long currentPageOffset, List<SortInfo> sortInfo, List<QuickFilter> quickFilters, Object[] parameters, Map<String,Serializable> props, DocumentModel searchDocumentModel)
protected DocumentModelList
SearchObject. querySavedSearchByPageProvider(String pageProviderName, Long pageSize, Long currentPageIndex, Long currentPageOffset, String orderedParams, Map<String,String> namedParameters, List<SortInfo> sortInfo, List<QuickFilter> quickFilters, DocumentModel searchDocumentModel)
-
Uses of DocumentModel in org.nuxeo.ecm.restapi.test
Methods in org.nuxeo.ecm.restapi.test that return DocumentModel Modifier and Type Method Description static DocumentModel
RestServerInit. getFile(int index, CoreSession session)
static DocumentModel
RestServerInit. getFolder(int index, CoreSession session)
static DocumentModel
RestServerInit. getNote(int index, CoreSession session)
Methods in org.nuxeo.ecm.restapi.test with parameters of type DocumentModel Modifier and Type Method Description protected void
BaseTest. assertEntityEqualsDoc(InputStream in, DocumentModel doc)
Deprecated, for removal: This API element is subject to removal in a future version.protected void
BaseTest. assertNodeEqualsDoc(com.fasterxml.jackson.databind.JsonNode node, DocumentModel note)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of DocumentModel in org.nuxeo.ecm.tokenauth.service
Methods in org.nuxeo.ecm.tokenauth.service that return DocumentModel Modifier and Type Method Description protected DocumentModel
TokenAuthenticationServiceImpl. getBareAuthTokenModel(DirectoryService directoryService)
-
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile
Methods in org.nuxeo.ecm.user.center.profile that return DocumentModel Modifier and Type Method Description DocumentModel
UserProfileService. getUserProfile(DocumentModel userModel, CoreSession session)
Get a DocumentModel containing both user and user profile schemasDocumentModel
UserProfileServiceImpl. getUserProfile(DocumentModel userModel, CoreSession session)
DocumentModel
UserProfileService. getUserProfileDocument(String userName, CoreSession session)
Get the profile of a specific user.DocumentModel
UserProfileService. getUserProfileDocument(CoreSession session)
Get the current user profile.DocumentModel
UserProfileServiceImpl. getUserProfileDocument(String userName, CoreSession session)
DocumentModel
UserProfileServiceImpl. getUserProfileDocument(CoreSession session)
Methods in org.nuxeo.ecm.user.center.profile with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
UserProfileService. getUserProfile(DocumentModel userModel, CoreSession session)
Get a DocumentModel containing both user and user profile schemasDocumentModel
UserProfileServiceImpl. getUserProfile(DocumentModel userModel, CoreSession session)
-
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile.listeners
Methods in org.nuxeo.ecm.user.center.profile.listeners with parameters of type DocumentModel Modifier and Type Method Description protected void
ResizeAvatarPictureListener. resizeAvatar(DocumentModel doc, Blob avatarImage)
-
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile.localeProvider
Methods in org.nuxeo.ecm.user.center.profile.localeProvider with parameters of type DocumentModel Modifier and Type Method Description Locale
UserLocaleProvider. getLocale(DocumentModel userProfileDoc)
Locale
UserLocaleProvider. getLocaleWithDefault(DocumentModel userProfileDoc)
-
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile.rest
Methods in org.nuxeo.ecm.user.center.profile.rest with parameters of type DocumentModel Modifier and Type Method Description protected void
UserProfileEnricher. writeCompatibilityUserProfile(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel up)
protected void
UserProfileEnricher. writeUserProfile(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel up)
-
Uses of DocumentModel in org.nuxeo.ecm.user.invite
Fields in org.nuxeo.ecm.user.invite declared as DocumentModel Modifier and Type Field Description protected DocumentModel
UserInvitationComponent.RootDocumentGetter. doc
protected DocumentModel
RegistrationRules. requestContainer
protected DocumentModel
UserInvitationComponent.RegistrationCreator. userRegistrationModel
Methods in org.nuxeo.ecm.user.invite that return DocumentModel Modifier and Type Method Description DocumentModel
UserInvitationComponent.RootDocumentGetter. getDoc()
DocumentModel
UserInvitationComponent. getOrCreateRootDocument(CoreSession session, String configurationName)
DocumentModel
UserInvitationComponent. getRegistrationRulesDocument(CoreSession session, String configurationName)
DocumentModel
UserInvitationService. getRegistrationRulesDocument(CoreSession session, String configurationName)
Get documentmodel that stores request configuration using RegistrationConfiguration facet.DocumentModel
UserInvitationComponent. getUserRegistrationModel(String configurationName)
DocumentModel
UserInvitationComponent.UserRegistrationModelCreator. getUserRegistrationModel()
DocumentModel
UserInvitationService. getUserRegistrationModel(String configurationName)
Create a document model for the UserRegistration doctype.Methods in org.nuxeo.ecm.user.invite with parameters of type DocumentModel Modifier and Type Method Description protected boolean
UserInvitationComponent. checkUserFromRegistrationExistence(DocumentModel registrationDoc)
NuxeoPrincipal
UserInvitationComponent. createUser(CoreSession session, DocumentModel registrationDoc)
NuxeoPrincipal
UserInvitationService. createUser(CoreSession session, DocumentModel registrationDoc)
NuxeoPrincipal
DefaultInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)
NuxeoPrincipal
InvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)
Handle user creationvoid
DefaultInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)
void
InvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)
Called just after the user is createdprotected List<String>
DefaultInvitationUserFactory. filterGroups(DocumentModel registrationDoc, UserRegistrationConfiguration configuration)
Filter group by computing the intersection of the group in the registration doc and the groups of the user that created the request.Object
RegistrationRulesFactory. getAdapter(DocumentModel doc, Class<?> itf)
UserRegistrationConfiguration
UserInvitationComponent. getConfiguration(DocumentModel requestDoc)
UserRegistrationConfiguration
UserInvitationService. getConfiguration(DocumentModel requestDoc)
protected static boolean
UserInvitationComponent. isEmailExist(UserRegistrationConfiguration configuration, DocumentModel userRegistration)
protected void
UserInvitationComponent. reviveRegistrationRequest(CoreSession session, DocumentModel registrationDoc, Map<String,Serializable> additionalInfos)
protected void
UserInvitationComponent. sendEmail(Map<String,Serializable> additionnalInfo, DocumentModel registrationDoc, String emailTemplatePath, String emailTitle)
protected EventContext
UserInvitationComponent. sendEvent(CoreSession session, DocumentModel source, String evName)
protected void
UserInvitationComponent. sendValidationEmail(Map<String,Serializable> additionnalInfo, DocumentModel registrationDoc)
String
UserInvitationComponent. submitRegistrationRequest(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)
String
UserInvitationComponent. submitRegistrationRequest(DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)
String
UserInvitationService. submitRegistrationRequest(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)
Stores a resgitration request like submitRegistrationRequest with Document informationString
UserInvitationService. submitRegistrationRequest(DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)
Stores a registration request and return a unique ID for itMethod parameters in org.nuxeo.ecm.user.invite with type arguments of type DocumentModel Modifier and Type Method Description void
UserInvitationComponent. deleteRegistrationRequests(CoreSession session, List<DocumentModel> registrationDocs)
void
UserInvitationService. deleteRegistrationRequests(CoreSession session, List<DocumentModel> registrationDoc)
Delete a registration documentvoid
UserInvitationComponent. reviveRegistrationRequests(CoreSession session, List<DocumentModel> registrationDocs)
void
UserInvitationService. reviveRegistrationRequests(CoreSession session, List<DocumentModel> registrationDocs)
Send a mail to the invited user to revive his invitation If an error occured while sending an email, it logs it and continue.Constructors in org.nuxeo.ecm.user.invite with parameters of type DocumentModel Constructor Description RegistrationCreator(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod)
RegistrationRules(DocumentModel requestContainer)
-
Uses of DocumentModel in org.nuxeo.ecm.webdav.backend
Methods in org.nuxeo.ecm.webdav.backend that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractVirtualBackend. copyItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
Backend. copyItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
SimpleBackend. copyItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
AbstractVirtualBackend. createFile(String parentPath, String name)
DocumentModel
AbstractVirtualBackend. createFile(String parentPath, String name, Blob content)
DocumentModel
Backend. createFile(String parentPath, String name)
Deprecated.since 10.10, unusedDocumentModel
Backend. createFile(String parentPath, String name, Blob content)
DocumentModel
SimpleBackend. createFile(String parentPath, String name)
DocumentModel
SimpleBackend. createFile(String parentPath, String name, Blob content)
DocumentModel
AbstractVirtualBackend. createFolder(String parentPath, String name)
DocumentModel
Backend. createFolder(String parentPath, String name)
DocumentModel
SimpleBackend. createFolder(String parentPath, String name)
DocumentModel
PathCache. get(String path)
Deprecated.DocumentModel
AbstractVirtualBackend. getDocument(String location)
DocumentModel
Backend. getDocument(String location)
DocumentModel
SimpleBackend. getDocument(String location)
DocumentModel
AbstractVirtualBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)
DocumentModel
AbstractVirtualBackend. moveItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
Backend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)
DocumentModel
Backend. moveItem(DocumentModel source, PathRef targetParentRef)
Deprecated.since 10.10, unusedDocumentModel
SimpleBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)
DocumentModel
SimpleBackend. moveItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
AbstractVirtualBackend. resolveLocation(String location)
DocumentModel
Backend. resolveLocation(String location)
DocumentModel
SimpleBackend. resolveLocation(String location)
protected DocumentModel
SimpleBackend. resolveParent(String location)
DocumentModel
AbstractVirtualBackend. updateDocument(DocumentModel doc, String name, Blob content)
DocumentModel
Backend. updateDocument(DocumentModel doc, String name, Blob content)
DocumentModel
SimpleBackend. updateDocument(DocumentModel doc, String name, Blob content)
Methods in org.nuxeo.ecm.webdav.backend that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
AbstractVirtualBackend. getChildren(DocumentRef ref)
List<DocumentModel>
Backend. getChildren(DocumentRef ref)
List<DocumentModel>
SimpleBackend. getChildren(DocumentRef ref)
Methods in org.nuxeo.ecm.webdav.backend with parameters of type DocumentModel Modifier and Type Method Description protected boolean
SimpleBackend. cleanTrashPath(DocumentModel parent, String name)
DocumentModel
AbstractVirtualBackend. copyItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
Backend. copyItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
SimpleBackend. copyItem(DocumentModel source, PathRef targetParentRef)
String
AbstractVirtualBackend. getDisplayName(DocumentModel doc)
String
Backend. getDisplayName(DocumentModel doc)
String
SimpleBackend. getDisplayName(DocumentModel doc)
protected String
SimpleBackend. getFileName(DocumentModel doc)
protected boolean
SimpleBackend. isTemporaryFile(DocumentModel doc)
protected boolean
SimpleBackend. isTrashDocument(DocumentModel model)
DocumentModel
AbstractVirtualBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)
DocumentModel
AbstractVirtualBackend. moveItem(DocumentModel source, PathRef targetParentRef)
DocumentModel
Backend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)
DocumentModel
Backend. moveItem(DocumentModel source, PathRef targetParentRef)
Deprecated.since 10.10, unusedDocumentModel
SimpleBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)
DocumentModel
SimpleBackend. moveItem(DocumentModel source, PathRef targetParentRef)
void
PathCache. put(String path, DocumentModel model)
Deprecated.void
AbstractVirtualBackend. renameItem(DocumentModel source, String destinationName)
void
Backend. renameItem(DocumentModel source, String destinationName)
Deprecated.since 10.10, unused, useBackend.moveItem(org.nuxeo.ecm.core.api.DocumentModel, org.nuxeo.ecm.core.api.PathRef)
insteadvoid
SimpleBackend. renameItem(DocumentModel source, String destinationName)
DocumentModel
AbstractVirtualBackend. updateDocument(DocumentModel doc, String name, Blob content)
DocumentModel
Backend. updateDocument(DocumentModel doc, String name, Blob content)
DocumentModel
SimpleBackend. updateDocument(DocumentModel doc, String name, Blob content)
Method parameters in org.nuxeo.ecm.webdav.backend with type arguments of type DocumentModel Modifier and Type Method Description protected void
AbstractVirtualBackend. registerSimpleBackends(List<DocumentModel> docs)
-
Uses of DocumentModel in org.nuxeo.ecm.webdav.resource
Fields in org.nuxeo.ecm.webdav.resource declared as DocumentModel Modifier and Type Field Description protected DocumentModel
ExistingResource. doc
Methods in org.nuxeo.ecm.webdav.resource with parameters of type DocumentModel Modifier and Type Method Description protected net.java.dev.webdav.jaxrs.xml.elements.Response
FolderResource. createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop)
protected net.java.dev.webdav.jaxrs.xml.elements.Response
FolderResource. createResponse(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo, net.java.dev.webdav.jaxrs.xml.elements.Prop prop, boolean append)
protected net.java.dev.webdav.jaxrs.xml.properties.LockDiscovery
ExistingResource. getLockDiscovery(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo)
protected PropStatBuilderExt
ExistingResource. getPropStatBuilderExt(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo)
protected Date
ExistingResource. getTimePropertyWrapper(DocumentModel doc, String name)
protected boolean
ExistingResource. isRecentlyCreated(DocumentModel doc)
Constructors in org.nuxeo.ecm.webdav.resource with parameters of type DocumentModel Constructor Description ExistingResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
FileResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
FolderResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)
-
Uses of DocumentModel in org.nuxeo.ecm.webengine.forms
Methods in org.nuxeo.ecm.webengine.forms with parameters of type DocumentModel Modifier and Type Method Description void
FormData. fillDocument(DocumentModel doc)
void
FormInstance. fillDocument(DocumentModel doc)
void
FormData. fillDocumentFromForm(DocumentModel doc)
void
FormData. fillDocumentFromMultiPartForm(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate
Methods in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate that return DocumentModel Modifier and Type Method Description DocumentModel
DocumentModelJsonReaderLegacy. read(Class<?> clazz, Type genericType, javax.ws.rs.core.MediaType mediaType, InputStream in)
-
Uses of DocumentModel in org.nuxeo.ecm.webengine.model
Methods in org.nuxeo.ecm.webengine.model with parameters of type DocumentModel Modifier and Type Method Description String
ModuleResource. getLink(DocumentModel doc)
String
WebContext. getUrlPath(DocumentModel document)
Get a suitable URI path for the given Nuxeo document, that can be used to invoke this document. -
Uses of DocumentModel in org.nuxeo.ecm.webengine.model.impl
Methods in org.nuxeo.ecm.webengine.model.impl with parameters of type DocumentModel Modifier and Type Method Description String
ModuleRoot. getLink(DocumentModel doc)
You should override this method to resolve objects to links.String
AbstractWebContext. getUrlPath(DocumentModel document)
This method is working only for root objects that implementModuleResource
-
Uses of DocumentModel in org.nuxeo.ecm.webengine.ui.json
Methods in org.nuxeo.ecm.webengine.ui.json that return DocumentModel Modifier and Type Method Description protected DocumentModel
DocumentTreeBuilder. getObject(String name)
Methods in org.nuxeo.ecm.webengine.ui.json that return types with arguments of type DocumentModel Modifier and Type Method Description protected Collection<DocumentModel>
DocumentTreeBuilder. getChildren(DocumentModel obj)
Methods in org.nuxeo.ecm.webengine.ui.json with parameters of type DocumentModel Modifier and Type Method Description protected Collection<DocumentModel>
DocumentTreeBuilder. getChildren(DocumentModel obj)
protected String
DocumentTreeBuilder. getName(DocumentModel obj)
protected Map<String,Object>
DocumentTreeBuilder. toJson(DocumentModel obj)
-
Uses of DocumentModel in org.nuxeo.ecm.webengine.ui.tree.directory
Methods in org.nuxeo.ecm.webengine.ui.tree.directory with parameters of type DocumentModel Modifier and Type Method Description protected void
DirectoryContentProvider. createQuery(DocumentModel parent, Map<String,Serializable> query)
-
Uses of DocumentModel in org.nuxeo.ecm.webengine.ui.tree.document
Constructors in org.nuxeo.ecm.webengine.ui.tree.document with parameters of type DocumentModel Constructor Description DocumentTree(WebContext ctx, DocumentModel rootDoc)
-
Uses of DocumentModel in org.nuxeo.elasticsearch
Methods in org.nuxeo.elasticsearch with parameters of type DocumentModel Modifier and Type Method Description org.elasticsearch.common.bytes.BytesReference
ElasticSearchComponent. source(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.aggregate
Methods in org.nuxeo.elasticsearch.aggregate with parameters of type DocumentModel Modifier and Type Method Description static AggregateEsBase<? extends org.elasticsearch.search.aggregations.Aggregation,? extends Bucket>
AggregateFactory. create(AggregateDefinition def, DocumentModel searchDocumentModel)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.api
Methods in org.nuxeo.elasticsearch.api with parameters of type DocumentModel Modifier and Type Method Description org.elasticsearch.common.bytes.BytesReference
ElasticSearchIndexing. source(DocumentModel doc)
Returns the JSON Elasticsearch source representation of a document. -
Uses of DocumentModel in org.nuxeo.elasticsearch.audit
Methods in org.nuxeo.elasticsearch.audit with parameters of type DocumentModel Modifier and Type Method Description protected org.elasticsearch.index.query.QueryBuilder
ESAuditBackend. buildFilter(PredicateDefinition[] predicates, DocumentModel searchDocumentModel)
org.elasticsearch.action.search.SearchRequest
ESAuditBackend. buildSearchQuery(String fixedPart, PredicateDefinition[] predicates, DocumentModel searchDocumentModel)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.commands
Fields in org.nuxeo.elasticsearch.commands declared as DocumentModel Modifier and Type Field Description protected DocumentModel
IndexingCommands. targetDocument
Methods in org.nuxeo.elasticsearch.commands that return DocumentModel Modifier and Type Method Description DocumentModel
IndexingCommand. getTargetDocument()
Return the document or null if it does not exists anymore.DocumentModel
IndexingCommands. getTargetDocument()
protected DocumentModel
IndexingCommand. getValidTargetDocument(DocumentModel target)
Methods in org.nuxeo.elasticsearch.commands with parameters of type DocumentModel Modifier and Type Method Description IndexingCommand
IndexingCommand. clone(DocumentModel newDoc)
protected IndexingCommands
IndexingCommandsStacker. getCommands(DocumentModel doc)
protected String
IndexingCommandsStacker. getDocKey(DocumentModel doc)
protected IndexingCommands
IndexingCommandsStacker. getOrCreateCommands(DocumentModel doc)
protected DocumentModel
IndexingCommand. getValidTargetDocument(DocumentModel target)
protected boolean
IndexingCommandsStacker. isSynchronous(DocumentEventContext docCtx, DocumentModel doc)
protected void
IndexingCommandsStacker. stackCommand(DocumentModel doc, String eventId, boolean sync)
protected void
IndexingCommandsStacker. stackCommand(DocumentModel doc, DocumentEventContext docCtx, String eventId)
Constructors in org.nuxeo.elasticsearch.commands with parameters of type DocumentModel Constructor Description IndexingCommand(DocumentModel document, IndexingCommand.Type commandType, boolean sync, boolean recurse)
Create an indexing commandIndexingCommands(DocumentModel targetDocument)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.core
Methods in org.nuxeo.elasticsearch.core with parameters of type DocumentModel Modifier and Type Method Description org.elasticsearch.common.bytes.BytesReference
ElasticSearchIndexingImpl. source(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.fetcher
Methods in org.nuxeo.elasticsearch.fetcher that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
VcsFetcher. fetchFromVcs(Map<String,List<String>> repoHits)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.io
Methods in org.nuxeo.elasticsearch.io that return DocumentModel Modifier and Type Method Description DocumentModel
JsonDocumentModelReader. getDocumentModel()
Methods in org.nuxeo.elasticsearch.io with parameters of type DocumentModel Modifier and Type Method Description protected Map<String,String>
JsonESDocumentWriter. getBinaryFulltext(DocumentModel doc)
void
HighlightJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)
protected void
JsonESDocumentWriter. writeContextParameters(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, Map<String,String> contextParameters)
void
JsonESDocumentWriter. writeESDocument(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String[] schemas, Map<String,String> contextParameters)
protected static void
JsonESDocumentWriter. writeProperties(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String schema, javax.servlet.ServletRequest request)
protected void
JsonESDocumentWriter. writeSchemas(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String[] schemas)
protected void
JsonESDocumentWriter. writeSystemProperties(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.provider
Fields in org.nuxeo.elasticsearch.provider with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>
ElasticSearchNativePageProvider. currentPageDocuments
Methods in org.nuxeo.elasticsearch.provider that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
ElasticSearchNativePageProvider. getCurrentPage()
List<DocumentModel>
ElasticSearchNxqlPageProvider. getCurrentPage()
-
Uses of DocumentModel in org.nuxeo.elasticsearch.query
Methods in org.nuxeo.elasticsearch.query with parameters of type DocumentModel Modifier and Type Method Description static org.elasticsearch.index.query.QueryBuilder
PageProviderQueryBuilder. makeQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery)
Create a ES request from a PP whereClausestatic org.elasticsearch.index.query.QueryBuilder
PageProviderQueryBuilder. makeQuery(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery)
-
Uses of DocumentModel in org.nuxeo.elasticsearch.work
Methods in org.nuxeo.elasticsearch.work that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>
BucketIndexingWorker. loadDocumentsOneByOne(CoreSession session, List<String> documentIds)
-
Uses of DocumentModel in org.nuxeo.importer.stream.consumer
Methods in org.nuxeo.importer.stream.consumer with parameters of type DocumentModel Modifier and Type Method Description protected void
DocumentMessageConsumer. setDocumentProperties(DocumentModel doc, Map<String,Serializable> properties)
-
Uses of DocumentModel in org.nuxeo.io.fsexporter
Methods in org.nuxeo.io.fsexporter with parameters of type DocumentModel Modifier and Type Method Description protected void
CustomExporterPlugin. exportFileInXML(CoreSession session, DocumentModel docfrom, String pathtoexport)
DocumentModelList
DefaultExporterPlugin. getChildren(CoreSession session, DocumentModel doc, String customQuery)
DocumentModelList
FSExporterPlugin. getChildren(CoreSession session, DocumentModel doc, String PageProvider)
protected String
DefaultExporterPlugin. getFileName(Blob blob, DocumentModel docfrom, File folder, int i)
File
CustomExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
File
DefaultExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
File
DriveLikeExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
File
FSExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
-
Uses of DocumentModel in org.nuxeo.scim.server.mapper
Methods in org.nuxeo.scim.server.mapper that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractMapper. createGroupModelFromGroupResource(com.unboundid.scim.data.GroupResource group)
abstract DocumentModel
AbstractMapper. createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user)
DocumentModel
ConfigurableUserMapper. createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user)
DocumentModel
StaticUserMapper. createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user)
DocumentModel
AbstractMapper. updateGroupModelFromGroupResource(String uid, com.unboundid.scim.data.GroupResource group)
abstract DocumentModel
AbstractMapper. updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)
DocumentModel
ConfigurableUserMapper. updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)
DocumentModel
StaticUserMapper. updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)
Methods in org.nuxeo.scim.server.mapper with parameters of type DocumentModel Modifier and Type Method Description com.unboundid.scim.data.GroupResource
AbstractMapper. getGroupResourceFromNuxeoGroup(DocumentModel groupModel)
abstract com.unboundid.scim.data.UserResource
AbstractMapper. getUserResourceFromNuxeoUser(DocumentModel userModel)
com.unboundid.scim.data.UserResource
ConfigurableUserMapper. getUserResourceFromNuxeoUser(DocumentModel userModel)
com.unboundid.scim.data.UserResource
StaticUserMapper. getUserResourceFromNuxeoUser(DocumentModel userModel)
protected void
AbstractMapper. updateGroupModel(DocumentModel userModel, com.unboundid.scim.data.GroupResource groupResouce)
protected void
StaticUserMapper. updateUserModel(DocumentModel userModel, com.unboundid.scim.data.UserResource userResouce)
-
Uses of DocumentModel in org.nuxeo.snapshot
Fields in org.nuxeo.snapshot declared as DocumentModel Modifier and Type Field Description protected DocumentModel
SnapshotableAdapter. doc
Methods in org.nuxeo.snapshot that return DocumentModel Modifier and Type Method Description protected DocumentModel
SnapshotableAdapter. createLeafVersionAndFetch(VersioningOption option)
protected DocumentModel
SnapshotableAdapter. getCheckoutDocument(DocumentModel target)
DocumentModel
Snapshot. getDocument()
DocumentModel
SnapshotableAdapter. getDocument()
protected DocumentModel
SnapshotableAdapter. getVersionForLabel(DocumentModel target, String versionLabel)
DocumentModel
Snapshot. restore(String versionLabel)
DocumentModel
SnapshotableAdapter. restore(String versionLabel)
protected DocumentModel
SnapshotableAdapter. restore(DocumentModel leafVersion, DocumentModel target, boolean first, DocumentModelList olddocs)
Methods in org.nuxeo.snapshot that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
Snapshot. getChildren()
List<DocumentModel>
SnapshotableAdapter. getChildren()
protected List<DocumentModel>
SnapshotableAdapter. getChildren(DocumentModel target)
Methods in org.nuxeo.snapshot with parameters of type DocumentModel Modifier and Type Method Description protected boolean
SnapshotRemovalPolicy. canRemoveVersions(CoreSession session, DocumentModel doc, List<String> uuids)
protected DocumentRef
SnapshotableAdapter. createLeafVersion(DocumentModel targetDoc, VersioningOption option)
Object
SnapshotAdapterFactory. getAdapter(DocumentModel doc, Class<?> adapter)
protected DocumentModel
SnapshotableAdapter. getCheckoutDocument(DocumentModel target)
protected List<DocumentModel>
SnapshotableAdapter. getChildren(DocumentModel target)
protected DocumentModel
SnapshotableAdapter. getVersionForLabel(DocumentModel target, String versionLabel)
protected DocumentModel
SnapshotableAdapter. restore(DocumentModel leafVersion, DocumentModel target, boolean first, DocumentModelList olddocs)
Constructors in org.nuxeo.snapshot with parameters of type DocumentModel Constructor Description SnapshotableAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.snapshot.operation
Methods in org.nuxeo.snapshot.operation that return DocumentModel Modifier and Type Method Description DocumentModel
CreateTreeSnapshot. run(DocumentModel doc)
Methods in org.nuxeo.snapshot.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
CreateTreeSnapshot. run(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.snapshot.pageprovider
Methods in org.nuxeo.snapshot.pageprovider that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
VFolderPageProvider. getCurrentPage()
-
Uses of DocumentModel in org.nuxeo.snapshot.pub
Methods in org.nuxeo.snapshot.pub that return DocumentModel Modifier and Type Method Description protected DocumentModel
FolderishProxyFactory. subPublish(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent)
Methods in org.nuxeo.snapshot.pub with parameters of type DocumentModel Modifier and Type Method Description PublishedDocument
FolderishProxyFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)
protected DocumentModel
FolderishProxyFactory. subPublish(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent)
-
Uses of DocumentModel in org.nuxeo.targetplatforms.core.service
Methods in org.nuxeo.targetplatforms.core.service that return DocumentModel Modifier and Type Method Description protected DocumentModel
TargetPlatformServiceImpl. getDirectoryEntry(String id)
-
Uses of DocumentModel in org.nuxeo.template.adapters
Fields in org.nuxeo.template.adapters declared as DocumentModel Modifier and Type Field Description protected DocumentModel
AbstractTemplateDocument. adaptedDoc
Methods in org.nuxeo.template.adapters that return DocumentModel Modifier and Type Method Description DocumentModel
AbstractTemplateDocument. getAdaptedDoc()
DocumentModel
AbstractTemplateDocument. save()
Methods in org.nuxeo.template.adapters with parameters of type DocumentModel Modifier and Type Method Description Object
TemplateAdapterFactory. getAdapter(DocumentModel doc, Class adapterClass)
static boolean
TemplateAdapterFactory. isAdaptable(DocumentModel doc, Class<?> adapterClass)
Checks if the document can be adapted. -
Uses of DocumentModel in org.nuxeo.template.adapters.doc
Methods in org.nuxeo.template.adapters.doc that return DocumentModel Modifier and Type Method Description DocumentModel
TemplateBasedDocumentAdapterImpl. getSourceTemplateDoc(String templateName)
DocumentModel
TemplateBasedDocumentAdapterImpl. initializeFromTemplate(boolean save)
DocumentModel
TemplateBasedDocumentAdapterImpl. initializeFromTemplate(String templateName, boolean save)
DocumentModel
TemplateBasedDocumentAdapterImpl. removeTemplateBinding(String templateName, boolean save)
DocumentModel
TemplateBasedDocumentAdapterImpl. saveParams(String templateName, List<TemplateInput> params, boolean save)
DocumentModel
TemplateBasedDocumentAdapterImpl. setTemplate(DocumentModel template, boolean save)
Methods in org.nuxeo.template.adapters.doc with parameters of type DocumentModel Modifier and Type Method Description void
TemplateBindings. save(DocumentModel doc)
DocumentModel
TemplateBasedDocumentAdapterImpl. setTemplate(DocumentModel template, boolean save)
Constructors in org.nuxeo.template.adapters.doc with parameters of type DocumentModel Constructor Description TemplateBasedDocumentAdapterImpl(DocumentModel doc)
TemplateBindings(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.template.adapters.source
Methods in org.nuxeo.template.adapters.source that return DocumentModel Modifier and Type Method Description DocumentModel
TemplateSourceDocumentAdapterImpl. saveParams(List<TemplateInput> params, boolean save)
Constructors in org.nuxeo.template.adapters.source with parameters of type DocumentModel Constructor Description TemplateSourceDocumentAdapterImpl(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.template.api
Methods in org.nuxeo.template.api that return DocumentModel Modifier and Type Method Description DocumentModel
TemplateProcessorService. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)
Detach a Template from aDocumentModel
DocumentModel
TemplateProcessorService. getTemplateDoc(CoreSession session, String name)
Returns a template with a given templateName.DocumentModel
TemplateProcessorService. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)
Associate aDocumentModel
to aTemplateSourceDocument
.Methods in org.nuxeo.template.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
TemplateProcessorService. getAvailableTemplateDocs(CoreSession session, String targetType)
FindTemplateSourceDocument
s that can be bound to a given doc type.Methods in org.nuxeo.template.api with parameters of type DocumentModel Modifier and Type Method Description void
TemplateProcessorService. addContextExtensions(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)
DocumentModel
TemplateProcessorService. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)
Detach a Template from aDocumentModel
List<TemplateBasedDocument>
TemplateProcessorService. getLinkedTemplateBasedDocuments(DocumentModel source)
Retrieve the DocumentModels using a givenTemplateSourceDocument
DocumentModel
TemplateProcessorService. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)
Associate aDocumentModel
to aTemplateSourceDocument
.void
TemplateProcessorService. registerTypeMapping(DocumentModel doc)
Update Type2Template Mapping from the data contained in the source DocumentModel. -
Uses of DocumentModel in org.nuxeo.template.api.adapters
Methods in org.nuxeo.template.api.adapters that return DocumentModel Modifier and Type Method Description DocumentModel
TemplateBasedDocument. getAdaptedDoc()
Return the underlying adaptedDocumentModel
DocumentModel
TemplateSourceDocument. getAdaptedDoc()
Return the underlying adaptedDocumentModel
sDocumentModel
TemplateBasedDocument. getSourceTemplateDoc(String templateName)
Retrieve the TemplateDocumentModel
for a given template nameDocumentModel
TemplateBasedDocument. initializeFromTemplate(String templateName, boolean save)
Initialize the template parameters from the associated templateDocumentModel
TemplateBasedDocument. removeTemplateBinding(String templateName, boolean save)
Detach a template from the underlyingDocumentModel
DocumentModel
TemplateSourceDocument. save()
Save changes in the underlyingDocumentModel
DocumentModel
TemplateBasedDocument. saveParams(String templateName, List<TemplateInput> params, boolean save)
Save parameters changes.DocumentModel
TemplateSourceDocument. saveParams(List<TemplateInput> params, boolean save)
Save parameters changesDocumentModel
TemplateBasedDocument. setTemplate(DocumentModel template, boolean save)
Associate the document to a Template.Methods in org.nuxeo.template.api.adapters with parameters of type DocumentModel Modifier and Type Method Description DocumentModel
TemplateBasedDocument. setTemplate(DocumentModel template, boolean save)
Associate the document to a Template. -
Uses of DocumentModel in org.nuxeo.template.api.context
Methods in org.nuxeo.template.api.context with parameters of type DocumentModel Modifier and Type Method Description Object
ContextExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)
Called before redering to let you add objects inside the rendering context.Object
DocumentWrapper. wrap(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.template.automation
Methods in org.nuxeo.template.automation with parameters of type DocumentModel Modifier and Type Method Description void
DetachTemplateOperation. run(DocumentModel targetTemplate)
Blob
RenderWithTemplateOperation. run(DocumentModel targetDocument)
-
Uses of DocumentModel in org.nuxeo.template.context
Fields in org.nuxeo.template.context declared as DocumentModel Modifier and Type Field Description protected DocumentModel
BlobHolderWrapper. doc
protected DocumentModel
SimpleDocumentWrapper. doc
Methods in org.nuxeo.template.context with parameters of type DocumentModel Modifier and Type Method Description Map<String,Object>
AbstractContextBuilder. build(DocumentModel doc, String templateName)
Map<String,Object>
AbstractContextBuilder. build(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName)
Object
SimpleBeanWrapper. wrap(DocumentModel doc)
Constructors in org.nuxeo.template.context with parameters of type DocumentModel Constructor Description BlobHolderWrapper(DocumentModel doc)
SimpleDocumentWrapper(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.template.context.extensions
Fields in org.nuxeo.template.context.extensions declared as DocumentModel Modifier and Type Field Description protected DocumentModel
ContextFunctions. doc
protected DocumentModel
CoreExtensions. doc
Methods in org.nuxeo.template.context.extensions with parameters of type DocumentModel Modifier and Type Method Description Object
AuditExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)
Object
CoreExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)
Object
FunctionsExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)
Constructors in org.nuxeo.template.context.extensions with parameters of type DocumentModel Constructor Description ContextFunctions(DocumentModel doc, DocumentWrapper nuxeoWrapper)
CoreExtensions(DocumentModel doc, DocumentWrapper nuxeoWrapper)
-
Uses of DocumentModel in org.nuxeo.template.jaxrs.context
Fields in org.nuxeo.template.jaxrs.context declared as DocumentModel Modifier and Type Field Description protected DocumentModel
JAXRSExtensions. doc
Methods in org.nuxeo.template.jaxrs.context with parameters of type DocumentModel Modifier and Type Method Description Object
ExtensionFactory. getExtension(DocumentModel doc, DocumentWrapper wrapper, Map<String,Object> ctx)
Constructors in org.nuxeo.template.jaxrs.context with parameters of type DocumentModel Constructor Description JAXRSExtensions(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName)
-
Uses of DocumentModel in org.nuxeo.template.listeners
Methods in org.nuxeo.template.listeners with parameters of type DocumentModel Modifier and Type Method Description protected boolean
TemplateInitListener. isBlobDirty(DocumentModel targetDoc)
-
Uses of DocumentModel in org.nuxeo.template.processors
Methods in org.nuxeo.template.processors that return DocumentModel Modifier and Type Method Description DocumentModel
BidirectionalTemplateProcessor. updateDocumentFromBlob(TemplateBasedDocument templateDocument, String templateName)
Methods in org.nuxeo.template.processors with parameters of type DocumentModel Modifier and Type Method Description protected Object
AbstractBindingResolver. extractBlobContent(DocumentModel doc, TemplateInput param)
protected Object
AbstractBindingResolver. extractDefaultValue(DocumentModel doc, TemplateInput param)
protected String
AbstractBindingResolver. extractHTMLPreview(DocumentModel doc, TemplateInput param)
protected Property
AbstractBindingResolver. getDocProperty(TemplateInput param, DocumentModel doc)
protected Serializable
AbstractBindingResolver. getDocPropertyValue(DocumentModel doc, String propKey)
-
Uses of DocumentModel in org.nuxeo.template.processors.docx
Methods in org.nuxeo.template.processors.docx that return DocumentModel Modifier and Type Method Description DocumentModel
WordXMLRawTemplateProcessor. updateDocumentFromBlob(TemplateBasedDocument templateDocument, String templateName)
-
Uses of DocumentModel in org.nuxeo.template.processors.xdocreport
Methods in org.nuxeo.template.processors.xdocreport with parameters of type DocumentModel Modifier and Type Method Description static String
FieldDefinitionGenerator. generate(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.template.rendition
Methods in org.nuxeo.template.rendition with parameters of type DocumentModel Modifier and Type Method Description boolean
HtmlRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)
boolean
TemplateBasedRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)
List<Blob>
HtmlRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
List<Blob>
TemplateBasedRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)
-
Uses of DocumentModel in org.nuxeo.template.service
Methods in org.nuxeo.template.service that return DocumentModel Modifier and Type Method Description DocumentModel
TemplateProcessorComponent. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)
DocumentModel
TemplateProcessorComponent. getTemplateDoc(CoreSession session, String name)
DocumentModel
TemplateProcessorComponent. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)
Methods in org.nuxeo.template.service that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>
TemplateProcessorComponent. getAvailableTemplateDocs(CoreSession session, String targetType)
Methods in org.nuxeo.template.service with parameters of type DocumentModel Modifier and Type Method Description void
TemplateProcessorComponent. addContextExtensions(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)
DocumentModel
TemplateProcessorComponent. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)
List<TemplateBasedDocument>
TemplateProcessorComponent. getLinkedTemplateBasedDocuments(DocumentModel source)
DocumentModel
TemplateProcessorComponent. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)
void
TemplateProcessorComponent. registerTypeMapping(DocumentModel doc)
Method parameters in org.nuxeo.template.service with type arguments of type DocumentModel Modifier and Type Method Description protected <T> List<T>
TemplateProcessorComponent. wrap(List<DocumentModel> docs, Class<T> adapter)
Constructors in org.nuxeo.template.service with parameters of type DocumentModel Constructor Description TemplateMappingRemover(CoreSession session, DocumentModel doc, String type2Remove)
-
Uses of DocumentModel in org.nuxeo.theme.localconfiguration
Methods in org.nuxeo.theme.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description Object
LocalThemeConfigAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)
static LocalThemeConfig
LocalThemeHelper. getLocalThemeConfig(DocumentModel doc)
Constructors in org.nuxeo.theme.localconfiguration with parameters of type DocumentModel Constructor Description LocalThemeConfigAdapter(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.usermapper.extension
Methods in org.nuxeo.usermapper.extension that return DocumentModel Modifier and Type Method Description protected DocumentModel
AbstractUserMapper. createPrincipal(Map<String,Serializable> attributes)
Methods in org.nuxeo.usermapper.extension with parameters of type DocumentModel Modifier and Type Method Description protected void
AbstractUserMapper. updatePrincipal(Map<String,Serializable> attributes, DocumentModel userModel)
protected void
AbstractUserMapper. updateProfile(CoreSession session, Map<String,Serializable> attributes, DocumentModel userProfile)
-
Uses of DocumentModel in org.nuxeo.wopi
Methods in org.nuxeo.wopi with parameters of type DocumentModel Modifier and Type Method Description default boolean
WOPIService. checkDownloadBlob(DocumentModel doc, String xpath, Blob blob)
Checks whether the download of the blob is allowed.boolean
WOPIServiceImpl. checkDownloadBlob(DocumentModel doc, String xpath, Blob blob)
static String
FileInfo. computeFileId(DocumentModel doc, String xpath)
Returns a WOPI file id given adoc
, and a blobxpath
.static Blob
Helpers. getEditableBlob(DocumentModel doc, String xpath)
static String
Helpers. getWOPIURL(String baseURL, String action, DocumentModel doc, String xpath)
protected void
WOPIJsonEnricher. writeWOPIBlobInfo(com.fasterxml.jackson.core.JsonGenerator jg, WOPIBlobInfo info, DocumentModel doc, String xpath)
-
Uses of DocumentModel in org.nuxeo.wopi.jaxrs
Fields in org.nuxeo.wopi.jaxrs declared as DocumentModel Modifier and Type Field Description protected DocumentModel
FilesEndpoint. doc
Methods in org.nuxeo.wopi.jaxrs that return DocumentModel Modifier and Type Method Description protected DocumentModel
FilesEndpoint. createVersionFromRequestBody(String filename)
protected DocumentModel
WOPIRoot. getDocument(CoreSession session, String fileId)
Methods in org.nuxeo.wopi.jaxrs with parameters of type DocumentModel Modifier and Type Method Description protected Blob
WOPIRoot. getBlob(DocumentModel doc, String xpath)
protected String
FilesEndpoint. getDocumentURL(DocumentModel doc)
-
Uses of DocumentModel in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock that return types with arguments of type DocumentModel Modifier and Type Method Description protected static Map<String,List<DocumentModel>>
LockHelper. getExpiredLocks(Session session, String repository)
static Map<String,List<DocumentModel>>
LockHelper. getExpiredLocksByRepository(Session session)
Returns the list of expired stored WOPI locks according to theConstants.LOCK_TTL
for each repository.Methods in org.nuxeo.wopi.lock with parameters of type DocumentModel Modifier and Type Method Description protected void
LockExpirationListener. handleExpiredLock(CoreSession session, Session directorySession, DocumentModel entry)
-