Uses of Interface
org.nuxeo.ecm.core.api.DocumentModel
Packages that use DocumentModel
Package
Description
Event Service API (see
EventService
).Event Service implementation.
Client search results api implementation.
Provides the interfaces necessary to create and manipulate
DocumentRoute
.Provides operations for pertaining to routing.
Provides factory to obain
DocumentRoute
from DocumentModel
Provides implementation for the api package.
PDF signing services and utilities.
User information services required for certificate generation and keystore persistance for specific users.
PDF signing services implementation.
Certificate user services implementation.
-
Uses of DocumentModel in org.nuxeo.adobe.cc
Methods in org.nuxeo.adobe.cc that return DocumentModelMethods in org.nuxeo.adobe.cc with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.automation.scripting.internals
Fields in org.nuxeo.automation.scripting.internals declared as DocumentModelMethods in org.nuxeo.automation.scripting.internals that return DocumentModelConstructors in org.nuxeo.automation.scripting.internals with parameters of type DocumentModelModifierConstructorDescriptionDocumentScriptingWrapper
(AutomationMapper mapper, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.binary.metadata.api
Methods in org.nuxeo.binary.metadata.api with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
BinaryMetadataService.applyUpdates
(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates) Applies synchronously the givenmappingUpdates
computed byBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)
to the document.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.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)
BinaryMetadataService.writeMetadata
(String processorName, Blob blob, String mappingDescriptorId, DocumentModel doc) Write given metadata mapping id into a given binary with a Nuxeo default processor.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 DocumentModelModifier and TypeMethodDescriptionvoid
BinaryMetadataServiceImpl.applyUpdates
(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates) protected ActionContext
BinaryMetadataServiceImpl.createActionContext
(DocumentModel doc) BinaryMetadataServiceImpl.getMetadataUpdates
(DocumentModel doc, boolean creation) 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.BinaryMetadataServiceImpl.writeMetadata
(String processorName, Blob blob, String mappingDescriptorId, DocumentModel doc) 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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
BinaryMetadataSyncListener.DocumentMetadataMappingUpdates.doc
Constructors in org.nuxeo.binary.metadata.internals.listeners with parameters of type DocumentModelModifierConstructorDescriptionDocumentMetadataMappingUpdates
(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 DocumentModelMethods in org.nuxeo.binary.metadata.internals.operations with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
TriggerMetadataMappingOnDocument.run
(DocumentModel document) WriteMetadataToBinaryFromDocument.run
(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.directory.mongodb
Methods in org.nuxeo.directory.mongodb that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
MongoDBSession.createEntryWithoutReferences
(Map<String, Object> fieldMap) protected DocumentModel
MongoDBSession.fieldMapToDocumentModel
(Map<String, Object> fieldMap) MongoDBSession.getEntryFromSource
(String id, boolean fetchReferences) Methods in org.nuxeo.directory.mongodb with parameters of type DocumentModelModifier and TypeMethodDescriptionMongoDBSession.updateEntryWithoutReferences
(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.drive.adapter.impl
Methods in org.nuxeo.drive.adapter.impl that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
AbstractDocumentBackedFileSystemItem.getDocument
(CoreSession session) protected DocumentModel
AbstractDocumentBackedFileSystemItem.getDocumentById
(String docId, CoreSession session) Methods in org.nuxeo.drive.adapter.impl with parameters of type DocumentModelModifier and TypeMethodDescriptionFileSystemItemAdapterFactory.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 final void
CollectionSyncRootFolderItem.initialize
(DocumentModel doc) protected final void
DocumentBackedFileItem.initialize
(FileSystemItemFactory factory, DocumentModel doc) protected 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) Constructors in org.nuxeo.drive.adapter.impl with parameters of type DocumentModelModifierConstructorDescriptionprotected
AbstractDocumentBackedFileSystemItem
(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint) protected
AbstractDocumentBackedFileSystemItem
(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo) protected
AbstractDocumentBackedFileSystemItem
(String factoryName, DocumentModel doc) protected
AbstractDocumentBackedFileSystemItem
(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint) protected
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) DocumentBackedFolderItem
(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 DocumentModelModifier and TypeMethodDescriptionprotected FileSystemItem
ESSyncRootFolderItemFactory.adaptDocument
(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo) Constructors in org.nuxeo.drive.elasticsearch with parameters of type DocumentModelModifierConstructorDescriptionESSyncRootFolderItem
(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 DocumentModelModifierConstructorDescriptionUserSyncRootParentFolderItem
(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 DocumentModelModifier and TypeMethodDescriptionprotected 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) UserSyncRootParentFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) Force parent item usingUserSyncRootParentFactory.getTopLevelFolderItem(NuxeoPrincipal)
.UserSyncRootParentFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) 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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
UserWorkspaceTopLevelFolderItem.userWorkspace
Methods in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic boolean
UserWorkspaceHelper.isUserWorkspace
(DocumentModel doc) Constructors in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type DocumentModelModifierConstructorDescriptionUserWorkspaceTopLevelFolderItem
(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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
NuxeoDriveFileSystemDeletionListener.handleBeforeDocUpdate
(DocumentEventContext ctx, DocumentModel doc) Methods in org.nuxeo.drive.listener that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionprotected List<DocumentModel>
NuxeoDriveFileSystemDeletionListener.getChildSyncRoots
(DocumentModel doc, CoreSession session) Methods in org.nuxeo.drive.listener with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelMethods in org.nuxeo.drive.operations that return DocumentModelModifier and TypeMethodDescriptionNuxeoDriveAddToLocallyEditedCollection.run
(DocumentModel doc) Deprecated.Methods in org.nuxeo.drive.operations with parameters of type DocumentModelModifier and TypeMethodDescriptionNuxeoDriveAddToLocallyEditedCollection.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 -
Uses of DocumentModel in org.nuxeo.drive.service
Methods in org.nuxeo.drive.service with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
NuxeoDriveManager.addToLocallyEditedCollection
(CoreSession session, DocumentModel doc) Adds the givenDocumentModel
to theLOCALLY_EDITED_COLLECTION_NAME
collection.FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, FolderItem parentItem) FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted) FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint) FileSystemItemAdapterService.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) FileSystemItemFactory.getFileSystemItem
(DocumentModel doc) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) Gets theFileSystemItem
for the givenDocumentModel
.FileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem) FileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted) FileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint) 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.void
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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
AbstractFileSystemItemFactory.getDocumentById
(String docId, CoreSession session) Methods in org.nuxeo.drive.service.impl with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) 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) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint) AbstractFileSystemItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) AbstractSyncRootFolderItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel)
.AbstractSyncRootFolderItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel)
.AbstractSyncRootFolderItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel)
.AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint) AbstractVirtualFolderItemFactory.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo) FileSystemItemAdapterServiceImpl.getFileSystemItem
(DocumentModel doc) FileSystemItemAdapterServiceImpl.getFileSystemItem
(DocumentModel doc, boolean includeDeleted) FileSystemItemAdapterServiceImpl.getFileSystemItem
(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) 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
.FileSystemItemAdapterServiceImpl.getFileSystemItem
(DocumentModel doc, FolderItem parentItem) FileSystemItemAdapterServiceImpl.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted) FileSystemItemAdapterServiceImpl.getFileSystemItem
(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint) 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) void
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.ecm.admin.operation
Methods in org.nuxeo.ecm.admin.operation with parameters of type DocumentModelMethod parameters in org.nuxeo.ecm.admin.operation with type arguments of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.admin.permissions
Fields in org.nuxeo.ecm.admin.permissions declared as DocumentModelConstructors in org.nuxeo.ecm.admin.permissions with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.collectors
Methods in org.nuxeo.ecm.automation.core.collectors with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionStringToDocModel.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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionFetchContextDocument.run
(DocumentModel doc) RestoreDocumentInput.run()
RestoreDocumentInputFromScript.run()
Methods in org.nuxeo.ecm.automation.core.operations with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.blob
Fields in org.nuxeo.ecm.automation.core.operations.blob declared as DocumentModelMethods in org.nuxeo.ecm.automation.core.operations.blob that return DocumentModelMethods in org.nuxeo.ecm.automation.core.operations.blob with parameters of type DocumentModelModifier and TypeMethodDescriptionBlobToPDF.run
(DocumentModel doc) ConvertBlob.run
(DocumentModel doc) GetAllDocumentBlobs.run
(DocumentModel doc) GetDocumentBlob.run
(DocumentModel doc) GetDocumentBlobs.run
(DocumentModel doc) 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 DocumentModelMethods in org.nuxeo.ecm.automation.core.operations.business.adapter that return DocumentModelConstructors in org.nuxeo.ecm.automation.core.operations.business.adapter with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.collections
Fields in org.nuxeo.ecm.automation.core.operations.collections declared as DocumentModelModifier and TypeFieldDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionAddToCollectionOperation.run
(DocumentModel doc) AddToFavoritesOperation.run
(DocumentModel doc) CreateCollectionOperation.run()
CreateCollectionOperation.run
(DocumentModel doc) FetchFavorites.run()
RemoveFromCollectionOperation.run
(DocumentModel doc) RemoveFromFavoritesOperation.run
(DocumentModel doc) Methods in org.nuxeo.ecm.automation.core.operations.collections with parameters of type DocumentModelModifier and TypeMethodDescriptionAddToCollectionOperation.run
(DocumentModel doc) AddToFavoritesOperation.run
(DocumentModel doc) CreateCollectionOperation.run
(DocumentModel doc) GetDocumentsFromCollectionOperation.run
(DocumentModel collection) GetDocumentsFromFavoritesOperation.run
(DocumentModel context) boolean
MoveCollectionMemberOperation.run
(DocumentModel collection) RemoveFromCollectionOperation.run
(DocumentModel doc) 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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
OrderDocument.before
protected DocumentModel
EmptyTrash.parent
protected DocumentModel
PublishDocument.target
protected DocumentModel
FetchDocument.value
Methods in org.nuxeo.ecm.automation.core.operations.document that return DocumentModelModifier and TypeMethodDescriptionAddEntryToMultiValuedProperty.run
(DocumentModel doc) AddFacet.run
(DocumentModel input) AddItemToListProperty.run
(DocumentModel doc) AddPermission.run
(DocumentModel doc) AddPermission.run
(DocumentRef docRef) BlockPermissionInheritance.run
(DocumentModel doc) BlockPermissionInheritance.run
(DocumentRef docRef) CheckInDocument.run
(DocumentModel doc) CheckInDocument.run
(DocumentRef doc) CheckOutDocument.run
(DocumentModel doc) CheckOutDocument.run
(DocumentRef doc) CopyDocument.run
(DocumentModel doc) CopyDocument.run
(DocumentRef ref) CopySchema.run
(DocumentModel target) CreateDocument.run
(DocumentModel doc) CreateDocument.run
(DocumentRef doc) CreateProxyLive.run
(DocumentModel input) CreateVersion.run
(DocumentModel doc) DeleteDocument.run
(DocumentModel doc) DeleteDocument.run
(DocumentRef doc) FetchDocument.run()
GetDocumentChild.run
(DocumentModel doc) GetDocumentChild.run
(DocumentRef doc) GetDocumentParent.run
(DocumentRef doc) GetLastDocumentVersion.run
(DocumentModel input) GetLiveDocument.run
(DocumentModel input) LockDocument.run
(DocumentModel doc) LockDocument.run
(DocumentRef doc) MoveDocument.run
(DocumentModel doc) MoveDocument.run
(DocumentRef ref) OrderDocument.run
(DocumentModel doc) PublishDocument.run
(DocumentModel doc) ReloadDocument.run
(DocumentModel doc) RemoveDocumentACL.run
(DocumentModel doc) RemoveDocumentACL.run
(DocumentRef doc) RemoveDocumentBlob.run
(DocumentModel doc) RemoveEntryOfMultiValuedProperty.run
(DocumentModel doc) RemoveFacet.run
(DocumentModel input) RemoveItemFromListProperty.run
(DocumentModel doc) RemovePermission.run
(DocumentModel doc) RemovePermission.run
(DocumentRef docRef) RemoveProperty.run
(DocumentModel doc) RemoveProxies.run
(DocumentModel input) ReplacePermission.run
(DocumentModel doc) ReplacePermission.run
(DocumentRef docRef) ResetSchema.run
(DocumentModel target) RestoreVersion.run
(DocumentModel version) SaveDocument.run
(DocumentModel doc) SetDocumentACE.run
(DocumentModel doc) SetDocumentACE.run
(DocumentRef doc) SetDocumentBlob.run
(DocumentModel doc) SetDocumentLifeCycle.run
(DocumentModel doc) SetDocumentLifeCycle.run
(DocumentRef doc) SetDocumentProperty.run
(DocumentModel doc) TrashDocument.run
(DocumentModel doc) UnblockPermissionInheritance.run
(DocumentModel doc) UnblockPermissionInheritance.run
(DocumentRef docRef) UnlockDocument.run
(DocumentModel doc) UnlockDocument.run
(DocumentRef doc) UntrashDocument.run
(DocumentModel doc) UpdateDocument.run
(DocumentModel doc) Methods in org.nuxeo.ecm.automation.core.operations.document with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
FilterDocuments.Condition.accept
(DocumentModel doc) protected void
AddPermission.addPermission
(DocumentModel doc) protected void
BlockPermissionInheritance.blockPermissionInheritance
(DocumentModel doc) protected void
PublishDocument.notifyPublishedEvent
(DocumentModel doc) protected void
RemoveItemFromListProperty.removeItemFromArrayProperty
(DocumentModel doc, Property property) protected void
RemovePermission.removePermission
(DocumentModel doc) protected void
ReplacePermission.replacePermission
(DocumentModel doc) AddEntryToMultiValuedProperty.run
(DocumentModel doc) AddFacet.run
(DocumentModel input) AddItemToListProperty.run
(DocumentModel doc) AddPermission.run
(DocumentModel doc) BlockPermissionInheritance.run
(DocumentModel doc) CheckInDocument.run
(DocumentModel doc) CheckOutDocument.run
(DocumentModel doc) CopyDocument.run
(DocumentModel doc) CopySchema.run
(DocumentModel target) CreateDocument.run
(DocumentModel doc) CreateProxyLive.run
(DocumentModel input) CreateVersion.run
(DocumentModel doc) DeleteDocument.run
(DocumentModel doc) FilterDocuments.run
(DocumentModel doc) GetDocumentChild.run
(DocumentModel doc) GetDocumentChildren.run
(DocumentModel doc) GetDocumentVersions.run
(DocumentModel doc) GetLastDocumentVersion.run
(DocumentModel input) GetLiveDocument.run
(DocumentModel input) LockDocument.run
(DocumentModel doc) MoveDocument.run
(DocumentModel doc) MultiPublishDocument.run
(DocumentModel doc) OrderDocument.run
(DocumentModel doc) PublishDocument.run
(DocumentModel doc) ReloadDocument.run
(DocumentModel doc) RemoveDocumentACL.run
(DocumentModel doc) RemoveDocumentBlob.run
(DocumentModel doc) RemoveEntryOfMultiValuedProperty.run
(DocumentModel doc) RemoveFacet.run
(DocumentModel input) RemoveItemFromListProperty.run
(DocumentModel doc) RemovePermission.run
(DocumentModel doc) RemoveProperty.run
(DocumentModel doc) RemoveProxies.run
(DocumentModel input) ReplacePermission.run
(DocumentModel doc) ResetSchema.run
(DocumentModel target) RestoreVersion.run
(DocumentModel version) SaveDocument.run
(DocumentModel doc) SetDocumentACE.run
(DocumentModel doc) SetDocumentBlob.run
(DocumentModel doc) SetDocumentLifeCycle.run
(DocumentModel doc) SetDocumentProperty.run
(DocumentModel doc) TrashDocument.run
(DocumentModel doc) UnblockPermissionInheritance.run
(DocumentModel doc) UnlockDocument.run
(DocumentModel doc) UntrashDocument.run
(DocumentModel doc) UpdateDocument.run
(DocumentModel doc) protected void
UnblockPermissionInheritance.unblockPermissionInheritance
(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.execution
Methods in org.nuxeo.ecm.automation.core.operations.execution that return DocumentModelMethods in org.nuxeo.ecm.automation.core.operations.execution with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.login
Methods in org.nuxeo.ecm.automation.core.operations.login that return DocumentModelMethods in org.nuxeo.ecm.automation.core.operations.login with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.notification
Methods in org.nuxeo.ecm.automation.core.operations.notification that return DocumentModelMethods in org.nuxeo.ecm.automation.core.operations.notification with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected Mailer.Message
SendMail.createMessage
(DocumentModel doc, String message, Map<String, Object> map) Deprecated.since 2023.4 unused.SendMail.getBlobs
(DocumentModel doc) static String
MailTemplateHelper.getDocumentUrl
(DocumentModel doc, String viewId) SendMail.run
(DocumentModel doc) protected void
SendMail.send
(DocumentModel doc) Constructors in org.nuxeo.ecm.automation.core.operations.notification with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.services
Fields in org.nuxeo.ecm.automation.core.operations.services declared as DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
CreateRelation.object
protected DocumentModel
DeleteRelation.object
Methods in org.nuxeo.ecm.automation.core.operations.services that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
BlobHolderAttach.getCurrentDocument()
protected DocumentModel
FileManagerImport.getCurrentDocument()
protected DocumentModel
FileManagerImportWithProperties.getCurrentDocument()
protected DocumentModel
GetActions.getCurrentDocumentFromContext()
protected DocumentModel
GetRelations.getDocumentModel
(Node node) AuditLog.run
(DocumentModel doc) CreateRelation.run
(DocumentModel doc) DeleteRelation.run
(DocumentModel doc) FileManagerCreateFolder.run
(DocumentModel parent) UserWorkspace.run()
Methods in org.nuxeo.ecm.automation.core.operations.services with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected ActionContext
GetActions.getActionContext
(DocumentModel currentDocument) protected QNameResource
GetRelations.getDocumentResource
(DocumentModel document) protected LogEntry
AuditLog.newEntry
(DocumentModel doc, String principal, Date date) AuditLog.run
(DocumentModel doc) CreateRelation.run
(DocumentModel doc) DeleteRelation.run
(DocumentModel doc) FileManagerCreateFolder.run
(DocumentModel parent) GetActions.run
(DocumentModel currentDocument) GetDirectoryEntries.run
(DocumentModel doc) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionPopDocument.run()
PullDocument.run()
PushDocument.run
(DocumentModel doc) Methods in org.nuxeo.ecm.automation.core.operations.stack with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.users
Methods in org.nuxeo.ecm.automation.core.operations.users that return DocumentModelModifier and TypeMethodDescriptionGetDocumentPrincipalEmails.run
(DocumentModel input) GetDocumentUsersAndGroups.run
(DocumentModel input) GetNuxeoPrincipal.run()
Methods in org.nuxeo.ecm.automation.core.operations.users with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected boolean
CreateOrUpdateGroup.canCreateOrUpdateGroup
(DocumentModel groupDoc) protected boolean
CreateOrUpdateUser.canCreateOrUpdateUser
(DocumentModel userDoc) protected void
CreateOrUpdateGroup.checkCanCreateOrUpdateGroup
(DocumentModel groupDoc) protected void
CreateOrUpdateUser.checkCanCreateOrUpdateUser
(DocumentModel userDoc) GetDocumentPrincipalEmails.run
(DocumentModel input) GetDocumentUsersAndGroups.run
(DocumentModel input) Method parameters in org.nuxeo.ecm.automation.core.operations.users with type arguments of type DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.scripting
Fields in org.nuxeo.ecm.automation.core.scripting declared as DocumentModelMethods in org.nuxeo.ecm.automation.core.scripting that return DocumentModelConstructors in org.nuxeo.ecm.automation.core.scripting with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.util
Methods in org.nuxeo.ecm.automation.core.util that return DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.ecm.automation.features
Methods in org.nuxeo.ecm.automation.features with parameters of type DocumentModelModifier and TypeMethodDescriptionHashSet<?>
PrincipalHelper.collectObjectsMatchingPermission
(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups, org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector) PrincipalHelper.getEmailsForPermission
(DocumentModel input, String permission, boolean ignoreGroups) PrincipalHelper.getPrincipalsForPermission
(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups) 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 types with arguments of type DocumentModelConstructor parameters in org.nuxeo.ecm.automation.jaxrs.io.documents with type arguments of type DocumentModelModifierConstructorDescriptionPaginableDocumentModelListImpl
(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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelMethods in org.nuxeo.ecm.automation.task with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.collections.api
Methods in org.nuxeo.ecm.collections.api that return DocumentModelModifier and TypeMethodDescriptionCollectionManager.createCollection
(CoreSession session, String title, String description, String path) Create a collection with a given name, description and path.FavoritesManager.getFavorites
(CoreSession session) FavoritesManager.getFavorites
(DocumentModel context, CoreSession session) Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)
insteadCollectionManager.getUserDefaultCollections
(CoreSession session) Get user collections root document.CollectionManager.getUserDefaultCollections
(DocumentModel context, CoreSession session) Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)
insteadCollectionLocationService.getUserDefaultCollectionsRoot
(CoreSession session) Provide the default document where will be stored collections.CollectionLocationService.getUserFavorites
(CoreSession session) Provide the default favorites document.Methods in org.nuxeo.ecm.collections.api that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionCollectionManager.getVisibleCollection
(DocumentModel collectionMember, int maxResult, CoreSession session) Get the list of collection of a document.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 DocumentModelModifier and TypeMethodDescriptionvoid
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) FavoritesManager.getFavorites
(DocumentModel context, CoreSession session) Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)
insteadCollectionManager.getUserDefaultCollections
(DocumentModel context, CoreSession session) Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)
insteadCollectionManager.getVisibleCollection
(DocumentModel collectionMember, int maxResult, CoreSession session) Get the list of collection of a document.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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
CollectionManagerImpl.createCollection
(String newTitle, String newDescription, DocumentModel context, CoreSession session) CollectionManagerImpl.createCollection
(CoreSession session, String title, String description, String path) FavoritesManagerImpl.getFavorites
(CoreSession session) FavoritesManagerImpl.getFavorites
(DocumentModel context, CoreSession session) Deprecated.CollectionManagerImpl.getUserDefaultCollections
(CoreSession session) CollectionManagerImpl.getUserDefaultCollections
(DocumentModel context, CoreSession session) Deprecated.Methods in org.nuxeo.ecm.collections.core that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionCollectionManagerImpl.getVisibleCollection
(DocumentModel collectionMember, int maxResult, CoreSession session) CollectionManagerImpl.getVisibleCollection
(DocumentModel collectionMember, CoreSession session) Methods in org.nuxeo.ecm.collections.core with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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) FavoritesManagerImpl.getFavorites
(DocumentModel context, CoreSession session) Deprecated.CollectionManagerImpl.getUserDefaultCollections
(DocumentModel context, CoreSession session) Deprecated.CollectionManagerImpl.getVisibleCollection
(DocumentModel collectionMember, int maxResult, CoreSession session) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
Collection.document
protected DocumentModel
CollectionMember.document
Methods in org.nuxeo.ecm.collections.core.adapter that return DocumentModelMethods in org.nuxeo.ecm.collections.core.adapter with parameters of type DocumentModelModifier and TypeMethodDescriptionCollectionAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) CollectionMemberAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) Constructors in org.nuxeo.ecm.collections.core.adapter with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.collections.core.io
Methods in org.nuxeo.ecm.collections.core.io with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionboolean
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
DocumentTreeIterator.root
Root document.Fields in org.nuxeo.ecm.core.api with type parameters of type DocumentModelModifier and TypeFieldDescriptionprotected final 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 DocumentModelModifier and TypeMethodDescriptionDocumentModel.clone()
Clone operation.AbstractSession.copy
(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions) CoreSession.copy
(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions) Copies the source document to the destination folder under the given name.AbstractSession.copyProxyAsDocument
(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions) 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.AbstractSession.createDocument
(DocumentModel docModel) AbstractSession.createDocument
(DocumentModel[] docModels) CoreSession.createDocument
(DocumentModel model) Creates a document using given document model for initialization.CoreSession.createDocument
(DocumentModel[] docModels) Bulk creation of documents.AbstractSession.createDocumentModel
(String typeName) AbstractSession.createDocumentModel
(String parentPath, String name, String typeName) AbstractSession.createDocumentModel
(String typeName, Map<String, Object> options) CoreSession.createDocumentModel
(String typeName) Creates a document model using type name.CoreSession.createDocumentModel
(String parentPath, String name, String typeName) Creates a document model using required information.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, unusedAbstractSession.createProxy
(DocumentRef docRef, DocumentRef folderRef) 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) AbstractSession.getChild
(DocumentRef parent, String name) CoreSession.getChild
(DocumentRef parent, String name) Gets a child document given its name and the parent reference.AbstractSession.getDocument
(DocumentRef docRef) CoreSession.getDocument
(DocumentRef docRef) Gets a document model given its reference.AbstractSession.getDocumentWithVersion
(DocumentRef docRef, VersionModel version) CoreSession.getDocumentWithVersion
(DocumentRef docRef, VersionModel version) Returns a document that represents the specified version of the document.AbstractSession.getLastDocumentVersion
(DocumentRef docRef) CoreSession.getLastDocumentVersion
(DocumentRef docRef) Gets the document corresponding to the last version for the given document.NuxeoGroup.getModel()
NuxeoPrincipal.getModel()
SystemPrincipal.getModel()
AbstractSession.getOrCreateDocument
(DocumentModel docModel) AbstractSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) CoreSession.getOrCreateDocument
(DocumentModel docModel) Gets a document if it exists, otherwise creates it.CoreSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) Gets a document if it exists, otherwise creates it.AbstractSession.getParentDocument
(DocumentRef docRef) CoreSession.getParentDocument
(DocumentRef docRef) Gets the parent document or null if this is the root document.AbstractSession.getRootDocument()
CoreSession.getRootDocument()
Gets the root document of this repository.AbstractSession.getSourceDocument
(DocumentRef docRef) CoreSession.getSourceDocument
(DocumentRef docRef) Gets the head (live) document for this document.AbstractSession.getSuperSpace
(DocumentModel doc) CoreSession.getSuperSpace
(DocumentModel doc) Returns the parent SuperSpace (workspace, section, etc.).AbstractSession.getVersion
(String versionableId, VersionModel versionModel) CoreSession.getVersion
(String versionableId, VersionModel versionModel) Gets a document version, given the versionable id and label.AbstractSession.getWorkingCopy
(DocumentRef docRef) CoreSession.getWorkingCopy
(DocumentRef docRef) Gets the working copy (live document) for a proxy or a version.AbstractSession.move
(DocumentRef src, DocumentRef dst, String name) CoreSession.move
(DocumentRef src, DocumentRef dst, String name) Moves the source document to the destination folder under the given name.AbstractSession.newDocumentModel
(DocumentRef parentRef, String name, String typeName) CoreSession.newDocumentModel
(DocumentRef parentRef, String name, String typeName) Creates a new document model using required information.DocumentTreeIterator.next()
AbstractSession.publishDocument
(DocumentModel docToPublish, DocumentModel section) AbstractSession.publishDocument
(DocumentModel docModel, DocumentModel section, boolean overwriteExistingProxy) CoreSession.publishDocument
(DocumentModel docToPublish, DocumentModel section) Publishes the document in a section overwriting any existing proxy to the same document.CoreSession.publishDocument
(DocumentModel docToPublish, DocumentModel section, boolean overwriteExistingProxy) Publishes the document in a section.protected DocumentModel
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.AbstractSession.restoreToVersion
(DocumentRef docRef, DocumentRef versionRef) AbstractSession.restoreToVersion
(DocumentRef docRef, DocumentRef versionRef, boolean skipSnapshotCreation, boolean skipCheckout) protected DocumentModel
AbstractSession.restoreToVersion
(Document doc, Document version, boolean skipSnapshotCreation, boolean skipCheckout) CoreSession.restoreToVersion
(DocumentRef docRef, DocumentRef versionRef) Restores the given document to the specified version.CoreSession.restoreToVersion
(DocumentRef docRef, DocumentRef versionRef, boolean skipSnapshotCreation, boolean skipCheckout) Restores the given document to the specified version.AbstractSession.saveDocument
(DocumentModel docModel) 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 DocumentModelModifier and TypeMethodDescriptionAbstractSession.copy
(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... opts) CoreSession.copy
(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... copyOptions) Bulk copy.AbstractSession.copyProxyAsDocument
(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... opts) CoreSession.copyProxyAsDocument
(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... copyOptions) Bulk copyProxyAsDocument.protected Iterator<DocumentModel>
DocumentTreeIterator.getNextNonEmptySequence()
Gets next non empty sequence from queue.AbstractSession.getParentDocuments
(DocumentRef docRef) 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.AbstractSession.getVersions
(DocumentRef docRef) CoreSession.getVersions
(DocumentRef docRef) Retrieves all the versions for a specified document.Methods in org.nuxeo.ecm.core.api with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
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.AbstractSession.createDocument
(DocumentModel docModel) AbstractSession.createDocument
(DocumentModel[] docModels) CoreSession.createDocument
(DocumentModel model) Creates a document using given document model for initialization.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) AbstractSession.getOrCreateDocument
(DocumentModel docModel) AbstractSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) CoreSession.getOrCreateDocument
(DocumentModel docModel) Gets a document if it exists, otherwise creates it.CoreSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) Gets a document if it exists, otherwise creates it.AbstractSession.getSuperParentType
(DocumentModel doc) CoreSession.getSuperParentType
(DocumentModel doc) Returns the type of his parent SuperSpace (workspace, section, etc.).AbstractSession.getSuperSpace
(DocumentModel doc) CoreSession.getSuperSpace
(DocumentModel doc) Returns the parent SuperSpace (workspace, section, etc.).AbstractSession.getVersionLabel
(DocumentModel docModel) 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) 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.AbstractSession.publishDocument
(DocumentModel docToPublish, DocumentModel section) AbstractSession.publishDocument
(DocumentModel docModel, DocumentModel section, boolean overwriteExistingProxy) CoreSession.publishDocument
(DocumentModel docToPublish, DocumentModel section) Publishes the document in a section overwriting any existing proxy to the same document.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.AbstractSession.saveDocument
(DocumentModel docModel) 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 DocumentModelModifier and TypeMethodDescriptionAbstractSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) AbstractSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) CoreSession.getOrCreateDocument
(DocumentModel docModel, Function<DocumentModel, DocumentModel> postCreate) Gets a document if it exists, otherwise creates it.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 DocumentModelModifierConstructorDescriptionDocumentTreeIterator
(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 DocumentModelModifier and TypeMethodDescriptionDocumentAdapterFactory.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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
DocumentBlobHolder.doc
protected DocumentModel
DownloadContextBlobHolder.doc
Methods in org.nuxeo.ecm.core.api.blobholder that return DocumentModelModifier and TypeMethodDescriptionDocumentBlobHolder.getDocument()
DownloadContextBlobHolder.getDocument()
Methods in org.nuxeo.ecm.core.api.blobholder with parameters of type DocumentModelModifier and TypeMethodDescriptionBlobHolderAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) BlobHolderFactory.getBlobHolder
(DocumentModel doc) BlobHolderAdapterComponent.getBlobHolderAdapter
(DocumentModel doc) BlobHolderAdapterComponent.getBlobHolderAdapter
(DocumentModel doc, String factoryName) BlobHolderAdapterService.getBlobHolderAdapter
(DocumentModel doc) 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 DocumentModelModifierConstructorDescriptionDocumentBlobHolder
(DocumentModel doc, String xPath) protected
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 DocumentModelModifier and TypeClassDescriptionclass
Standard implementation of aDocumentModel
.class
A DocumentModel that can have any schema and is not made persistent by itself.Fields in org.nuxeo.ecm.core.api.impl declared as DocumentModelMethods in org.nuxeo.ecm.core.api.impl that return DocumentModelModifier and TypeMethodDescriptionDocumentModelImpl.clone()
SimpleDocumentModel.clone()
UserPrincipal.getModel()
DocumentModelChildrenIterator.next()
Methods in org.nuxeo.ecm.core.api.impl that return types with arguments of type DocumentModelMethods in org.nuxeo.ecm.core.api.impl with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
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 DocumentModelConstructor parameters in org.nuxeo.ecm.core.api.impl with type arguments of type DocumentModelModifierConstructorDescriptionDocumentModelListImpl
(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 DocumentModelModifier and TypeMethodDescription<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 DocumentModelMethods in org.nuxeo.ecm.core.api.model.resolver with parameters of type DocumentModelModifier and TypeMethodDescriptionDocumentPropertyObjectResolverImpl.create
(DocumentModel doc, String xpath) Constructors in org.nuxeo.ecm.core.api.model.resolver with parameters of type DocumentModelModifierConstructorDescriptionDocumentPropertyObjectResolverImpl
(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 DocumentModelModifier and TypeMethodDescriptionPathSegmentComponent.generatePathSegment
(DocumentModel doc) PathSegmentService.generatePathSegment
(DocumentModel doc) Generate the path segment to use for aDocumentModel
that's about to be created.PathSegmentServiceCompat.generatePathSegment
(DocumentModel doc) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelMethods in org.nuxeo.ecm.core.api.thumbnail with parameters of type DocumentModelModifier and TypeMethodDescriptionThumbnailFactory.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailService.computeThumbnail
(DocumentModel doc, CoreSession session) Compute the thumbnail (related to the document type/facet)ThumbnailServiceImpl.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) ThumbnailFactory.getThumbnail
(DocumentModel doc, CoreSession session) ThumbnailService.getThumbnail
(DocumentModel doc, CoreSession session) Get the document thumbnail (related to the doc type/facet)ThumbnailServiceImpl.getThumbnail
(DocumentModel doc, CoreSession session) ThumbnailServiceImpl.getThumbnailFactory
(DocumentModel doc, CoreSession session) Constructors in org.nuxeo.ecm.core.api.thumbnail with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.core.api.trash
Methods in org.nuxeo.ecm.core.api.trash that return DocumentModelModifier and TypeMethodDescriptionTrashService.getAboveDocument
(DocumentModel doc, NuxeoPrincipal principal) Gets the first non trashed ancestor.Methods in org.nuxeo.ecm.core.api.trash with parameters of type DocumentModelModifier and TypeMethodDescriptiondefault boolean
TrashService.canPurgeOrUntrash
(DocumentModel doc, NuxeoPrincipal principal) Is document purgeable/untrashable?TrashService.getAboveDocument
(DocumentModel doc, NuxeoPrincipal principal) Gets the first non trashed ancestor.TrashService.getDocuments
(DocumentModel parent) Deprecated.since 11.1, not scalableTrashService.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.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 DocumentModelModifier and TypeMethodDescriptionboolean
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 DocumentModelModifier and TypeMethodDescriptionboolean
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 DocumentModelModifier and TypeMethodDescriptionDocumentValidationService.validate
(DocumentModel document) DocumentValidationService.validate
(DocumentModel document, boolean dirtyOnly) DocumentValidationServiceImpl.validate
(DocumentModel document) 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 DocumentModelModifier and TypeMethodDescriptionvoid
VersioningService.doAutomaticVersioning
(DocumentModel previousDocument, DocumentModel currentDocument, boolean before) Does automatic versioning if a policy exists for the current input context.VersioningService.getSaveOptions
(DocumentModel doc) Checks what options are available on a document at save time.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 DocumentModelModifier and TypeMethodDescriptionDocumentBlobManager.getConvertedStream
(Blob blob, String mimeType, DocumentModel doc) Gets anInputStream
for a conversion to the given MIME type.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 DocumentModelConstructors in org.nuxeo.ecm.core.event with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.core.event.impl
Classes in org.nuxeo.ecm.core.event.impl that implement DocumentModelModifier and TypeClassDescriptionclass
Light weightDocumentModel
implementation Only holdsDocumentRef
, RepositoryName, name, path and context data.Methods in org.nuxeo.ecm.core.event.impl that return DocumentModelModifier and TypeMethodDescriptionShallowDocumentModel.clone()
DocumentEventContext.getSourceDocument()
Methods in org.nuxeo.ecm.core.event.impl with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
ShallowDocumentModel.copyContent
(DocumentModel sourceDoc) void
ShallowDocumentModel.copyContextData
(DocumentModel otherDocument) Constructors in org.nuxeo.ecm.core.event.impl with parameters of type DocumentModelModifierConstructorDescriptionDocumentEventContext
(CoreSession session, NuxeoPrincipal principal, DocumentModel source) DocumentEventContext
(CoreSession session, NuxeoPrincipal principal, DocumentModel source, DocumentRef destDoc) -
Uses of DocumentModel in org.nuxeo.ecm.core.filter
Methods in org.nuxeo.ecm.core.filter with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionDocumentXMLExporter.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.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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
DocumentModelMapper.documentModelFromAvro
(org.apache.avro.generic.GenericRecord input) 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 DocumentModelModifier and TypeMethodDescriptionorg.apache.avro.Schema
DocumentModelSchemaFactory.createSchema
(DocumentModel input) protected void
DocumentModelMapper.documentModelToAvro
(org.apache.avro.Schema schema, DocumentModel doc, org.apache.avro.generic.GenericRecord record) 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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
DownloadService.DownloadContext.Builder.doc
protected final DocumentModel
DownloadService.DownloadContext.doc
Methods in org.nuxeo.ecm.core.io.download that return DocumentModelMethods in org.nuxeo.ecm.core.io.download with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
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.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.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.DownloadServiceImpl.getDownloadUrl
(DocumentModel doc, String xpath, String filename) DownloadService.getFullDownloadUrl
(DocumentModel doc, String xpath, Blob blob, String baseUrl) Gets the full download URL (after redirects if configured so) for the given blob.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) DownloadService.resolveBlob
(DocumentModel doc) Finds a document's blob.DownloadService.resolveBlob
(DocumentModel doc, String xpath) Finds a document's blob given an xpath or blobholder indexDownloadServiceImpl.resolveBlob
(DocumentModel doc) DownloadServiceImpl.resolveBlob
(DocumentModel doc, String xpath) Constructors in org.nuxeo.ecm.core.io.download with parameters of type DocumentModelModifierConstructorDescriptionDownloadContext
(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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected void
AbstractDocumentModelWriter.beforeCreateDocument
(DocumentModel doc) protected void
AbstractDocumentModelWriter.beforeSaveDocument
(DocumentModel doc) DocumentXMLExporterImpl.exportXML
(DocumentModel doc, CoreSession session) Exports a document to XML as anInputStream
.final byte[]
DocumentXMLExporterImpl.exportXMLAsByteArray
(DocumentModel doc, CoreSession session) Exports a document to XML as a byte array.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 DocumentModelModifierConstructorDescriptionExportedDocumentImpl
(DocumentModel doc, boolean inlineBlobs) ExportedDocumentImpl
(DocumentModel doc, Path path, boolean inlineBlobs) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelFields in org.nuxeo.ecm.core.io.impl.plugins with type parameters of type DocumentModelModifier and TypeFieldDescriptionprotected List<DocumentModel>
ExtensibleDocumentTreeReader.pendingVersions
Methods in org.nuxeo.ecm.core.io.impl.plugins that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
ExtensibleDocumentWriter.createDocument
(ExportedDocument xdoc, Path toPath) Constructors in org.nuxeo.ecm.core.io.impl.plugins with parameters of type DocumentModelModifierConstructorDescriptionDocumentTreeReader
(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 DocumentModelModifierConstructorDescriptionDocumentsListReader
(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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
DocumentModelJsonReader.getDocument
(com.fasterxml.jackson.databind.JsonNode jn) 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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionRenderingContext.getSession
(DocumentModel document) Gets the currentCoreSession
or try to create one.RenderingContextImpl.getSession
(DocumentModel document) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
DocumentStoreManager.createRootlet
(CoreSession session) Methods in org.nuxeo.ecm.core.management.storage with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionorg.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 DocumentModelModifier and TypeFieldDescriptionNuxeoObjectData.doc
protected final DocumentModel
NuxeoPropertyDataBase.doc
Methods in org.nuxeo.ecm.core.opencmis.impl.server that return DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionstatic 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 unusedNuxeoPropertyData.getFacets
(DocumentModel doc) Gets the doc's relevant facets.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) 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 DocumentModelModifierConstructorDescriptionprotected
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) protected
NuxeoPropertyDataCheckInComment
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataContentStreamDigest
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataContentStreamFileName
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataContentStreamLength
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigInteger> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataContentStreamMimeType
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataIsLatestMajorVersion
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataIsLatestVersion
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataIsMajorVersion
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataIsVersionSeriesCheckedOut
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataName
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataParentId
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataPath
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataVersionLabel
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc) protected
NuxeoPropertyDataVersionSeriesCheckedOutBy
(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext) protected
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 DocumentModelModifier and TypeMethodDescriptionboolean
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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelMethods in org.nuxeo.ecm.core.rest that return DocumentModelModifier and TypeMethodDescriptionprotected 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) DocumentObject.getDocument()
static DocumentModel
DocumentHelper.updateDocument
(WebContext ctx, DocumentModel doc) Methods in org.nuxeo.ecm.core.rest with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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.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 -
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 DocumentModelMethods in org.nuxeo.ecm.core.search.api.client.search.results.impl that return DocumentModelConstructors in org.nuxeo.ecm.core.search.api.client.search.results.impl with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.core.storage
Fields in org.nuxeo.ecm.core.storage declared as DocumentModelMethods in org.nuxeo.ecm.core.storage with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelMethods in org.nuxeo.ecm.core.trash that return DocumentModelModifier and TypeMethodDescriptionAbstractTrashService.getAboveDocument
(DocumentModel doc, Set<Path> rootPaths) AbstractTrashService.getAboveDocument
(DocumentModel doc, NuxeoPrincipal principal) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 replacementAbstractTrashService.getAboveDocument
(DocumentModel doc, Set<Path> rootPaths) AbstractTrashService.getAboveDocument
(DocumentModel doc, NuxeoPrincipal principal) 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) AbstractTrashService.getDocuments
(DocumentModel parent) 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.AbstractTrashService.unmangleName
(DocumentModel doc) Method parameters in org.nuxeo.ecm.core.trash with type arguments of type DocumentModelModifier and TypeMethodDescriptionboolean
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) AbstractTrashService.getTrashInfo
(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted) 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.BridgeTrashService.undeleteDocuments
(List<DocumentModel> docs) LifeCycleTrashService.undeleteDocuments
(List<DocumentModel> docs) Deprecated.PropertyTrashService.undeleteDocuments
(List<DocumentModel> docs) 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 DocumentModelModifier and TypeMethodDescriptionUIDGenerator.createUID
(DocumentModel document) Returns a new UID for the given doc.UIDGeneratorComponent.createUID
(DocumentModel doc) UIDGeneratorService.createUID
(DocumentModel doc) protected int
AbstractUIDGenerator.getNext
(DocumentModel document) protected long
AbstractUIDGenerator.getNextLong
(DocumentModel document) UIDGenerator.getSequenceKey
(DocumentModel document) UIDGeneratorComponent.getUIDGeneratorFor
(DocumentModel doc) Returns the uid generator to use for this document.UIDGeneratorService.getUIDGeneratorFor
(DocumentModel doc) Returns the uid generator to use for this document.protected final 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 final 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 DocumentModelMethods in org.nuxeo.ecm.core.utils with parameters of type DocumentModelModifier and TypeMethodDescriptionStringsExtractor.findStrings
(DocumentModel document, Set<String> includedPaths, Set<String> excludedPaths) Finds strings from the document for a given set of included and excluded paths.BlobsExtractor.getBlobs
(DocumentModel doc) Gets the blobs of the document.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.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 DocumentModelMethods in org.nuxeo.ecm.core.versioning with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
StandardVersioningService.doAutomaticVersioning
(DocumentModel previousDocument, DocumentModel currentDocument, boolean before) void
VersioningComponent.doAutomaticVersioning
(DocumentModel previousDocument, DocumentModel currentDocument, boolean before) VersioningDocumentAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) protected long
StandardVersioningService.getMajor
(DocumentModel docModel) protected long
StandardVersioningService.getMinor
(DocumentModel docModel) StandardVersioningService.getSaveOptions
(DocumentModel docModel) VersioningComponent.getSaveOptions
(DocumentModel docModel) protected long
StandardVersioningService.getVersion
(DocumentModel docModel, String prop) StandardVersioningService.getVersionLabel
(DocumentModel docModel) 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 -
Uses of DocumentModel in org.nuxeo.ecm.csv.core
Methods in org.nuxeo.ecm.csv.core with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionEntryAdaptor.adapt
(Directory directory, DocumentModel entry) Apply an arbitrary transformation of the fetched entry.BaseSession.createEntry
(Map<String, Object> fieldMap) BaseSession.createEntry
(DocumentModel documentModel) Session.createEntry
(Map<String, Object> fieldMap) Creates an entry in a directory.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
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
Returns a bare document model suitable for directory implementations.static DocumentModel
Returns a bare document model suitable for directory implementations.protected abstract DocumentModel
BaseSession.createEntryWithoutReferences
(Map<String, Object> fieldMap) To be implemented for specific creation.DirectoryCache.getEntry
(String entryId, EntrySource source) DirectoryCache.getEntry
(String entryId, EntrySource source, boolean fetchReferences) Retrieves a directory entry using its id.Retrieves a directory entry using its id.BaseSession.getEntryFromSource
(String id, boolean fetchReferences) EntrySource.getEntryFromSource
(String entryId, boolean fetchReferences) Methods in org.nuxeo.ecm.directory with parameters of type DocumentModelModifier and TypeMethodDescriptionEntryAdaptor.adapt
(Directory directory, DocumentModel entry) Apply an arbitrary transformation of the fetched entry.BaseSession.createEntry
(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.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.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.BaseSession.updateEntryWithoutReferences
(DocumentModel docModel) To be implemented for specific update.Method parameters in org.nuxeo.ecm.directory with type arguments of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelMethods in org.nuxeo.ecm.directory.api with parameters of type DocumentModelModifier and TypeMethodDescriptionDirectoryService.getDirectory
(String id, DocumentModel documentContext) Returns the directory for the specified id and document context.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 -
Uses of DocumentModel in org.nuxeo.ecm.directory.core
Methods in org.nuxeo.ecm.directory.core that return DocumentModelModifier and TypeMethodDescriptionCoreDirectorySession.createEntry
(Map<String, Object> fieldMap) CoreDirectorySession.createEntryWithoutReferences
(Map<String, Object> fieldMap) protected DocumentModel
CoreDirectory.setACL
(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted) Methods in org.nuxeo.ecm.directory.core with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
CoreDirectorySession.deleteEntry
(DocumentModel docModel) protected DocumentModel
CoreDirectory.setACL
(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted) protected void
CoreDirectorySession.setReferenceTargetIds
(DocumentModel docModel, DocumentModel targetHolderDoc, String referenceFieldName) void
CoreDirectorySession.updateEntry
(DocumentModel docModel) CoreDirectorySession.updateEntryWithoutReferences
(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.impl
Methods in org.nuxeo.ecm.directory.impl that return DocumentModelModifier and TypeMethodDescriptionWritePolicyEntryAdaptor.adapt
(Directory directory, DocumentModel entry) Methods in org.nuxeo.ecm.directory.impl with parameters of type DocumentModelModifier and TypeMethodDescriptionWritePolicyEntryAdaptor.adapt
(Directory directory, DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.directory.ldap
Methods in org.nuxeo.ecm.directory.ldap that return DocumentModelModifier and TypeMethodDescriptionLDAPSession.createEntry
(DocumentModel entry) protected DocumentModel
LDAPSession.createEntryWithoutReferences
(Map<String, Object> fieldMap) protected DocumentModel
LDAPSession.fieldMapToDocumentModel
(Map<String, Object> fieldMap) 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 DocumentModelModifier and TypeMethodDescriptionLDAPSession.createEntry
(DocumentModel entry) LDAPSession.updateEntryWithoutReferences
(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.localconfiguration
Methods in org.nuxeo.ecm.directory.localconfiguration with parameters of type DocumentModelModifier and TypeMethodDescriptionDirectoryConfigurationFactory.getAdapter
(DocumentModel doc, Class<?> itf) Constructors in org.nuxeo.ecm.directory.localconfiguration with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.directory.memory
Methods in org.nuxeo.ecm.directory.memory that return DocumentModelModifier and TypeMethodDescriptionMemoryDirectorySession.createEntry
(Map<String, Object> fieldMap) MemoryDirectorySession.createEntry
(DocumentModel entry) MemoryDirectorySession.createEntryWithoutReferences
(Map<String, Object> fieldMap) Methods in org.nuxeo.ecm.directory.memory with parameters of type DocumentModelModifier and TypeMethodDescriptionMemoryDirectorySession.createEntry
(DocumentModel entry) void
MemoryDirectorySession.deleteEntry
(DocumentModel docModel) void
MemoryDirectorySession.updateEntry
(DocumentModel docModel) MemoryDirectorySession.updateEntryWithoutReferences
(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.multi
Methods in org.nuxeo.ecm.directory.multi that return DocumentModelModifier and TypeMethodDescriptionMultiDirectorySession.createEntry
(DocumentModel entry) MultiDirectorySession.createEntryWithoutReferences
(Map<String, Object> fieldMap) Methods in org.nuxeo.ecm.directory.multi with parameters of type DocumentModelModifier and TypeMethodDescriptionMultiDirectorySession.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) MultiDirectorySession.updateEntryWithoutReferences
(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.sql
Methods in org.nuxeo.ecm.directory.sql that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
SQLSession.createEntryWithoutReferences
(Map<String, Object> fieldMap) protected DocumentModel
SQLSession.fieldMapToDocumentModel
(Map<String, Object> fieldMap) SQLSession.getEntryFromSource
(String id, boolean fetchReferences) Methods in org.nuxeo.ecm.directory.sql with parameters of type DocumentModelModifier and TypeMethodDescriptionSQLSession.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 DocumentModelModifier and TypeMethodDescriptionAbstractLiveConnectBlobProvider.checkChangesAndUpdateBlob
(List<DocumentModel> docs) Method parameters in org.nuxeo.ecm.liveconnect.core with type arguments of type DocumentModelModifier and TypeMethodDescriptionAbstractLiveConnectBlobProvider.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 DocumentModelModifier and TypeMethodDescriptionGoogleDriveBlobProvider.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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionBatchUpdateBlobProvider.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 DocumentModelModifier and TypeMethodDescriptionBatchUpdateBlobProvider.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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
SimpleConfigurationAdapter.detachedDocument
Methods in org.nuxeo.ecm.localconf that return DocumentModelModifier and TypeMethodDescriptionPutSimpleConfParam.run
(DocumentModel doc) PutSimpleConfParams.run
(DocumentModel doc) SetSimpleConfParamVar.run
(DocumentModel doc) Methods in org.nuxeo.ecm.localconf with parameters of type DocumentModelModifier and TypeMethodDescriptionSimpleConfigurationAdapter.computeParametersFromDocument
(DocumentModel doc) SimpleConfigurationFactory.getAdapter
(DocumentModel doc, Class<?> itf) protected void
SimpleConfigurationAdapter.loadFromDocument
(DocumentModel doc) PutSimpleConfParam.run
(DocumentModel doc) PutSimpleConfParams.run
(DocumentModel doc) SetSimpleConfParamVar.run
(DocumentModel doc) Constructors in org.nuxeo.ecm.localconf with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.multi.tenant
Fields in org.nuxeo.ecm.multi.tenant declared as DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
MultiTenantHelper.TenantIdFinder.target
Methods in org.nuxeo.ecm.multi.tenant that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionMultiTenantService.getTenants()
MultiTenantServiceImpl.getTenants()
Methods in org.nuxeo.ecm.multi.tenant with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 -
Uses of DocumentModel in org.nuxeo.ecm.permissions
Methods in org.nuxeo.ecm.permissions with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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) 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 DocumentModelModifier and TypeMethodDescriptionSendNotificationEmailForPermission.run
(DocumentModel doc) SendNotificationEmailForPermission.run
(DocumentRef docRef) Methods in org.nuxeo.ecm.permissions.operations with parameters of type DocumentModelModifier and TypeMethodDescriptionSendNotificationEmailForPermission.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 DocumentModelMethods in org.nuxeo.ecm.platform.actions that return DocumentModelModifier and TypeMethodDescriptionfinal DocumentModel
AbstractActionContext.getCurrentDocument()
ActionContext.getCurrentDocument()
Returns the current document to use for filter evaluationMethods in org.nuxeo.ecm.platform.actions with parameters of type DocumentModelModifier and TypeMethodDescriptionfinal 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 DocumentModelMethods in org.nuxeo.ecm.platform.audio.extension with parameters of type DocumentModelModifier and TypeMethodDescriptionThumbnailAudioFactory.computeThumbnail
(DocumentModel doc, CoreSession session) 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 DocumentModelModifier and TypeMethodDescriptionDocumentHistoryReader.getDocumentHistory
(DocumentModel doc, long pageIndex, long pageSize) Retrieve a page ofLogEntry
for the history of the inputDocumentModel
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 DocumentModelMethods in org.nuxeo.ecm.platform.audit.api.comment that return DocumentModelMethods in org.nuxeo.ecm.platform.audit.api.comment with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api.document
Fields in org.nuxeo.ecm.platform.audit.api.document declared as DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
SourceDocumentResolver.document
SourceDocumentResolver.sourceDocument
Methods in org.nuxeo.ecm.platform.audit.api.document with parameters of type DocumentModelModifier and TypeMethodDescriptionDocumentHistoryReaderImpl.getDocumentHistory
(DocumentModel doc, long pageIndex, long pageSize) 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 DocumentModelModifier and TypeFieldDescriptionprotected List<DocumentModel>
LatestCreatedUsersOrGroupsPageProvider.currentPage
Methods in org.nuxeo.ecm.platform.audit.provider that return types with arguments of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.service
Methods in org.nuxeo.ecm.platform.audit.service that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
AbstractAuditBackend.guardedDocument
(CoreSession session, DocumentRef reference) Methods in org.nuxeo.ecm.platform.audit.service with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionAbstractUserResolver.createNuxeoUser
(String nuxeoLogin) abstract DocumentModel
AbstractUserResolver.updateUserInfo
(DocumentModel user, SAMLCredential userInfo) EmailBasedUserResolver.updateUserInfo
(DocumentModel user, SAMLCredential credential) Methods in org.nuxeo.ecm.platform.auth.saml.user with parameters of type DocumentModelModifier and TypeMethodDescriptionabstract DocumentModel
AbstractUserResolver.updateUserInfo
(DocumentModel user, SAMLCredential userInfo) 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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
CommentImpl.docModel
DocumentModel
storing theComment
metadata.Methods in org.nuxeo.ecm.platform.comment.api that return DocumentModelModifier and TypeMethodDescriptionCommentableDocument.addComment
(DocumentModel comment) Creates a new comment.CommentableDocument.addComment
(DocumentModel comment, String path) Creates a new comment in a specific location.CommentableDocument.addComment
(DocumentModel parent, DocumentModel comment) Creates a new comment as a reply to an existing comment.CommentManager.createComment
(DocumentModel docModel, String comment) Deprecated.CommentManager cannot find the author if invoked remotely so one should useCommentManager.createComment(DocumentModel, String, String)
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.CommentManager.createComment
(DocumentModel docModel, DocumentModel comment) Creates a comment document model, filling its properties with given info and linking it to given document.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.CommentManager.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) Creates a comment document model.Comment.getDocument()
Gets the document model backing this pojo.CommentImpl.getDocument()
CommentManager.getThreadForComment
(DocumentModel comment) Deprecated.since 11.1, unusedMethods in org.nuxeo.ecm.platform.comment.api that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionCommentableDocument.getComments()
Returns all comments for this document.CommentableDocument.getComments
(DocumentModel parent) Returns the comments for this document that are replied to a parent comment.CommentManager.getComments
(CoreSession session, DocumentModel docModel) Gets comments of a document.CommentManager.getComments
(DocumentModel docModel) Gets comments of a document.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.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 DocumentModelModifier and TypeMethodDescriptionCommentableDocument.addComment
(DocumentModel comment) Creates a new comment.CommentableDocument.addComment
(DocumentModel comment, String path) Creates a new comment in a specific location.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
insteadCommentManager.createComment
(DocumentModel docModel, String comment) Deprecated.CommentManager cannot find the author if invoked remotely so one should useCommentManager.createComment(DocumentModel, String, String)
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.CommentManager.createComment
(DocumentModel docModel, DocumentModel comment) Creates a comment document model, filling its properties with given info and linking it to given document.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.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, unusedCommentAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) CommentableDocument.getComments
(DocumentModel parent) Returns the comments for this document that are replied to a parent comment.CommentManager.getComments
(CoreSession session, DocumentModel docModel) Gets comments of a document.CommentManager.getComments
(DocumentModel docModel) Gets comments of a document.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.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.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 DocumentModelModifierConstructorDescriptionprotected
AnnotationImpl
(DocumentModel docModel) Constructor for the document adapter factory.protected
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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
CommentableDocumentAdapter.docModel
Methods in org.nuxeo.ecm.platform.comment.impl that return DocumentModelModifier and TypeMethodDescriptionCommentableDocumentAdapter.addComment
(DocumentModel comment) CommentableDocumentAdapter.addComment
(DocumentModel comment, String path) CommentableDocumentAdapter.addComment
(DocumentModel parent, DocumentModel comment) BridgeCommentManager.createComment
(DocumentModel docModel, String comment) BridgeCommentManager.createComment
(DocumentModel docModel, String comment, String author) BridgeCommentManager.createComment
(DocumentModel docModel, DocumentModel comment) BridgeCommentManager.createComment
(DocumentModel docModel, DocumentModel parent, DocumentModel child) CommentManagerImpl.createComment
(DocumentModel docModel, String comment) Deprecated.CommentManagerImpl.createComment
(DocumentModel docModel, String comment, String author) Deprecated.CommentManagerImpl.createComment
(DocumentModel docModel, DocumentModel comment) Deprecated.CommentManagerImpl.createComment
(DocumentModel docModel, DocumentModel parent, DocumentModel child) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, String comment) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, String text, String author) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, DocumentModel commentModel) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, DocumentModel parent, DocumentModel child) Deprecated.TreeCommentManager.createComment
(DocumentModel doc, String text) TreeCommentManager.createComment
(DocumentModel doc, String text, String author) TreeCommentManager.createComment
(DocumentModel commentedDoc, DocumentModel commentDoc) TreeCommentManager.createComment
(DocumentModel doc, DocumentModel parent, DocumentModel child) protected DocumentModel
CommentManagerImpl.createHiddenFolder
(CoreSession session, String parentPath, String name) Deprecated.BridgeCommentManager.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) CommentManagerImpl.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) Deprecated.PropertyCommentManager.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) Deprecated.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) BridgeCommentManager.getThreadForComment
(DocumentModel comment) CommentManagerImpl.getThreadForComment
(DocumentModel comment) Deprecated.protected DocumentModel
PropertyCommentManager.getThreadForComment
(CoreSession s, DocumentModel comment) Deprecated.PropertyCommentManager.getThreadForComment
(DocumentModel comment) Deprecated.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 DocumentModelModifier and TypeMethodDescriptionprotected 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) AbstractCommentManager.getComments
(DocumentModel docModel) AbstractCommentManager.getComments
(DocumentModel docModel, DocumentModel parent) BridgeCommentManager.getComments
(CoreSession session, DocumentModel docModel) BridgeCommentManager.getComments
(DocumentModel docModel) CommentableDocumentAdapter.getComments()
CommentableDocumentAdapter.getComments
(DocumentModel parent) CommentManagerImpl.getComments
(CoreSession s, DocumentModel docModel) Deprecated.PropertyCommentManager.getComments
(CoreSession session, DocumentModel docModel) Deprecated.PropertyCommentManager.getComments
(DocumentModel docModel, DocumentModel parent) Deprecated.TreeCommentManager.getComments
(CoreSession session, DocumentModel doc) BridgeCommentManager.getDocumentsForComment
(DocumentModel comment) CommentManagerImpl.getDocumentsForComment
(DocumentModel comment) Deprecated.PropertyCommentManager.getDocumentsForComment
(DocumentModel comment) Deprecated.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 DocumentModelModifier and TypeMethodDescriptionCommentableDocumentAdapter.addComment
(DocumentModel comment) CommentableDocumentAdapter.addComment
(DocumentModel comment, String path) CommentableDocumentAdapter.addComment
(DocumentModel parent, DocumentModel comment) int
CommentSorter.compare
(DocumentModel doc1, DocumentModel doc2) BridgeCommentManager.createComment
(DocumentModel docModel, String comment) BridgeCommentManager.createComment
(DocumentModel docModel, String comment, String author) BridgeCommentManager.createComment
(DocumentModel docModel, DocumentModel comment) BridgeCommentManager.createComment
(DocumentModel docModel, DocumentModel parent, DocumentModel child) CommentManagerImpl.createComment
(DocumentModel docModel, String comment) Deprecated.CommentManagerImpl.createComment
(DocumentModel docModel, String comment, String author) Deprecated.CommentManagerImpl.createComment
(DocumentModel docModel, DocumentModel comment) Deprecated.CommentManagerImpl.createComment
(DocumentModel docModel, DocumentModel parent, DocumentModel child) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, String comment) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, String text, String author) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, DocumentModel commentModel) Deprecated.PropertyCommentManager.createComment
(DocumentModel docModel, DocumentModel parent, DocumentModel child) Deprecated.TreeCommentManager.createComment
(DocumentModel doc, String text) TreeCommentManager.createComment
(DocumentModel doc, String text, String author) TreeCommentManager.createComment
(DocumentModel commentedDoc, DocumentModel commentDoc) TreeCommentManager.createComment
(DocumentModel doc, DocumentModel parent, DocumentModel child) BridgeCommentManager.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) CommentManagerImpl.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) Deprecated.PropertyCommentManager.createLocatedComment
(DocumentModel docModel, DocumentModel comment, String path) Deprecated.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) 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) AbstractCommentManager.getComments
(DocumentModel docModel) AbstractCommentManager.getComments
(DocumentModel docModel, DocumentModel parent) BridgeCommentManager.getComments
(CoreSession session, DocumentModel docModel) BridgeCommentManager.getComments
(DocumentModel docModel) CommentableDocumentAdapter.getComments
(DocumentModel parent) CommentManagerImpl.getComments
(CoreSession s, DocumentModel docModel) Deprecated.PropertyCommentManager.getComments
(CoreSession session, DocumentModel docModel) Deprecated.PropertyCommentManager.getComments
(DocumentModel docModel, DocumentModel parent) Deprecated.TreeCommentManager.getComments
(CoreSession session, DocumentModel doc) BridgeCommentManager.getDocumentsForComment
(DocumentModel comment) CommentManagerImpl.getDocumentsForComment
(DocumentModel comment) Deprecated.PropertyCommentManager.getDocumentsForComment
(DocumentModel comment) Deprecated.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.BridgeCommentManager.getThreadForComment
(DocumentModel comment) CommentManagerImpl.getThreadForComment
(DocumentModel comment) Deprecated.protected DocumentModel
PropertyCommentManager.getThreadForComment
(CoreSession s, DocumentModel comment) Deprecated.PropertyCommentManager.getThreadForComment
(DocumentModel comment) Deprecated.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 DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.listener
Methods in org.nuxeo.ecm.platform.comment.listener with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionModerateCommentOperation.run
(DocumentModel doc) ModerateCommentOperation.run
(DocumentRef docRef) Methods in org.nuxeo.ecm.platform.comment.workflow with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.workflow.services
Methods in org.nuxeo.ecm.platform.comment.workflow.services with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
CommentsModerationService.approveComent
(CoreSession session, DocumentModel document, String commentId) Approve the comment with the given commentId.void
CommentsModerationServiceImpl.approveComent
(CoreSession session, DocumentModel doc, String commentId) 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 DocumentModelMethods in org.nuxeo.ecm.platform.computedgroups that return DocumentModelModifier and TypeMethodDescriptionUserManagerWithComputedGroups.createGroup
(DocumentModel groupModel, DocumentModel context) protected DocumentModel
UserManagerWithComputedGroups.getComputedGroupAsDocumentModel
(String grpName) UserManagerWithComputedGroups.getGroupModel
(String groupName) NuxeoComputedGroup.getModel()
Methods in org.nuxeo.ecm.platform.computedgroups with parameters of type DocumentModelModifier and TypeMethodDescriptionUserManagerWithComputedGroups.createGroup
(DocumentModel groupModel, DocumentModel context) void
UserManagerWithComputedGroups.deleteGroup
(String groupId, DocumentModel context) UserManagerWithComputedGroups.getGroup
(String groupName, DocumentModel context) protected NuxeoPrincipal
UserManagerWithComputedGroups.makePrincipal
(DocumentModel userEntry, boolean anonymous, List<String> groups) UserManagerWithComputedGroups.searchGroups
(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionvoid
DublinCoreStorageService.addContributor
(DocumentModel doc, Event event) Adds a contributor to the document.void
DublinCoreStorageServiceImpl.addContributor
(DocumentModel doc, Event event) 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 DocumentModelMethods in org.nuxeo.ecm.platform.ec.notification with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
SubscriptionAdapter.copySubscriptionsTo
(DocumentModel targetDoc) Copy the subscriptions of the current doc to the targetted document.SubscriptionAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) Constructors in org.nuxeo.ecm.platform.ec.notification with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.automation
Methods in org.nuxeo.ecm.platform.ec.notification.automation that return DocumentModelModifier and TypeMethodDescriptionSubscribeOperation.run
(DocumentModel doc) UnsubscribeOperation.run
(DocumentModel doc) Methods in org.nuxeo.ecm.platform.ec.notification.automation with parameters of type DocumentModelModifier and TypeMethodDescriptionSubscribeOperation.run
(DocumentModel doc) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected static DocumentModel
NotificationService.detachDocumentModel
(DocumentModel doc) Methods in org.nuxeo.ecm.platform.ec.notification.service that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionNotificationService.getSubscribedDocuments
(String prefixedPrincipalName, String repositoryName) Methods in org.nuxeo.ecm.platform.ec.notification.service with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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) NotificationService.getSubscribers
(String notification, DocumentModel doc) NotificationService.getSubscriptionsForUserOnDocument
(String username, DocumentModel doc) 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 DocumentModelConstructors in org.nuxeo.ecm.platform.el with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.api
Methods in org.nuxeo.ecm.platform.filemanager.api that return DocumentModelModifier and TypeMethodDescriptionFileManager.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName) Deprecated.since 10.10.FileManager.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck) Deprecated.since 10.10.FileManager.createFolder
(CoreSession documentManager, String fullname, String path, boolean overwrite) Creates a Folder.FileManager.createOrUpdateDocument
(FileImporterContext context) Returns a created or updated document based on the givencontext
.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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionFileManagerService.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName) FileManagerService.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck) FileManagerService.createFolder
(CoreSession documentManager, String fullname, String path, boolean overwrite) FileManagerService.createOrUpdateDocument
(FileImporterContext context) FileManagerService.defaultCreateFolder
(CoreSession documentManager, String fullname, String path, boolean overwrite) FileManagerService.defaultCreateFolder
(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes, boolean overwrite) 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 DocumentModelModifier and TypeMethodDescriptionAbstractFileImporter.create
(CoreSession session, Blob content, String path, boolean overwrite, String fullname, TypeManager typeService) AbstractFolderImporter.create
(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager) FileImporter.create
(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService) Deprecated.since 10.10.FolderImporter.create
(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager) AbstractFileImporter.createOrUpdate
(FileImporterContext context) CSVZipImporter.createOrUpdate
(FileImporterContext context) ExportedZipImporter.createOrUpdate
(FileImporterContext context) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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.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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
GenericThreadedImportTask.rootDoc
protected DocumentModel
GenericMultiThreadedImporter.targetContainer
Methods in org.nuxeo.ecm.platform.importer.base that return DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifierConstructorDescriptionGenericThreadedImportTask
(String repositoryName, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy, String jobName) protected
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 DocumentModelModifier and TypeMethodDescriptionDefaultDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) FileManagerDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) ImporterDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) DefaultDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) FileManagerDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) 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 DocumentModelModifier and TypeMethodDescriptionDefaultDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) FileManagerDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) ImporterDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) DefaultDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) FileManagerDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) 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 DocumentModelMethods in org.nuxeo.ecm.platform.importer.properties with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.threading
Methods in org.nuxeo.ecm.platform.importer.threading with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
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 DocumentModelFields in org.nuxeo.ecm.platform.importer.xml.parser with type parameters of type DocumentModelModifier and TypeFieldDescriptionprotected final Stack<DocumentModel>
MVELImporterFunction.docsStack
protected Stack<DocumentModel>
XMLImporterServiceImpl.docsStack
protected final 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 DocumentModelModifier and TypeMethodDescriptionAdvancedScannedFileFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) 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 DocumentModelModifier and TypeMethodDescriptionXMLImporterComponent.importDocuments
(DocumentModel root, File xmlFile) XMLImporterComponent.importDocuments
(DocumentModel root, File xmlFile, boolean deferSave) XMLImporterComponent.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext) XMLImporterComponent.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext, boolean deferSave) XMLImporterComponent.importDocuments
(DocumentModel root, InputStream xmlStream) XMLImporterComponent.importDocuments
(DocumentModel root, InputStream xmlStream, Map<String, Object> mvelContext) XMLImporterService.importDocuments
(DocumentModel root, File source) ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.XMLImporterService.importDocuments
(DocumentModel root, File source, boolean deferSave) ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.XMLImporterService.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext) Same asXMLImporterService.importDocuments(DocumentModel, File)
with map injected into mvel contexts used during parsingXMLImporterService.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext, boolean deferSave) XMLImporterService.importDocuments
(DocumentModel root, InputStream xmlStream) ImportsDocumentModel
in Nuxeo from an XML Stream.XMLImporterService.importDocuments
(DocumentModel root, InputStream xmlStream, Map<String, Object> mvelContext) Same asXMLImporterService.importDocuments(DocumentModel, InputStream)
with map injected into mvel contexts used during parsingXMLImporterServiceImpl.parse
(InputStream is) XMLImporterServiceImpl.parse
(org.dom4j.Document doc) Methods in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type DocumentModelModifier and TypeMethodDescriptionAdvancedScannedFileFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) XMLImporterComponent.importDocuments
(DocumentModel root, File xmlFile) XMLImporterComponent.importDocuments
(DocumentModel root, File xmlFile, boolean deferSave) XMLImporterComponent.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext) XMLImporterComponent.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext, boolean deferSave) XMLImporterComponent.importDocuments
(DocumentModel root, InputStream xmlStream) XMLImporterComponent.importDocuments
(DocumentModel root, InputStream xmlStream, Map<String, Object> mvelContext) XMLImporterService.importDocuments
(DocumentModel root, File source) ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.XMLImporterService.importDocuments
(DocumentModel root, File source, boolean deferSave) ImportsDocumentModel
in Nuxeo from an XML or a Zip archive.XMLImporterService.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext) Same asXMLImporterService.importDocuments(DocumentModel, File)
with map injected into mvel contexts used during parsingXMLImporterService.importDocuments
(DocumentModel root, File source, Map<String, Object> mvelContext, boolean deferSave) XMLImporterService.importDocuments
(DocumentModel root, InputStream xmlStream) ImportsDocumentModel
in Nuxeo from an XML Stream.XMLImporterService.importDocuments
(DocumentModel root, InputStream xmlStream, Map<String, Object> mvelContext) Same asXMLImporterService.importDocuments(DocumentModel, InputStream)
with map injected into mvel contexts used during parsingMVELImporterFunction.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 DocumentModelModifierConstructorDescriptionXMLImporterServiceImpl
(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 DocumentModelModifierConstructorDescriptionMVELImporterFunction
(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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentReader
ExportDocument.makeDocumentReader
(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip) 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
DeputyManagementStorageService.newMandate
(String username, String deputy) DeputyManagementStorageService.newMandate
(String username, String deputy, Calendar start, Calendar end) DeputyManager.newMandate
(String username, String deputy) 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 DocumentModelModifier and TypeMethodDescriptionDeputyManagementStorageService.getAvalaibleMandates
(String userName) DeputyManager.getAvalaibleMandates
(String userName) Methods in org.nuxeo.ecm.platform.login.deputy.management with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelConstructors in org.nuxeo.ecm.platform.mail.adapter with parameters of type DocumentModelModifierConstructorDescriptionMailMessageBlobHolder
(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 DocumentModelModifierConstructorDescriptionprotected
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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.utils
Methods in org.nuxeo.ecm.platform.mail.utils with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionNotificationManager.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 DocumentModelModifier and TypeMethodDescriptionvoid
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) NotificationManager.getSubscribers
(String notification, DocumentModel doc) Gets the users that subscribed to a notification on a certain document.NotificationManager.getSubscriptionsForUserOnDocument
(String username, DocumentModel doc) Gets the notifications for which a user subscribed for a certain document.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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
NuxeoOAuthConsumer.asDocumentModel
(DocumentModel entry) Methods in org.nuxeo.ecm.platform.oauth.consumers with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected NuxeoOAuthToken
OAuthTokenStoreImpl.getTokenFromDirectoryEntry
(DocumentModel entry) void
NuxeoOAuthToken.updateEntry
(DocumentModel entry) Constructors in org.nuxeo.ecm.platform.oauth.tokens with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.clients
Methods in org.nuxeo.ecm.platform.oauth2.clients that return DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionprotected List<DocumentModel>
OAuth2ClientServiceImpl.queryClients()
Methods in org.nuxeo.ecm.platform.oauth2.clients with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
UserResolver.createNuxeoUser
(String nuxeoLogin) EmailBasedUserResolver.updateUserInfo
(DocumentModel user, OpenIDUserInfo userInfo) 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 DocumentModelModifier and TypeMethodDescriptionEmailBasedUserResolver.updateUserInfo
(DocumentModel user, OpenIDUserInfo userInfo) 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
OAuth2ServiceProviderRegistryImpl.getProviderDocModel
(String serviceName) Methods in org.nuxeo.ecm.platform.oauth2.providers that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionprotected List<DocumentModel>
OAuth2ServiceProviderRegistryImpl.queryProviders
(Map<String, Serializable> filter, int limit) Methods in org.nuxeo.ecm.platform.oauth2.providers with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
OAuth2TokenStore.find
(Map<String, Serializable> filter) Methods in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic com.google.api.client.auth.oauth2.StoredCredential
NuxeoOAuth2Token.asCredential
(DocumentModel entry) protected NuxeoOAuth2Token
OAuth2TokenStore.getTokenFromDirectoryEntry
(DocumentModel entry) OAuth2TokenStore.refresh
(DocumentModel entry, NuxeoOAuth2Token token) void
NuxeoOAuth2Token.updateEntry
(DocumentModel entry) Constructors in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.pdf
Methods in org.nuxeo.ecm.platform.pdf that return DocumentModelModifier and TypeMethodDescriptionPDFInfo.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 DocumentModelModifier and TypeMethodDescriptionvoid
PDFMerge.addBlob
(DocumentModel inDoc, String inXPath) 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 DocumentModelModifierConstructorDescriptionPDFInfo
(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 DocumentModelModifier and TypeMethodDescriptionPDFExtractInfoOperation.run
(DocumentModel inDoc) PDFExtractTextOperation.run
(DocumentModel input) Methods in org.nuxeo.ecm.platform.pdf.operations with parameters of type DocumentModelModifier and TypeMethodDescriptionPDFConvertToPicturesOperation.run
(DocumentModel inDoc) PDFEncryptOperation.run
(DocumentModel inDoc) PDFEncryptReadOnlyOperation.run
(DocumentModel inDoc) PDFExtractInfoOperation.run
(DocumentModel inDoc) PDFExtractPagesOperation.run
(DocumentModel inDoc) PDFExtractTextOperation.run
(DocumentModel input) PDFMergeDocumentsOperation.run
(DocumentModel inDoc) PDFRemoveEncryptionOperation.run
(DocumentModel inDoc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture
Methods in org.nuxeo.ecm.platform.picture with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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) 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 DocumentModelModifier and TypeMethodDescriptionImagingService.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 DocumentModelMethods in org.nuxeo.ecm.platform.picture.api.adapters with parameters of type DocumentModelModifier and TypeMethodDescriptionMultiviewPictureAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) NoPictureResourceAdapterFactory.getAdapter
(DocumentModel doc, Class<?> cls) Deprecated.PictureResourceAdapterFactory.getAdapter
(DocumentModel doc, Class<?> cls) 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 DocumentModelModifierConstructorDescriptionMultiviewPictureAdapter
(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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
PictureChangedListener.getParentDocument
(CoreSession session, DocumentModel doc) Methods in org.nuxeo.ecm.platform.picture.listener with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionCreatePicture.run
(DocumentModel doc) CreatePicture.run
(DocumentRef doc) Methods in org.nuxeo.ecm.platform.picture.operation with parameters of type DocumentModelModifier and TypeMethodDescriptionCreatePicture.run
(DocumentModel doc) GetPictureView.run
(DocumentModel doc) 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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.recompute
Methods in org.nuxeo.ecm.platform.picture.recompute with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionPictureRenditionDefinitionProvider.getRenditionDefinitions
(DocumentModel doc) boolean
PictureRenditionProvider.isAvailable
(DocumentModel doc, RenditionDefinition definition) 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 DocumentModelModifier and TypeMethodDescriptionThumbnailPictureFactory.computeThumbnail
(DocumentModel doc, CoreSession session) 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 DocumentModelModifier and TypeMethodDescriptionPreviewAdapterFactory.getAdapter
(DocumentModel doc) PreviewAdapterManager.getAdapter
(DocumentModel doc) PreviewAdapterManagerComponent.getAdapter
(DocumentModel doc) PreviewDocumentModelAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) MimeTypePreviewer.getPreview
(Blob blob, DocumentModel dm) PlainImagePreviewer.getPreview
(Blob blob, DocumentModel dm) Deprecated.PlainTextPreviewer.getPreview
(Blob blob, DocumentModel dm) 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 DocumentModelMethods in org.nuxeo.ecm.platform.preview.adapter.base with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionBlobHolderPreviewAdapterFactory.getAdapter
(DocumentModel doc) FileBasedPreviewAdapterFactory.getAdapter
(DocumentModel doc) 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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.helper
Methods in org.nuxeo.ecm.platform.preview.helper with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifierConstructorDescriptionPreviewWork
(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 DocumentModelModifier and TypeMethodDescriptionAbstractBasePublishedDocumentFactory.snapshotDocumentBeforePublish
(DocumentModel doc) PublishedDocumentFactory.snapshotDocumentBeforePublish
(DocumentModel doc) Methods in org.nuxeo.ecm.platform.publisher.api with parameters of type DocumentModelModifier and TypeMethodDescriptionPublisherService.getPublicationTree
(String treeName, CoreSession coreSession, Map<String, String> params, DocumentModel currentDocument) 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) AbstractBasePublicationTree.publish
(DocumentModel doc, PublicationNode targetNode) AbstractBasePublicationTree.publish
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) PublicationTree.publish
(DocumentModel doc, PublicationNode targetNode) PublicationTree.publish
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) PublisherService.publish
(DocumentModel doc, PublicationNode targetNode) PublisherService.publish
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) AbstractBasePublishedDocumentFactory.publishDocument
(DocumentModel doc, PublicationNode targetNode) PublishedDocumentFactory.publishDocument
(DocumentModel doc, PublicationNode targetNode) 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.AbstractBasePublishedDocumentFactory.snapshotDocumentBeforePublish
(DocumentModel doc) PublishedDocumentFactory.snapshotDocumentBeforePublish
(DocumentModel doc) void
PublicationTree.unpublish
(DocumentModel doc, PublicationNode targetNode) void
PublisherService.unpublish
(DocumentModel doc, PublicationNode targetNode) PublishedDocumentFactory.wrapDocumentModel
(DocumentModel doc) AbstractBasePublicationTree.wrapToPublicationNode
(DocumentModel documentModel) PublicationTree.wrapToPublicationNode
(DocumentModel documentModel) Returns a PublicationNode for the current tree built on the givendocumentModel
.PublisherService.wrapToPublicationNode
(DocumentModel documentModel, CoreSession coreSession) AbstractBasePublicationTree.wrapToPublishedDocument
(DocumentModel documentModel) 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 DocumentModelModifier and TypeMethodDescriptionstatic void
PublicationRelationHelper.addPublicationRelation
(DocumentModel documentModel, PublicationTree publicationTree) RootSectionsManager.addSection
(String sectionId, DocumentModel currentDocument) boolean
RootSectionsManager.canAddSection
(DocumentModel section, DocumentModel currentDocument) RootSectionFinder.getAccessibleSectionRoots
(DocumentModel currentDoc) static PublicationTree
PublicationRelationHelper.getPublicationTreeUsedForPublishing
(DocumentModel documentModel, CoreSession coreSession) RootSectionFinder.getSectionRootsForWorkspace
(DocumentModel currentDoc) Returns the head (root) sections that are bound to a given Workspace.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) 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 DocumentModelModifier and TypeFieldDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionSimpleCorePublishedDocument.getProxy()
CoreFolderPublicationNode.getTargetDocumentModel()
CoreProxyFactory.snapshotDocumentBeforePublish
(DocumentModel doc) CoreProxyFactory.unwrapPublishedDocument
(PublishedDocument pubDoc) Methods in org.nuxeo.ecm.platform.publisher.impl.core with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
SectionPublicationTree.isPublicationNode
(DocumentModel documentModel) SectionPublicationTree.publish
(DocumentModel doc, PublicationNode targetNode) SectionPublicationTree.publish
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) CoreProxyFactory.publishDocument
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) void
RootSectionsPublicationTree.setCurrentDocument
(DocumentModel currentDocument) CoreProxyFactory.snapshotDocumentBeforePublish
(DocumentModel doc) void
SectionPublicationTree.unpublish
(DocumentModel doc, PublicationNode targetNode) CoreProxyFactory.wrapDocumentModel
(DocumentModel doc) SectionPublicationTree.wrapToPublicationNode
(DocumentModel documentModel) SectionPublicationTree.wrapToPublishedDocument
(DocumentModel documentModel) Constructors in org.nuxeo.ecm.platform.publisher.impl.core with parameters of type DocumentModelModifierConstructorDescriptionCoreFolderPublicationNode
(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory) CoreFolderPublicationNode
(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.finder
Fields in org.nuxeo.ecm.platform.publisher.impl.finder declared as DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
AbstractRootSectionsFinder.currentDocument
Methods in org.nuxeo.ecm.platform.publisher.impl.finder with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected abstract void
AbstractRootSectionsFinder.computeUserSectionRoots
(DocumentModel currentDoc) protected void
DefaultRootSectionsFinder.computeUserSectionRoots
(DocumentModel currentDoc) AbstractRootSectionsFinder.getAccessibleSectionRoots
(DocumentModel currentDoc) AbstractRootSectionsFinder.getSectionRootsForWorkspace
(DocumentModel currentDoc) 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 DocumentModelMethods in org.nuxeo.ecm.platform.publisher.impl.service that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionDomainsFinder.getDomains()
protected List<DocumentModel>
DomainsFinder.getDomainsFiltered()
Methods in org.nuxeo.ecm.platform.publisher.impl.service with parameters of type DocumentModelModifier and TypeMethodDescriptionPublisherServiceImpl.getPublicationTree
(String treeName, CoreSession coreSession, Map<String, String> params, DocumentModel currentDocument) PublisherServiceImpl.getPublicationTreeFor
(DocumentModel doc, CoreSession coreSession) boolean
PublisherServiceImpl.isPublishedDocument
(DocumentModel documentModel) PublisherServiceImpl.publish
(DocumentModel doc, PublicationNode targetNode) 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) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionString[]
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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.task
Methods in org.nuxeo.ecm.platform.publisher.task that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
CoreProxyWithWorkflowFactory.getLiveDocument
(CoreSession session, DocumentModel proxy) PublishUnrestricted.getModel()
Methods in org.nuxeo.ecm.platform.publisher.task with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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) 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) CoreProxyWithWorkflowFactory.wrapDocumentModel
(DocumentModel doc) Constructors in org.nuxeo.ecm.platform.publisher.task with parameters of type DocumentModelModifierConstructorDescriptionChangePermissionUnrestricted
(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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
AbstractPageProvider.searchDocumentModel
Methods in org.nuxeo.ecm.platform.query.api that return DocumentModelModifier and TypeMethodDescriptionAbstractPageProvider.getSearchDocumentModel()
PageProvider.getSearchDocumentModel()
Methods in org.nuxeo.ecm.platform.query.api with parameters of type DocumentModelModifier and TypeMethodDescriptionPageProvider<?>
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 DocumentModelMethods in org.nuxeo.ecm.platform.query.core that return DocumentModelMethods in org.nuxeo.ecm.platform.query.core that return types with arguments of type DocumentModelMethods in org.nuxeo.ecm.platform.query.core with parameters of type DocumentModelModifier and TypeMethodDescriptionPageProvider<?>
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 DocumentModelModifier and TypeMethodDescriptionvoid
DocumentModelListPageProvider.setDocumentModelList
(List<DocumentModel> docs) Constructors in org.nuxeo.ecm.platform.query.core with parameters of type DocumentModelModifierConstructorDescriptionAggregateBase
(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 DocumentModelModifier and TypeFieldDescriptionprotected List<DocumentModel>
CoreQueryDocumentPageProvider.currentPageDocuments
Methods in org.nuxeo.ecm.platform.query.nxql that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionCoreQueryDocumentPageProvider.getCurrentPage()
CoreQueryDocumentPageProvider.getCurrentSelectPage()
Methods in org.nuxeo.ecm.platform.query.nxql with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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) 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
CoreGraph.StatementAdder.setRelationProperties
(DocumentModel rel, Statement statement) Methods in org.nuxeo.ecm.platform.relations with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionstatic 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) RelationHelper.getStatements
(String graphName, DocumentModel subjectDoc, Resource predicat) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionDefaultDocumentView.get
(DocumentModel doc, String name) DocumentView.get
(DocumentModel doc, String name) DefaultDocumentView.Field.getValue
(DocumentModel doc) DefaultDocumentView.keys
(DocumentModel doc) 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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
DocumentTemplate.doc
final DocumentModel
SchemaTemplate.DocumentSchema.doc
Methods in org.nuxeo.ecm.platform.rendering.fm.adapters that return DocumentModelConstructors in org.nuxeo.ecm.platform.rendering.fm.adapters with parameters of type DocumentModelModifierConstructorDescriptionDocumentSchema
(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 DocumentModelMethods in org.nuxeo.ecm.platform.rendering.impl with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.template
Fields in org.nuxeo.ecm.platform.rendering.template declared as DocumentModelMethods in org.nuxeo.ecm.platform.rendering.template with parameters of type DocumentModelModifier and TypeMethodDescriptionabstract Object
DocumentFieldAccessor.getValue
(DocumentModel doc) Constructors in org.nuxeo.ecm.platform.rendering.template with parameters of type DocumentModelModifierConstructorDescriptionDocumentModelAdapter
(DocumentModel doc, freemarker.template.ObjectWrapper wrapper) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition
Methods in org.nuxeo.ecm.platform.rendition that return DocumentModelModifier and TypeMethodDescriptionRendition.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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
DownloadBlobHolder.doc
protected final DocumentModel
RenderableDocument.doc
Methods in org.nuxeo.ecm.platform.rendition.adapter with parameters of type DocumentModelModifier and TypeMethodDescriptionRenderableAdapterFactory.getAdapter
(DocumentModel doc, Class<?> adapterClass) DownloadBlobHolderFactory.getBlobHolder
(DocumentModel doc) Constructors in org.nuxeo.ecm.platform.rendition.adapter with parameters of type DocumentModelModifierConstructorDescription -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.extension
Methods in org.nuxeo.ecm.platform.rendition.extension with parameters of type DocumentModelModifier and TypeMethodDescriptionDefaultAutomationRenditionProvider.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 DocumentModelAutomationRenderer.render
(DocumentModel doc, RenditionDefinition definition, CoreSession session) Generate the rendition Blobs for a givenRenditionDefinition
.DefaultAutomationRenditionProvider.render
(DocumentModel doc, RenditionDefinition definition) 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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
LiveRendition.doc
protected final DocumentModel
StoredRendition.stored
Methods in org.nuxeo.ecm.platform.rendition.impl that return DocumentModelModifier and TypeMethodDescriptionLiveRendition.getHostDocument()
StoredRendition.getHostDocument()
Constructors in org.nuxeo.ecm.platform.rendition.impl with parameters of type DocumentModelModifierConstructorDescriptionLiveRendition
(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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected String
AbstractRenditionBuilderWork.buildId
(DocumentModel doc, RenditionDefinition def) AbstractLazyCachableRenditionProvider.buildRenditionKey
(DocumentModel doc, RenditionDefinition def) AbstractRenditionBuilderWork.doComputeRendition
(CoreSession session, DocumentModel doc, RenditionDefinition def) Does the actual Rendition Computation: this code will be called from inside an Asynchronous WorkAutomationRenditionBuilder.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) 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) AbstractLazyCachableRenditionProvider.handleNewRendition
(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate) AbstractLazyCachableRenditionProvider.render
(DocumentModel doc, RenditionDefinition definition) Constructors in org.nuxeo.ecm.platform.rendition.lazy with parameters of type DocumentModelModifierConstructorDescriptionAbstractRenditionBuilderWork
(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 DocumentModelMethods in org.nuxeo.ecm.platform.rendition.operation that return DocumentModelMethods in org.nuxeo.ecm.platform.rendition.operation with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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) GetContainerRendition.run
(DocumentModel doc) GetRendition.run
(DocumentModel doc) 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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
RenditionLiveDocFetcher.liveDocument
protected final DocumentModel
RenditionLiveDocFetcher.proxy
Methods in org.nuxeo.ecm.platform.rendition.publisher that return DocumentModelModifier and TypeMethodDescriptionRenditionLiveDocFetcher.getLiveDocument()
protected DocumentModel
RenditionPublicationFactory.getLiveDocument
(CoreSession session, DocumentModel proxy) Methods in org.nuxeo.ecm.platform.rendition.publisher with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
RenditionPublicationFactory.getLiveDocument
(CoreSession session, DocumentModel proxy) protected List<PublishedDocument>
RenditionPublicationCoreTree.getPublishedDocumentsFromProxyDocument
(DocumentRef docRef, DocumentModel sourceDocument) 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 DocumentModelModifierConstructorDescriptionprotected
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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
RenditionCreator.detachedRendition
protected final DocumentModel
RenditionsRemover.proxy
protected final DocumentModel
RenditionFinder.source
protected DocumentModel
RenditionFinder.storedRendition
Methods in org.nuxeo.ecm.platform.rendition.service that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
RenditionCreator.createRenditionDocument
(DocumentModel sourceDocument) RenditionCreator.getDetachedRendition()
RenditionFinder.getStoredRendition()
RenditionService.publishRendition
(DocumentModel doc, DocumentModel target, String renditionName, boolean override) Publish a document's rendition.RenditionServiceImpl.publishRendition
(DocumentModel doc, DocumentModel target, String renditionName, boolean override) Methods in org.nuxeo.ecm.platform.rendition.service with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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) DefaultStoredRenditionManager.createStoredRendition
(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition) 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) DefaultStoredRenditionManager.findStoredRendition
(DocumentModel sourceDocument, RenditionDefinition renditionDefinition) StoredRenditionManager.findStoredRendition
(DocumentModel sourceDocument, RenditionDefinition renditionDefinition) Finds theStoredRendition
associated with aDocumentModel
.RenditionService.getAvailableRenditionDefinition
(DocumentModel doc, String renditionName) Returns theRenditionDefinition
available on the given document for the given rendition definition name.RenditionServiceImpl.getAvailableRenditionDefinition
(DocumentModel doc, String renditionName) RenditionService.getAvailableRenditionDefinitions
(DocumentModel doc) Returns aList
ofRenditionDefinition
available on the given Document.RenditionServiceImpl.getAvailableRenditionDefinitions
(DocumentModel doc) RenditionService.getAvailableRenditions
(DocumentModel doc) Returns aList
ofRendition
available on the given Document.RenditionService.getAvailableRenditions
(DocumentModel doc, boolean onlyVisible) Returns aList
ofRendition
available on the given Document.RenditionServiceImpl.getAvailableRenditions
(DocumentModel doc) RenditionServiceImpl.getAvailableRenditions
(DocumentModel doc, boolean onlyVisible) RenditionService.getDefaultRendition
(DocumentModel doc, String reason, boolean store, Map<String, Serializable> extendedInfos) Return the defaultRendition
object for the givenDocumentModel
.RenditionService.getDefaultRendition
(DocumentModel doc, String reason, Map<String, Serializable> extendedInfos) Same asRenditionService.getDefaultRendition(DocumentModel, String, boolean, Map)
with store parameter set to false.RenditionServiceImpl.getDefaultRendition
(DocumentModel doc, String reason, boolean store, Map<String, Serializable> extendedInfos) RenditionServiceImpl.getDefaultRendition
(DocumentModel doc, String reason, Map<String, Serializable> extendedInfos) RenditionService.getRendition
(DocumentModel doc, String renditionName) Return theRendition
object for the givenDocumentModel
and a rendition definition name.RenditionService.getRendition
(DocumentModel doc, String renditionName, boolean store) Return theRendition
object for the givenDocumentModel
and a rendition definition name.RenditionServiceImpl.getRendition
(DocumentModel doc, String renditionName) RenditionServiceImpl.getRendition
(DocumentModel doc, String renditionName, boolean store) protected Rendition
RenditionServiceImpl.getRendition
(DocumentModel doc, RenditionDefinition renditionDefinition, boolean store) RenditionDefinitionProviderRegistry.getRenditionDefinition
(String name, DocumentModel doc) RenditionDefinitionProvider.getRenditionDefinitions
(DocumentModel doc) RenditionDefinitionProviderRegistry.getRenditionDefinitions
(DocumentModel doc) RenditionDefinitionRegistry.getRenditionDefinitions
(DocumentModel doc) RenditionServiceImpl.getRenditionSafe
(DocumentModel doc, String defaultRenditionName, boolean store) protected void
RenditionsRemover.notifyEvent
(String eventId, DocumentModel doc, Map<String, Serializable> options) RenditionService.publishRendition
(DocumentModel doc, DocumentModel target, String renditionName, boolean override) Publish a document's rendition.RenditionServiceImpl.publishRendition
(DocumentModel doc, DocumentModel target, String renditionName, boolean override) protected void
RenditionCreator.removeBlobs
(DocumentModel rendition) protected void
RenditionCreator.setCorrectVersion
(DocumentModel rendition, DocumentModel versionDocument) RenditionService.storeRendition
(DocumentModel sourceDocument, String renditionDefinitionName) Render a document based on the given rendition definition name and returns the stored RenditionDocumentRef
.RenditionServiceImpl.storeRendition
(DocumentModel source, String renditionDefinitionName) protected StoredRendition
RenditionServiceImpl.storeRendition
(DocumentModel sourceDocument, Rendition rendition) Deprecated.since 10.10, useRenditionServiceImpl.storeRendition(DocumentModel, Rendition, RenditionDefinition)
insteadprotected 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 DocumentModelModifierConstructorDescriptionRenditionCreator
(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition) protected
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.api
Methods in org.nuxeo.ecm.platform.routing.api that return DocumentModelModifier and TypeMethodDescriptionDocumentRoutingPersister.createDocumentRouteInstanceFromDocumentRouteModel
(DocumentModel model, CoreSession session) Creates a blankDocumentRoute
instance from a model.DocumentRouteElement.getDocument()
Get the underlying document representing this element.DocumentRoutingPersister.getOrCreateRootOfDocumentRouteInstanceStructure
(CoreSession session) Will get, and create if it does not exists the root document in whichDocumentRoute
structure will be created.DocumentRoutingPersister.getParentFolderForDocumentRouteInstance
(DocumentModel document, CoreSession session) Get or create the parent folder for aDocumentRoute
route instance.DocumentRoutingPersister.getParentFolderForDocumentRouteModels
(CoreSession session) Gets or creates the parent folder for aDocumentRoute
route instance.DocumentRoutingPersister.getParentFolderForNewModel
(CoreSession session, DocumentModel instance) Returns a folder in which new model, created from an instance of route will be stored.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 DocumentModelModifier and TypeMethodDescriptionDocumentRoutingService.getWorkflowInputDocuments
(CoreSession session, Task task) Gets the documents following the workflow to which the given task belongsDocumentRoutingService.searchRouteModels
(CoreSession session, String searchString) Returns the route models matching thesearchString
.Methods in org.nuxeo.ecm.platform.routing.api with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
DocumentRoutingService.canValidateRoute
(DocumentModel documentRoute, CoreSession coreSession) Checks if the principal that created the client session can validate the routeDocumentRoutingPersister.createDocumentRouteInstanceFromDocumentRouteModel
(DocumentModel model, CoreSession session) Creates a blankDocumentRoute
instance from a model.DocumentRoutingService.getDocumentRelatedWorkflows
(DocumentModel document, CoreSession session) DocumentRoutingPersister.getNewModelName
(DocumentModel instance) Return the new name of a model when it is created from an instance.DocumentRoutingPersister.getParentFolderForDocumentRouteInstance
(DocumentModel document, CoreSession session) Get or create the parent folder for aDocumentRoute
route instance.DocumentRoutingPersister.getParentFolderForNewModel
(CoreSession session, DocumentModel instance) Returns a folder in which new model, created from an instance of route will be stored.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.DocumentRoutingPersister.saveDocumentRouteInstanceAsNewModel
(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session) Method parameters in org.nuxeo.ecm.platform.routing.api with type arguments of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelMethods in org.nuxeo.ecm.platform.routing.api.operation with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.adapter
Methods in org.nuxeo.ecm.platform.routing.core.adapter with parameters of type DocumentModelModifier and TypeMethodDescriptionDocumentRouteAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) LockableDocumentAdapterFactory.getAdapter
(DocumentModel doc, Class clazz) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.api.operation
Methods in org.nuxeo.ecm.platform.routing.core.api.operation that return DocumentModelModifier and TypeMethodDescriptionCompleteTaskOperation.completeTask
(DocumentModel task) StartWorkflowOperation.run
(DocumentModel doc) Methods in org.nuxeo.ecm.platform.routing.core.api.operation with parameters of type DocumentModelModifier and TypeMethodDescriptionCompleteTaskOperation.completeTask
(DocumentModel task) GetOpenTasksOperation.getAllTasks
(DocumentModel doc) protected String
GetTaskNamesOperation.getWorkflowTranslatedTitle
(DocumentModel taskDoc, Locale locale) 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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
LockableDocumentRouteImpl.doc
protected DocumentModel
DocumentRouteElementImpl.document
Methods in org.nuxeo.ecm.platform.routing.core.impl that return DocumentModelModifier and TypeMethodDescriptionDocumentRoutingTreePersister.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.DocumentRouteElementImpl.getDocument()
GraphNode.getDocument()
Gets the document representing this nodeprotected DocumentModel
DocumentRoutingTreePersister.getDocumentRoutesStructure
(String type, CoreSession session) DocumentRoutingTreePersister.getOrCreateRootOfDocumentRouteInstanceStructure
(CoreSession session) DocumentRoutingTreePersister.getParentFolderForDocumentRouteInstance
(DocumentModel document, CoreSession session) DocumentRoutingTreePersister.getParentFolderForDocumentRouteModels
(CoreSession session) DocumentRoutingTreePersister.getParentFolderForNewModel
(CoreSession session, DocumentModel instance) 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 DocumentModelModifier and TypeMethodDescriptionDocumentRoutingServiceImpl.getWorkflowInputDocuments
(CoreSession session, Task task) DocumentRoutingServiceImpl.searchRouteModels
(CoreSession session, String searchString) Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
DocumentRoutingServiceImpl.canValidateRoute
(DocumentModel documentRoute, CoreSession coreSession) DocumentRoutingTreePersister.createDocumentRouteInstanceFromDocumentRouteModel
(DocumentModel model, CoreSession session) static void
AuditEventFirer.fireEvent
(CoreSession coreSession, DocumentRouteElement element, Map<String, Serializable> eventProperties, String eventName, DocumentModel doc) DocumentRoutingServiceImpl.getDocumentRelatedWorkflows
(DocumentModel document, CoreSession session) DocumentRoutingTreePersister.getNewModelName
(DocumentModel instance) DocumentRoutingTreePersister.getParentFolderForDocumentRouteInstance
(DocumentModel document, CoreSession session) DocumentRoutingTreePersister.getParentFolderForNewModel
(CoreSession session, DocumentModel instance) 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) 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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifierConstructorDescriptionDocumentRouteElementImpl
(DocumentModel doc, ElementRunner runner) DocumentRouteImpl
(DocumentModel doc, ElementRunner runner) DocumentRouteStepsContainerImpl
(DocumentModel doc, ElementRunner runner) GraphNodeImpl
(DocumentModel doc, GraphRouteImpl graph) LockableDocumentRouteImpl
(DocumentModel document) -
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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionRouteModelsZipImporter.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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionScanedFileFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) 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 DocumentModelModifier and TypeMethodDescriptionScanedFileFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) 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 DocumentModelMethods in org.nuxeo.ecm.platform.search.core with parameters of type DocumentModelModifier and TypeMethodDescriptionSavedSearchAdapterFactory.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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.shibboleth
Methods in org.nuxeo.ecm.platform.shibboleth that return DocumentModelModifier and TypeMethodDescriptionstatic DocumentModel
ShibbolethGroupHelper.createGroup
(DocumentModel group) static DocumentModel
ShibbolethGroupHelper.getBareGroupModel
(CoreSession core) static DocumentModel
Methods in org.nuxeo.ecm.platform.shibboleth that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionprotected List<DocumentModel>
ShibbolethGroupsPageProvider.searchAllGroups()
protected List<DocumentModel>
ShibbolethGroupsPageProvider.searchGroups()
Methods in org.nuxeo.ecm.platform.shibboleth with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionvoid
SignatureAppearanceFactory.format
(com.lowagie.text.pdf.PdfSignatureAppearance pdfSignatureAppearance, DocumentModel doc, String principal, String reason) SignatureService.getCertificates
(DocumentModel doc) Returns a list of certificates associated with a given document.SignatureService.getSigningStatus
(DocumentModel doc, DocumentModel currentUser) Finds the signing status for the document.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).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 DocumentModelModifier and TypeMethodDescriptionCUserService.createCertificate
(DocumentModel user, String userKeyPassword) Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.CUserService.getCertificate
(String userID) Retrieves a user certificate from the directory.Methods in org.nuxeo.ecm.platform.signature.api.user with parameters of type DocumentModelModifier and TypeMethodDescriptionCUserService.createCertificate
(DocumentModel user, String userKeyPassword) Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.CUserService.getUserCertInfo
(DocumentModel user, String userKeyPassword) Returns simplified textual representation of a certificate's contents.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 DocumentModelMethods in org.nuxeo.ecm.platform.signature.core.operations with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.sign
Methods in org.nuxeo.ecm.platform.signature.core.sign with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
DefaultSignatureAppearanceFactory.format
(com.lowagie.text.pdf.PdfSignatureAppearance pdfSignatureAppearance, DocumentModel doc, String principal, String reason) 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) SignatureServiceImpl.getSigningStatus
(DocumentModel doc, DocumentModel user) SignatureServiceImpl.signDocument
(DocumentModel doc, DocumentModel user, String keyPassword, String reason, boolean pdfa, SignatureService.SigningDisposition disposition, String archiveFilename) 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 DocumentModelModifier and TypeMethodDescriptionCUserServiceImpl.createCertificate
(DocumentModel user, String userKeyPassword) CUserServiceImpl.getCertificate
(String userID) Methods in org.nuxeo.ecm.platform.signature.core.user with parameters of type DocumentModelModifier and TypeMethodDescriptionCUserServiceImpl.createCertificate
(DocumentModel user, String userKeyPassword) CUserServiceImpl.getUserCertInfo
(DocumentModel user, String userKeyPassword) CUserServiceImpl.getUserInfo
(DocumentModel userModel) -
Uses of DocumentModel in org.nuxeo.ecm.platform.suggestbox.service
Fields in org.nuxeo.ecm.platform.suggestbox.service declared as DocumentModelMethods in org.nuxeo.ecm.platform.suggestbox.service with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic Suggestion
DocumentSuggestion.fromDocumentModel
(DocumentModel doc) SuggestionContext.withCurrentDocument
(DocumentModel currentDocument) -
Uses of DocumentModel in org.nuxeo.ecm.platform.tag
Methods in org.nuxeo.ecm.platform.tag with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.io
Methods in org.nuxeo.ecm.platform.tag.io with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionRemoveDocumentTags.run
(DocumentModel document) TagDocument.run
(DocumentModel document) UntagDocument.run
(DocumentModel document) Methods in org.nuxeo.ecm.platform.tag.operations with parameters of type DocumentModelModifier and TypeMethodDescriptionRemoveDocumentTags.run
(DocumentModel document) TagDocument.run
(DocumentModel document) UntagDocument.run
(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.task
Methods in org.nuxeo.ecm.platform.task that return DocumentModelModifier and TypeMethodDescriptionTask.getDocument()
TaskImpl.getDocument()
TaskService.getTargetDocumentModel
(Task ti, CoreSession coreSession) Methods in org.nuxeo.ecm.platform.task with parameters of type DocumentModelModifier and TypeMethodDescriptionTaskService.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.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.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.TaskAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) 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.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.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 DocumentModelModifier and TypeMethodDescriptionTaskService.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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.task.core.service
Fields in org.nuxeo.ecm.platform.task.core.service declared as DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
TaskServiceImpl.GetTaskRootParentPathUnrestricted.taskRootDoc
Fields in org.nuxeo.ecm.platform.task.core.service with type parameters of type DocumentModelMethods in org.nuxeo.ecm.platform.task.core.service that return DocumentModelModifier and TypeMethodDescriptionTaskServiceImpl.getTargetDocumentModel
(Task task, CoreSession coreSession) TaskServiceImpl.GetTaskRootParentPathUnrestricted.getTaskRootDoc()
Methods in org.nuxeo.ecm.platform.task.core.service with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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) 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) 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) 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) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) TaskServiceImpl.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) TaskServiceImpl.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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) 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) 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 DocumentModelModifierConstructorDescriptionCreateTaskUnrestricted
(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 DocumentModelModifierConstructorDescriptionCreateTaskUnrestricted
(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 DocumentModelMethods in org.nuxeo.ecm.platform.task.dashboard that return DocumentModelModifier and TypeMethodDescriptionDashBoardItem.getDocument()
Returns the icon path for the doc ref.DashBoardItemImpl.getDocument()
Methods in org.nuxeo.ecm.platform.task.dashboard with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected String
AbstractDashBoardItemImpl.getDefaultViewFor
(DocumentModel doc) Constructors in org.nuxeo.ecm.platform.task.dashboard with parameters of type DocumentModelModifierConstructorDescriptionDashBoardItemImpl
(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 DocumentModelModifier and TypeMethodDescriptionThumbnailThreeDFactory.computeThumbnail
(DocumentModel documentModel, CoreSession coreSession) ThreeDDocumentAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) ThumbnailThreeDFactory.getThumbnail
(DocumentModel documentModel, CoreSession coreSession) Constructors in org.nuxeo.ecm.platform.threed.adapter with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.importer
Methods in org.nuxeo.ecm.platform.threed.importer that return DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.rendition
Methods in org.nuxeo.ecm.platform.threed.rendition with parameters of type DocumentModelModifier and TypeMethodDescriptionThreeDRenditionDefinitionProvider.getRenditionDefinitions
(DocumentModel doc) boolean
RenderViewRenditionProvider.isAvailable
(DocumentModel documentModel, RenditionDefinition renditionDefinition) boolean
TransmissionThreeDRenditionProvider.isAvailable
(DocumentModel documentModel, RenditionDefinition renditionDefinition) RenderViewRenditionProvider.render
(DocumentModel documentModel, RenditionDefinition renditionDefinition) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionThumbnailDocumentFactory.computeThumbnail
(DocumentModel doc, CoreSession session) protected Blob
ThumbnailDocumentFactory.getDefaultThumbnail
(DocumentModel doc) 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionboolean
ThumbnailRenditionProvider.isAvailable
(DocumentModel doc, RenditionDefinition definition) 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 DocumentModelModifier and TypeMethodDescriptionboolean
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) TypeService.filterSubTypesFromConfiguration
(Map<String, SubType> allowedSubTypes, DocumentModel currentDoc) 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.TypeService.findAllAllowedSubTypesFrom
(String typeName, DocumentModel currentDoc) protected Collection<Type>
TypeService.findAllAllowedSubTypesFrom
(String typeName, DocumentModel currentDoc, List<String> alreadyProcessedTypes) 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.TypeService.getAllowedSubTypes
(String typeName, DocumentModel currentDoc) protected UITypesConfiguration
TypeService.getConfiguration
(DocumentModel currentDoc) TypeService.getFilteredAllowedSubTypes
(String containerTypeName, DocumentModel currentDoc) 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.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 DocumentModelModifier and TypeMethodDescriptionTypeInfoAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) Constructors in org.nuxeo.ecm.platform.types.adapter with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.types.localconfiguration
Methods in org.nuxeo.ecm.platform.types.localconfiguration with parameters of type DocumentModelModifier and TypeMethodDescriptionContentViewConfigurationFactory.getAdapter
(DocumentModel doc, Class<?> itf) UITypesConfigurationFactory.getAdapter
(DocumentModel doc, Class<?> itf) protected String
UITypesConfigurationAdapter.getDefaultType
(DocumentModel doc) protected boolean
UITypesConfigurationAdapter.getDenyAllTypesProperty
(DocumentModel doc) UITypesConfigurationAdapter.getTypesList
(DocumentModel doc, String property) Constructors in org.nuxeo.ecm.platform.types.localconfiguration with parameters of type DocumentModelModifierConstructorDescription -
Uses of DocumentModel in org.nuxeo.ecm.platform.url
Constructors in org.nuxeo.ecm.platform.url with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.url.codec
Methods in org.nuxeo.ecm.platform.url.codec with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
UserAdapterImpl.doc
protected DocumentModel
NuxeoGroupImpl.model
NuxeoPrincipalImpl.model
Methods in org.nuxeo.ecm.platform.usermanager that return DocumentModelModifier and TypeMethodDescriptionFakeUserManagerImpl.createGroup
(DocumentModel groupModel) MultiTenantUserManager.createGroup
(DocumentModel groupModel, DocumentModel context) Creates a group from given model with the given context.UserManager.createGroup
(DocumentModel groupModel) Creates a group from given modelUserManagerImpl.createGroup
(DocumentModel groupModel) UserManagerImpl.createGroup
(DocumentModel groupModel, DocumentModel context) FakeUserManagerImpl.createUser
(DocumentModel userModel) MultiTenantUserManager.createUser
(DocumentModel userModel, DocumentModel context) Creates user from given model into the given context document.UserManager.createUser
(DocumentModel userModel) Creates user from given model.UserManagerImpl.createUser
(DocumentModel userModel) UserManagerImpl.createUser
(DocumentModel userModel, DocumentModel context) FakeUserManagerImpl.getBareGroupModel()
UserManager.getBareGroupModel()
Returns a bare group model.UserManagerImpl.getBareGroupModel()
FakeUserManagerImpl.getBareUserModel()
UserManager.getBareUserModel()
Returns a bare user model.UserManagerImpl.getBareUserModel()
protected DocumentModel
UserManagerImpl.getDigestAuthModel()
FakeUserManagerImpl.getGroupModel
(String groupName) 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.UserManager.getGroupModel
(String groupName) Return the group document model with this id or null if group does not exist.UserManagerImpl.getGroupModel
(String groupName) UserManagerImpl.getGroupModel
(String groupIdValue, DocumentModel context) NuxeoGroupImpl.getModel()
NuxeoPrincipalImpl.getModel()
FakeUserManagerImpl.getUserModel
(String userName) 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.UserManager.getUserModel
(String userName) Returns the document model representing user with given id or null if it does not exist.UserManagerImpl.getUserModel
(String userName) UserManagerImpl.getUserModel
(String userName, DocumentModel context) protected DocumentModel
UserManagerImpl.getUserModel
(String userName, DocumentModel context, boolean fetchReferences) DefaultUserMultiTenantManagement.groupTransformer
(UserManager um, DocumentModel group, DocumentModel context) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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) FakeUserManagerImpl.createGroup
(DocumentModel groupModel) MultiTenantUserManager.createGroup
(DocumentModel groupModel, DocumentModel context) Creates a group from given model with the given context.UserManager.createGroup
(DocumentModel groupModel) Creates a group from given modelUserManagerImpl.createGroup
(DocumentModel groupModel) UserManagerImpl.createGroup
(DocumentModel groupModel, DocumentModel context) FakeUserManagerImpl.createUser
(DocumentModel userModel) MultiTenantUserManager.createUser
(DocumentModel userModel, DocumentModel context) Creates user from given model into the given context document.UserManager.createUser
(DocumentModel userModel) Creates user from given model.UserManagerImpl.createUser
(DocumentModel userModel) 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) 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) MultiTenantUserManager.getGroupIds
(DocumentModel context) Returns the list of all groups ids with the given context. if the Document Context have a directory local configuration, the service try to open the user directory with directory suffix set into the local configurationUserManagerImpl.getGroupIds
(DocumentModel context) 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.UserManagerImpl.getGroupModel
(String groupIdValue, DocumentModel context) MultiTenantUserManager.getGroupsInGroup
(String parentId, DocumentModel context) Returns the list of groups that belong to this group with the given context.UserManagerImpl.getGroupsInGroup
(String parentId, DocumentModel context) 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.UserManagerImpl.getPrincipal
(String username, DocumentModel context) protected NuxeoPrincipal
UserManagerImpl.getPrincipal
(String username, DocumentModel context, boolean fetchReferences) MultiTenantUserManager.getTopLevelGroups
(DocumentModel context) Returns the list of groups that are not members of other groups with the given context.UserManagerImpl.getTopLevelGroups
(DocumentModel context) protected String
UserManagerImpl.getUserId
(DocumentModel userModel) MultiTenantUserManager.getUserIds
(DocumentModel context) Returns the list of all user ids into the given context document.UserManagerImpl.getUserIds
(DocumentModel context) 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.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) MultiTenantUserManager.getUsersInGroup
(String groupId, DocumentModel context) Returns the list of users that belong to this group into the given contextUserManagerImpl.getUsersInGroup
(String groupId, DocumentModel context) MultiTenantUserManager.getUsersInGroupAndSubGroups
(String groupId, DocumentModel context) Get users from a group and its subgroups into the given contextUserManagerImpl.getUsersInGroupAndSubGroups
(String groupId, DocumentModel context) DefaultUserMultiTenantManagement.groupnameTranformer
(UserManager um, String groupname, DocumentModel context) UserMultiTenantManagement.groupnameTranformer
(UserManager um, String groupname, DocumentModel context) Transform the GroupName to add to tenant characteristic.DefaultUserMultiTenantManagement.groupQueryTransformer
(UserManager um, QueryBuilder queryBuilder, DocumentModel context) UserMultiTenantManagement.groupQueryTransformer
(UserManager um, QueryBuilder queryBuilder, DocumentModel context) Transforms the query builder to add tenant-related information.DefaultUserMultiTenantManagement.groupTransformer
(UserManager um, DocumentModel group, DocumentModel context) 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.MultiTenantUserManager.searchGroups
(String pattern, DocumentModel context) Search matching groups through their defined search fields into the given context document.MultiTenantUserManager.searchGroups
(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context) Returns groups matching given criteria with the given context. if the Document Context have a directory local configuration, the service try to open the user directory with directory suffix set into the local configurationMultiTenantUserManager.searchGroups
(QueryBuilder queryBuilder, DocumentModel context) Returns groups matching the given query, within the given context.UserManagerImpl.searchGroups
(String pattern, DocumentModel context) UserManagerImpl.searchGroups
(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context) UserManagerImpl.searchGroups
(QueryBuilder queryBuilder, DocumentModel context) MultiTenantUserManager.searchUsers
(String pattern, DocumentModel context) Returns users matching given pattern with the given context. if the Document Context have a directory local configuration, the service try to open the directory with directory suffix set into the local configurationMultiTenantUserManager.searchUsers
(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context) Returns users matching given criteria and with the given context. if the Document Context have a directory local configuration, the service try to open the user directory with directory suffix set into the local configurationMultiTenantUserManager.searchUsers
(QueryBuilder queryBuilder, DocumentModel context) Returns users matching the given query, within the given context.UserManagerImpl.searchUsers
(String pattern, DocumentModel context) UserManagerImpl.searchUsers
(Map<String, Serializable> filter, Set<String> fulltext, Map<String, String> orderBy, DocumentModel context) MULTI-TENANT-IMPLEMENTATIONUserManagerImpl.searchUsers
(Map<String, Serializable> filter, Set<String> fulltext, DocumentModel context) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifierConstructorDescriptionNuxeoGroupImpl
(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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeFieldDescriptionprotected List<DocumentModel>
AbstractGroupsPageProvider.pageGroups
protected List<DocumentModel>
AbstractUsersPageProvider.pageUsers
Methods in org.nuxeo.ecm.platform.usermanager.providers that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionAbstractGroupsPageProvider.computeCurrentPage()
protected List<DocumentModel>
AbstractUsersPageProvider.computeCurrentPage()
GroupsPageProvider.getCurrentPage()
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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.api
Methods in org.nuxeo.ecm.platform.userworkspace.api that return DocumentModelModifier and TypeMethodDescriptionUserWorkspaceManagerActions.getCurrentUserPersonalWorkspace()
Gets the current user personal workspace.UserWorkspaceService.getCurrentUserPersonalWorkspace
(String userName, DocumentModel currentDocument) Gets the current user personal workspace from a lower level.UserWorkspaceService.getCurrentUserPersonalWorkspace
(CoreSession userCoreSession) Gets the current user personal workspace.UserWorkspaceService.getUserPersonalWorkspace
(String userName, DocumentModel context) Gets a detached user workspace of a specified user.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 DocumentModelModifier and TypeMethodDescriptionUserWorkspaceService.getCurrentUserPersonalWorkspace
(String userName, DocumentModel currentDocument) Gets the current user personal workspace from a lower level.UserWorkspaceService.getUserPersonalWorkspace
(String userName, DocumentModel context) Gets a detached user workspace of a specified user.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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder.userWorkspace
Methods in org.nuxeo.ecm.platform.userworkspace.core.service that return DocumentModelModifier and TypeMethodDescriptionprotected 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) AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(String userName, DocumentModel currentDocument) AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(CoreSession userCoreSession) protected DocumentModel
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(NuxeoPrincipal principal, String userName, CoreSession userCoreSession) This method handles the UserWorkspace creation with a Principal or a username.AbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder.getDetachedUserWorkspace()
AbstractUserWorkspaceImpl.getUserDefaultCollectionsRoot
(CoreSession session) AbstractUserWorkspaceImpl.getUserFavorites
(CoreSession session) AbstractUserWorkspaceImpl.getUserPersonalWorkspace
(String userName, DocumentModel context) 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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
AbstractUserWorkspaceImpl.createDefaultCollectionsRoot
(CoreSession session, DocumentModel userWorkspace) protected DocumentModel
AbstractUserWorkspaceImpl.createFavorites
(CoreSession session, DocumentModel userWorkspace) AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(String userName, DocumentModel currentDocument) AbstractUserWorkspaceImpl.getUserPersonalWorkspace
(String userName, DocumentModel context) 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 DocumentModelModifierConstructorDescriptionprotected
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 -
Uses of DocumentModel in org.nuxeo.ecm.platform.versioning.api
Methods in org.nuxeo.ecm.platform.versioning.api with parameters of type DocumentModelModifier and TypeMethodDescriptionVersioningManager.getVersionIncEditOptions
(DocumentModel doc) Get document increment options as defined by versioning rules.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 DocumentModelModifier and TypeMethodDescriptionVersioningManagerImpl.getVersionIncEditOptions
(DocumentModel doc) VersioningManagerImpl.getVersionLabel
(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video
Methods in org.nuxeo.ecm.platform.video with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionThumbnailVideoFactory.computeThumbnail
(DocumentModel doc, CoreSession session) VideoDocumentAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) ThumbnailVideoFactory.getThumbnail
(DocumentModel doc, CoreSession session) Constructors in org.nuxeo.ecm.platform.video.adapter with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.importer
Methods in org.nuxeo.ecm.platform.video.importer with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionVideoRenditionDefinitionProvider.getRenditionDefinitions
(DocumentModel doc) boolean
VideoRenditionProvider.isAvailable
(DocumentModel doc, RenditionDefinition definition) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelMethods in org.nuxeo.ecm.platform.video.tools.operations with parameters of type DocumentModelModifier and TypeMethodDescriptionAddWatermarkToVideo.run
(DocumentModel input) ExtractClosedCaptionsFromVideo.run
(DocumentModel input) SliceVideo.run
(DocumentModel input) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionDefaultLocaleProvider.getLocale
(DocumentModel userProfileDoc) LocaleProvider.getLocale
(DocumentModel userProfileDoc) Gets the locale stored in the given user profile.DefaultLocaleProvider.getLocaleWithDefault
(DocumentModel userProfileDoc) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionboolean
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) 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 DocumentModelModifier and TypeMethodDescriptionGetQuotaInfoOperation.run
(DocumentModel doc) SetQuotaInfoOperation.run
(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.quota.count
Methods in org.nuxeo.ecm.quota.count with parameters of type DocumentModelModifier and TypeMethodDescriptionQuotaStatsAdapterFactory.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 DocumentModelModifier and TypeMethodDescriptionprotected void
DocumentsCountUpdater.updateCountStatistics
(CoreSession session, DocumentModel doc, List<DocumentModel> ancestors, long count) Constructors in org.nuxeo.ecm.quota.count with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.ecm.quota.size
Fields in org.nuxeo.ecm.quota.size declared as DocumentModelMethods in org.nuxeo.ecm.quota.size that return DocumentModelMethods in org.nuxeo.ecm.quota.size with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected void
DocumentsSizeUpdater.checkQuota
(CoreSession session, DocumentModel doc, long delta) Checks the size delta against the maximum quota specified for this document or an ancestor.QuotaAwareDocumentFactory.getAdapter
(DocumentModel doc, Class<?> adapter) 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 DocumentModelModifierConstructorDescriptionQuotaExceededException
(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 DocumentModelModifier and TypeMethodDescriptionJSONDocumentObject.doGet()
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 DocumentModelModifier and TypeMethodDescriptionprotected void
OAuth2Object.deleteToken
(DocumentModel token) javax.ws.rs.core.Response
JSONDocumentObject.doPost
(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers) JSONDocumentObject.doPut
(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers) BulkDocumentsObject.doUpdate
(DocumentModel updateDoc) Deprecated.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 DocumentModelModifier and TypeMethodDescriptionEmptyDocumentAdapter.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 DocumentModelModifier and TypeMethodDescriptionprotected Paginable<DocumentModel>
DocumentModelListPaginableAdapter.getPaginableEntries
(PageProvider<DocumentModel> pageProvider) PageProviderAdapter.getProviderDocs
(String providerName) Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters with parameters of type DocumentModelModifier and TypeMethodDescriptionPreviewAdapter.previewBlobs
(DocumentModel doc, String xpath, boolean blobPostProcessing) Method parameters in org.nuxeo.ecm.restapi.server.jaxrs.adapters with type arguments of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeFieldDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.search
Methods in org.nuxeo.ecm.restapi.server.jaxrs.search with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionstatic 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionUserProfileService.getUserProfile
(DocumentModel userModel, CoreSession session) Get a DocumentModel containing both user and user profile schemasUserProfileServiceImpl.getUserProfile
(DocumentModel userModel, CoreSession session) UserProfileService.getUserProfileDocument
(String userName, CoreSession session) Get the profile of a specific user.UserProfileService.getUserProfileDocument
(CoreSession session) Get the current user profile.UserProfileServiceImpl.getUserProfileDocument
(String userName, CoreSession session) UserProfileServiceImpl.getUserProfileDocument
(CoreSession session) Methods in org.nuxeo.ecm.user.center.profile with parameters of type DocumentModelModifier and TypeMethodDescriptionUserProfileService.getUserProfile
(DocumentModel userModel, CoreSession session) Get a DocumentModel containing both user and user profile schemasUserProfileServiceImpl.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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionUserLocaleProvider.getLocale
(DocumentModel userProfileDoc) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeFieldDescriptionprotected DocumentModel
UserInvitationComponent.RootDocumentGetter.doc
protected DocumentModel
RegistrationRules.requestContainer
protected DocumentModel
UserInvitationComponent.RegistrationCreator.userRegistrationModel
Methods in org.nuxeo.ecm.user.invite that return DocumentModelModifier and TypeMethodDescriptionUserInvitationComponent.RootDocumentGetter.getDoc()
UserInvitationComponent.getOrCreateRootDocument
(CoreSession session, String configurationName) UserInvitationComponent.getRegistrationRulesDocument
(CoreSession session, String configurationName) UserInvitationService.getRegistrationRulesDocument
(CoreSession session, String configurationName) Get documentmodel that stores request configuration using RegistrationConfiguration facet.UserInvitationComponent.getUserRegistrationModel
(String configurationName) UserInvitationComponent.UserRegistrationModelCreator.getUserRegistrationModel()
UserInvitationService.getUserRegistrationModel
(String configurationName) Create a document model for the UserRegistration doctype.Methods in org.nuxeo.ecm.user.invite with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected boolean
UserInvitationComponent.checkUserFromRegistrationExistence
(DocumentModel registrationDoc) UserInvitationComponent.createUser
(CoreSession session, DocumentModel registrationDoc) UserInvitationService.createUser
(CoreSession session, DocumentModel registrationDoc) DefaultInvitationUserFactory.doCreateUser
(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) 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 createdDefaultInvitationUserFactory.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.RegistrationRulesFactory.getAdapter
(DocumentModel doc, Class<?> itf) UserInvitationComponent.getConfiguration
(DocumentModel requestDoc) 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) UserInvitationComponent.submitRegistrationRequest
(String configurationName, DocumentModel userRegistrationModel, Map<String, Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept) UserInvitationComponent.submitRegistrationRequest
(DocumentModel userRegistrationModel, Map<String, Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept) UserInvitationService.submitRegistrationRequest
(String configurationName, DocumentModel userRegistrationModel, Map<String, Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept) Stores a resgitration request like submitRegistrationRequest with Document informationUserInvitationService.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 DocumentModelModifier and TypeMethodDescriptionvoid
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 DocumentModelModifierConstructorDescriptionRegistrationCreator
(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 DocumentModelModifier and TypeMethodDescriptionAbstractVirtualBackend.copyItem
(DocumentModel source, PathRef targetParentRef) Backend.copyItem
(DocumentModel source, PathRef targetParentRef) SimpleBackend.copyItem
(DocumentModel source, PathRef targetParentRef) AbstractVirtualBackend.createFile
(String parentPath, String name) AbstractVirtualBackend.createFile
(String parentPath, String name, Blob content) Backend.createFile
(String parentPath, String name) Deprecated.since 10.10, unusedBackend.createFile
(String parentPath, String name, Blob content) SimpleBackend.createFile
(String parentPath, String name) SimpleBackend.createFile
(String parentPath, String name, Blob content) AbstractVirtualBackend.createFolder
(String parentPath, String name) Backend.createFolder
(String parentPath, String name) SimpleBackend.createFolder
(String parentPath, String name) Deprecated.AbstractVirtualBackend.getDocument
(String location) Backend.getDocument
(String location) SimpleBackend.getDocument
(String location) AbstractVirtualBackend.moveItem
(DocumentModel source, DocumentRef targetParentRef, String name) AbstractVirtualBackend.moveItem
(DocumentModel source, PathRef targetParentRef) Backend.moveItem
(DocumentModel source, DocumentRef targetParentRef, String name) Backend.moveItem
(DocumentModel source, PathRef targetParentRef) Deprecated.since 10.10, unusedSimpleBackend.moveItem
(DocumentModel source, DocumentRef targetParentRef, String name) SimpleBackend.moveItem
(DocumentModel source, PathRef targetParentRef) AbstractVirtualBackend.resolveLocation
(String location) Backend.resolveLocation
(String location) SimpleBackend.resolveLocation
(String location) protected DocumentModel
SimpleBackend.resolveParent
(String location) AbstractVirtualBackend.updateDocument
(DocumentModel doc, String name, Blob content) Backend.updateDocument
(DocumentModel doc, String name, Blob content) SimpleBackend.updateDocument
(DocumentModel doc, String name, Blob content) Methods in org.nuxeo.ecm.webdav.backend that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionAbstractVirtualBackend.getChildren
(DocumentRef ref) Backend.getChildren
(DocumentRef ref) SimpleBackend.getChildren
(DocumentRef ref) Methods in org.nuxeo.ecm.webdav.backend with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected boolean
SimpleBackend.cleanTrashPath
(DocumentModel parent, String name) AbstractVirtualBackend.copyItem
(DocumentModel source, PathRef targetParentRef) Backend.copyItem
(DocumentModel source, PathRef targetParentRef) SimpleBackend.copyItem
(DocumentModel source, PathRef targetParentRef) AbstractVirtualBackend.getDisplayName
(DocumentModel doc) Backend.getDisplayName
(DocumentModel doc) SimpleBackend.getDisplayName
(DocumentModel doc) protected String
SimpleBackend.getFileName
(DocumentModel doc) protected boolean
SimpleBackend.isTemporaryFile
(DocumentModel doc) protected boolean
SimpleBackend.isTrashDocument
(DocumentModel model) AbstractVirtualBackend.moveItem
(DocumentModel source, DocumentRef targetParentRef, String name) AbstractVirtualBackend.moveItem
(DocumentModel source, PathRef targetParentRef) Backend.moveItem
(DocumentModel source, DocumentRef targetParentRef, String name) Backend.moveItem
(DocumentModel source, PathRef targetParentRef) Deprecated.since 10.10, unusedSimpleBackend.moveItem
(DocumentModel source, DocumentRef targetParentRef, String name) 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) AbstractVirtualBackend.updateDocument
(DocumentModel doc, String name, Blob content) Backend.updateDocument
(DocumentModel doc, String name, Blob content) SimpleBackend.updateDocument
(DocumentModel doc, String name, Blob content) Method parameters in org.nuxeo.ecm.webdav.backend with type arguments of type DocumentModelModifier and TypeMethodDescriptionprotected void
AbstractVirtualBackend.registerSimpleBackends
(List<DocumentModel> docs) -
Uses of DocumentModel in org.nuxeo.ecm.webdav.resource
Fields in org.nuxeo.ecm.webdav.resource declared as DocumentModelMethods in org.nuxeo.ecm.webdav.resource with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifierConstructorDescriptionprotected
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 DocumentModelModifier and TypeMethodDescriptionvoid
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.model
Methods in org.nuxeo.ecm.webengine.model with parameters of type DocumentModelModifier and TypeMethodDescriptionModuleResource.getLink
(DocumentModel doc) 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 DocumentModelModifier and TypeMethodDescriptionModuleRoot.getLink
(DocumentModel doc) You should override this method to resolve objects to links.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 DocumentModelMethods in org.nuxeo.ecm.webengine.ui.json that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionprotected Collection<DocumentModel>
DocumentTreeBuilder.getChildren
(DocumentModel obj) Methods in org.nuxeo.ecm.webengine.ui.json with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected Collection<DocumentModel>
DocumentTreeBuilder.getChildren
(DocumentModel obj) protected String
DocumentTreeBuilder.getName
(DocumentModel obj) 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 -
Uses of DocumentModel in org.nuxeo.elasticsearch
Methods in org.nuxeo.elasticsearch with parameters of type DocumentModelModifier and TypeMethodDescriptionorg.opensearch.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 DocumentModelModifier and TypeMethodDescriptionstatic AggregateEsBase<? extends org.opensearch.search.aggregations.Aggregation,
? extends Bucket> AggregateFactory.create
(AggregateDefinition def, DocumentModel searchDocumentModel) Constructors in org.nuxeo.elasticsearch.aggregate with parameters of type DocumentModelModifierConstructorDescriptionAggregateEsBase
(AggregateDefinition definition, DocumentModel searchDocument) DateHistogramAggregate
(AggregateDefinition definition, DocumentModel searchDocument) DateRangeAggregate
(AggregateDefinition definition, DocumentModel searchDocument) HistogramAggregate
(AggregateDefinition definition, DocumentModel searchDocument) MissingAggregate
(AggregateDefinition definition, DocumentModel searchDocument) MultiBucketAggregate
(AggregateDefinition definition, DocumentModel searchDocument) RangeAggregate
(AggregateDefinition definition, DocumentModel searchDocument) SignificantTermAggregate
(AggregateDefinition definition, DocumentModel searchDocument) SingleBucketAggregate
(AggregateDefinition definition, DocumentModel searchDocument) SingleValueMetricAggregate
(AggregateDefinition definition, DocumentModel searchDocument) TermAggregate
(AggregateDefinition definition, DocumentModel searchDocument) -
Uses of DocumentModel in org.nuxeo.elasticsearch.api
Methods in org.nuxeo.elasticsearch.api with parameters of type DocumentModelModifier and TypeMethodDescriptionorg.opensearch.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 DocumentModelModifier and TypeMethodDescriptionprotected org.opensearch.index.query.QueryBuilder
ESAuditBackend.buildFilter
(PredicateDefinition[] predicates, DocumentModel searchDocumentModel) org.opensearch.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 DocumentModelMethods in org.nuxeo.elasticsearch.commands that return DocumentModelModifier and TypeMethodDescriptionIndexingCommand.getTargetDocument()
Return the document or null if it does not exists anymore.IndexingCommands.getTargetDocument()
protected DocumentModel
IndexingCommand.getValidTargetDocument
(DocumentModel target) Methods in org.nuxeo.elasticsearch.commands with parameters of type DocumentModelModifier and TypeMethodDescriptionIndexingCommand.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 DocumentModelModifierConstructorDescriptionIndexingCommand
(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 DocumentModelModifier and TypeMethodDescriptionorg.opensearch.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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelMethods in org.nuxeo.elasticsearch.io with parameters of type DocumentModelModifier and TypeMethodDescriptionJsonESDocumentWriter.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 DocumentModelModifier and TypeFieldDescriptionprotected List<DocumentModel>
ElasticSearchNativePageProvider.currentPageDocuments
Methods in org.nuxeo.elasticsearch.provider that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionElasticSearchNativePageProvider.getCurrentPage()
ElasticSearchNxqlPageProvider.getCurrentPage()
-
Uses of DocumentModel in org.nuxeo.elasticsearch.query
Methods in org.nuxeo.elasticsearch.query with parameters of type DocumentModelModifier and TypeMethodDescriptionstatic org.opensearch.index.query.QueryBuilder
PageProviderQueryBuilder.makeQuery
(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery) Create a ES request from a PP whereClausestatic org.opensearch.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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected void
CustomExporterPlugin.exportFileInXML
(CoreSession session, DocumentModel docfrom, String pathtoexport) DefaultExporterPlugin.getChildren
(CoreSession session, DocumentModel doc, String customQuery) FSExporterPlugin.getChildren
(CoreSession session, DocumentModel doc, String PageProvider) protected String
DefaultExporterPlugin.getFileName
(Blob blob, DocumentModel docfrom, File folder, int i) CustomExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) DefaultExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) DriveLikeExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) 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 DocumentModelModifier and TypeMethodDescriptionAbstractMapper.createGroupModelFromGroupResource
(com.unboundid.scim.data.GroupResource group) abstract DocumentModel
AbstractMapper.createNuxeoUserFromUserResource
(com.unboundid.scim.data.UserResource user) ConfigurableUserMapper.createNuxeoUserFromUserResource
(com.unboundid.scim.data.UserResource user) StaticUserMapper.createNuxeoUserFromUserResource
(com.unboundid.scim.data.UserResource user) AbstractMapper.updateGroupModelFromGroupResource
(String uid, com.unboundid.scim.data.GroupResource group) abstract DocumentModel
AbstractMapper.updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim.data.UserResource user) ConfigurableUserMapper.updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim.data.UserResource user) StaticUserMapper.updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim.data.UserResource user) Methods in org.nuxeo.scim.server.mapper with parameters of type DocumentModelModifier and TypeMethodDescriptioncom.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.scim.v2.api
Methods in org.nuxeo.scim.v2.api that return DocumentModelModifier and TypeMethodDescriptionScimV2Mapping.afterCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed after a group is created.ScimV2Mapping.afterCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed after a user is created.ScimV2Mapping.afterUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed after a group is updated.ScimV2Mapping.afterUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed after a user is updated.ScimV2Mapping.beforeCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed before a group is created.ScimV2Mapping.beforeCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed before a user is created.ScimV2Mapping.beforeUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed before a group is updated.ScimV2Mapping.beforeUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed before a user is updated.ScimV2MappingService.createNuxeoGroupFromGroupResource
(com.unboundid.scim2.common.types.GroupResource group) Creates a Nuxeo group model according to the group resource.ScimV2MappingService.createNuxeoUserFromUserResource
(com.unboundid.scim2.common.types.UserResource user) Creates a Nuxeo user model according to the user resource.static DocumentModel
ScimV2Helper.getGroupModel
(String uid, boolean fetchMembers) static DocumentModel
ScimV2Helper.getUserModel
(String uid) ScimV2Mapping.patchGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed when a group is patched using JSON patch.ScimV2MappingService.patchNuxeoUser
(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) Patches a Nuxeo user model according to the patch request.ScimV2MappingService.updateNuxeoGroupFromGroupResource
(String uid, com.unboundid.scim2.common.types.GroupResource group) Updates a Nuxeo group model according to the group resource.ScimV2MappingService.updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim2.common.types.UserResource user) Updates a Nuxeo user model according to the user resource.Methods in org.nuxeo.scim.v2.api with parameters of type DocumentModelModifier and TypeMethodDescriptionScimV2Mapping.afterCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed after a group is created.ScimV2Mapping.afterCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed after a user is created.ScimV2Mapping.afterUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed after a group is updated.ScimV2Mapping.afterUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed after a user is updated.ScimV2Mapping.beforeCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed before a group is created.ScimV2Mapping.beforeCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed before a user is created.ScimV2Mapping.beforeUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed before a group is updated.ScimV2Mapping.beforeUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) Hook to be executed before a user is updated.com.unboundid.scim2.common.types.GroupResource
ScimV2Mapping.getGroupResourceFromNuxeoGroup
(DocumentModel groupModel, String baseURL) Gets a group resource representation of a group model.com.unboundid.scim2.common.types.GroupResource
ScimV2MappingService.getGroupResourceFromNuxeoGroup
(DocumentModel groupModel, String baseURL) Gets a group resource representation of a group model.com.unboundid.scim2.common.types.UserResource
ScimV2Mapping.getUserResourceFromNuxeoUser
(DocumentModel userModel, String baseURL) Gets a user resource representation of a user model.com.unboundid.scim2.common.types.UserResource
ScimV2MappingService.getUserResourceFromNuxeoUser
(DocumentModel userModel, String baseURL) Gets a user resource representation of a user model.ScimV2Mapping.patchGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) Hook to be executed when a group is patched using JSON patch. -
Uses of DocumentModel in org.nuxeo.scim.v2.service
Methods in org.nuxeo.scim.v2.service that return DocumentModelModifier and TypeMethodDescriptionDefaultScimV2Mapping.afterCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.afterCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) DefaultScimV2Mapping.afterUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.afterUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) DefaultScimV2Mapping.beforeCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.beforeCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) DefaultScimV2Mapping.beforeUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.beforeUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) ScimV2MappingServiceImpl.createNuxeoGroupFromGroupResource
(com.unboundid.scim2.common.types.GroupResource group) ScimV2MappingServiceImpl.createNuxeoUserFromUserResource
(com.unboundid.scim2.common.types.UserResource user) DefaultScimV2Mapping.patchGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) ScimV2MappingServiceImpl.patchNuxeoUser
(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) protected DocumentModel
DefaultScimV2Mapping.updateNuxeoGroupFromGroupResource
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) ScimV2MappingServiceImpl.updateNuxeoGroupFromGroupResource
(String uid, com.unboundid.scim2.common.types.GroupResource group) protected DocumentModel
DefaultScimV2Mapping.updateNuxeoUserFromUserResource
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) ScimV2MappingServiceImpl.updateNuxeoUserFromUserResource
(String uid, com.unboundid.scim2.common.types.UserResource user) Methods in org.nuxeo.scim.v2.service with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected void
ScimV2MappingServiceImpl.addMembersToNuxeoGroup
(DocumentModel groupModel, List<com.unboundid.scim2.common.types.Member> members, boolean resetGroup) DefaultScimV2Mapping.afterCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.afterCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) DefaultScimV2Mapping.afterUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.afterUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) DefaultScimV2Mapping.beforeCreateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.beforeCreateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) DefaultScimV2Mapping.beforeUpdateGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) DefaultScimV2Mapping.beforeUpdateUser
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) com.unboundid.scim2.common.types.GroupResource
DefaultScimV2Mapping.getGroupResourceFromNuxeoGroup
(DocumentModel groupModel, String baseURL) com.unboundid.scim2.common.types.GroupResource
ScimV2MappingServiceImpl.getGroupResourceFromNuxeoGroup
(DocumentModel groupModel, String baseURL) com.unboundid.scim2.common.types.UserResource
DefaultScimV2Mapping.getUserResourceFromNuxeoUser
(DocumentModel userModel, String baseURL) com.unboundid.scim2.common.types.UserResource
ScimV2MappingServiceImpl.getUserResourceFromNuxeoUser
(DocumentModel groupModel, String baseURL) DefaultScimV2Mapping.patchGroup
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) protected void
ScimV2MappingServiceImpl.patchGroup
(DocumentModel groupModel, com.unboundid.scim2.common.messages.PatchRequest patch) Patches the given group model according to the given patch request, e.g.:protected void
ScimV2MappingServiceImpl.patchGroupJSONPatch
(DocumentModel groupModel, com.unboundid.scim2.common.messages.PatchOperation op) Patches the given group model according to the given patch operation using JSON patch.protected void
ScimV2MappingServiceImpl.patchGroupWithFilter
(DocumentModel groupModel, com.unboundid.scim2.common.messages.PatchOperation op, com.unboundid.scim2.common.filters.Filter filter) Patches the given group model according to the given patch operation with a "path" attribute and a value filter specified, e.g.:protected void
ScimV2MappingServiceImpl.patchGroupWithoutFilter
(DocumentModel groupModel, com.unboundid.scim2.common.messages.PatchOperation op) Patches the given group model according to the given patch operation with a "path" attribute and no value filter specified, e.g.:protected void
ScimV2MappingServiceImpl.patchGroupWithoutPath
(DocumentModel groupModel, com.unboundid.scim2.common.messages.PatchOperation op) Patches the given group model according to the given patch operation without any "path" attribute, e.g.:protected void
ScimV2MappingServiceImpl.patchGroupWithPath
(DocumentModel groupModel, com.unboundid.scim2.common.messages.PatchOperation op) Patches the given group model according to the given patch operation with a "path" attribute, e.g.:protected void
ScimV2MappingServiceImpl.removeMembersFromNuxeoGroup
(DocumentModel groupModel, List<com.unboundid.scim2.common.types.Member> members) protected void
ScimV2MappingServiceImpl.resetGroupMembers
(DocumentModel groupModel) protected void
DefaultScimV2Mapping.setEmail
(List<com.unboundid.scim2.common.types.Email> emails, DocumentModel userModel, String userSchemaName) protected void
DefaultScimV2Mapping.setName
(com.unboundid.scim2.common.types.Name name, DocumentModel userModel, String userSchemaName) protected DocumentModel
DefaultScimV2Mapping.updateNuxeoGroupFromGroupResource
(DocumentModel groupModel, com.unboundid.scim2.common.types.GroupResource groupResource) protected DocumentModel
DefaultScimV2Mapping.updateNuxeoUserFromUserResource
(DocumentModel userModel, com.unboundid.scim2.common.types.UserResource userResource) -
Uses of DocumentModel in org.nuxeo.snapshot
Fields in org.nuxeo.snapshot declared as DocumentModelMethods in org.nuxeo.snapshot that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
SnapshotableAdapter.createLeafVersionAndFetch
(VersioningOption option) protected DocumentModel
SnapshotableAdapter.getCheckoutDocument
(DocumentModel target) Snapshot.getDocument()
SnapshotableAdapter.getDocument()
protected DocumentModel
SnapshotableAdapter.getVersionForLabel
(DocumentModel target, 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 DocumentModelModifier and TypeMethodDescriptionSnapshot.getChildren()
SnapshotableAdapter.getChildren()
protected List<DocumentModel>
SnapshotableAdapter.getChildren
(DocumentModel target) Methods in org.nuxeo.snapshot with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected boolean
SnapshotRemovalPolicy.canRemoveVersions
(CoreSession session, DocumentModel doc, List<String> uuids) protected DocumentRef
SnapshotableAdapter.createLeafVersion
(DocumentModel targetDoc, VersioningOption option) 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 -
Uses of DocumentModel in org.nuxeo.snapshot.operation
Methods in org.nuxeo.snapshot.operation that return DocumentModelMethods in org.nuxeo.snapshot.operation with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.snapshot.pageprovider
Methods in org.nuxeo.snapshot.pageprovider that return types with arguments of type DocumentModel -
Uses of DocumentModel in org.nuxeo.snapshot.pub
Methods in org.nuxeo.snapshot.pub that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
FolderishProxyFactory.subPublish
(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent) Methods in org.nuxeo.snapshot.pub with parameters of type DocumentModelModifier and TypeMethodDescriptionFolderishProxyFactory.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 DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
TargetPlatformServiceImpl.getDirectoryEntry
(String id) -
Uses of DocumentModel in org.nuxeo.template.adapters
Fields in org.nuxeo.template.adapters declared as DocumentModelMethods in org.nuxeo.template.adapters that return DocumentModelModifier and TypeMethodDescriptionAbstractTemplateDocument.getAdaptedDoc()
AbstractTemplateDocument.save()
Methods in org.nuxeo.template.adapters with parameters of type DocumentModelModifier and TypeMethodDescriptionTemplateAdapterFactory.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 DocumentModelModifier and TypeMethodDescriptionTemplateBasedDocumentAdapterImpl.getSourceTemplateDoc
(String templateName) TemplateBasedDocumentAdapterImpl.initializeFromTemplate
(boolean save) TemplateBasedDocumentAdapterImpl.initializeFromTemplate
(String templateName, boolean save) TemplateBasedDocumentAdapterImpl.removeTemplateBinding
(String templateName, boolean save) TemplateBasedDocumentAdapterImpl.saveParams
(String templateName, List<TemplateInput> params, boolean save) TemplateBasedDocumentAdapterImpl.setTemplate
(DocumentModel template, boolean save) Methods in org.nuxeo.template.adapters.doc with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
TemplateBindings.save
(DocumentModel doc) TemplateBasedDocumentAdapterImpl.setTemplate
(DocumentModel template, boolean save) Constructors in org.nuxeo.template.adapters.doc with parameters of type DocumentModelModifierConstructorDescription -
Uses of DocumentModel in org.nuxeo.template.adapters.source
Methods in org.nuxeo.template.adapters.source that return DocumentModelModifier and TypeMethodDescriptionTemplateSourceDocumentAdapterImpl.saveParams
(List<TemplateInput> params, boolean save) Constructors in org.nuxeo.template.adapters.source with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.template.api
Methods in org.nuxeo.template.api that return DocumentModelModifier and TypeMethodDescriptionTemplateProcessorService.detachTemplateBasedDocument
(DocumentModel targetDoc, String templateName, boolean save) Detach a Template from aDocumentModel
TemplateProcessorService.getTemplateDoc
(CoreSession session, String name) Returns a template with a given templateName.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 DocumentModelModifier and TypeMethodDescriptionTemplateProcessorService.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 DocumentModelModifier and TypeMethodDescriptionvoid
TemplateProcessorService.addContextExtensions
(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String, Object> ctx) TemplateProcessorService.detachTemplateBasedDocument
(DocumentModel targetDoc, String templateName, boolean save) Detach a Template from aDocumentModel
TemplateProcessorService.getLinkedTemplateBasedDocuments
(DocumentModel source) Retrieve the DocumentModels using a givenTemplateSourceDocument
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 DocumentModelModifier and TypeMethodDescriptionTemplateBasedDocument.getAdaptedDoc()
Return the underlying adaptedDocumentModel
TemplateSourceDocument.getAdaptedDoc()
Return the underlying adaptedDocumentModel
sTemplateBasedDocument.getSourceTemplateDoc
(String templateName) Retrieve the TemplateDocumentModel
for a given template nameTemplateBasedDocument.initializeFromTemplate
(String templateName, boolean save) Initialize the template parameters from the associated templateTemplateBasedDocument.removeTemplateBinding
(String templateName, boolean save) Detach a template from the underlyingDocumentModel
TemplateSourceDocument.save()
Save changes in the underlyingDocumentModel
TemplateBasedDocument.saveParams
(String templateName, List<TemplateInput> params, boolean save) Save parameters changes.TemplateSourceDocument.saveParams
(List<TemplateInput> params, boolean save) Save parameters changesTemplateBasedDocument.setTemplate
(DocumentModel template, boolean save) Associate the document to a Template.Methods in org.nuxeo.template.api.adapters with parameters of type DocumentModelModifier and TypeMethodDescriptionTemplateBasedDocument.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 DocumentModelModifier and TypeMethodDescriptionContextExtensionFactory.getExtension
(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String, Object> ctx) Called before redering to let you add objects inside the rendering context.DocumentWrapper.wrap
(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.automation
Methods in org.nuxeo.template.automation with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
DetachTemplateOperation.run
(DocumentModel targetTemplate) RenderWithTemplateOperation.run
(DocumentModel targetDocument) -
Uses of DocumentModel in org.nuxeo.template.context
Fields in org.nuxeo.template.context declared as DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
BlobHolderWrapper.doc
protected final DocumentModel
SimpleDocumentWrapper.doc
Methods in org.nuxeo.template.context with parameters of type DocumentModelModifier and TypeMethodDescriptionAbstractContextBuilder.build
(DocumentModel doc, String templateName) AbstractContextBuilder.build
(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName) SimpleBeanWrapper.wrap
(DocumentModel doc) Constructors in org.nuxeo.template.context with parameters of type DocumentModelModifierConstructorDescription -
Uses of DocumentModel in org.nuxeo.template.context.extensions
Fields in org.nuxeo.template.context.extensions declared as DocumentModelModifier and TypeFieldDescriptionprotected final DocumentModel
ContextFunctions.doc
protected final DocumentModel
CoreExtensions.doc
Methods in org.nuxeo.template.context.extensions with parameters of type DocumentModelModifier and TypeMethodDescriptionAuditExtensionFactory.getExtension
(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String, Object> ctx) CoreExtensionFactory.getExtension
(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String, Object> ctx) FunctionsExtensionFactory.getExtension
(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String, Object> ctx) Constructors in org.nuxeo.template.context.extensions with parameters of type DocumentModelModifierConstructorDescriptionContextFunctions
(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 DocumentModelMethods in org.nuxeo.template.jaxrs.context with parameters of type DocumentModelModifier and TypeMethodDescriptionExtensionFactory.getExtension
(DocumentModel doc, DocumentWrapper wrapper, Map<String, Object> ctx) Constructors in org.nuxeo.template.jaxrs.context with parameters of type DocumentModelModifierConstructorDescriptionJAXRSExtensions
(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName) -
Uses of DocumentModel in org.nuxeo.template.listeners
Methods in org.nuxeo.template.listeners with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected boolean
TemplateInitListener.isBlobDirty
(DocumentModel targetDoc) -
Uses of DocumentModel in org.nuxeo.template.processors
Methods in org.nuxeo.template.processors that return DocumentModelModifier and TypeMethodDescriptionBidirectionalTemplateProcessor.updateDocumentFromBlob
(TemplateBasedDocument templateDocument, String templateName) Methods in org.nuxeo.template.processors with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionWordXMLRawTemplateProcessor.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 DocumentModelModifier and TypeMethodDescriptionstatic String
FieldDefinitionGenerator.generate
(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.rendition
Methods in org.nuxeo.template.rendition with parameters of type DocumentModelModifier and TypeMethodDescriptionboolean
HtmlRenditionProvider.isAvailable
(DocumentModel doc, RenditionDefinition def) boolean
TemplateBasedRenditionProvider.isAvailable
(DocumentModel doc, RenditionDefinition def) HtmlRenditionProvider.render
(DocumentModel doc, RenditionDefinition definition) TemplateBasedRenditionProvider.render
(DocumentModel doc, RenditionDefinition definition) -
Uses of DocumentModel in org.nuxeo.template.service
Methods in org.nuxeo.template.service that return DocumentModelModifier and TypeMethodDescriptionTemplateProcessorComponent.detachTemplateBasedDocument
(DocumentModel targetDoc, String templateName, boolean save) TemplateProcessorComponent.getTemplateDoc
(CoreSession session, String name) TemplateProcessorComponent.makeTemplateBasedDocument
(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save) Methods in org.nuxeo.template.service that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionTemplateProcessorComponent.getAvailableTemplateDocs
(CoreSession session, String targetType) Methods in org.nuxeo.template.service with parameters of type DocumentModelModifier and TypeMethodDescriptionvoid
TemplateProcessorComponent.addContextExtensions
(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String, Object> ctx) TemplateProcessorComponent.detachTemplateBasedDocument
(DocumentModel targetDoc, String templateName, boolean save) TemplateProcessorComponent.getLinkedTemplateBasedDocuments
(DocumentModel source) 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 DocumentModelModifier and TypeMethodDescriptionprotected <T> List<T>
TemplateProcessorComponent.wrap
(List<DocumentModel> docs, Class<T> adapter) Constructors in org.nuxeo.template.service with parameters of type DocumentModelModifierConstructorDescriptionprotected
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 DocumentModelModifier and TypeMethodDescriptionLocalThemeConfigAdapterFactory.getAdapter
(DocumentModel doc, Class<?> itf) static LocalThemeConfig
LocalThemeHelper.getLocalThemeConfig
(DocumentModel doc) Constructors in org.nuxeo.theme.localconfiguration with parameters of type DocumentModel -
Uses of DocumentModel in org.nuxeo.usermapper.extension
Methods in org.nuxeo.usermapper.extension that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
AbstractUserMapper.createPrincipal
(Map<String, Serializable> attributes) Methods in org.nuxeo.usermapper.extension with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptiondefault 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 DocumentModelMethods in org.nuxeo.wopi.jaxrs that return DocumentModelModifier and TypeMethodDescriptionprotected DocumentModel
FilesEndpoint.createVersionFromRequestBody
(String filename) protected DocumentModel
WOPIRoot.getDocument
(CoreSession session, String fileId) Methods in org.nuxeo.wopi.jaxrs with parameters of type DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected 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 DocumentModelModifier and TypeMethodDescriptionprotected void
LockExpirationListener.handleExpiredLock
(CoreSession session, Session directorySession, DocumentModel entry)
BinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)
andBinaryMetadataService.applyUpdates(DocumentModel, List)