Uses of Interface
org.nuxeo.ecm.core.api.DocumentModel
-
-
Uses of DocumentModel in org.nuxeo.adobe.cc
Methods in org.nuxeo.adobe.cc that return DocumentModel Modifier and Type Method Description DocumentModelCompoundAttach. run(DocumentModel doc)Methods in org.nuxeo.adobe.cc with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCompoundAttach. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.automation.scripting.internals
Fields in org.nuxeo.automation.scripting.internals declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentScriptingWrapper. docMethods in org.nuxeo.automation.scripting.internals that return DocumentModel Modifier and Type Method Description DocumentModelDocumentScriptingWrapper. getDoc()Constructors in org.nuxeo.automation.scripting.internals with parameters of type DocumentModel Constructor Description DocumentScriptingWrapper(AutomationMapper mapper, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.binary.metadata.api
Methods in org.nuxeo.binary.metadata.api with parameters of type DocumentModel Modifier and Type Method Description voidBinaryMetadataService. applyUpdates(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates)Applies synchronously the givenmappingUpdatescomputed byBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)to the document.List<MetadataMappingUpdate>BinaryMetadataService. getMetadataUpdates(DocumentModel doc, boolean creation)Returns the list ofMetadataMappingUpdateto 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.voidBinaryMetadataService. handleSyncUpdate(DocumentModel doc)Deprecated.since 2021.13, the listener now usesBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)andBinaryMetadataService.applyUpdates(DocumentModel, List)voidBinaryMetadataService. handleUpdate(List<MetadataMappingDescriptor> syncMappingDescriptors, DocumentModel doc)Deprecated.since 2021.13, the listener and work now useBinaryMetadataService.getMetadataUpdates(DocumentModel, boolean)andBinaryMetadataService.applyUpdates(DocumentModel, List)BlobBinaryMetadataService. writeMetadata(String processorName, Blob blob, String mappingDescriptorId, DocumentModel doc)Write given metadata mapping id into a given binary with a Nuxeo default processor.BlobBinaryMetadataService. writeMetadata(Blob blob, String mappingDescriptorId, DocumentModel doc)Write given metadata mapping id into a given binary with a Nuxeo default processor.voidBinaryMetadataService. writeMetadata(DocumentModel doc)Write metadata (from a binary) into a given Nuxeo Document according to the metadata mapping and rules contributions.voidBinaryMetadataService. writeMetadata(DocumentModel doc, String mappingDescriptorId)Apply metadata mapping and override document properties according to the contribution. -
Uses of DocumentModel in org.nuxeo.binary.metadata.internals
Methods in org.nuxeo.binary.metadata.internals with parameters of type DocumentModel Modifier and Type Method Description voidBinaryMetadataServiceImpl. applyUpdates(DocumentModel doc, List<MetadataMappingUpdate> mappingUpdates)protected ActionContextBinaryMetadataServiceImpl. createActionContext(DocumentModel doc)List<MetadataMappingUpdate>BinaryMetadataServiceImpl. getMetadataUpdates(DocumentModel doc, boolean creation)List<MetadataMappingDescriptor>BinaryMetadataServiceImpl. getSyncMapping(DocumentModel doc)Deprecated.since 2021.13, because only used byBinaryMetadataServiceImpl.handleSyncUpdate(DocumentModel)voidBinaryMetadataServiceImpl. handleSyncUpdate(DocumentModel doc)Deprecated.voidBinaryMetadataServiceImpl. handleUpdate(List<MetadataMappingDescriptor> mappingDescriptors, DocumentModel doc)Deprecated.protected booleanBinaryMetadataServiceImpl. isDirtyMapping(MetadataMappingDescriptor mappingDescriptor, DocumentModel doc)Maps inspector only.BlobBinaryMetadataServiceImpl. writeMetadata(String processorName, Blob blob, String mappingDescriptorId, DocumentModel doc)BlobBinaryMetadataServiceImpl. writeMetadata(Blob blob, String mappingDescriptorId, DocumentModel doc)voidBinaryMetadataServiceImpl. writeMetadata(DocumentModel doc)voidBinaryMetadataServiceImpl. writeMetadata(DocumentModel doc, String mappingDescriptorId)voidBinaryMetadataServiceImpl. writeMetadata(DocumentModel doc, MetadataMappingDescriptor mappingDescriptor) -
Uses of DocumentModel in org.nuxeo.binary.metadata.internals.listeners
Fields in org.nuxeo.binary.metadata.internals.listeners declared as DocumentModel Modifier and Type Field Description protected DocumentModelBinaryMetadataSyncListener.DocumentMetadataMappingUpdates. docConstructors in org.nuxeo.binary.metadata.internals.listeners with parameters of type DocumentModel Constructor Description DocumentMetadataMappingUpdates(DocumentModel doc, List<MetadataMappingUpdate> updates) -
Uses of DocumentModel in org.nuxeo.binary.metadata.internals.operations
Methods in org.nuxeo.binary.metadata.internals.operations that return DocumentModel Modifier and Type Method Description DocumentModelWriteMetadataToBinaryFromDocument. run(DocumentModel doc)Methods in org.nuxeo.binary.metadata.internals.operations with parameters of type DocumentModel Modifier and Type Method Description voidTriggerMetadataMappingOnDocument. run(DocumentModel document)DocumentModelWriteMetadataToBinaryFromDocument. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.directory.mongodb
Methods in org.nuxeo.directory.mongodb that return DocumentModel Modifier and Type Method Description protected DocumentModelMongoDBSession. createEntryWithoutReferences(Map<String,Object> fieldMap)protected DocumentModelMongoDBSession. fieldMapToDocumentModel(Map<String,Object> fieldMap)DocumentModelMongoDBSession. getEntryFromSource(String id, boolean fetchReferences)Methods in org.nuxeo.directory.mongodb with parameters of type DocumentModel Modifier and Type Method Description protected List<String>MongoDBSession. updateEntryWithoutReferences(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.drive.adapter.impl
Methods in org.nuxeo.drive.adapter.impl that return DocumentModel Modifier and Type Method Description protected DocumentModelAbstractDocumentBackedFileSystemItem. getDocument(CoreSession session)protected DocumentModelAbstractDocumentBackedFileSystemItem. getDocumentById(String docId, CoreSession session)Methods in org.nuxeo.drive.adapter.impl with parameters of type DocumentModel Modifier and Type Method Description ObjectFileSystemItemAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)protected BlobDocumentBackedFileItem. getBlob(DocumentModel doc)protected BlobHolderDocumentBackedFileItem. getBlobHolder(DocumentModel doc)protected FolderItemDocumentBackedFolderItem. getFolderItem(Map<DocumentRef,FolderItem> cache, DocumentModel doc, FolderItem parentItem, boolean cacheItem)protected booleanAbstractDocumentBackedFileSystemItem. handleCollectionMember(DocumentModel doc, CoreSession session, boolean relaxSyncRootConstraint, boolean getLockInfo)protected voidCollectionSyncRootFolderItem. initialize(DocumentModel doc)protected voidDocumentBackedFileItem. initialize(FileSystemItemFactory factory, DocumentModel doc)protected voidDocumentBackedFileItem. initialize(VersioningFileSystemItemFactory factory, DocumentModel doc)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreprotected voidDocumentBackedFolderItem. initialize(DocumentModel doc)protected FolderItemDocumentBackedFolderItem. populateAncestorCache(Map<DocumentRef,FolderItem> cache, DocumentModel doc, CoreSession session, boolean cacheItem)protected voidDocumentBackedFileItem. updateDocTitleIfNeeded(DocumentModel doc, String name)protected voidAbstractDocumentBackedFileSystemItem. updateLastModificationDate(DocumentModel doc)static voidFileSystemItemHelper. versionIfNeeded(VersioningFileSystemItemFactory factory, DocumentModel doc, CoreSession session)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymoreConstructors in org.nuxeo.drive.adapter.impl with parameters of type DocumentModel Constructor Description AbstractDocumentBackedFileSystemItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)AbstractDocumentBackedFileSystemItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc)AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint)AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)CollectionSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)DefaultSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc)DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc)DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint)DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreDocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, theVersioningFileSystemItemFactoryis not used anymoreDocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)DocumentBackedFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)DocumentBackedFolderItem(String factoryName, DocumentModel doc)DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint)DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo) -
Uses of DocumentModel in org.nuxeo.drive.elasticsearch
Methods in org.nuxeo.drive.elasticsearch with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItemESSyncRootFolderItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)Constructors in org.nuxeo.drive.elasticsearch with parameters of type DocumentModel Constructor Description ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc)ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)ESSyncRootFolderItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo) -
Uses of DocumentModel in org.nuxeo.drive.hierarchy.permission.adapter
Constructors in org.nuxeo.drive.hierarchy.permission.adapter with parameters of type DocumentModel Constructor Description UserSyncRootParentFolderItem(String factoryName, DocumentModel doc, FolderItem parentItem, String folderName)UserSyncRootParentFolderItem(String factoryName, DocumentModel doc, FolderItem parentItem, String folderName, boolean relaxSyncRootConstraint)UserSyncRootParentFolderItem(String factoryName, DocumentModel doc, FolderItem parentItem, String folderName, boolean relaxSyncRootConstraint, boolean getLockInfo) -
Uses of DocumentModel in org.nuxeo.drive.hierarchy.permission.factory
Methods in org.nuxeo.drive.hierarchy.permission.factory with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItemPermissionSyncRootFactory. adaptDocument(DocumentModel doc, boolean forceParentId, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FileSystemItemUserSyncRootParentFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)FileSystemItemUserSyncRootParentFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)Force parent item usingUserSyncRootParentFactory.getTopLevelFolderItem(NuxeoPrincipal).FileSystemItemUserSyncRootParentFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemUserSyncRootParentFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FolderItemPermissionSyncRootFactory. getParentItem(DocumentModel doc)booleanPermissionSyncRootFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)Checks if the givenDocumentModelis adaptable as aFileSystemItem.booleanUserSyncRootParentFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) -
Uses of DocumentModel in org.nuxeo.drive.hierarchy.userworkspace.adapter
Fields in org.nuxeo.drive.hierarchy.userworkspace.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModelUserWorkspaceTopLevelFolderItem. userWorkspaceMethods in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type DocumentModel Modifier and Type Method Description static booleanUserWorkspaceHelper. isUserWorkspace(DocumentModel doc)Constructors in org.nuxeo.drive.hierarchy.userworkspace.adapter with parameters of type DocumentModel Constructor Description UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName)UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName, boolean relaxSyncRootConstraint)UserWorkspaceTopLevelFolderItem(String factoryName, DocumentModel userWorkspace, String folderName, String syncRootParentFactoryName, boolean relaxSyncRootConstraint, boolean getLockInfo) -
Uses of DocumentModel in org.nuxeo.drive.hierarchy.userworkspace.factory
Methods in org.nuxeo.drive.hierarchy.userworkspace.factory with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItemUserWorkspaceSyncRootFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FileSystemItemUserWorkspaceTopLevelFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FolderItemUserWorkspaceSyncRootFactory. getParentItem(DocumentModel doc)booleanUserWorkspaceTopLevelFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) -
Uses of DocumentModel in org.nuxeo.drive.listener
Methods in org.nuxeo.drive.listener that return DocumentModel Modifier and Type Method Description protected DocumentModelNuxeoDriveFileSystemDeletionListener. handleBeforeDocUpdate(DocumentEventContext ctx, DocumentModel doc)Methods in org.nuxeo.drive.listener that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>NuxeoDriveFileSystemDeletionListener. getChildSyncRoots(DocumentModel doc, CoreSession session)Methods in org.nuxeo.drive.listener with parameters of type DocumentModel Modifier and Type Method Description protected voidNuxeoDriveFileSystemDeletionListener. fireVirtualEventLogEntries(DocumentModel doc, String eventName, NuxeoPrincipal principal, String impactedUserName, CoreSession session)protected List<DocumentModel>NuxeoDriveFileSystemDeletionListener. getChildSyncRoots(DocumentModel doc, CoreSession session)protected FileSystemItemNuxeoDriveFileSystemDeletionListener. getFileSystemItem(DocumentModel doc, String eventName)protected DocumentModelListNuxeoDriveSyncRootCopyListener. getSyncRoots(DocumentModel doc, CoreSession session)protected booleanNuxeoDriveFileSystemDeletionListener. handleAboutToRemove(DocumentModel doc)protected DocumentModelNuxeoDriveFileSystemDeletionListener. handleBeforeDocUpdate(DocumentEventContext ctx, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.drive.operations
Fields in org.nuxeo.drive.operations declared as DocumentModel Modifier and Type Field Description protected DocumentModelNuxeoDriveAttachBlob. docMethods in org.nuxeo.drive.operations that return DocumentModel Modifier and Type Method Description DocumentModelNuxeoDriveAddToLocallyEditedCollection. run(DocumentModel doc)Deprecated.Methods in org.nuxeo.drive.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModelNuxeoDriveAddToLocallyEditedCollection. run(DocumentModel doc)Deprecated.voidNuxeoDriveSetSynchronizationOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.drive.operations.test
Methods in org.nuxeo.drive.operations.test with parameters of type DocumentModel Modifier and Type Method Description BlobNuxeoDriveCreateTestDocuments. run(DocumentModel parent) -
Uses of DocumentModel in org.nuxeo.drive.service
Methods in org.nuxeo.drive.service with parameters of type DocumentModel Modifier and Type Method Description voidNuxeoDriveManager. addToLocallyEditedCollection(CoreSession session, DocumentModel doc)Adds the givenDocumentModelto theLOCALLY_EDITED_COLLECTION_NAMEcollection.FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, boolean includeDeleted)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem)FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemFileSystemItemAdapterService. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)Gets theFileSystemItemfor the givenDocumentModel.FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem)FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)booleanFileSystemItemFactory. isFileSystemItem(DocumentModel doc)Returns true if the givenDocumentModelis adaptable as aFileSystemItem.booleanFileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted)Returns true if the givenDocumentModelis adaptable as aFileSystemItem.booleanFileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)Returns true if the givenDocumentModelis adaptable as aFileSystemItem.booleanNuxeoDriveManager. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)Checks if the givenDocumentModelis a synchronization root for the given user.booleanVersioningFileSystemItemFactory. needsVersioning(DocumentModel doc)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymorevoidNuxeoDriveManager. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)voidNuxeoDriveManager. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) -
Uses of DocumentModel in org.nuxeo.drive.service.impl
Methods in org.nuxeo.drive.service.impl that return DocumentModel Modifier and Type Method Description protected DocumentModelAbstractFileSystemItemFactory. getDocumentById(String docId, CoreSession session)Methods in org.nuxeo.drive.service.impl with parameters of type DocumentModel Modifier and Type Method Description protected FileSystemItemAbstractFileSystemItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem)protected abstract FileSystemItemAbstractFileSystemItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)Adapts the givenDocumentModelto aFileSystemItem.protected FileSystemItemCollectionSyncRootFolderItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FileSystemItemDefaultFileSystemItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FileSystemItemDefaultSyncRootFolderItemFactory. adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)voidNuxeoDriveManagerImpl. addToLocallyEditedCollection(CoreSession session, DocumentModel doc)protected voidNuxeoDriveManagerImpl. checkCanUpdateSynchronizationRoot(DocumentModel newRootContainer)protected booleanFileSystemItemAdapterServiceImpl. docTypeFactoryMatches(FileSystemItemFactoryWrapper factory, DocumentModel doc)protected booleanFileSystemItemAdapterServiceImpl. facetFactoryMatches(FileSystemItemFactoryWrapper factory, DocumentModel doc, boolean relaxSyncRootConstraint)protected voidNuxeoDriveManagerImpl. fireEvent(DocumentModel sourceDocument, CoreSession session, String eventName, String impactedUserName)protected BlobDefaultFileSystemItemFactory. getBlob(DocumentModel doc)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemAbstractFileSystemItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)FileSystemItemAbstractSyncRootFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel).FileSystemItemAbstractSyncRootFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel).FileSystemItemAbstractSyncRootFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)Force parent usingAbstractSyncRootFolderItemFactory.getParentItem(DocumentModel).FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemAbstractVirtualFolderItemFactory. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean includeDeleted)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)protected FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)Tries to adapt the given document as the top levelFolderItem.FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint)FileSystemItemFileSystemItemAdapterServiceImpl. getFileSystemItem(DocumentModel doc, FolderItem parentItem, boolean includeDeleted, boolean relaxSyncRootConstraint, boolean getLockInfo)protected abstract FolderItemAbstractSyncRootFolderItemFactory. getParentItem(DocumentModel doc)Returns the parentFileSystemItem.protected FolderItemDefaultSyncRootFolderItemFactory. getParentItem(DocumentModel doc)booleanAbstractFileSystemItemFactory. isFileSystemItem(DocumentModel doc)booleanAbstractFileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted)booleanAbstractSyncRootFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)The factory considers that aDocumentModelis adaptable as aFileSystemItemif: It is Folderish AND it is not a version nor a proxy AND it is not HiddenInNavigation AND it is not in the trash, unlessincludeDeletedis true AND it is a synchronization root registered for the current user, unlessrelaxSyncRootConstraintis truebooleanAbstractVirtualFolderItemFactory. isFileSystemItem(DocumentModel doc)booleanAbstractVirtualFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted)booleanAbstractVirtualFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)booleanCollectionSyncRootFolderItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)The factory considers that aDocumentModelis adaptable as aFileSystemItemif: It is a Collection AND it is not HiddenInNavigation AND it is not in the trash, unlessincludeDeletedis true AND it is a synchronization root registered for the current user, unlessrelaxSyncRootConstraintis truebooleanDefaultFileSystemItemFactory. isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint)The default factory considers that aDocumentModelis adaptable as aFileSystemItemif: It is not a version AND it is not HiddenInNavigation AND it is not in the trash, unlessincludeDeletedis true AND it is Folderish or it can be adapted as aBlobHolderwith 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, unlessrelaxSyncRootConstraintis truebooleanNuxeoDriveManagerImpl. isSynchronizationRoot(NuxeoPrincipal principal, DocumentModel doc)booleanDefaultFileSystemItemFactory. needsVersioning(DocumentModel doc)Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymorevoidNuxeoDriveManagerImpl. registerSynchronizationRoot(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session)protected booleanFileSystemItemAdapterServiceImpl. syncRootFactoryMatches(DocumentModel doc, boolean relaxSyncRootConstraint)voidNuxeoDriveManagerImpl. unregisterSynchronizationRoot(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) -
Uses of DocumentModel in org.nuxeo.easyshare
Methods in org.nuxeo.easyshare with parameters of type DocumentModel Modifier and Type Method Description protected static StringEasyShare. buildQuery(DocumentModel documentModel)StringEasyShare. getFileName(DocumentModel doc)static booleanEasyShare. isSharedDocument(CoreSession session, DocumentModel sharedDoc, DocumentModel doc)Returnstrueif the givendocis either: A member of the givensharedDoccollection. A descendant of a foldersish member of the givensharedDoccollection. A descendant of the givensharedDocfolderish document.protected booleanEasyShare. isShareValid(DocumentModel docShare)voidEasyShare. sendNotification(String notification, DocumentModel docShare, Map<String,Object> mail) -
Uses of DocumentModel in org.nuxeo.ecm.admin.operation
Methods in org.nuxeo.ecm.admin.operation with parameters of type DocumentModel Modifier and Type Method Description voidPermissionsPurge. purgeDoc(DocumentModel doc)Method parameters in org.nuxeo.ecm.admin.operation with type arguments of type DocumentModel Modifier and Type Method Description voidPermissionsPurge. purgeDocs(List<DocumentModel> docs) -
Uses of DocumentModel in org.nuxeo.ecm.admin.permissions
Fields in org.nuxeo.ecm.admin.permissions declared as DocumentModel Modifier and Type Field Description protected DocumentModelPermissionsPurgeWork. searchDocumentConstructors in org.nuxeo.ecm.admin.permissions with parameters of type DocumentModel Constructor Description PermissionsPurgeWork(DocumentModel searchDocument) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.collectors
Methods in org.nuxeo.ecm.automation.core.collectors with parameters of type DocumentModel Modifier and Type Method Description voidDocumentModelCollector. collect(OperationContext ctx, DocumentModel obj) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.events.operations
Methods in org.nuxeo.ecm.automation.core.events.operations with parameters of type DocumentModel Modifier and Type Method Description protected voidFireEvent. sendDocumentEvent(DocumentModel input) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.impl.adapters
Methods in org.nuxeo.ecm.automation.core.impl.adapters that return DocumentModel Modifier and Type Method Description DocumentModelStringToDocModel. getAdaptedValue(OperationContext ctx, Object objectToAdapt) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.impl.adapters.helper
Methods in org.nuxeo.ecm.automation.core.impl.adapters.helper that return DocumentModel Modifier and Type Method Description static DocumentModelTypeAdapterHelper. createDocumentModel(AbsoluteDocumentRef docRef)Creates a document model from its absolute reference.static DocumentModelTypeAdapterHelper. createDocumentModel(OperationContext ctx, String value)Create a document model from its pathstatic DocumentModelTypeAdapterHelper. createDocumentModel(OperationContext ctx, DocumentRef docRef)Create a document model from its reference -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations
Methods in org.nuxeo.ecm.automation.core.operations that return DocumentModel Modifier and Type Method Description DocumentModelFetchContextDocument. run(DocumentModel doc)DocumentModelRestoreDocumentInput. run()DocumentModelRestoreDocumentInputFromScript. run()Methods in org.nuxeo.ecm.automation.core.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModelFetchContextDocument. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.blob
Fields in org.nuxeo.ecm.automation.core.operations.blob declared as DocumentModel Modifier and Type Field Description protected DocumentModelAttachBlob. docMethods in org.nuxeo.ecm.automation.core.operations.blob that return DocumentModel Modifier and Type Method Description DocumentModelSetBlobFileName. run(DocumentModel doc)Methods in org.nuxeo.ecm.automation.core.operations.blob with parameters of type DocumentModel Modifier and Type Method Description BlobBlobToPDF. run(DocumentModel doc)BlobConvertBlob. run(DocumentModel doc)BlobListGetAllDocumentBlobs. run(DocumentModel doc)BlobGetDocumentBlob. run(DocumentModel doc)BlobListGetDocumentBlobs. run(DocumentModel doc)DocumentModelSetBlobFileName. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.business.adapter
Fields in org.nuxeo.ecm.automation.core.operations.business.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModelBusinessAdapter. docMethods in org.nuxeo.ecm.automation.core.operations.business.adapter that return DocumentModel Modifier and Type Method Description DocumentModelBusinessAdapter. getDocument()Constructors in org.nuxeo.ecm.automation.core.operations.business.adapter with parameters of type DocumentModel Constructor Description BusinessAdapter(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.collections
Fields in org.nuxeo.ecm.automation.core.operations.collections declared as DocumentModel Modifier and Type Field Description protected DocumentModelAddToCollectionOperation. collectionprotected DocumentModelRemoveFromCollectionOperation. collectionprotected DocumentModelMoveCollectionMemberOperation. member1protected DocumentModelMoveCollectionMemberOperation. member2Methods in org.nuxeo.ecm.automation.core.operations.collections that return DocumentModel Modifier and Type Method Description DocumentModelAddToCollectionOperation. run(DocumentModel doc)DocumentModelAddToFavoritesOperation. run(DocumentModel doc)DocumentModelCreateCollectionOperation. run()DocumentModelCreateCollectionOperation. run(DocumentModel doc)DocumentModelFetchFavorites. run()DocumentModelRemoveFromCollectionOperation. run(DocumentModel doc)DocumentModelRemoveFromFavoritesOperation. run(DocumentModel doc)Methods in org.nuxeo.ecm.automation.core.operations.collections with parameters of type DocumentModel Modifier and Type Method Description DocumentModelAddToCollectionOperation. run(DocumentModel doc)DocumentModelAddToFavoritesOperation. run(DocumentModel doc)DocumentModelCreateCollectionOperation. run(DocumentModel doc)PaginableDocumentModelListImplGetDocumentsFromCollectionOperation. run(DocumentModel collection)DocumentModelListGetDocumentsFromFavoritesOperation. run(DocumentModel context)booleanMoveCollectionMemberOperation. run(DocumentModel collection)DocumentModelRemoveFromCollectionOperation. run(DocumentModel doc)DocumentModelRemoveFromFavoritesOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.document
Fields in org.nuxeo.ecm.automation.core.operations.document declared as DocumentModel Modifier and Type Field Description protected DocumentModelOrderDocument. beforeprotected DocumentModelEmptyTrash. parentprotected DocumentModelPublishDocument. targetprotected DocumentModelFetchDocument. value -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.execution
Methods in org.nuxeo.ecm.automation.core.operations.execution that return DocumentModel Modifier and Type Method Description DocumentModelRunDocumentChain. run(DocumentModel doc)Methods in org.nuxeo.ecm.automation.core.operations.execution with parameters of type DocumentModel Modifier and Type Method Description DocumentModelRunDocumentChain. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.login
Methods in org.nuxeo.ecm.automation.core.operations.login that return DocumentModel Modifier and Type Method Description DocumentModelLoginAs. run(DocumentModel doc)DocumentModelLogout. run(DocumentModel doc)Methods in org.nuxeo.ecm.automation.core.operations.login with parameters of type DocumentModel Modifier and Type Method Description DocumentModelLoginAs. run(DocumentModel doc)DocumentModelLogout. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.notification
Methods in org.nuxeo.ecm.automation.core.operations.notification that return DocumentModel Modifier and Type Method Description DocumentModelSendMail. run(DocumentModel doc)Methods in org.nuxeo.ecm.automation.core.operations.notification with parameters of type DocumentModel Modifier and Type Method Description protected Mailer.MessageSendMail. createMessage(DocumentModel doc, String message, Map<String,Object> map)static StringMailTemplateHelper. getDocumentUrl(DocumentModel doc, String viewId)DocumentModelSendMail. run(DocumentModel doc)protected voidSendMail. send(DocumentModel doc)Constructors in org.nuxeo.ecm.automation.core.operations.notification with parameters of type DocumentModel Constructor Description MailBox(DocumentModel user, boolean isStrict) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.services
Fields in org.nuxeo.ecm.automation.core.operations.services declared as DocumentModel Modifier and Type Field Description protected DocumentModelCreateRelation. objectprotected DocumentModelDeleteRelation. objectMethods in org.nuxeo.ecm.automation.core.operations.services that return DocumentModel Modifier and Type Method Description protected DocumentModelBlobHolderAttach. getCurrentDocument()protected DocumentModelFileManagerImport. getCurrentDocument()protected DocumentModelFileManagerImportWithProperties. getCurrentDocument()protected DocumentModelGetActions. getCurrentDocumentFromContext()protected DocumentModelGetRelations. getDocumentModel(Node node)DocumentModelAuditLog. run(DocumentModel doc)DocumentModelBlobHolderAttach. run(BlobList blobs)DocumentModelBlobHolderAttach. run(Blob blob)DocumentModelCreateRelation. run(DocumentModel doc)DocumentModelDeleteRelation. run(DocumentModel doc)DocumentModelFileManagerCreateFolder. run(DocumentModel parent)DocumentModelFileManagerImport. run(Blob blob)DocumentModelFileManagerImportWithProperties. run(Blob blob)DocumentModelUserWorkspace. run()Methods in org.nuxeo.ecm.automation.core.operations.services with parameters of type DocumentModel Modifier and Type Method Description protected ActionContextGetActions. getActionContext(DocumentModel currentDocument)protected QNameResourceGetRelations. getDocumentResource(DocumentModel document)protected LogEntryAuditLog. newEntry(DocumentModel doc, String principal, Date date)DocumentModelAuditLog. run(DocumentModel doc)DocumentModelCreateRelation. run(DocumentModel doc)DocumentModelDeleteRelation. run(DocumentModel doc)DocumentModelFileManagerCreateFolder. run(DocumentModel parent)BlobGetActions. run(DocumentModel currentDocument)BlobGetDirectoryEntries. run(DocumentModel doc)DocumentModelListGetRelations. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.services.bulk
Method parameters in org.nuxeo.ecm.automation.core.operations.services.bulk with type arguments of type DocumentModel Modifier and Type Method Description protected voidAbstractAutomationBulkAction.AutomationComputation. handleError(List<DocumentModel> documents, Exception e) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.stack
Methods in org.nuxeo.ecm.automation.core.operations.stack that return DocumentModel Modifier and Type Method Description DocumentModelPopDocument. run()DocumentModelPullDocument. run()DocumentModelPushDocument. run(DocumentModel doc)Methods in org.nuxeo.ecm.automation.core.operations.stack with parameters of type DocumentModel Modifier and Type Method Description DocumentModelPushDocument. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.operations.users
Methods in org.nuxeo.ecm.automation.core.operations.users that return DocumentModel Modifier and Type Method Description DocumentModelGetDocumentPrincipalEmails. run(DocumentModel input)DocumentModelGetDocumentUsersAndGroups. run(DocumentModel input)DocumentModelGetNuxeoPrincipal. run()Methods in org.nuxeo.ecm.automation.core.operations.users with parameters of type DocumentModel Modifier and Type Method Description protected booleanCreateOrUpdateGroup. canCreateOrUpdateGroup(DocumentModel groupDoc)protected booleanCreateOrUpdateUser. canCreateOrUpdateUser(DocumentModel userDoc)protected voidCreateOrUpdateGroup. checkCanCreateOrUpdateGroup(DocumentModel groupDoc)protected voidCreateOrUpdateUser. checkCanCreateOrUpdateUser(DocumentModel userDoc)DocumentModelGetDocumentPrincipalEmails. run(DocumentModel input)DocumentModelGetDocumentUsersAndGroups. run(DocumentModel input)Method parameters in org.nuxeo.ecm.automation.core.operations.users with type arguments of type DocumentModel Modifier and Type Method Description protected BlobQueryUsers. buildResponse(List<DocumentModel> users) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.rendering.operations
Methods in org.nuxeo.ecm.automation.core.rendering.operations with parameters of type DocumentModel Modifier and Type Method Description BlobRenderDocument. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.scripting
Fields in org.nuxeo.ecm.automation.core.scripting declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentWrapper. docMethods in org.nuxeo.ecm.automation.core.scripting that return DocumentModel Modifier and Type Method Description DocumentModelDocumentWrapper. getDoc()Constructors in org.nuxeo.ecm.automation.core.scripting with parameters of type DocumentModel Constructor Description DocumentWrapper(CoreSession session, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.core.util
Methods in org.nuxeo.ecm.automation.core.util that return DocumentModel Modifier and Type Method Description static DocumentModelPageProviderHelper. getSearchDocumentModel(CoreSession session, String providerName, Map<String,String> namedParameters)static DocumentModelPageProviderHelper. getSearchDocumentModel(CoreSession session, PageProviderService pps, String providerName, Map<String,String> namedParameters)Returns asearchDocumentModelif the givenproviderNameis not null and has a validdefinition, or if the givennamedParametersis not empty.static DocumentModelDocumentHelper. saveDocument(CoreSession session, DocumentModel doc)Saves the document and clear context data to avoid incrementing version in next operations if not needed.Methods in org.nuxeo.ecm.automation.core.util with parameters of type DocumentModel Modifier and Type Method Description protected static voidPageProviderHelper. fillSearchDocument(CoreSession session, DocumentModel searchDoc, Map<String,String> namedParameters)static voidDocumentHelper. removeProperty(DocumentModel doc, String xpath)Removes a property from a document given the xpath.static DocumentModelDocumentHelper. saveDocument(CoreSession session, DocumentModel doc)Saves the document and clear context data to avoid incrementing version in next operations if not needed.static voidDocumentHelper. setJSONProperties(CoreSession session, DocumentModel doc, Properties properties)Sets the properties of a document based on their JSON representation (especially for scalar lists).protected static voidDocumentHelper. setLocalAcl(CoreSession session, DocumentModel doc, String value)static voidDocumentHelper. setProperties(CoreSession session, DocumentModel doc, Map<String,String> values)Sets the properties given as a map of xpath:value to the given document.static voidDocumentHelper. setProperties(CoreSession session, DocumentModel doc, Properties properties)static voidDocumentHelper. setProperties(CoreSession session, DocumentModel doc, Properties properties, Properties propertiesBehaviors)static voidDocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value)static voidDocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value, boolean decodeStringListAsJSON)static voidDocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value, String behavior)static voidDocumentHelper. setProperty(CoreSession session, DocumentModel doc, String key, String value, String behavior, boolean decodeStringListAsJSON) -
Uses of DocumentModel in org.nuxeo.ecm.automation.elasticsearch
Methods in org.nuxeo.ecm.automation.elasticsearch with parameters of type DocumentModel Modifier and Type Method Description voidElasticsearchIndexOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.features
Methods in org.nuxeo.ecm.automation.features with parameters of type DocumentModel Modifier and Type Method Description HashSet<?>PrincipalHelper. collectObjectsMatchingPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups, org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector)Set<String>PrincipalHelper. getEmailsForPermission(DocumentModel input, String permission, boolean ignoreGroups)Set<NuxeoPrincipal>PrincipalHelper. getPrincipalsForPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups)Set<String>PrincipalHelper. getUserAndGroupIdsForPermission(DocumentModel input, String permission, boolean ignoreGroups, boolean resolveGroups, boolean prefixIds)Resolves the list of identifiers for users and groups who have the given permission on given document. -
Uses of DocumentModel in org.nuxeo.ecm.automation.jaxrs.io.documents
Methods in org.nuxeo.ecm.automation.jaxrs.io.documents that return DocumentModel Modifier and Type Method Description DocumentModelJSONDocumentModelReader. readFrom(Class<DocumentModel> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Deprecated.static DocumentModelJSONDocumentModelReader. readJson(com.fasterxml.jackson.core.JsonParser jp, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.servlet.http.HttpServletRequest request)Deprecated.protected DocumentModelJSONDocumentModelReader. readRequest(String content, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.servlet.http.HttpServletRequest request)Deprecated.Methods in org.nuxeo.ecm.automation.jaxrs.io.documents that return types with arguments of type DocumentModel Modifier and Type Method Description PageProvider<DocumentModel>PaginableDocumentModelListImpl. getProvider()Methods in org.nuxeo.ecm.automation.jaxrs.io.documents with parameters of type DocumentModel Modifier and Type Method Description static voidJSONDocumentModelReader. applyPropertyValues(DocumentModel src, DocumentModel dst)Deprecated.Method parameters in org.nuxeo.ecm.automation.jaxrs.io.documents with type arguments of type DocumentModel Modifier and Type Method Description DocumentModelJSONDocumentModelReader. readFrom(Class<DocumentModel> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)Deprecated.Constructor parameters in org.nuxeo.ecm.automation.jaxrs.io.documents with type arguments of type DocumentModel Constructor Description PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider)PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider, String documentLinkBuilder)Creates aPaginableDocumentModelListImplwith more display information. -
Uses of DocumentModel in org.nuxeo.ecm.automation.server.jaxrs.adapters
Methods in org.nuxeo.ecm.automation.server.jaxrs.adapters with parameters of type DocumentModel Modifier and Type Method Description protected voidAsyncOperationAdapter. attach(DocumentModel doc)protected voidAsyncOperationAdapter. detach(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.automation.task
Methods in org.nuxeo.ecm.automation.task that return DocumentModel Modifier and Type Method Description DocumentModelCreateTask. run(DocumentModel document)Methods in org.nuxeo.ecm.automation.task with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCreateTask. run(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.collections.api
Methods in org.nuxeo.ecm.collections.api that return DocumentModel Modifier and Type Method Description DocumentModelCollectionManager. createCollection(CoreSession session, String title, String description, String path)Create a collection with a given name, description and path.DocumentModelFavoritesManager. getFavorites(CoreSession session)DocumentModelFavoritesManager. getFavorites(DocumentModel context, CoreSession session)Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)insteadDocumentModelCollectionManager. getUserDefaultCollections(CoreSession session)Get user collections root document.DocumentModelCollectionManager. getUserDefaultCollections(DocumentModel context, CoreSession session)Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)insteadDocumentModelCollectionLocationService. getUserDefaultCollectionsRoot(CoreSession session)Provide the default document where will be stored collections.DocumentModelCollectionLocationService. getUserFavorites(CoreSession session)Provide the default favorites document.Methods in org.nuxeo.ecm.collections.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>CollectionManager. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)Get the list of collection of a document.List<DocumentModel>CollectionManager. getVisibleCollection(DocumentModel collectionMember, CoreSession session)Get the list of collection of a document.Methods in org.nuxeo.ecm.collections.api with parameters of type DocumentModel Modifier and Type Method Description voidCollectionManager. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)Add a list of document to a collection.voidCollectionManager. addToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)Add a document to a collection.voidFavoritesManager. addToFavorites(DocumentModel document, CoreSession session)voidCollectionManager. addToNewCollection(String newTitle, String newDescription, DocumentModel documentToBeAdded, CoreSession session)Add a document to a new collection.booleanCollectionManager. canAddToCollection(DocumentModel collection, CoreSession session)Check that a document is a collection and that the given core session has permission to add document inside.booleanFavoritesManager. canAddToFavorites(DocumentModel document)booleanCollectionManager. canManage(DocumentModel collection, CoreSession session)Check that the given core session has permission to manage the collection.voidCollectionManager. doRemoveFromCollection(DocumentModel documentToBeRemoved, String collectionId, CoreSession session)DocumentModelFavoritesManager. getFavorites(DocumentModel context, CoreSession session)Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)insteadDocumentModelCollectionManager. getUserDefaultCollections(DocumentModel context, CoreSession session)Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)insteadList<DocumentModel>CollectionManager. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)Get the list of collection of a document.List<DocumentModel>CollectionManager. getVisibleCollection(DocumentModel collectionMember, CoreSession session)Get the list of collection of a document.booleanCollectionManager. hasVisibleCollection(DocumentModel collectionMember, CoreSession session)Check that the given core session has READ permission on at least one collection of the given document.booleanCollectionManager. isCollectable(DocumentModel document)Check that a document can be added to a collection.booleanCollectionManager. isCollected(DocumentModel document)Check that a document has already been added to a collection.booleanCollectionManager. isCollection(DocumentModel document)Check that a document is a collection.booleanFavoritesManager. isFavorite(DocumentModel document, CoreSession session)booleanCollectionManager. isInCollection(DocumentModel collection, DocumentModel document, CoreSession session)Check whether a document is in a given collection.booleanCollectionManager. moveMembers(CoreSession session, DocumentModel collection, DocumentModel member1, DocumentModel member2)Move the member1 right after the member2 within the collection.voidCollectionManager. processCopiedCollection(DocumentModel collection)Update all documents referenced by a collection to add a reference back the collection.voidCollectionManager. processRemovedCollection(DocumentModel collection)Update all documents referenced by a collection to remove the reference to the collection.voidCollectionManager. processRemovedCollectionMember(DocumentModel collectionMember)Update all collections referenced by a document.voidCollectionManager. processRestoredCollection(DocumentModel collection, DocumentModel version)Restore the collection members of the version.voidCollectionManager. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)Remove a list of document from a given collection.voidCollectionManager. removeFromCollection(DocumentModel collection, DocumentModel documentToBeRemoved, CoreSession session)Remove a document from a collection.voidFavoritesManager. removeFromFavorites(DocumentModel document, CoreSession session)Method parameters in org.nuxeo.ecm.collections.api with type arguments of type DocumentModel Modifier and Type Method Description voidCollectionManager. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)Add a list of document to a collection.voidCollectionManager. addToNewCollection(String newTitle, String newDescription, List<DocumentModel> documentListToBeAdded, CoreSession documentManager)Add a list of document to a new collection.voidCollectionManager. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)Remove a list of document from a given collection. -
Uses of DocumentModel in org.nuxeo.ecm.collections.core
Methods in org.nuxeo.ecm.collections.core that return DocumentModel Modifier and Type Method Description protected DocumentModelCollectionManagerImpl. createCollection(String newTitle, String newDescription, DocumentModel context, CoreSession session)DocumentModelCollectionManagerImpl. createCollection(CoreSession session, String title, String description, String path)DocumentModelFavoritesManagerImpl. getFavorites(CoreSession session)DocumentModelFavoritesManagerImpl. getFavorites(DocumentModel context, CoreSession session)Deprecated.DocumentModelCollectionManagerImpl. getUserDefaultCollections(CoreSession session)DocumentModelCollectionManagerImpl. getUserDefaultCollections(DocumentModel context, CoreSession session)Deprecated.Methods in org.nuxeo.ecm.collections.core that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)List<DocumentModel>CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, CoreSession session)Methods in org.nuxeo.ecm.collections.core with parameters of type DocumentModel Modifier and Type Method Description voidCollectionManagerImpl. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)voidCollectionManagerImpl. addToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)voidFavoritesManagerImpl. addToFavorites(DocumentModel document, CoreSession session)voidCollectionManagerImpl. addToNewCollection(String newTitle, String newDescription, DocumentModel documentToBeAdded, CoreSession session)booleanCollectionManagerImpl. canAddToCollection(DocumentModel collection, CoreSession session)booleanFavoritesManagerImpl. canAddToFavorites(DocumentModel document)booleanCollectionManagerImpl. canManage(DocumentModel collection, CoreSession session)voidCollectionManagerImpl. checkCanAddToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)protected voidCollectionManagerImpl. checkCanCollectInCollection(DocumentModel collection, CoreSession session)protected DocumentModelCollectionManagerImpl. createCollection(String newTitle, String newDescription, DocumentModel context, CoreSession session)static voidCollectionManagerImpl. disableEvents(DocumentModel doc)voidCollectionManagerImpl. doRemoveFromCollection(DocumentModel documentToBeRemoved, String collectionId, CoreSession session)protected voidCollectionManagerImpl. fireEvent(DocumentModel doc, CoreSession session, String eventName, Map<String,Serializable> props)DocumentModelFavoritesManagerImpl. getFavorites(DocumentModel context, CoreSession session)Deprecated.DocumentModelCollectionManagerImpl. getUserDefaultCollections(DocumentModel context, CoreSession session)Deprecated.List<DocumentModel>CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)List<DocumentModel>CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, CoreSession session)booleanCollectionManagerImpl. hasVisibleCollection(DocumentModel collectionMember, CoreSession session)booleanCollectionManagerImpl. isCollectable(DocumentModel doc)booleanCollectionManagerImpl. isCollected(DocumentModel doc)booleanCollectionManagerImpl. isCollection(DocumentModel doc)booleanFavoritesManagerImpl. isFavorite(DocumentModel document, CoreSession session)booleanCollectionManagerImpl. isInCollection(DocumentModel collection, DocumentModel document, CoreSession session)booleanCollectionManagerImpl. moveMembers(CoreSession session, DocumentModel collection, DocumentModel member1, DocumentModel member2)voidCollectionManagerImpl. processCopiedCollection(DocumentModel collection)voidCollectionManagerImpl. processRemovedCollection(DocumentModel collection)voidCollectionManagerImpl. processRemovedCollectionMember(DocumentModel collectionMember)voidCollectionManagerImpl. processRestoredCollection(DocumentModel collection, DocumentModel version)voidCollectionManagerImpl. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session)voidCollectionManagerImpl. removeFromCollection(DocumentModel collection, DocumentModel documentToBeRemoved, CoreSession session)voidFavoritesManagerImpl. removeFromFavorites(DocumentModel document, CoreSession session)Method parameters in org.nuxeo.ecm.collections.core with type arguments of type DocumentModel Modifier and Type Method Description voidCollectionManagerImpl. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)voidCollectionManagerImpl. addToNewCollection(String newTitle, String newDescription, List<DocumentModel> documentListToBeAdded, CoreSession session)voidCollectionManagerImpl. removeAllFromCollection(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.collections.core.adapter
Fields in org.nuxeo.ecm.collections.core.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModelCollection. documentprotected DocumentModelCollectionMember. documentMethods in org.nuxeo.ecm.collections.core.adapter that return DocumentModel Modifier and Type Method Description DocumentModelCollection. getDocument()DocumentModelCollectionMember. getDocument()Methods in org.nuxeo.ecm.collections.core.adapter with parameters of type DocumentModel Modifier and Type Method Description ObjectCollectionAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)ObjectCollectionMemberAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)Constructors in org.nuxeo.ecm.collections.core.adapter with parameters of type DocumentModel Constructor Description Collection(DocumentModel doc)CollectionMember(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.collections.core.io
Methods in org.nuxeo.ecm.collections.core.io with parameters of type DocumentModel Modifier and Type Method Description voidCollectionsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidFavoritesJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.collections.core.versioning
Methods in org.nuxeo.ecm.collections.core.versioning with parameters of type DocumentModel Modifier and Type Method Description booleanNoVersioningCollectionPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument) -
Uses of DocumentModel in org.nuxeo.ecm.collections.core.worker
Methods in org.nuxeo.ecm.collections.core.worker with parameters of type DocumentModel Modifier and Type Method Description protected abstract voidRemovedAbstractWork. updateDocument(DocumentModel d)protected voidRemovedCollectionMemberWork. updateDocument(DocumentModel collection)protected voidRemovedCollectionWork. updateDocument(DocumentModel collectionMember) -
Uses of DocumentModel in org.nuxeo.ecm.core.api
Fields in org.nuxeo.ecm.core.api declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentTreeIterator. rootRoot document.Fields in org.nuxeo.ecm.core.api with type parameters of type DocumentModel Modifier and Type Field Description protected Queue<Iterator<DocumentModel>>DocumentTreeIterator. queueThe sequence queue.protected Iterator<DocumentModel>DocumentTreeIterator. sequenceThe current sequence.Methods in org.nuxeo.ecm.core.api that return DocumentModel Modifier and Type Method Description DocumentModelDocumentModel. clone()Clone operation.DocumentModelAbstractSession. copy(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)Deprecated.DocumentModelAbstractSession. copy(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)DocumentModelCoreSession. copy(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)Deprecated.Since 8.2.DocumentModelCoreSession. copy(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)Copies the source document to the destination folder under the given name.DocumentModelAbstractSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)Deprecated.DocumentModelAbstractSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, CoreSession.CopyOption... copyOptions)DocumentModelCoreSession. copyProxyAsDocument(DocumentRef src, DocumentRef dst, String name, boolean resetLifeCycle)Deprecated.Since 8.2.DocumentModelCoreSession. 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.DocumentModelAbstractSession. createDocument(DocumentModel docModel)DocumentModel[]AbstractSession. createDocument(DocumentModel[] docModels)DocumentModelCoreSession. createDocument(DocumentModel model)Creates a document using given document model for initialization.DocumentModel[]CoreSession. createDocument(DocumentModel[] docModels)Bulk creation of documents.DocumentModelAbstractSession. createDocumentModel(String typeName)DocumentModelAbstractSession. createDocumentModel(String parentPath, String name, String typeName)DocumentModelAbstractSession. createDocumentModel(String typeName, Map<String,Object> options)DocumentModelCoreSession. createDocumentModel(String typeName)Creates a document model using type name.DocumentModelCoreSession. createDocumentModel(String parentPath, String name, String typeName)Creates a document model using required information.DocumentModelCoreSession. createDocumentModel(String typeName, Map<String,Object> options)Creates a document model using required information.static DocumentModelDocumentModelFactory. createDocumentModel(String type, String id)Deprecated.since 11.1, unusedDocumentModelAbstractSession. createProxy(DocumentRef docRef, DocumentRef folderRef)DocumentModelCoreSession. createProxy(DocumentRef docRef, DocumentRef folderRef)Creates a generic proxy to the given document inside the given folder.protected DocumentModelAbstractSession. createProxyInternal(Document doc, Document folder, Map<String,Serializable> options)DocumentModelAbstractSession. getChild(DocumentRef parent, String name)DocumentModelCoreSession. getChild(DocumentRef parent, String name)Gets a child document given its name and the parent reference.DocumentModelAbstractSession. getDocument(DocumentRef docRef)DocumentModelCoreSession. getDocument(DocumentRef docRef)Gets a document model given its reference.DocumentModelAbstractSession. getDocumentWithVersion(DocumentRef docRef, VersionModel version)DocumentModelCoreSession. getDocumentWithVersion(DocumentRef docRef, VersionModel version)Returns a document that represents the specified version of the document.DocumentModelAbstractSession. getLastDocumentVersion(DocumentRef docRef)DocumentModelCoreSession. getLastDocumentVersion(DocumentRef docRef)Gets the document corresponding to the last version for the given document.DocumentModelNuxeoGroup. getModel()DocumentModelNuxeoPrincipal. getModel()DocumentModelSystemPrincipal. getModel()DocumentModelAbstractSession. getOrCreateDocument(DocumentModel docModel)DocumentModelAbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)DocumentModelCoreSession. getOrCreateDocument(DocumentModel docModel)Gets a document if it exists, otherwise creates it.DocumentModelCoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)Gets a document if it exists, otherwise creates it.DocumentModelAbstractSession. getParentDocument(DocumentRef docRef)DocumentModelCoreSession. getParentDocument(DocumentRef docRef)Gets the parent document or null if this is the root document.DocumentModelAbstractSession. getRootDocument()DocumentModelCoreSession. getRootDocument()Gets the root document of this repository.DocumentModelAbstractSession. getSourceDocument(DocumentRef docRef)DocumentModelCoreSession. getSourceDocument(DocumentRef docRef)Gets the head (live) document for this document.DocumentModelAbstractSession. getSuperSpace(DocumentModel doc)DocumentModelCoreSession. getSuperSpace(DocumentModel doc)Returns the parent SuperSpace (workspace, section, etc.).DocumentModelAbstractSession. getVersion(String versionableId, VersionModel versionModel)DocumentModelCoreSession. getVersion(String versionableId, VersionModel versionModel)Gets a document version, given the versionable id and label.DocumentModelAbstractSession. getWorkingCopy(DocumentRef docRef)DocumentModelCoreSession. getWorkingCopy(DocumentRef docRef)Gets the working copy (live document) for a proxy or a version.DocumentModelAbstractSession. move(DocumentRef src, DocumentRef dst, String name)DocumentModelCoreSession. move(DocumentRef src, DocumentRef dst, String name)Moves the source document to the destination folder under the given name.DocumentModelAbstractSession. newDocumentModel(DocumentRef parentRef, String name, String typeName)DocumentModelCoreSession. newDocumentModel(DocumentRef parentRef, String name, String typeName)Creates a new document model using required information.DocumentModelDocumentTreeIterator. next()DocumentModelAbstractSession. publishDocument(DocumentModel docToPublish, DocumentModel section)DocumentModelAbstractSession. publishDocument(DocumentModel docModel, DocumentModel section, boolean overwriteExistingProxy)DocumentModelCoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section)Publishes the document in a section overwriting any existing proxy to the same document.DocumentModelCoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section, boolean overwriteExistingProxy)Publishes the document in a section.protected DocumentModelAbstractSession. readModel(Document doc)Gets the document model for the given core document.protected DocumentModelAbstractSession. readModel(Document doc, DocumentModel docModel)Gets the document model for the given core document, preserving the contextData.DocumentModelAbstractSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef)DocumentModelAbstractSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef, boolean skipSnapshotCreation, boolean skipCheckout)protected DocumentModelAbstractSession. restoreToVersion(Document doc, Document version, boolean skipSnapshotCreation, boolean skipCheckout)DocumentModelCoreSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef)Restores the given document to the specified version.DocumentModelCoreSession. restoreToVersion(DocumentRef docRef, DocumentRef versionRef, boolean skipSnapshotCreation, boolean skipCheckout)Restores the given document to the specified version.DocumentModelAbstractSession. saveDocument(DocumentModel docModel)DocumentModelCoreSession. saveDocument(DocumentModel docModel)Saves changes done on the given document model.protected DocumentModelAbstractSession. updateExistingProxies(Document doc, Document folder, Document target)Update the proxy for doc in the given section to point to the new target.static DocumentModelDocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc)Writes a document model to a document.static DocumentModelDocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc, boolean create)Writes a document model to a document.protected DocumentModelAbstractSession. writeModel(Document doc, DocumentModel docModel)protected DocumentModelAbstractSession. writeModel(Document doc, DocumentModel docModel, boolean create)Methods in org.nuxeo.ecm.core.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>AbstractSession. copy(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)Deprecated.List<DocumentModel>AbstractSession. copy(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... opts)List<DocumentModel>CoreSession. copy(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)Deprecated.Since 8.2.List<DocumentModel>CoreSession. copy(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... copyOptions)Bulk copy.List<DocumentModel>AbstractSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)Deprecated.List<DocumentModel>AbstractSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... opts)List<DocumentModel>CoreSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, boolean resetLifeCycle)Deprecated.Since 8.2.List<DocumentModel>CoreSession. copyProxyAsDocument(List<DocumentRef> src, DocumentRef dst, CoreSession.CopyOption... copyOptions)Bulk copyProxyAsDocument.protected Iterator<DocumentModel>DocumentTreeIterator. getNextNonEmptySequence()Gets next non empty sequence from queue.List<DocumentModel>AbstractSession. getParentDocuments(DocumentRef docRef)List<DocumentModel>CoreSession. getParentDocuments(DocumentRef docRef)Gets the parent documents in path from the root to the given document or empty list if this is the root document.List<DocumentModel>AbstractSession. getVersions(DocumentRef docRef)List<DocumentModel>CoreSession. getVersions(DocumentRef docRef)Retrieves all the versions for a specified document.Methods in org.nuxeo.ecm.core.api with parameters of type DocumentModel Modifier and Type Method Description booleanFilter. accept(DocumentModel docModel)Filters data models objects.intDocumentModelComparator. compare(DocumentModel doc1, DocumentModel doc2)protected StringAbstractSession. computeKeyForAtomicCreation(DocumentModel docModel)voidDocumentModel. copyContent(DocumentModel sourceDoc)Copies all the data from a source document.voidDocumentModel. copyContextData(DocumentModel otherDocument)Copies the context data from given document to this document.DocumentModelAbstractSession. createDocument(DocumentModel docModel)DocumentModel[]AbstractSession. createDocument(DocumentModel[] docModels)DocumentModelCoreSession. createDocument(DocumentModel model)Creates a document using given document model for initialization.DocumentModel[]CoreSession. createDocument(DocumentModel[] docModels)Bulk creation of documents.booleanAbstractSession. followTransition(DocumentModel docModel, String transition)booleanCoreSession. followTransition(DocumentModel doc, String transition)Follows a given life cycle transition.protected Map<String,Serializable>AbstractSession. getContextMapEventInfo(DocumentModel doc)DocumentModelAbstractSession. getOrCreateDocument(DocumentModel docModel)DocumentModelAbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)DocumentModelCoreSession. getOrCreateDocument(DocumentModel docModel)Gets a document if it exists, otherwise creates it.DocumentModelCoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)Gets a document if it exists, otherwise creates it.StringAbstractSession. getSuperParentType(DocumentModel doc)StringCoreSession. getSuperParentType(DocumentModel doc)Returns the type of his parent SuperSpace (workspace, section, etc.).DocumentModelAbstractSession. getSuperSpace(DocumentModel doc)DocumentModelCoreSession. getSuperSpace(DocumentModel doc)Returns the parent SuperSpace (workspace, section, etc.).StringAbstractSession. getVersionLabel(DocumentModel docModel)StringCoreSession. getVersionLabel(DocumentModel docModel)Gets the version label for a document, according to the versioning service.protected voidAbstractSession. importDocument(DocumentModel docModel)protected voidAbstractSession. loadDataModelsForFacet(DocumentModel docModel, Document doc, String facetName)DocumentEventContextAbstractSession. newEventContext(DocumentModel source)protected voidAbstractSession. 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 voidAbstractSession. notifyEvent(String eventId, DocumentModel source, Map<String,Serializable> options, String category, String comment, boolean withLifeCycle, boolean inline)protected voidAbstractSession. notifyVersionChange(DocumentModel oldDocument, DocumentModel newDocument, Map<String,Serializable> options)Copied from obsolete VersionChangeNotifier.DocumentModelAbstractSession. publishDocument(DocumentModel docToPublish, DocumentModel section)DocumentModelAbstractSession. publishDocument(DocumentModel docModel, DocumentModel section, boolean overwriteExistingProxy)DocumentModelCoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section)Publishes the document in a section overwriting any existing proxy to the same document.DocumentModelCoreSession. publishDocument(DocumentModel docToPublish, DocumentModel section, boolean overwriteExistingProxy)Publishes the document in a section.protected DocumentModelAbstractSession. readModel(Document doc, DocumentModel docModel)Gets the document model for the given core document, preserving the contextData.DocumentModelAbstractSession. saveDocument(DocumentModel docModel)DocumentModelCoreSession. saveDocument(DocumentModel docModel)Saves changes done on the given document model.voidAbstractSession. saveDocuments(DocumentModel[] docModels)voidCoreSession. saveDocuments(DocumentModel[] docModels)Bulk document saving.voidNuxeoPrincipal. setModel(DocumentModel model)voidSystemPrincipal. setModel(DocumentModel model)static DocumentModelDocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc)Writes a document model to a document.static DocumentModelDocumentModelFactory. writeDocumentModel(DocumentModel docModel, Document doc, boolean create)Writes a document model to a document.protected DocumentModelAbstractSession. writeModel(Document doc, DocumentModel docModel)protected DocumentModelAbstractSession. writeModel(Document doc, DocumentModel docModel, boolean create)Method parameters in org.nuxeo.ecm.core.api with type arguments of type DocumentModel Modifier and Type Method Description DocumentModelAbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)DocumentModelAbstractSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)DocumentModelCoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)Gets a document if it exists, otherwise creates it.DocumentModelCoreSession. getOrCreateDocument(DocumentModel docModel, Function<DocumentModel,DocumentModel> postCreate)Gets a document if it exists, otherwise creates it.voidAbstractSession. importDocuments(List<DocumentModel> docModels)voidCoreSession. importDocuments(List<DocumentModel> docModels)Low-level import of documents, reserved for the administrator.Constructors in org.nuxeo.ecm.core.api with parameters of type DocumentModel Constructor Description DocumentTreeIterator(CoreSession session, DocumentModel root)Creates the iterator given the tree root.DocumentTreeIterator(CoreSession session, DocumentModel root, boolean excludeRoot)InstanceRef(DocumentModel doc, NuxeoPrincipal principal) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.adapter
Methods in org.nuxeo.ecm.core.api.adapter with parameters of type DocumentModel Modifier and Type Method Description ObjectDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.blobholder
Fields in org.nuxeo.ecm.core.api.blobholder declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentBlobHolder. docprotected DocumentModelDownloadContextBlobHolder. docMethods in org.nuxeo.ecm.core.api.blobholder that return DocumentModel Modifier and Type Method Description DocumentModelDocumentBlobHolder. getDocument()DocumentModelDownloadContextBlobHolder. getDocument()Methods in org.nuxeo.ecm.core.api.blobholder with parameters of type DocumentModel Modifier and Type Method Description ObjectBlobHolderAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)BlobHolderBlobHolderFactory. getBlobHolder(DocumentModel doc)BlobHolderBlobHolderAdapterComponent. getBlobHolderAdapter(DocumentModel doc)BlobHolderBlobHolderAdapterComponent. getBlobHolderAdapter(DocumentModel doc, String factoryName)BlobHolderBlobHolderAdapterService. getBlobHolderAdapter(DocumentModel doc)BlobHolderBlobHolderAdapterService. getBlobHolderAdapter(DocumentModel doc, String factoryName)Get a blob holder adapter instantiated by given factory name.voidDownloadContextBlobHolder. setDocument(DocumentModel doc)Constructors in org.nuxeo.ecm.core.api.blobholder with parameters of type DocumentModel Constructor Description DocumentBlobHolder(DocumentModel doc, String xPath)DocumentBlobHolder(DocumentModel doc, String xPath, List<Blob> blobList)DocumentStringBlobHolder(DocumentModel doc, String path)DocumentStringBlobHolder(DocumentModel doc, String path, String mime_type) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.impl
Classes in org.nuxeo.ecm.core.api.impl that implement DocumentModel Modifier and Type Class Description classDocumentModelImplStandard implementation of aDocumentModel.classSimpleDocumentModelA DocumentModel that can have any schema and is not made persistent by itself.Fields in org.nuxeo.ecm.core.api.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModelUserPrincipal. modelMethods in org.nuxeo.ecm.core.api.impl that return DocumentModel Modifier and Type Method Description DocumentModelDocumentModelImpl. clone()DocumentModelSimpleDocumentModel. clone()DocumentModelUserPrincipal. getModel()DocumentModelDocumentModelChildrenIterator. next()Methods in org.nuxeo.ecm.core.api.impl that return types with arguments of type DocumentModel Modifier and Type Method Description Iterator<DocumentModel>DocumentModelChildrenIterator. iterator()Methods in org.nuxeo.ecm.core.api.impl with parameters of type DocumentModel Modifier and Type Method Description booleanCompoundFilter. accept(DocumentModel docModel)booleanFacetFilter. accept(DocumentModel docModel)booleanLifeCycleFilter. accept(DocumentModel docModel)booleanPermissionFilter. accept(DocumentModel docModel)voidDocumentModelImpl. copyContent(DocumentModel sourceDoc)voidSimpleDocumentModel. copyContent(DocumentModel sourceDoc)voidDocumentModelImpl. copyContextData(DocumentModel otherDocument)voidSimpleDocumentModel. copyContextData(DocumentModel otherDocument)protected booleanPermissionFilter. hasPermission(CoreSession session, DocumentModel doc, Set<String> permissions, boolean required)voidUserPrincipal. setModel(DocumentModel model)Constructors in org.nuxeo.ecm.core.api.impl with parameters of type DocumentModel Constructor Description DocumentLocationImpl(DocumentModel doc)DocumentModelImpl(DocumentModel parent, String name, String type)Constructor parameters in org.nuxeo.ecm.core.api.impl with type arguments of type DocumentModel Constructor Description DocumentModelListImpl(List<DocumentModel> list)DocumentModelListImpl(List<DocumentModel> list, long totalSize)Constructs a DocumentModelListImpl and sets the "total size" information. -
Uses of DocumentModel in org.nuxeo.ecm.core.api.localconfiguration
Methods in org.nuxeo.ecm.core.api.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description <T extends LocalConfiguration>
TLocalConfigurationService. getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc)Returns the firstLocalConfigurationaccessible from thecurrentDoc,nullotherwise.<T extends LocalConfiguration>
TLocalConfigurationServiceImpl. getConfiguration(Class<T> configurationClass, String configurationFacet, DocumentModel currentDoc) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.model.resolver
Fields in org.nuxeo.ecm.core.api.model.resolver declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentPropertyObjectResolverImpl. docMethods in org.nuxeo.ecm.core.api.model.resolver with parameters of type DocumentModel Modifier and Type Method Description static DocumentPropertyObjectResolverImplDocumentPropertyObjectResolverImpl. create(DocumentModel doc, String xpath)Constructors in org.nuxeo.ecm.core.api.model.resolver with parameters of type DocumentModel Constructor Description DocumentPropertyObjectResolverImpl(DocumentModel doc, String xpath, ObjectResolver resolver) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.pathsegment
Methods in org.nuxeo.ecm.core.api.pathsegment with parameters of type DocumentModel Modifier and Type Method Description StringPathSegmentComponent. generatePathSegment(DocumentModel doc)StringPathSegmentService. generatePathSegment(DocumentModel doc)Generate the path segment to use for aDocumentModelthat's about to be created.StringPathSegmentServiceCompat. generatePathSegment(DocumentModel doc)StringPathSegmentServiceDefault. generatePathSegment(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.propertiesmapping
Methods in org.nuxeo.ecm.core.api.propertiesmapping with parameters of type DocumentModel Modifier and Type Method Description voidPropertiesMappingService. mapProperties(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mappingName)Copies the properties defined by the given xpaths in the mapping from the target to the source document. -
Uses of DocumentModel in org.nuxeo.ecm.core.api.propertiesmapping.impl
Methods in org.nuxeo.ecm.core.api.propertiesmapping.impl with parameters of type DocumentModel Modifier and Type Method Description voidPropertiesMappingComponent. mapProperties(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mapping) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.thumbnail
Fields in org.nuxeo.ecm.core.api.thumbnail declared as DocumentModel Modifier and Type Field Description protected DocumentModelThumbnailAdapter. docMethods in org.nuxeo.ecm.core.api.thumbnail with parameters of type DocumentModel Modifier and Type Method Description BlobThumbnailFactory. computeThumbnail(DocumentModel doc, CoreSession session)BlobThumbnailService. computeThumbnail(DocumentModel doc, CoreSession session)Compute the thumbnail (related to the document type/facet)BlobThumbnailServiceImpl. computeThumbnail(DocumentModel doc, CoreSession session)ObjectThumbnailAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)BlobThumbnailFactory. getThumbnail(DocumentModel doc, CoreSession session)BlobThumbnailService. getThumbnail(DocumentModel doc, CoreSession session)Get the document thumbnail (related to the doc type/facet)BlobThumbnailServiceImpl. getThumbnail(DocumentModel doc, CoreSession session)ThumbnailFactoryThumbnailServiceImpl. getThumbnailFactory(DocumentModel doc, CoreSession session)Constructors in org.nuxeo.ecm.core.api.thumbnail with parameters of type DocumentModel Constructor Description ThumbnailAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.trash
Methods in org.nuxeo.ecm.core.api.trash that return DocumentModel Modifier and Type Method Description DocumentModelTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)Gets the first non trashed ancestor.Methods in org.nuxeo.ecm.core.api.trash with parameters of type DocumentModel Modifier and Type Method Description default booleanTrashService. canPurgeOrUntrash(DocumentModel doc, NuxeoPrincipal principal)Is document purgeable/untrashable?DocumentModelTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)Gets the first non trashed ancestor.DocumentModelListTrashService. getDocuments(DocumentModel parent)Deprecated.since 11.1, not scalableStringTrashService. mangleName(DocumentModel doc)Mangles the name of a document to avoid collisions with non-trashed documents when it's in the trash.voidTrashService. purgeDocumentsUnder(DocumentModel parent)Purges (completely deletes) trashed documents under the given parent.default voidTrashService. trashDocument(DocumentModel doc)Moves document to the trash.StringTrashService. unmangleName(DocumentModel doc)Unmangles the name of a document in the trash to find its un-trashed name.default voidTrashService. untrashDocument(DocumentModel doc)Unmoves document from the trash.Method parameters in org.nuxeo.ecm.core.api.trash with type arguments of type DocumentModel Modifier and Type Method Description booleanTrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)Are all documents purgeable/undeletable?voidTrashService. trashDocuments(List<DocumentModel> docs)Moves documents to the trash.voidTrashService. untrashDocuments(List<DocumentModel> docs)Unmoves documents from the trash. -
Uses of DocumentModel in org.nuxeo.ecm.core.api.tree
Methods in org.nuxeo.ecm.core.api.tree with parameters of type DocumentModel Modifier and Type Method Description booleanDefaultDocumentTreeFilter. accept(DocumentModel document)intDefaultDocumentTreeSorter. compare(DocumentModel doc1, DocumentModel doc2) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.validation
Methods in org.nuxeo.ecm.core.api.validation with parameters of type DocumentModel Modifier and Type Method Description DocumentValidationReportDocumentValidationService. validate(DocumentModel document)DocumentValidationReportDocumentValidationService. validate(DocumentModel document, boolean dirtyOnly)DocumentValidationReportDocumentValidationServiceImpl. validate(DocumentModel document)DocumentValidationReportDocumentValidationServiceImpl. validate(DocumentModel document, boolean dirtyOnly) -
Uses of DocumentModel in org.nuxeo.ecm.core.api.versioning
Methods in org.nuxeo.ecm.core.api.versioning with parameters of type DocumentModel Modifier and Type Method Description voidVersioningService. doAutomaticVersioning(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)Does automatic versioning if a policy exists for the current input context.List<VersioningOption>VersioningService. getSaveOptions(DocumentModel doc)Checks what options are available on a document at save time.StringVersioningService. getVersionLabel(DocumentModel doc)Gets the version label to display for a given document. -
Uses of DocumentModel in org.nuxeo.ecm.core.blob
Methods in org.nuxeo.ecm.core.blob with parameters of type DocumentModel Modifier and Type Method Description InputStreamDocumentBlobManager. getConvertedStream(Blob blob, String mimeType, DocumentModel doc)Gets anInputStreamfor a conversion to the given MIME type.InputStreamDocumentBlobManagerComponent. getConvertedStream(Blob blob, String mimeType, DocumentModel doc)default InputStreamDocumentBlobProvider. getConvertedStream(ManagedBlob blob, String mimeType, DocumentModel doc)Gets anInputStreamfor a conversion to the given MIME type. -
Uses of DocumentModel in org.nuxeo.ecm.core.event
Classes in org.nuxeo.ecm.core.event that implement DocumentModel Modifier and Type Class Description classDeletedDocumentModelConstructors in org.nuxeo.ecm.core.event with parameters of type DocumentModel Constructor Description DeletedDocumentModel(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.event.impl
Classes in org.nuxeo.ecm.core.event.impl that implement DocumentModel Modifier and Type Class Description classShallowDocumentModelLight weightDocumentModelimplementation Only holdsDocumentRef, RepositoryName, name, path and context data.Methods in org.nuxeo.ecm.core.event.impl that return DocumentModel Modifier and Type Method Description DocumentModelShallowDocumentModel. clone()DocumentModelDocumentEventContext. getSourceDocument()Methods in org.nuxeo.ecm.core.event.impl with parameters of type DocumentModel Modifier and Type Method Description voidShallowDocumentModel. copyContent(DocumentModel sourceDoc)voidShallowDocumentModel. copyContextData(DocumentModel otherDocument)Constructors in org.nuxeo.ecm.core.event.impl with parameters of type DocumentModel Constructor Description DocumentEventContext(CoreSession session, NuxeoPrincipal principal, DocumentModel source)DocumentEventContext(CoreSession session, NuxeoPrincipal principal, DocumentModel source, DocumentRef destDoc)ShallowDocumentModel(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.filter
Methods in org.nuxeo.ecm.core.filter with parameters of type DocumentModel Modifier and Type Method Description voidCharacterFilteringService. filter(DocumentModel docModel)Removes all disallowed characters from the dirty document properties.voidCharacterFilteringServiceImpl. filter(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.core.io
Methods in org.nuxeo.ecm.core.io with parameters of type DocumentModel Modifier and Type Method Description InputStreamDocumentXMLExporter. 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.InputSourceDocumentXMLExporter. exportXMLAsInputSource(DocumentModel doc, CoreSession session)Exports a document to XML as anInputSource.voidExportExtension. updateExport(DocumentModel docModel, ExportedDocumentImpl result)voidImportExtension. updateImport(CoreSession session, DocumentModel docModel, ExportedDocument result) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.avro
Methods in org.nuxeo.ecm.core.io.avro that return DocumentModel Modifier and Type Method Description protected DocumentModelDocumentModelMapper. documentModelFromAvro(org.apache.avro.generic.GenericRecord input)DocumentModelDocumentModelMapper. fromAvro(org.apache.avro.Schema schema, org.apache.avro.generic.GenericRecord input)Methods in org.nuxeo.ecm.core.io.avro with parameters of type DocumentModel Modifier and Type Method Description org.apache.avro.SchemaDocumentModelSchemaFactory. createSchema(DocumentModel input)protected voidDocumentModelMapper. documentModelToAvro(org.apache.avro.Schema schema, DocumentModel doc, org.apache.avro.generic.GenericRecord record)StringDocumentModelSchemaFactory. getName(DocumentModel input)org.apache.avro.generic.GenericRecordDocumentModelMapper. toAvro(org.apache.avro.Schema schema, DocumentModel input) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.download
Fields in org.nuxeo.ecm.core.io.download declared as DocumentModel Modifier and Type Field Description protected DocumentModelDownloadService.DownloadContext.Builder. docprotected DocumentModelDownloadService.DownloadContext. docMethods in org.nuxeo.ecm.core.io.download that return DocumentModel Modifier and Type Method Description DocumentModelDownloadService.DownloadContext. getDocumentModel()Methods in org.nuxeo.ecm.core.io.download with parameters of type DocumentModel Modifier and Type Method Description booleanDownloadService. checkPermission(DocumentModel doc, String xpath, Blob blob, String reason, Map<String,Serializable> extendedInfos)Checks whether the download of the blob is allowed.booleanDownloadServiceImpl. checkPermission(DocumentModel doc, String xpath, Blob blob, String reason, Map<String,Serializable> extendedInfos)DownloadService.DownloadContext.BuilderDownloadService.DownloadContext.Builder. doc(DocumentModel doc)The document from which to download the blob.voidDownloadService. 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)insteadvoidDownloadService. 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)insteadvoidDownloadService. 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)insteadvoidDownloadService. 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)insteadvoidDownloadServiceImpl. downloadBlob(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason)Deprecated.voidDownloadServiceImpl. 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.voidDownloadServiceImpl. 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.voidDownloadServiceImpl. 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.StringDownloadService. getDownloadUrl(DocumentModel doc, String xpath, String filename)Gets the URL to use to download the blob at the given xpath in the given document.StringDownloadServiceImpl. getDownloadUrl(DocumentModel doc, String xpath, String filename)StringDownloadService. getFullDownloadUrl(DocumentModel doc, String xpath, Blob blob, String baseUrl)Gets the full download URL (after redirects if configured so) for the given blob.StringDownloadServiceImpl. getFullDownloadUrl(DocumentModel doc, String xpath, Blob blob, String baseUrl)voidDownloadService. logDownload(javax.servlet.http.HttpServletRequest request, DocumentModel doc, String blobXPath, String filename, String reason, Map<String,Serializable> extendedInfos)Logs a download.default voidDownloadService. logDownload(DocumentModel doc, String blobXPath, String filename, String reason, Map<String,Serializable> extendedInfos)Deprecated.since 11.1, use the signature including the requestvoidDownloadServiceImpl. logDownload(javax.servlet.http.HttpServletRequest request, DocumentModel doc, String xpath, String filename, String reason, Map<String,Serializable> extendedInfos)BlobDownloadService. resolveBlob(DocumentModel doc)Finds a document's blob.BlobDownloadService. resolveBlob(DocumentModel doc, String xpath)Finds a document's blob given an xpath or blobholder indexBlobDownloadServiceImpl. resolveBlob(DocumentModel doc)BlobDownloadServiceImpl. resolveBlob(DocumentModel doc, String xpath)Constructors in org.nuxeo.ecm.core.io.download with parameters of type DocumentModel Constructor Description DownloadContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, DocumentModel doc, String xpath, Blob blob, String filename, String reason, Map<String,Serializable> extendedInfos, Boolean inline, Consumer<ByteRange> blobTransferer, Calendar lastModified) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.impl
Methods in org.nuxeo.ecm.core.io.impl that return DocumentModel Modifier and Type Method Description protected DocumentModelAbstractDocumentModelWriter. createDocument(ExportedDocument xdoc, Path toPath)Creates a new document given its path.protected DocumentModelAbstractDocumentModelWriter. updateDocument(ExportedDocument xdoc, DocumentModel doc)Updates an existing document.Methods in org.nuxeo.ecm.core.io.impl with parameters of type DocumentModel Modifier and Type Method Description protected voidAbstractDocumentModelWriter. beforeCreateDocument(DocumentModel doc)protected voidAbstractDocumentModelWriter. beforeSaveDocument(DocumentModel doc)InputStreamDocumentXMLExporterImpl. exportXML(DocumentModel doc, CoreSession session)Exports a document to XML as anInputStream.byte[]DocumentXMLExporterImpl. exportXMLAsByteArray(DocumentModel doc, CoreSession session)Exports a document to XML as a byte array.InputSourceDocumentXMLExporterImpl. exportXMLAsInputSource(DocumentModel doc, CoreSession session)Exports a document to XML as anInputSource.protected booleanAbstractDocumentModelWriter. loadFacetsInfo(DocumentModel docModel, org.dom4j.Document doc)protected static voidAbstractDocumentModelWriter. loadSchema(ExportedDocument xdoc, Schema schema, DocumentModel doc, org.dom4j.Element schemaElement)protected voidAbstractDocumentModelWriter. loadSchemas(ExportedDocument xdoc, DocumentModel docModel, org.dom4j.Document doc)protected voidAbstractDocumentModelWriter. loadSystemInfo(DocumentModel docModel, org.dom4j.Document doc)protected voidExportedDocumentImpl. readDocument(DocumentModel doc, boolean inlineBlobs)protected voidExportedDocumentImpl. readDocumentSchemas(org.dom4j.Element element, DocumentModel doc, boolean inlineBlobs)protected voidExportedDocumentImpl. readFacets(org.dom4j.Element element, DocumentModel doc)protected voidExportedDocumentImpl. readLifeCycleInfo(org.dom4j.Element element, DocumentModel doc)protected DocumentModelAbstractDocumentModelWriter. updateDocument(ExportedDocument xdoc, DocumentModel doc)Updates an existing document.Constructors in org.nuxeo.ecm.core.io.impl with parameters of type DocumentModel Constructor Description ExportedDocumentImpl(DocumentModel doc)ExportedDocumentImpl(DocumentModel doc, boolean inlineBlobs)ExportedDocumentImpl(DocumentModel doc, Path path, boolean inlineBlobs)TypedExportedDocumentImpl(DocumentModel doc)Instantiates a new typed exported document impl.TypedExportedDocumentImpl(DocumentModel doc, boolean inlineBlobs)Instantiates a new typed exported document impl.TypedExportedDocumentImpl(DocumentModel doc, Path path, boolean inlineBlobs)Instantiates a new typed exported document impl. -
Uses of DocumentModel in org.nuxeo.ecm.core.io.impl.extensions
Methods in org.nuxeo.ecm.core.io.impl.extensions with parameters of type DocumentModel Modifier and Type Method Description voidLockExporterExtension. updateExport(DocumentModel docModel, ExportedDocumentImpl result)voidVersionInfoExportExtension. updateExport(DocumentModel docModel, ExportedDocumentImpl result)voidDocumentLockImporter. updateImport(CoreSession session, DocumentModel docModel, ExportedDocument xdoc) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.impl.plugins
Fields in org.nuxeo.ecm.core.io.impl.plugins declared as DocumentModel Modifier and Type Field Description protected DocumentModelSingleDocumentReader. docFields in org.nuxeo.ecm.core.io.impl.plugins with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>ExtensibleDocumentTreeReader. pendingVersionsMethods in org.nuxeo.ecm.core.io.impl.plugins that return DocumentModel Modifier and Type Method Description protected DocumentModelExtensibleDocumentWriter. createDocument(ExportedDocument xdoc, Path toPath)Constructors in org.nuxeo.ecm.core.io.impl.plugins with parameters of type DocumentModel Constructor Description DocumentTreeReader(CoreSession session, DocumentModel root)DocumentTreeReader(CoreSession session, DocumentModel root, boolean excludeRoot)ExtensibleDocumentTreeReader(CoreSession session, DocumentModel root)ExtensibleDocumentTreeReader(CoreSession session, DocumentModel root, boolean excludeRoot)SingleDocumentReader(CoreSession session, DocumentModel root)TypedSingleDocumentReader(CoreSession session, DocumentModel root)Constructor parameters in org.nuxeo.ecm.core.io.impl.plugins with type arguments of type DocumentModel Constructor Description DocumentsListReader(CoreSession session, List<DocumentModel> docsList) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.marshallers.json.document
Methods in org.nuxeo.ecm.core.io.marshallers.json.document that return DocumentModel Modifier and Type Method Description protected DocumentModelDocumentModelJsonReader. getDocument(com.fasterxml.jackson.databind.JsonNode jn)DocumentModelDocumentModelJsonReader. read(Class<?> clazz, Type genericType, javax.ws.rs.core.MediaType mediaType, InputStream in)protected DocumentModelDocumentModelJsonReader. readEntity(com.fasterxml.jackson.databind.JsonNode jn)Methods in org.nuxeo.ecm.core.io.marshallers.json.document with parameters of type DocumentModel Modifier and Type Method Description static voidDocumentModelJsonReader. applyAllPropertyValues(DocumentModel src, DocumentModel dst)static voidDocumentModelJsonReader. applyDirtyPropertyValues(DocumentModel src, DocumentModel dst)protected static voidDocumentModelJsonReader. applyPropertyValue(Property property, DocumentModel dst)static voidDocumentModelJsonReader. applyPropertyValues(DocumentModel src, DocumentModel dst)static voidDocumentModelJsonReader. applyPropertyValues(DocumentModel src, DocumentModel dst, boolean dirtyOnly)protected voidDocumentModelJsonWriter. writeEntityBody(DocumentModel doc, com.fasterxml.jackson.core.JsonGenerator jg)protected voidDocumentModelJsonWriter. writeSchemaProperties(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String schemaName)Method parameters in org.nuxeo.ecm.core.io.marshallers.json.document with type arguments of type DocumentModel Modifier and Type Method Description voidDocumentModelListJsonWriter. write(List<DocumentModel> docs, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.marshallers.json.enrichers
Methods in org.nuxeo.ecm.core.io.marshallers.json.enrichers with parameters of type DocumentModel Modifier and Type Method Description voidBasePermissionsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidBreadcrumbJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidChildrenJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidContextualParametersJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel enriched)voidFirstAccessibleAncestorJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidHasFolderishChildJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidSubtypesJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel enriched)Deprecated.voidUserVisiblePermissionsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.core.io.registry.context
Methods in org.nuxeo.ecm.core.io.registry.context with parameters of type DocumentModel Modifier and Type Method Description RenderingContext.SessionWrapperRenderingContext. getSession(DocumentModel document)Gets the currentCoreSessionor try to create one.RenderingContext.SessionWrapperRenderingContextImpl. getSession(DocumentModel document)RenderingContext.SessionWrapperThreadSafeRenderingContext. getSession(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.core.lifecycle.event
Methods in org.nuxeo.ecm.core.lifecycle.event with parameters of type DocumentModel Modifier and Type Method Description protected voidBulkLifeCycleChangeListener. changeChildrenState(CoreSession session, String transition, String targetState, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.management.storage
Methods in org.nuxeo.ecm.core.management.storage that return DocumentModel Modifier and Type Method Description protected DocumentModelDocumentStoreManager. createRootlet(CoreSession session)Methods in org.nuxeo.ecm.core.management.storage with parameters of type DocumentModel Modifier and Type Method Description protected AdministrativeStatusDocumentModelStatusPersister.StatusFetcher. wrap(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.impl.client
Methods in org.nuxeo.ecm.core.opencmis.impl.client with parameters of type DocumentModel Modifier and Type Method Description org.apache.chemistry.opencmis.client.api.CmisObjectNuxeoSession. getObject(DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)Gets a CMIS object given a NuxeoDocumentModel. -
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.impl.server
Fields in org.nuxeo.ecm.core.opencmis.impl.server declared as DocumentModel Modifier and Type Field Description DocumentModelNuxeoObjectData. docprotected DocumentModelNuxeoPropertyDataBase. docMethods in org.nuxeo.ecm.core.opencmis.impl.server that return DocumentModel Modifier and Type Method Description protected DocumentModelNuxeoCmisService. 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 DocumentModelNuxeoCmisService. createDocumentModel(org.apache.chemistry.opencmis.client.api.ObjectId folder, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)Creates bare unsaved document model.protected DocumentModelNuxeoCmisService. getDocumentModel(String id)protected DocumentModelNuxeoCmisService. getObjectByPathOfNames(String path)Gets a document given a path built out of dc:title components.Methods in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type DocumentModel Modifier and Type Method Description static NuxeoContentStreamNuxeoContentStream. 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.AllowableActionsNuxeoObjectData. getAllowableActions(DocumentModel doc, boolean creation)static org.apache.chemistry.opencmis.commons.enums.BaseTypeIdNuxeoTypeHelper. getBaseTypeId(DocumentModel doc)protected static BlobNuxeoPropertyData. getBlob(DocumentModel doc)static org.apache.chemistry.opencmis.commons.data.ContentStreamNuxeoPropertyData. getContentStream(DocumentModel doc, javax.servlet.http.HttpServletRequest request)Deprecated.since 11.1, now unusedstatic List<String>NuxeoPropertyData. getFacets(DocumentModel doc)Gets the doc's relevant facets.protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData>NuxeoObjectData. getIconRendition(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)Deprecated.since 7.3.static List<org.apache.chemistry.opencmis.commons.data.RenditionData>NuxeoObjectData. getRenditions(DocumentModel doc, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.server.CallContext callContext)protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData>NuxeoObjectData. getRenditionServiceRenditions(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)static List<String>NuxeoPropertyData. getSecondaryTypeIds(DocumentModel doc)Gets the doc's secondary type ids.static StringNuxeoPropertyData.NuxeoPropertyDataName. getValue(DocumentModel doc)Gets the value for the cmis:name property.booleanNuxeoCmisService. isFilteredOut(DocumentModel doc)Checks if the doc should be ignored because it is "invisible" (deleted, hidden in navigation).protected static booleanNuxeoPropertyData. isVersionOrProxyToVersion(DocumentModel doc)protected voidNuxeoCmisService. setChangeTokenForUpdate(DocumentModel doc, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder)static voidNuxeoPropertyData. setContentStream(DocumentModel doc, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, boolean overwrite)static voidNuxeoPropertyData. validateBlobDigest(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)Constructors in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type DocumentModel Constructor Description NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc)NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)NuxeoPropertyBooleanData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition, DocumentModel doc)NuxeoPropertyDataCheckInComment(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataContentStreamDigest(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataContentStreamFileName(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataContentStreamLength(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigInteger> propertyDefinition, DocumentModel doc)NuxeoPropertyDataContentStreamMimeType(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataIsLatestMajorVersion(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)NuxeoPropertyDataIsLatestVersion(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)NuxeoPropertyDataIsMajorVersion(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)NuxeoPropertyDataIsVersionSeriesCheckedOut(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition, DocumentModel doc)NuxeoPropertyDataName(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataParentId(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataPath(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataVersionLabel(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDataVersionSeriesCheckedOutBy(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyDataVersionSeriesCheckedOutId(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc)NuxeoPropertyDateTimeData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<GregorianCalendar> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyDecimalData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigDecimal> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyHtmlData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyIdData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyIntegerData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigInteger> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyStringData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext)NuxeoPropertyUriData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition, DocumentModel doc, String name, boolean readOnly, org.apache.chemistry.opencmis.commons.server.CallContext callContext) -
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.impl.server.versioning
Methods in org.nuxeo.ecm.core.opencmis.impl.server.versioning with parameters of type DocumentModel Modifier and Type Method Description booleanCMISVersioningFilter. test(DocumentModel previousDocument, DocumentModel currentDocument) -
Uses of DocumentModel in org.nuxeo.ecm.core.opencmis.tests
Methods in org.nuxeo.ecm.core.opencmis.tests that return DocumentModel Modifier and Type Method Description static DocumentModelHelper. createDocument(CoreSession session, DocumentModel doc)static DocumentModelHelper. saveDocument(CoreSession session, DocumentModel doc)Methods in org.nuxeo.ecm.core.opencmis.tests with parameters of type DocumentModel Modifier and Type Method Description static DocumentModelHelper. createDocument(CoreSession session, DocumentModel doc)static DocumentModelHelper. saveDocument(CoreSession session, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.rest
Fields in org.nuxeo.ecm.core.rest declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentObject. docMethods in org.nuxeo.ecm.core.rest that return DocumentModel Modifier and Type Method Description protected DocumentModelCommentService. createCommentDocument(CoreSession session, DocumentModel target, DocumentModel comment)Deprecated.Can be overwritten to allow creation of localized comment.static DocumentModelDocumentHelper. createDocument(WebContext context, DocumentModel parent, String name)DocumentModelDocumentObject. getDocument()static DocumentModelDocumentHelper. updateDocument(WebContext ctx, DocumentModel doc)Methods in org.nuxeo.ecm.core.rest with parameters of type DocumentModel Modifier and Type Method Description protected voidCommentService. approveComent(CoreSession session, DocumentModel target, DocumentModel comment)Deprecated.Can be overwritten to allow workflow.protected DocumentModelCommentService. createCommentDocument(CoreSession session, DocumentModel target, DocumentModel comment)Deprecated.Can be overwritten to allow creation of localized comment.static DocumentModelDocumentHelper. createDocument(WebContext context, DocumentModel parent, String name)protected voidCommentService. deleteComment(DocumentModel target, DocumentModel comment)Deprecated.Can be overwritten to allow workflow.static DocumentObjectDocumentFactory. newDocument(WebContext ctx, DocumentModel doc)DocumentObjectDocumentObject. newDocument(DocumentModel doc)static DocumentObjectDocumentFactory. newDocumentRoot(WebContext ctx, DocumentModel doc)protected voidCommentService. publishComment(CoreSession session, DocumentModel target, DocumentModel comment)Deprecated.Can be overwritten to allow workflow.protected voidCommentService. rejectComment(CoreSession session, DocumentModel target, DocumentModel comment)Deprecated.Can be overwritten to allow workflow.static DocumentModelDocumentHelper. updateDocument(WebContext ctx, DocumentModel doc)Constructors in org.nuxeo.ecm.core.rest with parameters of type DocumentModel Constructor Description DocumentRoot(WebContext ctx, DocumentModel root) -
Uses of DocumentModel in org.nuxeo.ecm.core.search.api.client.search.results.impl
Fields in org.nuxeo.ecm.core.search.api.client.search.results.impl declared as DocumentModel Modifier and Type Field Description DocumentModelDocumentModelResultItem. docMethods in org.nuxeo.ecm.core.search.api.client.search.results.impl that return DocumentModel Modifier and Type Method Description DocumentModelDocumentModelResultItem. getDocumentModel()Constructors in org.nuxeo.ecm.core.search.api.client.search.results.impl with parameters of type DocumentModel Constructor Description DocumentModelResultItem(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.storage
Fields in org.nuxeo.ecm.core.storage declared as DocumentModel Modifier and Type Field Description protected DocumentModelFulltextExtractorWork. documentMethods in org.nuxeo.ecm.core.storage with parameters of type DocumentModel Modifier and Type Method Description voidFulltextExtractorWork. extractBinaryFulltext(CoreSession session, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.core.trash
Fields in org.nuxeo.ecm.core.trash with type parameters of type DocumentModel Modifier and Type Field Description List<DocumentModel>TrashInfo. docsDocs found ok.Methods in org.nuxeo.ecm.core.trash that return DocumentModel Modifier and Type Method Description DocumentModelAbstractTrashService. getAboveDocument(DocumentModel doc, Set<Path> rootPaths)DocumentModelAbstractTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)DocumentModelTrashService. getAboveDocument(DocumentModel doc, Set<Path> paths)Deprecated.since 10.1 only used in JSF part, useTrashService.getAboveDocument(DocumentModel, NuxeoPrincipal)instead.Methods in org.nuxeo.ecm.core.trash with parameters of type DocumentModel Modifier and Type Method Description protected voidAbstractTrashService. checkCanTrash(DocumentModel model)Deprecated.since 2023,AbstractSession.canRemoveDocument(DocumentRef)does this checkintAbstractTrashService.PathComparator. compare(DocumentModel doc1, DocumentModel doc2)protected voidPropertyTrashService. doTrashDocument(DocumentModel doc)protected Set<DocumentRef>PropertyTrashService. doUntrashDocument(DocumentModel doc, boolean processChildren)booleanAbstractTrashService. folderAllowsDelete(DocumentModel folder)booleanTrashService. folderAllowsDelete(DocumentModel folder)Deprecated.since 10.1 only used in JSF part, no replacementDocumentModelAbstractTrashService. getAboveDocument(DocumentModel doc, Set<Path> rootPaths)DocumentModelAbstractTrashService. getAboveDocument(DocumentModel doc, NuxeoPrincipal principal)DocumentModelTrashService. getAboveDocument(DocumentModel doc, Set<Path> paths)Deprecated.since 10.1 only used in JSF part, useTrashService.getAboveDocument(DocumentModel, NuxeoPrincipal)instead.protected static StringAbstractTrashService. getDocumentLocker(DocumentModel doc)DocumentModelListAbstractTrashService. getDocuments(DocumentModel parent)StringAbstractTrashService. mangleName(DocumentModel doc)protected voidAbstractTrashService. notifyEvent(CoreSession session, String eventId, DocumentModel doc)protected voidAbstractTrashService. notifyEvent(CoreSession session, String eventId, DocumentModel doc, boolean immediate)protected voidAbstractTrashService. notifyEvent(CoreSession session, String eventId, DocumentModel doc, boolean immediate, boolean inline)voidAbstractTrashService. purgeDocumentsUnder(DocumentModel parent)protected voidPropertyTrashService. trashDescendants(DocumentModel model, Boolean value)protected voidLifeCycleTrashService. trashDocument(CoreSession session, DocumentModel doc)Deprecated.protected voidLifeCycleTrashService. undeleteDocument(CoreSession session, DocumentModel doc)Deprecated.StringAbstractTrashService. unmangleName(DocumentModel doc)Method parameters in org.nuxeo.ecm.core.trash with type arguments of type DocumentModel Modifier and Type Method Description booleanAbstractTrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)booleanTrashService. canDelete(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies)Deprecated.since 10.1 only used in JSF part, no replacementdefault booleanTrashService. canPurgeOrUndelete(List<DocumentModel> docs, NuxeoPrincipal principal)Deprecated.since 10.1, useTrashService.canPurgeOrUntrash(List, NuxeoPrincipal)booleanAbstractTrashService. canPurgeOrUntrash(List<DocumentModel> docs, NuxeoPrincipal principal)booleanAbstractTrashService. checkDeletePermOnParents(List<DocumentModel> docs)booleanTrashService. checkDeletePermOnParents(List<DocumentModel> docs)Deprecated.since 10.1 only used in JSF part, no replacementprotected TrashInfoAbstractTrashService. getInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)TrashInfoAbstractTrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)TrashInfoTrashService. getTrashInfo(List<DocumentModel> docs, NuxeoPrincipal principal, boolean checkProxies, boolean checkDeleted)Deprecated.since 10.1 only used in JSF part, no replacementvoidBridgeTrashService. trashDocuments(List<DocumentModel> docs)voidLifeCycleTrashService. trashDocuments(List<DocumentModel> docs)Deprecated.voidPropertyTrashService. trashDocuments(List<DocumentModel> docs)protected Set<DocumentRef>LifeCycleTrashService. undeleteDocumentList(CoreSession session, List<DocumentModel> docs)Deprecated.Undeletes a list of documents.Set<DocumentRef>BridgeTrashService. undeleteDocuments(List<DocumentModel> docs)Set<DocumentRef>LifeCycleTrashService. undeleteDocuments(List<DocumentModel> docs)Deprecated.Set<DocumentRef>PropertyTrashService. undeleteDocuments(List<DocumentModel> docs)Set<DocumentRef>TrashService. undeleteDocuments(List<DocumentModel> docs)Deprecated.since 10.1 useTrashService.untrashDocuments(List)insteadvoidAbstractTrashService. untrashDocuments(List<DocumentModel> docs) -
Uses of DocumentModel in org.nuxeo.ecm.core.uidgen
Methods in org.nuxeo.ecm.core.uidgen with parameters of type DocumentModel Modifier and Type Method Description StringUIDGenerator. createUID(DocumentModel document)Returns a new UID for the given doc.StringUIDGeneratorComponent. createUID(DocumentModel doc)StringUIDGeneratorService. createUID(DocumentModel doc)protected intAbstractUIDGenerator. getNext(DocumentModel document)protected longAbstractUIDGenerator. getNextLong(DocumentModel document)StringUIDGenerator. getSequenceKey(DocumentModel document)UIDGeneratorUIDGeneratorComponent. getUIDGeneratorFor(DocumentModel doc)Returns the uid generator to use for this document.UIDGeneratorUIDGeneratorService. getUIDGeneratorFor(DocumentModel doc)Returns the uid generator to use for this document.protected booleanAbstractUIDGenerator. isPropValueDefined(String propName, DocumentModel document)Checks if the property with the given name is defined and is not null.voidAbstractUIDGenerator. setUID(DocumentModel document)voidUIDGenerator. setUID(DocumentModel document)Creates a new UID for the given doc and sets the field configured in the generator component with this value.voidUIDGeneratorComponent. setUID(DocumentModel doc)Creates a new UID for the given doc and sets the field configured in the generator component with this value.voidUIDGeneratorService. setUID(DocumentModel doc)Creates a new UID for the given doc and sets the field configured in the generator component with this value.protected StringAbstractUIDGenerator. str(String propName, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.core.utils
Fields in org.nuxeo.ecm.core.utils declared as DocumentModel Modifier and Type Field Description protected DocumentModelStringsExtractor. documentMethods in org.nuxeo.ecm.core.utils with parameters of type DocumentModel Modifier and Type Method Description List<String>StringsExtractor. findStrings(DocumentModel document, Set<String> includedPaths, Set<String> excludedPaths)Finds strings from the document for a given set of included and excluded paths.List<Blob>BlobsExtractor. getBlobs(DocumentModel doc)Gets the blobs of the document.List<Property>BlobsExtractor. getBlobsProperties(DocumentModel doc)Gets the blob properties of the document.static ObjectDocumentModelUtils. getComplexPropertyValue(DocumentModel doc, String propertyPath)Obtains a property value given its path.static Map<String,Object>DocumentModelUtils. getProperties(DocumentModel docModel)Gets all properties defined in declared schemas of a DocumentModel.static ObjectDocumentModelUtils. getPropertyValue(DocumentModel doc, String propertyName)The given propertyName should have 'schema_name:property_name' format. -
Uses of DocumentModel in org.nuxeo.ecm.core.versioning
Fields in org.nuxeo.ecm.core.versioning declared as DocumentModel Modifier and Type Field Description DocumentModelVersioningDocumentAdapter. docMethods in org.nuxeo.ecm.core.versioning with parameters of type DocumentModel Modifier and Type Method Description voidStandardVersioningService. doAutomaticVersioning(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)voidVersioningComponent. doAutomaticVersioning(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)ObjectVersioningDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)protected longStandardVersioningService. getMajor(DocumentModel docModel)protected longStandardVersioningService. getMinor(DocumentModel docModel)List<VersioningOption>StandardVersioningService. getSaveOptions(DocumentModel docModel)List<VersioningOption>VersioningComponent. getSaveOptions(DocumentModel docModel)protected longStandardVersioningService. getVersion(DocumentModel docModel, String prop)StringCompatVersioningService. getVersionLabel(DocumentModel doc)Deprecated.StringStandardVersioningService. getVersionLabel(DocumentModel docModel)StringVersioningComponent. getVersionLabel(DocumentModel doc)protected booleanStandardVersioningService. isPolicyMatch(VersioningPolicyDescriptor policyDescriptor, DocumentModel previousDocument, DocumentModel currentDocument)protected VersioningPolicyDescriptorStandardVersioningService. retrieveMatchingVersioningPolicy(DocumentModel previousDocument, DocumentModel currentDocument, boolean before)booleanNoVersioningPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)booleanStandardVersioningPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)booleanVersioningPolicyFilter. test(DocumentModel previousDocument, DocumentModel currentDocument)Constructors in org.nuxeo.ecm.core.versioning with parameters of type DocumentModel Constructor Description VersioningDocumentAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.csv.core
Methods in org.nuxeo.ecm.csv.core with parameters of type DocumentModel Modifier and Type Method Description protected StringCSVImporterWork. getDocumentUrl(DocumentModel doc)protected voidDefaultCSVImporterDocumentFactory. setLifeCycleState(Map<String,Serializable> values, DocumentModel doc, String lifeCyclePropertyName) -
Uses of DocumentModel in org.nuxeo.ecm.directory
Methods in org.nuxeo.ecm.directory that return DocumentModel Modifier and Type Method Description DocumentModelEntryAdaptor. adapt(Directory directory, DocumentModel entry)Apply an arbitrary transformation of the fetched entry.DocumentModelBaseSession. createEntry(Map<String,Object> fieldMap)DocumentModelBaseSession. createEntry(DocumentModel documentModel)DocumentModelSession. createEntry(Map<String,Object> fieldMap)Creates an entry in a directory.DocumentModelSession. createEntry(DocumentModel entry)Creates an entry in a directory.static DocumentModelBaseSession. createEntryModel(String schema)Returns a bare document model suitable for directory implementations.static DocumentModelBaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values)Deprecated.since 11.1, sessionId is unusedstatic DocumentModelBaseSession. createEntryModel(String sessionId, String schema, String id, Map<String,Object> values, boolean readOnly)Deprecated.since 11.1, sessionId is unusedstatic DocumentModelBaseSession. createEntryModel(String schema, String id, Map<String,Object> values)Returns a bare document model suitable for directory implementations.static DocumentModelBaseSession. createEntryModel(String schema, String id, Map<String,Object> values, boolean readOnly)Returns a bare document model suitable for directory implementations.protected abstract DocumentModelBaseSession. createEntryWithoutReferences(Map<String,Object> fieldMap)To be implemented for specific creation.DocumentModelBaseSession. getEntry(String id)DocumentModelBaseSession. getEntry(String id, boolean fetchReferences)DocumentModelDirectoryCache. getEntry(String entryId, EntrySource source)DocumentModelDirectoryCache. getEntry(String entryId, EntrySource source, boolean fetchReferences)DocumentModelSession. getEntry(String id)Retrieves a directory entry using its id.DocumentModelSession. getEntry(String id, boolean fetchReferences)Retrieves a directory entry using its id.DocumentModelBaseSession. getEntryFromSource(String id, boolean fetchReferences)DocumentModelEntrySource. getEntryFromSource(String entryId, boolean fetchReferences)Methods in org.nuxeo.ecm.directory with parameters of type DocumentModel Modifier and Type Method Description DocumentModelEntryAdaptor. adapt(Directory directory, DocumentModel entry)Apply an arbitrary transformation of the fetched entry.DocumentModelBaseSession. createEntry(DocumentModel documentModel)DocumentModelSession. createEntry(DocumentModel entry)Creates an entry in a directory.voidBaseSession. deleteEntry(DocumentModel docModel)voidSession. deleteEntry(DocumentModel docModel)Deletes a directory entry.DirectoryDirectoryServiceImpl. getDirectory(String id, DocumentModel documentContext)protected DirectoryConfigurationDirectoryServiceImpl. getDirectoryConfiguration(DocumentModel documentContext)protected DirectoryDirectoryServiceImpl. getDirectoryOrFail(String id, DocumentModel documentContext)protected StringDirectoryEntryResolver. getHierarchicalReference(DocumentModel entry)static booleanBaseSession. isReadOnlyEntry(DocumentModel entry)Test whether entry comes from a read-only back-end directory.SessionDirectoryServiceImpl. open(String directoryName, DocumentModel documentContext)static voidBaseSession. setReadOnlyEntry(DocumentModel entry)Set the read-only flag of a directory entry.static voidBaseSession. setReadWriteEntry(DocumentModel entry)Unset the read-only flag of a directory entry.voidBaseSession. updateEntry(DocumentModel docModel)voidSession. updateEntry(DocumentModel docModel)Updates a directory entry.protected abstract List<String>BaseSession. updateEntryWithoutReferences(DocumentModel docModel)To be implemented for specific update.Method parameters in org.nuxeo.ecm.directory with type arguments of type DocumentModel Modifier and Type Method Description voidAbstractDirectory. orderEntries(List<DocumentModel> entries, Map<String,String> orderBy)Helper method to order entries. -
Uses of DocumentModel in org.nuxeo.ecm.directory.api
Methods in org.nuxeo.ecm.directory.api that return DocumentModel Modifier and Type Method Description DocumentModelDirectoryEntry. getDocumentModel()Methods in org.nuxeo.ecm.directory.api with parameters of type DocumentModel Modifier and Type Method Description DirectoryDirectoryService. getDirectory(String id, DocumentModel documentContext)Returns the directory for the specified id and document context.SessionDirectoryService. open(String directoryName, DocumentModel documentContext)Opens a session on the directory for the specified context.Constructors in org.nuxeo.ecm.directory.api with parameters of type DocumentModel Constructor Description DirectoryEntry(String dirName, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.directory.core
Methods in org.nuxeo.ecm.directory.core that return DocumentModel Modifier and Type Method Description DocumentModelCoreDirectorySession. createEntry(Map<String,Object> fieldMap)DocumentModelCoreDirectorySession. createEntryWithoutReferences(Map<String,Object> fieldMap)DocumentModelCoreDirectorySession. getEntry(String id, boolean fetchReferences)protected DocumentModelCoreDirectory. setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted)Methods in org.nuxeo.ecm.directory.core with parameters of type DocumentModel Modifier and Type Method Description voidCoreDirectorySession. deleteEntry(DocumentModel docModel)protected DocumentModelCoreDirectory. setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted)voidCoreDirectorySession. updateEntry(DocumentModel docModel)protected List<String>CoreDirectorySession. updateEntryWithoutReferences(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.impl
Methods in org.nuxeo.ecm.directory.impl that return DocumentModel Modifier and Type Method Description DocumentModelWritePolicyEntryAdaptor. adapt(Directory directory, DocumentModel entry)Methods in org.nuxeo.ecm.directory.impl with parameters of type DocumentModel Modifier and Type Method Description DocumentModelWritePolicyEntryAdaptor. adapt(Directory directory, DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.directory.ldap
Methods in org.nuxeo.ecm.directory.ldap that return DocumentModel Modifier and Type Method Description DocumentModelLDAPSession. createEntry(DocumentModel entry)protected DocumentModelLDAPSession. createEntryWithoutReferences(Map<String,Object> fieldMap)protected DocumentModelLDAPSession. fieldMapToDocumentModel(Map<String,Object> fieldMap)DocumentModelLDAPSession. getEntryFromSource(String id, boolean fetchReferences)protected DocumentModelLDAPSession. ldapResultToDocumentModel(SearchResult result, String entryId, boolean fetchReferences)Methods in org.nuxeo.ecm.directory.ldap with parameters of type DocumentModel Modifier and Type Method Description DocumentModelLDAPSession. createEntry(DocumentModel entry)protected List<String>LDAPSession. updateEntryWithoutReferences(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.localconfiguration
Methods in org.nuxeo.ecm.directory.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description ObjectDirectoryConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)Constructors in org.nuxeo.ecm.directory.localconfiguration with parameters of type DocumentModel Constructor Description DirectoryConfigurationAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.directory.memory
Methods in org.nuxeo.ecm.directory.memory that return DocumentModel Modifier and Type Method Description DocumentModelMemoryDirectorySession. createEntry(Map<String,Object> fieldMap)DocumentModelMemoryDirectorySession. createEntry(DocumentModel entry)DocumentModelMemoryDirectorySession. createEntryWithoutReferences(Map<String,Object> fieldMap)DocumentModelMemoryDirectorySession. getEntry(String id, boolean fetchReferences)Methods in org.nuxeo.ecm.directory.memory with parameters of type DocumentModel Modifier and Type Method Description DocumentModelMemoryDirectorySession. createEntry(DocumentModel entry)voidMemoryDirectorySession. deleteEntry(DocumentModel docModel)voidMemoryDirectorySession. updateEntry(DocumentModel docModel)protected List<String>MemoryDirectorySession. updateEntryWithoutReferences(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.multi
Methods in org.nuxeo.ecm.directory.multi that return DocumentModel Modifier and Type Method Description DocumentModelMultiDirectorySession. createEntry(DocumentModel entry)DocumentModelMultiDirectorySession. createEntryWithoutReferences(Map<String,Object> fieldMap)DocumentModelMultiDirectorySession. getEntry(String id, boolean fetchReferences)Methods in org.nuxeo.ecm.directory.multi with parameters of type DocumentModel Modifier and Type Method Description DocumentModelMultiDirectorySession. createEntry(DocumentModel entry)voidMultiDirectorySession. deleteEntry(DocumentModel docModel)protected static voidMultiDirectorySession. setProperties(DocumentModel doc, String schema, Map<String,Object> map)Sets the properties of the givendocandschemato the values provided by the givenmap, ensuring that anynullvalue gets transformed to an empty string for a string property.voidMultiDirectorySession. updateEntry(DocumentModel docModel)protected List<String>MultiDirectorySession. updateEntryWithoutReferences(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.directory.sql
Methods in org.nuxeo.ecm.directory.sql that return DocumentModel Modifier and Type Method Description protected DocumentModelSQLSession. createEntryWithoutReferences(Map<String,Object> fieldMap)protected DocumentModelSQLSession. fieldMapToDocumentModel(Map<String,Object> fieldMap)DocumentModelSQLSession. getEntryFromSource(String id, boolean fetchReferences)Methods in org.nuxeo.ecm.directory.sql with parameters of type DocumentModel Modifier and Type Method Description protected List<String>SQLSession. updateEntryWithoutReferences(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.core
Methods in org.nuxeo.ecm.liveconnect.core that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>AbstractLiveConnectBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> docs)Method parameters in org.nuxeo.ecm.liveconnect.core with type arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>AbstractLiveConnectBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> docs) -
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.google.drive
Methods in org.nuxeo.ecm.liveconnect.google.drive with parameters of type DocumentModel Modifier and Type Method Description InputStreamGoogleDriveBlobProvider. getConvertedStream(ManagedBlob blob, String mimeType, DocumentModel doc)protected BlobGoogleDriveBlobProvider. retrieveBlobConversion(ManagedBlob blob, String mimeType, DocumentModel doc)Retrieve a stored conversion of the given blob -
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.google.drive.converter
Methods in org.nuxeo.ecm.liveconnect.google.drive.converter with parameters of type DocumentModel Modifier and Type Method Description protected BlobGoogleDriveBlobConverter. convert(Blob blob, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.liveconnect.update
Methods in org.nuxeo.ecm.liveconnect.update that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>BatchUpdateBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> documents)Check the given list of document for change and update if needed.Method parameters in org.nuxeo.ecm.liveconnect.update with type arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>BatchUpdateBlobProvider. checkChangesAndUpdateBlob(List<DocumentModel> documents)Check the given list of document for change and update if needed. -
Uses of DocumentModel in org.nuxeo.ecm.localconf
Fields in org.nuxeo.ecm.localconf declared as DocumentModel Modifier and Type Field Description protected DocumentModelSimpleConfigurationAdapter. detachedDocumentMethods in org.nuxeo.ecm.localconf that return DocumentModel Modifier and Type Method Description DocumentModelPutSimpleConfParam. run(DocumentModel doc)DocumentModelPutSimpleConfParams. run(DocumentModel doc)DocumentModelSetSimpleConfParamVar. run(DocumentModel doc)Methods in org.nuxeo.ecm.localconf with parameters of type DocumentModel Modifier and Type Method Description protected Map<String,String>SimpleConfigurationAdapter. computeParametersFromDocument(DocumentModel doc)ObjectSimpleConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)protected voidSimpleConfigurationAdapter. loadFromDocument(DocumentModel doc)DocumentModelPutSimpleConfParam. run(DocumentModel doc)DocumentModelPutSimpleConfParams. run(DocumentModel doc)DocumentModelSetSimpleConfParamVar. run(DocumentModel doc)Constructors in org.nuxeo.ecm.localconf with parameters of type DocumentModel Constructor Description SimpleConfigurationAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.multi.tenant
Fields in org.nuxeo.ecm.multi.tenant declared as DocumentModel Modifier and Type Field Description protected DocumentModelMultiTenantHelper.TenantIdFinder. targetMethods in org.nuxeo.ecm.multi.tenant that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>MultiTenantService. getTenants()List<DocumentModel>MultiTenantServiceImpl. getTenants()Methods in org.nuxeo.ecm.multi.tenant with parameters of type DocumentModel Modifier and Type Method Description voidMultiTenantService. disableTenantIsolationFor(CoreSession session, DocumentModel doc)voidMultiTenantServiceImpl. disableTenantIsolationFor(CoreSession session, DocumentModel doc)voidMultiTenantService. enableTenantIsolationFor(CoreSession session, DocumentModel doc)voidMultiTenantServiceImpl. enableTenantIsolationFor(CoreSession session, DocumentModel doc)static StringMultiTenantHelper. getOwningTenantId(DocumentModel doc)Return the Tenant containing the provided DocumentModel if anyprotected StringMultiTenantServiceImpl. getTenantIdForTenant(DocumentModel doc)Gets the tenant id for a tenant document (Domain).protected NuxeoPrincipalMultiTenantUserManager. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)Constructors in org.nuxeo.ecm.multi.tenant with parameters of type DocumentModel Constructor Description TenantIdFinder(DocumentModel target) -
Uses of DocumentModel in org.nuxeo.ecm.permissions
Methods in org.nuxeo.ecm.permissions with parameters of type DocumentModel Modifier and Type Method Description static StringTransientUserPermissionHelper. acquireToken(String username, DocumentModel doc, String permission)Deprecated.since 10.3.protected voidACEStatusUpdatedListener. checkForEffectiveACE(CoreSession session, DocumentModel doc, List<ACE> aces)protected Map<String,Serializable>ACLJsonEnricher. computeAdditionalFields(DocumentModel doc, String aclName, String aceId)protected StringACLJsonEnricher. computeDirectoryId(DocumentModel doc, String aclName, String aceId)static StringPermissionHelper. computeDirectoryId(DocumentModel doc, String aclName, String aceId)static Map<String,Object>PermissionHelper. createDirectoryEntry(DocumentModel doc, String aclName, ACE ace, boolean notify, String comment)static voidPermissionHelper. firePermissionNotificationEvent(CoreSession session, DocumentModel doc, String aclName, ACE ace)protected static booleanTransientUserPermissionHelper. hasOtherPermission(String username, DocumentModel doc)Returnstrueif the givenusernamehas a non-archived ACE on another document thandoc,falseotherwise.protected voidPermissionListener. removeToken(DocumentModel doc, ACE deletedAce)static voidTransientUserPermissionHelper. revokeToken(String username, DocumentModel doc)voidACLJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)protected voidACLJsonEnricher. writeACEsField(com.fasterxml.jackson.core.JsonGenerator jg, String fieldName, ACL acl, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.permissions.operations
Methods in org.nuxeo.ecm.permissions.operations that return DocumentModel Modifier and Type Method Description DocumentModelSendNotificationEmailForPermission. run(DocumentModel doc)DocumentModelSendNotificationEmailForPermission. run(DocumentRef docRef)Methods in org.nuxeo.ecm.permissions.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModelSendNotificationEmailForPermission. run(DocumentModel doc)protected voidSendNotificationEmailForPermission. sendEmail(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.actions
Fields in org.nuxeo.ecm.platform.actions declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractActionContext. currentDocumentMethods in org.nuxeo.ecm.platform.actions that return DocumentModel Modifier and Type Method Description DocumentModelAbstractActionContext. getCurrentDocument()DocumentModelActionContext. getCurrentDocument()Returns the current document to use for filter evaluationMethods in org.nuxeo.ecm.platform.actions with parameters of type DocumentModel Modifier and Type Method Description voidAbstractActionContext. setCurrentDocument(DocumentModel doc)voidActionContext. setCurrentDocument(DocumentModel doc)Sets the current document to use for filter evaluation -
Uses of DocumentModel in org.nuxeo.ecm.platform.audio.extension
Methods in org.nuxeo.ecm.platform.audio.extension that return DocumentModel Modifier and Type Method Description DocumentModelAudioImporter. createOrUpdate(FileImporterContext context)Methods in org.nuxeo.ecm.platform.audio.extension with parameters of type DocumentModel Modifier and Type Method Description BlobThumbnailAudioFactory. computeThumbnail(DocumentModel doc, CoreSession session)BlobThumbnailAudioFactory. getThumbnail(DocumentModel doc, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api
Methods in org.nuxeo.ecm.platform.audit.api with parameters of type DocumentModel Modifier and Type Method Description List<LogEntry>DocumentHistoryReader. getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)Retrieve a page ofLogEntryfor the history of the inputDocumentModelPageProvider<LogEntry>DocumentHistoryReader. getPageProvider(DocumentModel doc, long pageIndex, long pageSize) -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api.comment
Fields in org.nuxeo.ecm.platform.audit.api.comment declared as DocumentModel Modifier and Type Field Description protected DocumentModelLinkedDocument. documentMethods in org.nuxeo.ecm.platform.audit.api.comment that return DocumentModel Modifier and Type Method Description DocumentModelLinkedDocument. getDocument()Methods in org.nuxeo.ecm.platform.audit.api.comment with parameters of type DocumentModel Modifier and Type Method Description voidLinkedDocument. setDocument(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.api.document
Fields in org.nuxeo.ecm.platform.audit.api.document declared as DocumentModel Modifier and Type Field Description protected DocumentModelSourceDocumentResolver. documentDocumentModelSourceDocumentResolver. sourceDocumentMethods in org.nuxeo.ecm.platform.audit.api.document with parameters of type DocumentModel Modifier and Type Method Description List<LogEntry>DocumentHistoryReaderImpl. getDocumentHistory(DocumentModel doc, long pageIndex, long pageSize)PageProvider<LogEntry>DocumentHistoryReaderImpl. getPageProvider(DocumentModel doc, long pageIndex, long pageSize) -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.provider
Fields in org.nuxeo.ecm.platform.audit.provider with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>LatestCreatedUsersOrGroupsPageProvider. currentPageMethods in org.nuxeo.ecm.platform.audit.provider that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>LatestCreatedUsersOrGroupsPageProvider. getCurrentPage() -
Uses of DocumentModel in org.nuxeo.ecm.platform.audit.service
Methods in org.nuxeo.ecm.platform.audit.service that return DocumentModel Modifier and Type Method Description protected DocumentModelAbstractAuditBackend. guardedDocument(CoreSession session, DocumentRef reference)Methods in org.nuxeo.ecm.platform.audit.service with parameters of type DocumentModel Modifier and Type Method Description protected LogEntryAbstractAuditBackend. doCreateAndFillEntryFromDocument(DocumentModel doc, Principal principal)protected voidAbstractAuditBackend. doPutExtendedInfos(LogEntry entry, EventContext eventContext, DocumentModel source, Principal principal)protected longAbstractAuditBackend. doSyncNode(BaseLogEntryProvider provider, CoreSession session, DocumentModel node, boolean recurs)protected voidAbstractAuditBackend. populateExtendedInfo(LogEntry entry, DocumentModel source, ExpressionContext context, Collection<ExtendedInfoDescriptor> extInfos) -
Uses of DocumentModel in org.nuxeo.ecm.platform.auth.saml.user
Methods in org.nuxeo.ecm.platform.auth.saml.user that return DocumentModel Modifier and Type Method Description DocumentModelAbstractUserResolver. createNuxeoUser(String nuxeoLogin)abstract DocumentModelAbstractUserResolver. updateUserInfo(DocumentModel user, SAMLCredential userInfo)DocumentModelEmailBasedUserResolver. updateUserInfo(DocumentModel user, SAMLCredential credential)Methods in org.nuxeo.ecm.platform.auth.saml.user with parameters of type DocumentModel Modifier and Type Method Description abstract DocumentModelAbstractUserResolver. updateUserInfo(DocumentModel user, SAMLCredential userInfo)DocumentModelEmailBasedUserResolver. updateUserInfo(DocumentModel user, SAMLCredential credential) -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.api
Fields in org.nuxeo.ecm.platform.comment.api declared as DocumentModel Modifier and Type Field Description protected DocumentModelCommentImpl. docModelDocumentModelstoring theCommentmetadata.Methods in org.nuxeo.ecm.platform.comment.api that return DocumentModel Modifier and Type Method Description DocumentModelCommentableDocument. addComment(DocumentModel comment)Creates a new comment.DocumentModelCommentableDocument. addComment(DocumentModel comment, String path)Creates a new comment in a specific location.DocumentModelCommentableDocument. addComment(DocumentModel parent, DocumentModel comment)Creates a new comment as a reply to an existing comment.DocumentModelCommentManager. createComment(DocumentModel docModel, String comment)Deprecated.CommentManager cannot find the author if invoked remotely so one should useCommentManager.createComment(DocumentModel, String, String)DocumentModelCommentManager. 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.DocumentModelCommentManager. createComment(DocumentModel docModel, DocumentModel comment)Creates a comment document model, filling its properties with given info and linking it to given document.DocumentModelCommentManager. 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.DocumentModelCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)Creates a comment document model.DocumentModelComment. getDocument()Gets the document model backing this pojo.DocumentModelCommentImpl. getDocument()DocumentModelCommentManager. getThreadForComment(DocumentModel comment)Deprecated.since 11.1, unusedMethods in org.nuxeo.ecm.platform.comment.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>CommentableDocument. getComments()Returns all comments for this document.List<DocumentModel>CommentableDocument. getComments(DocumentModel parent)Returns the comments for this document that are replied to a parent comment.List<DocumentModel>CommentManager. getComments(CoreSession session, DocumentModel docModel)Gets comments of a document.List<DocumentModel>CommentManager. getComments(DocumentModel docModel)Gets comments of a document.List<DocumentModel>CommentManager. getComments(DocumentModel docModel, DocumentModel parent)Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.getComments(DocumentModel)instead.List<DocumentModel>CommentManager. getDocumentsForComment(DocumentModel comment)Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, only used with deprecated implementation, no replacement.Methods in org.nuxeo.ecm.platform.comment.api with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCommentableDocument. addComment(DocumentModel comment)Creates a new comment.DocumentModelCommentableDocument. addComment(DocumentModel comment, String path)Creates a new comment in a specific location.DocumentModelCommentableDocument. addComment(DocumentModel parent, DocumentModel comment)Creates a new comment as a reply to an existing comment.static voidComments. annotationToDocumentModel(Annotation annotation, DocumentModel documentModel)Deprecated.since 11.1, unusedstatic voidComments. commentToDocumentModel(Comment comment, DocumentModel documentModel)Deprecated.since 11.1, useComment.getDocument()withDocumentModelJsonReaderinsteadDocumentModelCommentManager. createComment(DocumentModel docModel, String comment)Deprecated.CommentManager cannot find the author if invoked remotely so one should useCommentManager.createComment(DocumentModel, String, String)DocumentModelCommentManager. 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.DocumentModelCommentManager. createComment(DocumentModel docModel, DocumentModel comment)Creates a comment document model, filling its properties with given info and linking it to given document.DocumentModelCommentManager. 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.DocumentModelCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)Creates a comment document model.voidCommentManager. 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 voidComments. documentModelToAnnotation(DocumentModel documentModel, Annotation annotation)Deprecated.since 11.1, unusedstatic voidComments. documentModelToComment(DocumentModel documentModel, Comment comment)Deprecated.since 11.1, unusedstatic voidComments. documentModelToExternalEntity(DocumentModel documentModel, ExternalEntity entity)Deprecated.since 11.1, unusedstatic voidComments. externalEntityToDocumentModel(ExternalEntity entity, DocumentModel documentModel)Deprecated.since 11.1, unusedCommentCommentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)List<DocumentModel>CommentableDocument. getComments(DocumentModel parent)Returns the comments for this document that are replied to a parent comment.List<DocumentModel>CommentManager. getComments(CoreSession session, DocumentModel docModel)Gets comments of a document.List<DocumentModel>CommentManager. getComments(DocumentModel docModel)Gets comments of a document.List<DocumentModel>CommentManager. getComments(DocumentModel docModel, DocumentModel parent)Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, useCommentManager.getComments(DocumentModel)instead.List<DocumentModel>CommentManager. getDocumentsForComment(DocumentModel comment)Deprecated, for removal: This API element is subject to removal in a future version.since 10.3, only used with deprecated implementation, no replacement.DocumentModelCommentManager. getThreadForComment(DocumentModel comment)Deprecated.since 11.1, unusedstatic AnnotationComments. newAnnotation(DocumentModel annotationModel)Deprecated.since 11.1, usegetAdapter(Class)withAnnotationclass insteadstatic CommentComments. newComment(DocumentModel commentModel)Deprecated.since 11.1, usegetAdapter(Class)withCommentclass insteadvoidCommentableDocument. removeComment(DocumentModel comment)Removes a comment from the document comment list.voidCommentConverter. updateDocumentModel(DocumentModel docModel, DocumentModel comment)Transforms the comment object into the document model.Constructors in org.nuxeo.ecm.platform.comment.api with parameters of type DocumentModel Constructor Description AnnotationImpl(DocumentModel docModel)Constructor for the document adapter factory.CommentImpl(DocumentModel docModel)Constructor for the document adapter factory. -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.impl
Fields in org.nuxeo.ecm.platform.comment.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModelCommentableDocumentAdapter. docModelMethods in org.nuxeo.ecm.platform.comment.impl that return DocumentModel Modifier and Type Method Description DocumentModelCommentableDocumentAdapter. addComment(DocumentModel comment)DocumentModelCommentableDocumentAdapter. addComment(DocumentModel comment, String path)DocumentModelCommentableDocumentAdapter. addComment(DocumentModel parent, DocumentModel comment)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, String comment)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, String comment, String author)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, DocumentModel comment)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, String comment)Deprecated.DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, String comment, String author)Deprecated.DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, DocumentModel comment)Deprecated.DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, String comment)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, String text, String author)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, DocumentModel commentModel)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)Deprecated.DocumentModelTreeCommentManager. createComment(DocumentModel doc, String text)DocumentModelTreeCommentManager. createComment(DocumentModel doc, String text, String author)DocumentModelTreeCommentManager. createComment(DocumentModel commentedDoc, DocumentModel commentDoc)DocumentModelTreeCommentManager. createComment(DocumentModel doc, DocumentModel parent, DocumentModel child)protected DocumentModelCommentManagerImpl. createHiddenFolder(CoreSession session, String parentPath, String name)Deprecated.DocumentModelBridgeCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)DocumentModelCommentManagerImpl. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)Deprecated.DocumentModelPropertyCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)Deprecated.DocumentModelTreeCommentManager. createLocatedComment(DocumentModel doc, DocumentModel comment, String path)protected DocumentModelAnnotationServiceImpl. getAnnotationModel(CoreSession session, String entityId)Deprecated, for removal: This API element is subject to removal in a future version.since 11.1.protected DocumentModelTreeCommentManager. getCommentDocumentModel(CoreSession session, String id)protected abstract DocumentModelAbstractCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelBridgeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelCommentManagerImpl. getCommentedDocument(CoreSession session, DocumentModel commentDoc)Deprecated.protected DocumentModelPropertyCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)Deprecated.protected DocumentModelTreeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelPropertyCommentManager. getExternalCommentModel(CoreSession session, String documentId, String entityId)Deprecated.protected DocumentModelTreeCommentManager. getExternalCommentModel(CoreSession session, String documentId, String entityId)DocumentModelBridgeCommentManager. getThreadForComment(DocumentModel comment)DocumentModelCommentManagerImpl. getThreadForComment(DocumentModel comment)Deprecated.protected DocumentModelPropertyCommentManager. getThreadForComment(CoreSession s, DocumentModel comment)Deprecated.DocumentModelPropertyCommentManager. getThreadForComment(DocumentModel comment)Deprecated.DocumentModelTreeCommentManager. getThreadForComment(DocumentModel comment)protected abstract DocumentModelAbstractCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelBridgeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelCommentManagerImpl. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)Deprecated.protected DocumentModelPropertyCommentManager. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)Deprecated.protected DocumentModelTreeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelCommentManagerImpl. internalCreateComment(CoreSession session, DocumentModel docModel, DocumentModel comment, String path)Deprecated.Methods in org.nuxeo.ecm.platform.comment.impl that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>CommentManagerImpl. doPrivileged(CoreSession session, String repositoryName, Function<CoreSession,List<DocumentModel>> function)Deprecated.protected PartialList<DocumentModel>TreeCommentManager. getCommentDocuments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)List<DocumentModel>AbstractCommentManager. getComments(DocumentModel docModel)List<DocumentModel>AbstractCommentManager. getComments(DocumentModel docModel, DocumentModel parent)List<DocumentModel>BridgeCommentManager. getComments(CoreSession session, DocumentModel docModel)List<DocumentModel>BridgeCommentManager. getComments(DocumentModel docModel)List<DocumentModel>CommentableDocumentAdapter. getComments()List<DocumentModel>CommentableDocumentAdapter. getComments(DocumentModel parent)List<DocumentModel>CommentManagerImpl. getComments(CoreSession s, DocumentModel docModel)Deprecated.List<DocumentModel>PropertyCommentManager. getComments(CoreSession session, DocumentModel docModel)Deprecated.List<DocumentModel>PropertyCommentManager. getComments(DocumentModel docModel, DocumentModel parent)Deprecated.List<DocumentModel>TreeCommentManager. getComments(CoreSession session, DocumentModel doc)List<DocumentModel>BridgeCommentManager. getDocumentsForComment(DocumentModel comment)List<DocumentModel>CommentManagerImpl. getDocumentsForComment(DocumentModel comment)Deprecated.List<DocumentModel>PropertyCommentManager. getDocumentsForComment(DocumentModel comment)Deprecated.List<DocumentModel>TreeCommentManager. getDocumentsForComment(DocumentModel comment)protected List<DocumentModel>AnnotationServiceImpl. getPageProviderPage(String ppName, Map<String,Serializable> props, Object... parameters)protected Stream<DocumentModel>AnnotationServiceImpl. streamAnnotations(CoreSession session, String documentId, String xpath)Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCommentableDocumentAdapter. addComment(DocumentModel comment)DocumentModelCommentableDocumentAdapter. addComment(DocumentModel comment, String path)DocumentModelCommentableDocumentAdapter. addComment(DocumentModel parent, DocumentModel comment)intCommentSorter. compare(DocumentModel doc1, DocumentModel doc2)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, String comment)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, String comment, String author)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, DocumentModel comment)DocumentModelBridgeCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, String comment)Deprecated.DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, String comment, String author)Deprecated.DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, DocumentModel comment)Deprecated.DocumentModelCommentManagerImpl. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, String comment)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, String text, String author)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, DocumentModel commentModel)Deprecated.DocumentModelPropertyCommentManager. createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child)Deprecated.DocumentModelTreeCommentManager. createComment(DocumentModel doc, String text)DocumentModelTreeCommentManager. createComment(DocumentModel doc, String text, String author)DocumentModelTreeCommentManager. createComment(DocumentModel commentedDoc, DocumentModel commentDoc)DocumentModelTreeCommentManager. createComment(DocumentModel doc, DocumentModel parent, DocumentModel child)DocumentModelBridgeCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)DocumentModelCommentManagerImpl. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)Deprecated.DocumentModelPropertyCommentManager. createLocatedComment(DocumentModel docModel, DocumentModel comment, String path)Deprecated.DocumentModelTreeCommentManager. createLocatedComment(DocumentModel doc, DocumentModel comment, String path)voidBridgeCommentManager. deleteComment(DocumentModel docModel, DocumentModel comment)voidCommentManagerImpl. deleteComment(DocumentModel docModel, DocumentModel comment)Deprecated.voidPropertyCommentManager. deleteComment(DocumentModel docModel, DocumentModel comment)Deprecated.voidTreeCommentManager. deleteComment(DocumentModel doc, DocumentModel comment)ObjectCommentableAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)protected DocumentRefPropertyCommentManager. getAncestorRef(CoreSession session, DocumentModel documentModel)Deprecated.protected NuxeoPrincipalAbstractCommentManager. getAuthor(DocumentModel docModel)protected abstract DocumentModelAbstractCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelBridgeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelCommentManagerImpl. getCommentedDocument(CoreSession session, DocumentModel commentDoc)Deprecated.protected DocumentModelPropertyCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)Deprecated.protected DocumentModelTreeCommentManager. getCommentedDocument(CoreSession session, DocumentModel commentDoc)List<DocumentModel>AbstractCommentManager. getComments(DocumentModel docModel)List<DocumentModel>AbstractCommentManager. getComments(DocumentModel docModel, DocumentModel parent)List<DocumentModel>BridgeCommentManager. getComments(CoreSession session, DocumentModel docModel)List<DocumentModel>BridgeCommentManager. getComments(DocumentModel docModel)List<DocumentModel>CommentableDocumentAdapter. getComments(DocumentModel parent)List<DocumentModel>CommentManagerImpl. getComments(CoreSession s, DocumentModel docModel)Deprecated.List<DocumentModel>PropertyCommentManager. getComments(CoreSession session, DocumentModel docModel)Deprecated.List<DocumentModel>PropertyCommentManager. getComments(DocumentModel docModel, DocumentModel parent)Deprecated.List<DocumentModel>TreeCommentManager. getComments(CoreSession session, DocumentModel doc)List<DocumentModel>BridgeCommentManager. getDocumentsForComment(DocumentModel comment)List<DocumentModel>CommentManagerImpl. getDocumentsForComment(DocumentModel comment)Deprecated.List<DocumentModel>PropertyCommentManager. getDocumentsForComment(DocumentModel comment)Deprecated.List<DocumentModel>TreeCommentManager. getDocumentsForComment(DocumentModel comment)protected DocumentRefTreeCommentManager. getLocationRefOfCommentCreation(CoreSession session, DocumentModel commentedDoc)Returns theDocumentRefof the comments location in repository for the given commented document model.DocumentModelBridgeCommentManager. getThreadForComment(DocumentModel comment)DocumentModelCommentManagerImpl. getThreadForComment(DocumentModel comment)Deprecated.protected DocumentModelPropertyCommentManager. getThreadForComment(CoreSession s, DocumentModel comment)Deprecated.DocumentModelPropertyCommentManager. getThreadForComment(DocumentModel comment)Deprecated.DocumentModelTreeCommentManager. getThreadForComment(DocumentModel comment)protected abstract DocumentModelAbstractCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelBridgeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)protected DocumentModelCommentManagerImpl. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)Deprecated.protected DocumentModelPropertyCommentManager. getTopLevelDocument(CoreSession s, DocumentModel commentDoc)Deprecated.protected DocumentModelTreeCommentManager. getTopLevelDocument(CoreSession session, DocumentModel commentDoc)protected voidTreeCommentManager. handleNotificationAutoSubscriptions(CoreSession session, DocumentModel topLevelDoc, DocumentModel commentDoc)protected booleanTreeCommentManager. hasComments(CoreSession session, DocumentModel document)Returnstrueif the document has comments.protected booleanTreeCommentManager. hasComments(CoreSession session, DocumentModel document, String user)Returnstrueif the documents has comments from the given user.protected DocumentModelCommentManagerImpl. internalCreateComment(CoreSession session, DocumentModel docModel, DocumentModel comment, String path)Deprecated.protected voidTreeCommentManager. manageRelatedTextOfTopLevelDocument(CoreSession session, DocumentModel topLevelDoc, String commentId, String commentText)Manages (Add, Update or Remove) the related textFacetNames.HAS_RELATED_TEXTof the top level document ancestorAbstractCommentManager.getTopLevelDocumentRef(CoreSession, DocumentRef)for the given comment / annotation.protected voidAbstractCommentManager. notifyEvent(CoreSession session, String eventType, DocumentModel commentDoc)Notifies the event of typeeventTypeon the givencommentDoc.protected voidAbstractCommentManager. notifyEvent(CoreSession session, String eventType, DocumentModel commentedDoc, DocumentModel commentDoc)protected voidAbstractCommentManager. notifyEvent(CoreSession session, String eventType, DocumentModel topLevelDoc, DocumentModel commentedDoc, DocumentModel commentDoc)voidCommentableDocumentAdapter. removeComment(DocumentModel comment)protected voidAbstractCommentManager. setCommentPermissions(CoreSession session, DocumentModel documentModel)Deprecated.since 11.1.protected voidAbstractCommentManager. setFolderPermissions(CoreSession session, DocumentModel documentModel)protected voidTreeCommentManager. subscribeToNotifications(DocumentModel document, NuxeoPrincipal user)Subscribes a user to notifications on the document.protected CommentTreeCommentManager. update(CoreSession session, Comment comment, DocumentModel commentDoc)voidCommentConverterImpl. updateDocumentModel(DocumentModel docModel, DocumentModel comment)Method parameters in org.nuxeo.ecm.platform.comment.impl with type arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>CommentManagerImpl. doPrivileged(CoreSession session, String repositoryName, Function<CoreSession,List<DocumentModel>> function)Deprecated.Constructors in org.nuxeo.ecm.platform.comment.impl with parameters of type DocumentModel Constructor Description CommentableDocumentAdapter(DocumentModel docModel) -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.listener
Methods in org.nuxeo.ecm.platform.comment.listener with parameters of type DocumentModel Modifier and Type Method Description protected voidAbstractCommentListener. deleteCommentChildren(CoreSession coreSession, CommentManager commentManager, DocumentModel documentModel)protected abstract voidAbstractCommentListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)protected voidCommentRemovedEventListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)protected voidDocumentRemovedCommentEventListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage) -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.workflow
Methods in org.nuxeo.ecm.platform.comment.workflow that return DocumentModel Modifier and Type Method Description DocumentModelModerateCommentOperation. run(DocumentModel doc)DocumentModelModerateCommentOperation. run(DocumentRef docRef)Methods in org.nuxeo.ecm.platform.comment.workflow with parameters of type DocumentModel Modifier and Type Method Description DocumentModelModerateCommentOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.comment.workflow.services
Methods in org.nuxeo.ecm.platform.comment.workflow.services with parameters of type DocumentModel Modifier and Type Method Description voidCommentsModerationService. approveComent(CoreSession session, DocumentModel document, String commentId)Approve the comment with the given commentId.voidCommentsModerationServiceImpl. approveComent(CoreSession session, DocumentModel doc, String commentId)TaskCommentsModerationServiceImpl. getModerationTask(TaskService taskService, CoreSession session, DocumentModel doc, String commentId)protected voidCommentsModerationServiceImpl. notifyEvent(CoreSession session, String eventId, Map<String,Serializable> properties, String comment, String category, DocumentModel dm)voidCommentsModerationService. publishComment(CoreSession session, DocumentModel comment)Publish the given comment.voidCommentsModerationServiceImpl. publishComment(CoreSession session, DocumentModel comment)voidCommentsModerationService. rejectComment(CoreSession session, DocumentModel document, String commentId)Reject the comment with the given commentId.voidCommentsModerationServiceImpl. rejectComment(CoreSession session, DocumentModel doc, String commentId)voidCommentsModerationService. startModeration(CoreSession session, DocumentModel document, String commentId, ArrayList<String> moderators)Starts the moderation process on given Comment posted on a documentModel.voidCommentsModerationServiceImpl. startModeration(CoreSession session, DocumentModel doc, String commentID, ArrayList<String> moderators) -
Uses of DocumentModel in org.nuxeo.ecm.platform.computedgroups
Fields in org.nuxeo.ecm.platform.computedgroups declared as DocumentModel Modifier and Type Field Description protected DocumentModelNuxeoComputedGroup. modelMethods in org.nuxeo.ecm.platform.computedgroups that return DocumentModel Modifier and Type Method Description DocumentModelUserManagerWithComputedGroups. createGroup(DocumentModel groupModel, DocumentModel context)protected DocumentModelUserManagerWithComputedGroups. getComputedGroupAsDocumentModel(String grpName)DocumentModelUserManagerWithComputedGroups. getGroupModel(String groupName)DocumentModelNuxeoComputedGroup. getModel()Methods in org.nuxeo.ecm.platform.computedgroups with parameters of type DocumentModel Modifier and Type Method Description DocumentModelUserManagerWithComputedGroups. createGroup(DocumentModel groupModel, DocumentModel context)voidUserManagerWithComputedGroups. deleteGroup(String groupId, DocumentModel context)NuxeoGroupUserManagerWithComputedGroups. getGroup(String groupName, DocumentModel context)protected NuxeoPrincipalUserManagerWithComputedGroups. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)DocumentModelListUserManagerWithComputedGroups. searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)DocumentModelListUserManagerWithComputedGroups. searchGroups(QueryBuilder queryBuilder, DocumentModel context)voidUserManagerWithComputedGroups. updateGroup(DocumentModel groupModel, DocumentModel context) -
Uses of DocumentModel in org.nuxeo.ecm.platform.content.template.factories
Methods in org.nuxeo.ecm.platform.content.template.factories with parameters of type DocumentModel Modifier and Type Method Description voidImportBasedFactory. createContentStructure(DocumentModel eventDoc)voidSimpleTemplateBasedFactory. createContentStructure(DocumentModel eventDoc)voidSimpleTemplateBasedRootFactory. createContentStructure(DocumentModel eventDoc)protected booleanBaseContentFactory. initSession(DocumentModel eventDoc)protected booleanSimpleTemplateBasedFactory. isTargetEmpty(DocumentModel eventDoc)protected voidSimpleTemplateBasedFactory. setProperties(List<PropertyDescriptor> properties, DocumentModel doc)protected booleanSimpleTemplateBasedRootFactory. shouldInitAcl(DocumentModel rootDoc)Checks if we should init the acl of the root document. -
Uses of DocumentModel in org.nuxeo.ecm.platform.content.template.service
Methods in org.nuxeo.ecm.platform.content.template.service with parameters of type DocumentModel Modifier and Type Method Description voidContentFactory. createContentStructure(DocumentModel eventDoc)voidContentTemplateService. executeFactoryForType(DocumentModel createdDocument)voidContentTemplateServiceImpl. executeFactoryForType(DocumentModel createdDocument) -
Uses of DocumentModel in org.nuxeo.ecm.platform.csv.export.io
Methods in org.nuxeo.ecm.platform.csv.export.io with parameters of type DocumentModel Modifier and Type Method Description protected voidDocumentModelCSVWriter. write(DocumentModel entity, org.apache.commons.csv.CSVPrinter printer)protected voidDocumentModelCSVWriter. writeHeader(DocumentModel entity, org.apache.commons.csv.CSVPrinter printer)protected voidDocumentModelCSVWriter. writeProperty(DocumentModel entity, String xpath, org.apache.commons.csv.CSVPrinter printer)protected voidDocumentModelCSVWriter. writeSchema(DocumentModel entity, Schema schema, org.apache.commons.csv.CSVPrinter printer)protected voidDocumentModelCSVWriter. writeSystem(DocumentModel doc, org.apache.commons.csv.CSVPrinter printer)Method parameters in org.nuxeo.ecm.platform.csv.export.io with type arguments of type DocumentModel Modifier and Type Method Description protected voidDocumentModelListCSVWriter. write(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer)protected voidDocumentModelListCSVWriter. writeHeader(List<DocumentModel> entity, org.apache.commons.csv.CSVPrinter printer) -
Uses of DocumentModel in org.nuxeo.ecm.platform.dublincore.service
Methods in org.nuxeo.ecm.platform.dublincore.service with parameters of type DocumentModel Modifier and Type Method Description voidDublinCoreStorageService. addContributor(DocumentModel doc, Event event)Adds a contributor to the document.voidDublinCoreStorageServiceImpl. addContributor(DocumentModel doc, Event event)protected List<String>DublinCoreStorageServiceImpl. getSanitizedExistingContributors(DocumentModel doc)Returns a "Sanitized" list of contributors according to NXP-25005voidDublinCoreStorageService. setCreationDate(DocumentModel doc, Calendar creationDate)Sets the document's creation date.default voidDublinCoreStorageService. setCreationDate(DocumentModel doc, Calendar creationDate, Event event)Deprecated.since 10.2, use directlyDublinCoreStorageService.setCreationDate(DocumentModel, Calendar)voidDublinCoreStorageServiceImpl. setCreationDate(DocumentModel doc, Calendar creationDate)voidDublinCoreStorageService. setIssuedDate(DocumentModel doc, Calendar issuedDate)Sets the document's issued date.voidDublinCoreStorageServiceImpl. setIssuedDate(DocumentModel doc, Calendar issuedDate)voidDublinCoreStorageService. setModificationDate(DocumentModel doc, Calendar modificationDate)Sets the document's modified date.default voidDublinCoreStorageService. setModificationDate(DocumentModel doc, Calendar modificationDate, Event event)Deprecated.since 10.2, use directlyDublinCoreStorageService.setModificationDate(DocumentModel, Calendar)voidDublinCoreStorageServiceImpl. setModificationDate(DocumentModel doc, Calendar modificationDate) -
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification
Fields in org.nuxeo.ecm.platform.ec.notification declared as DocumentModel Modifier and Type Field Description protected DocumentModelSubscriptionAdapter. docMethods in org.nuxeo.ecm.platform.ec.notification with parameters of type DocumentModel Modifier and Type Method Description voidSubscriptionAdapter. copySubscriptionsTo(DocumentModel targetDoc)Copy the subscriptions of the current doc to the targetted document.ObjectSubscriptionAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)Constructors in org.nuxeo.ecm.platform.ec.notification with parameters of type DocumentModel Constructor Description SubscriptionAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.automation
Methods in org.nuxeo.ecm.platform.ec.notification.automation that return DocumentModel Modifier and Type Method Description DocumentModelSubscribeOperation. run(DocumentModel doc)DocumentModelUnsubscribeOperation. run(DocumentModel doc)Methods in org.nuxeo.ecm.platform.ec.notification.automation with parameters of type DocumentModel Modifier and Type Method Description DocumentModelSubscribeOperation. run(DocumentModel doc)DocumentModelUnsubscribeOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.io
Methods in org.nuxeo.ecm.platform.ec.notification.io with parameters of type DocumentModel Modifier and Type Method Description voidNotificationsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.ec.notification.service
Methods in org.nuxeo.ecm.platform.ec.notification.service that return DocumentModel Modifier and Type Method Description protected static DocumentModelNotificationService. detachDocumentModel(DocumentModel doc)Methods in org.nuxeo.ecm.platform.ec.notification.service that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>NotificationService. getSubscribedDocuments(String prefixedPrincipalName, String repositoryName)Methods in org.nuxeo.ecm.platform.ec.notification.service with parameters of type DocumentModel Modifier and Type Method Description voidNotificationService. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)voidNotificationService. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)protected static DocumentModelNotificationService. detachDocumentModel(DocumentModel doc)protected voidNotificationService. disableEvents(DocumentModel doc)List<String>NotificationService. getSubscribers(String notification, DocumentModel doc)List<String>NotificationService. getSubscriptionsForUserOnDocument(String username, DocumentModel doc)List<String>NotificationService. getUsersSubscribedToNotificationOnDocument(String notification, DocumentModel doc)voidNotificationService. removeSubscription(String username, String notification, DocumentModel doc)voidNotificationService. removeSubscriptions(String username, List<String> notifications, DocumentModel doc)protected voidNotificationService. restoreEvents(DocumentModel doc)voidNotificationService. sendDocumentByMail(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo) -
Uses of DocumentModel in org.nuxeo.ecm.platform.el
Methods in org.nuxeo.ecm.platform.el that return DocumentModel Modifier and Type Method Description DocumentModelDocumentPropertyContext. getDoc()Constructors in org.nuxeo.ecm.platform.el with parameters of type DocumentModel Constructor Description DocumentPropertyContext(DocumentModel doc, String schema) -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.api
Methods in org.nuxeo.ecm.platform.filemanager.api that return DocumentModel Modifier and Type Method Description DocumentModelFileManager. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName)Deprecated.since 10.10.DocumentModelFileManager. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck)Deprecated.since 10.10.default DocumentModelFileManager. createFolder(CoreSession documentManager, String fullname, String path)Deprecated.since 9.1, useFileManager.createFolder(CoreSession, String, String, boolean)insteadDocumentModelFileManager. createFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)Creates a Folder.DocumentModelFileManager. createOrUpdateDocument(FileImporterContext context)Returns a created or updated document based on the givencontext.DocumentModelFileManager. updateDocumentFromBlob(CoreSession documentManager, Blob input, String path, String fullName)Deprecated.since 10.10. -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.core.listener
Methods in org.nuxeo.ecm.platform.filemanager.core.listener with parameters of type DocumentModel Modifier and Type Method Description protected voidAbstractUnicityChecker. doUnicityCheck(DocumentModel doc2Check, CoreSession session, Event event)protected abstract voidAbstractUnicityChecker. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)protected voidAsynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)protected voidSynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)protected voidAbstractUnicityChecker. raiseDuplicatedFileEvent(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs)voidMimetypeIconUpdater. setDefaultIcon(DocumentModel doc)If the icon field is empty, initialize it to the document type iconvoidMimetypeIconUpdater. 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.voidMimetypeIconUpdater. updateIconField(MimetypeEntry mimetypeEntry, DocumentModel doc)Computes the main icon of a Nuxeo document based on the mime type of the main attached blob with of fallback on the document type generic icon. -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.service
Methods in org.nuxeo.ecm.platform.filemanager.service that return DocumentModel Modifier and Type Method Description DocumentModelFileManagerService. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName)DocumentModelFileManagerService. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck)DocumentModelFileManagerService. createFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)DocumentModelFileManagerService. createOrUpdateDocument(FileImporterContext context)DocumentModelFileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path)Deprecated.since 9.1, useFileManagerService.defaultCreateFolder(CoreSession, String, String, boolean)insteadDocumentModelFileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)DocumentModelFileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes)Deprecated.DocumentModelFileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes, boolean overwrite)DocumentModelFileManagerService. updateDocumentFromBlob(CoreSession documentManager, Blob input, String path, String fullName) -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.service.extension
Methods in org.nuxeo.ecm.platform.filemanager.service.extension that return DocumentModel Modifier and Type Method Description DocumentModelAbstractFileImporter. create(CoreSession session, Blob content, String path, boolean overwrite, String fullname, TypeManager typeService)DocumentModelAbstractFolderImporter. create(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager)DocumentModelFileImporter. create(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService)Deprecated.since 10.10.DocumentModelFolderImporter. create(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager)DocumentModelAbstractFileImporter. createOrUpdate(FileImporterContext context)DocumentModelCSVZipImporter. createOrUpdate(FileImporterContext context)DocumentModelExportedZipImporter. createOrUpdate(FileImporterContext context)DocumentModelFileImporter. createOrUpdate(FileImporterContext fileImporterContext)Returns a created or updated document based on the givencontext.Methods in org.nuxeo.ecm.platform.filemanager.service.extension with parameters of type DocumentModel Modifier and Type Method Description protected voidAbstractFileImporter. checkIn(DocumentModel doc)Deprecated.since 9.1 automatic versioning is now handled at versioning service level, remove versioning behaviors from importersprotected voidAbstractFileImporter. checkInAfterAdd(DocumentModel doc)Deprecated.since 9.1 automatic versioning is now handled at versioning service level, remove versioning behaviors from importersprotected voidAbstractFileImporter. createDocument(DocumentModel doc, String title)Creates the document (sets its properties).protected BlobAbstractFileImporter. getBlob(DocumentModel doc)protected static UITypesConfigurationDefaultFileImporter. getConfiguration(DocumentModel currentDoc)protected StringAbstractFileImporter. getDocType(DocumentModel container)Gets the doc type to use in the given container.StringDefaultFileImporter. getDocType(DocumentModel container)static StringDefaultFileImporter. getTypeName(DocumentModel currentDoc)protected voidAbstractFileImporter. updateDocument(DocumentModel doc, Blob content)Updates the document (sets its properties).voidNoteImporter. updateDocument(DocumentModel doc, Blob content)protected booleanAbstractFileImporter. updateDocumentIfPossible(DocumentModel doc, Blob content)Tries to update the documentdocwith the blobcontent.booleanNoteImporter. updateDocumentIfPossible(DocumentModel doc, Blob content) -
Uses of DocumentModel in org.nuxeo.ecm.platform.filemanager.utils
Methods in org.nuxeo.ecm.platform.filemanager.utils that return DocumentModel Modifier and Type Method Description static DocumentModelFileManagerUtils. getExistingDocByFileName(CoreSession documentManager, String path, String filename)Looks if an existing Document with the same filename exists.static DocumentModelFileManagerUtils. getExistingDocByPropertyName(CoreSession documentManager, String path, String value, String propertyName)Looks if an existing Document has the same value for a given property.static DocumentModelFileManagerUtils. getExistingDocByTitle(CoreSession documentManager, String path, String title)Looks if an existing Document with the same title exists. -
Uses of DocumentModel in org.nuxeo.ecm.platform.htmlsanitizer
Methods in org.nuxeo.ecm.platform.htmlsanitizer with parameters of type DocumentModel Modifier and Type Method Description voidHtmlSanitizerService. sanitizeDocument(DocumentModel doc)Sanitizes a document's fields, depending on the service configuration.voidHtmlSanitizerServiceImpl. sanitizeDocument(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.base
Fields in org.nuxeo.ecm.platform.importer.base declared as DocumentModel Modifier and Type Field Description protected DocumentModelGenericThreadedImportTask. rootDocprotected DocumentModelGenericMultiThreadedImporter. targetContainerMethods in org.nuxeo.ecm.platform.importer.base that return DocumentModel Modifier and Type Method Description protected DocumentModelGenericMultiThreadedImporter. createTargetContainer()Creates the target container where the import will // TODO Auto-generated constructor stub }be done.protected DocumentModelGenericThreadedImportTask. doCreateFolderishNode(DocumentModel parent, SourceNode node)protected DocumentModelGenericThreadedImportTask. doCreateLeafNode(DocumentModel parent, SourceNode node)protected DocumentModelGenericMultiThreadedImporter. getTargetContainer()Methods in org.nuxeo.ecm.platform.importer.base with parameters of type DocumentModel Modifier and Type Method Description protected GenericThreadedImportTaskGenericThreadedImportTask. createNewTask(DocumentModel parent, SourceNode node, ImporterLogger log, Integer batchSize)protected GenericThreadedImportTaskGenericThreadedImportTask. createNewTaskIfNeeded(DocumentModel parent, SourceNode node)protected DocumentModelGenericThreadedImportTask. doCreateFolderishNode(DocumentModel parent, SourceNode node)protected DocumentModelGenericThreadedImportTask. doCreateLeafNode(DocumentModel parent, SourceNode node)protected GenericThreadedImportTaskGenericMultiThreadedImporter. initRootTask(SourceNode importSource, DocumentModel targetContainer, boolean skipRootContainerCreation, ImporterLogger log, Integer batchSize, String jobName)protected voidGenericThreadedImportTask. recursiveCreateDocumentFromNode(DocumentModel parent, SourceNode node)protected voidGenericThreadedImportTask. setRootDoc(DocumentModel rootDoc)voidGenericThreadedImportTask. setTargetFolder(DocumentModel rootDoc)Constructors in org.nuxeo.ecm.platform.importer.base with parameters of type DocumentModel Constructor Description GenericThreadedImportTask(String repositoryName, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy, String jobName)GenericThreadedImportTask(CoreSession session, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy) -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.factories
Methods in org.nuxeo.ecm.platform.importer.factories that return DocumentModel Modifier and Type Method Description DocumentModelDefaultDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelFileManagerDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelImporterDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelDefaultDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelFileManagerDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelImporterDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)protected DocumentModelDefaultDocumentModelFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)protected DocumentModelAbstractDocumentModelFactory. setDocumentProperties(CoreSession session, Map<String,Serializable> properties, DocumentModel doc)Set all the properties to the givendoc.Methods in org.nuxeo.ecm.platform.importer.factories with parameters of type DocumentModel Modifier and Type Method Description DocumentModelDefaultDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelFileManagerDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelImporterDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelDefaultDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelFileManagerDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelImporterDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)protected DocumentModelDefaultDocumentModelFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)booleanAbstractDocumentModelFactory. 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.booleanImporterDocumentModelFactory. processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)Defines the process to execute when a folderish node creation error occurs.booleanAbstractDocumentModelFactory. 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.booleanImporterDocumentModelFactory. processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)Defines the process to execute when a leaf node creation error occurs.protected DocumentModelAbstractDocumentModelFactory. setDocumentProperties(CoreSession session, Map<String,Serializable> properties, DocumentModel doc)Set all the properties to the givendoc. -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.properties
Fields in org.nuxeo.ecm.platform.importer.properties declared as DocumentModel Modifier and Type Field Description protected DocumentModelMetadataFile. docMethods in org.nuxeo.ecm.platform.importer.properties with parameters of type DocumentModel Modifier and Type Method Description static MetadataFileMetadataFile. createFromDocument(DocumentModel doc)Create aMetadataFilefrom aDocumentModel's schemas.static MetadataFileMetadataFile. createFromProperties(DocumentModel doc, List<String> properties)Create aMetadataFilefrom the listed properties of aDocumentModelstatic MetadataFileMetadataFile. createFromSchemas(DocumentModel doc, List<String> allPropertiesSchemas)Create aMetadataFilefrom the listed schemas (with all properties) of aDocumentModelstatic MetadataFileMetadataFile. createFromSchemasAndProperties(DocumentModel doc, List<String> allPropertiesSchemas, List<String> properties)Create aMetadataFilefrom the listed schemas (with all properties) and the listed properties of aDocumentModelConstructors in org.nuxeo.ecm.platform.importer.properties with parameters of type DocumentModel Constructor Description MetadataFile(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.threading
Methods in org.nuxeo.ecm.platform.importer.threading with parameters of type DocumentModel Modifier and Type Method Description booleanDefaultMultiThreadingPolicy. needToCreateThreadAfterNewFolderishNode(DocumentModel parent, SourceNode node, long uploadedSources, int batchSize, int scheduledTasks)booleanImporterThreadingPolicy. needToCreateThreadAfterNewFolderishNode(DocumentModel parent, SourceNode node, long uploadedSources, int batchSize, int scheduledTasks) -
Uses of DocumentModel in org.nuxeo.ecm.platform.importer.xml.parser
Fields in org.nuxeo.ecm.platform.importer.xml.parser declared as DocumentModel Modifier and Type Field Description protected DocumentModelXMLImporterServiceImpl. rootDocFields in org.nuxeo.ecm.platform.importer.xml.parser with type parameters of type DocumentModel Modifier and Type Field Description protected Stack<DocumentModel>MVELImporterFunction. docsStackprotected Stack<DocumentModel>XMLImporterServiceImpl. docsStackprotected Map<org.dom4j.Element,DocumentModel>MVELImporterFunction. elToDocprotected Map<org.dom4j.Element,DocumentModel>XMLImporterServiceImpl. elToDocMethods in org.nuxeo.ecm.platform.importer.xml.parser that return DocumentModel Modifier and Type Method Description DocumentModelAdvancedScannedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelMVELImporterFunction. mkdir(DocumentModel parent, String regexp, String data, String typeName)Methods in org.nuxeo.ecm.platform.importer.xml.parser that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile, boolean deferSave)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source)ImportsDocumentModelin Nuxeo from an XML or a Zip archive.List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source, boolean deferSave)ImportsDocumentModelin Nuxeo from an XML or a Zip archive.List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)Same asXMLImporterService.importDocuments(DocumentModel, File)with map injected into mvel contexts used during parsingList<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream)ImportsDocumentModelin Nuxeo from an XML Stream.List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)Same asXMLImporterService.importDocuments(DocumentModel, InputStream)with map injected into mvel contexts used during parsingList<DocumentModel>XMLImporterServiceImpl. parse(File file)List<DocumentModel>XMLImporterServiceImpl. parse(InputStream is)List<DocumentModel>XMLImporterServiceImpl. parse(org.dom4j.Document doc)Methods in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type DocumentModel Modifier and Type Method Description DocumentModelAdvancedScannedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File xmlFile, boolean deferSave)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream)List<DocumentModel>XMLImporterComponent. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source)ImportsDocumentModelin Nuxeo from an XML or a Zip archive.List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source, boolean deferSave)ImportsDocumentModelin Nuxeo from an XML or a Zip archive.List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext)Same asXMLImporterService.importDocuments(DocumentModel, File)with map injected into mvel contexts used during parsingList<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, File source, Map<String,Object> mvelContext, boolean deferSave)List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream)ImportsDocumentModelin Nuxeo from an XML Stream.List<DocumentModel>XMLImporterService. importDocuments(DocumentModel root, InputStream xmlStream, Map<String,Object> mvelContext)Same asXMLImporterService.importDocuments(DocumentModel, InputStream)with map injected into mvel contexts used during parsingDocumentModelMVELImporterFunction. mkdir(DocumentModel parent, String regexp, String data, String typeName)protected voidXMLImporterServiceImpl. processDocAttributes(DocumentModel doc, org.dom4j.Element el, AttributeConfigDescriptor conf)Constructors in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type DocumentModel Constructor Description XMLImporterServiceImpl(DocumentModel rootDoc, ParserConfigRegistry registry)XMLImporterServiceImpl(DocumentModel rootDoc, ParserConfigRegistry registry, Map<String,Object> mvelContext, boolean deferSave)Constructor parameters in org.nuxeo.ecm.platform.importer.xml.parser with type arguments of type DocumentModel Constructor Description MVELImporterFunction(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element,DocumentModel> elToDoc, org.dom4j.Element el)MVELImporterFunction(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element,DocumentModel> elToDoc, org.dom4j.Element el) -
Uses of DocumentModel in org.nuxeo.ecm.platform.io.operation
Methods in org.nuxeo.ecm.platform.io.operation with parameters of type DocumentModel Modifier and Type Method Description protected DocumentReaderExportDocument. makeDocumentReader(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip)BlobExportDocument. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.login.deputy.management
Methods in org.nuxeo.ecm.platform.login.deputy.management that return DocumentModel Modifier and Type Method Description protected DocumentModelDeputyManagementStorageService. newEntry(String username, String deputy)DocumentModelDeputyManagementStorageService. newMandate(String username, String deputy)DocumentModelDeputyManagementStorageService. newMandate(String username, String deputy, Calendar start, Calendar end)DocumentModelDeputyManager. newMandate(String username, String deputy)DocumentModelDeputyManager. newMandate(String username, String deputy, Calendar start, Calendar end)Methods in org.nuxeo.ecm.platform.login.deputy.management that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>DeputyManagementStorageService. getAvalaibleMandates(String userName)List<DocumentModel>DeputyManager. getAvalaibleMandates(String userName)Methods in org.nuxeo.ecm.platform.login.deputy.management with parameters of type DocumentModel Modifier and Type Method Description voidDeputyManagementStorageService. addMandate(DocumentModel entry)voidDeputyManager. addMandate(DocumentModel entry)protected StringDeputyManagementStorageService. id(DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.adapter
Methods in org.nuxeo.ecm.platform.mail.adapter with parameters of type DocumentModel Modifier and Type Method Description BlobHolderMailMessageBlobHolderfactory. getBlobHolder(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.mail.adapter with parameters of type DocumentModel Constructor Description MailMessageBlobHolder(DocumentModel doc, String xPath, String filename) -
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.listener.action
Constructors in org.nuxeo.ecm.platform.mail.listener.action with parameters of type DocumentModel Constructor Description UnrestrictedCreateDocument(DocumentModel document, CoreSession session, Map<String,String> names) -
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.operations
Methods in org.nuxeo.ecm.platform.mail.operations with parameters of type DocumentModel Modifier and Type Method Description voidMailCheckInboxOperation. run(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.mail.utils
Methods in org.nuxeo.ecm.platform.mail.utils with parameters of type DocumentModel Modifier and Type Method Description static voidMailCoreHelper. checkMail(DocumentModel currentMailFolder, CoreSession coreSession)Creates MailMessage documents for every unread mail found in the INBOX.protected static voidMailCoreHelper. doCheckMail(DocumentModel currentMailFolder, CoreSession coreSession) -
Uses of DocumentModel in org.nuxeo.ecm.platform.notification.api
Methods in org.nuxeo.ecm.platform.notification.api that return types with arguments of type DocumentModel Modifier and Type Method Description default List<DocumentModel>NotificationManager. getSubscribedDocuments(String prefixedPrincipalName)Deprecated.since 9.1, useNotificationManager.getSubscribedDocuments(String, String)insteadList<DocumentModel>NotificationManager. getSubscribedDocuments(String prefixedPrincipalName, String respositoryName)Returns the list of live docs the user is subscribed to in the given repository .Methods in org.nuxeo.ecm.platform.notification.api with parameters of type DocumentModel Modifier and Type Method Description voidNotificationManager. addSubscription(String username, String notification, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal, String notificationName)Called when a user subscribes to a notification.voidNotificationManager. addSubscriptions(String username, DocumentModel doc, Boolean sendConfirmationEmail, NuxeoPrincipal principal)List<String>NotificationManager. getSubscribers(String notification, DocumentModel doc)Gets the users that subscribed to a notification on a certain document.List<String>NotificationManager. getSubscriptionsForUserOnDocument(String username, DocumentModel doc)Gets the notifications for which a user subscribed for a certain document.List<String>NotificationManager. getUsersSubscribedToNotificationOnDocument(String notification, DocumentModel doc)Gets all users and groups that subscribed to a notification on a document This is used in management of subscritptions.voidNotificationManager. removeSubscription(String username, String notification, DocumentModel doc)Called when a user cancels his notification.voidNotificationManager. removeSubscriptions(String username, List<String> notifications, DocumentModel doc)voidNotificationManager. sendDocumentByMail(DocumentModel doc, String freemarkerTemplateName, String subject, String comment, NuxeoPrincipal sender, List<String> sendTo)Sends an e-mail directly. -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth.consumers
Methods in org.nuxeo.ecm.platform.oauth.consumers that return DocumentModel Modifier and Type Method Description protected DocumentModelNuxeoOAuthConsumer. asDocumentModel(DocumentModel entry)Methods in org.nuxeo.ecm.platform.oauth.consumers with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelNuxeoOAuthConsumer. asDocumentModel(DocumentModel entry)static NuxeoOAuthConsumerNuxeoOAuthConsumer. createFromDirectoryEntry(DocumentModel entry, String keyType) -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth.providers
Methods in org.nuxeo.ecm.platform.oauth.providers that return DocumentModel Modifier and Type Method Description protected DocumentModelNuxeoOAuthServiceProvider. asDocumentModel(DocumentModel entry)protected DocumentModelOAuthServiceProviderRegistryImpl. getBestEntry(DocumentModelList entries, String gadgetUri, String serviceName)Methods in org.nuxeo.ecm.platform.oauth.providers with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelNuxeoOAuthServiceProvider. asDocumentModel(DocumentModel entry)static NuxeoOAuthServiceProviderNuxeoOAuthServiceProvider. createFromDirectoryEntry(DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth.tokens
Methods in org.nuxeo.ecm.platform.oauth.tokens with parameters of type DocumentModel Modifier and Type Method Description protected NuxeoOAuthTokenOAuthTokenStoreImpl. getTokenFromDirectoryEntry(DocumentModel entry)voidNuxeoOAuthToken. updateEntry(DocumentModel entry)Constructors in org.nuxeo.ecm.platform.oauth.tokens with parameters of type DocumentModel Constructor Description NuxeoOAuthToken(DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.clients
Methods in org.nuxeo.ecm.platform.oauth2.clients that return DocumentModel Modifier and Type Method Description static DocumentModelOAuth2Client. fromOAuth2Client(OAuth2Client oAuth2Client)Creates aDocumentModelfrom anOAuth2Client.protected DocumentModelOAuth2ClientServiceImpl. getClientModel(String clientId)protected DocumentModelOAuth2ClientServiceImpl. getDocument(String clientId)Gets the document model from a givenclientIdstatic DocumentModelOAuth2Client. updateDocument(DocumentModel documentModel, OAuth2Client oAuth2Client)Updates theDocumentModelby theOAuth2Client.Methods in org.nuxeo.ecm.platform.oauth2.clients that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>OAuth2ClientServiceImpl. queryClients()Methods in org.nuxeo.ecm.platform.oauth2.clients with parameters of type DocumentModel Modifier and Type Method Description static OAuth2ClientOAuth2Client. fromDocumentModel(DocumentModel doc)static DocumentModelOAuth2Client. updateDocument(DocumentModel documentModel, OAuth2Client oAuth2Client)Updates theDocumentModelby theOAuth2Client. -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.openid.auth
Methods in org.nuxeo.ecm.platform.oauth2.openid.auth that return DocumentModel Modifier and Type Method Description protected DocumentModelUserResolver. createNuxeoUser(String nuxeoLogin)DocumentModelEmailBasedUserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)DocumentModelStoredUserInfoResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)protected DocumentModelUserMapperResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)protected abstract DocumentModelUserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)Methods in org.nuxeo.ecm.platform.oauth2.openid.auth with parameters of type DocumentModel Modifier and Type Method Description DocumentModelEmailBasedUserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)DocumentModelStoredUserInfoResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)protected DocumentModelUserMapperResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo)protected abstract DocumentModelUserResolver. updateUserInfo(DocumentModel user, OpenIDUserInfo userInfo) -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.providers
Methods in org.nuxeo.ecm.platform.oauth2.providers that return DocumentModel Modifier and Type Method Description protected DocumentModelOAuth2ServiceProviderRegistryImpl. getProviderDocModel(String serviceName)Methods in org.nuxeo.ecm.platform.oauth2.providers that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>OAuth2ServiceProviderRegistryImpl. queryProviders(Map<String,Serializable> filter, int limit)Methods in org.nuxeo.ecm.platform.oauth2.providers with parameters of type DocumentModel Modifier and Type Method Description protected OAuth2ServiceProviderOAuth2ServiceProviderRegistryImpl. buildProvider(DocumentModel entry)Instantiates the provider merging the contribution and the directory entry -
Uses of DocumentModel in org.nuxeo.ecm.platform.oauth2.tokens
Methods in org.nuxeo.ecm.platform.oauth2.tokens that return DocumentModel Modifier and Type Method Description protected DocumentModelOAuth2TokenStore. find(Map<String,Serializable> filter)Methods in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type DocumentModel Modifier and Type Method Description static com.google.api.client.auth.oauth2.StoredCredentialNuxeoOAuth2Token. asCredential(DocumentModel entry)protected NuxeoOAuth2TokenOAuth2TokenStore. getTokenFromDirectoryEntry(DocumentModel entry)NuxeoOAuth2TokenOAuth2TokenStore. refresh(DocumentModel entry, NuxeoOAuth2Token token)voidNuxeoOAuth2Token. updateEntry(DocumentModel entry)Constructors in org.nuxeo.ecm.platform.oauth2.tokens with parameters of type DocumentModel Constructor Description NuxeoOAuth2Token(DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.platform.pdf
Methods in org.nuxeo.ecm.platform.pdf that return DocumentModel Modifier and Type Method Description DocumentModelPDFInfo. toFields(DocumentModel inDoc, HashMap<String,String> inMapping, boolean inSave, CoreSession inSession)TheinMappingmap is an HashMap where the key is the xpath of the destination field, and the value is the exact label of a PDF info as returned bytoHashMap().Methods in org.nuxeo.ecm.platform.pdf with parameters of type DocumentModel Modifier and Type Method Description voidPDFMerge. addBlob(DocumentModel inDoc, String inXPath)DocumentModelPDFInfo. toFields(DocumentModel inDoc, HashMap<String,String> inMapping, boolean inSave, CoreSession inSession)TheinMappingmap is an HashMap where the key is the xpath of the destination field, and the value is the exact label of a PDF info as returned bytoHashMap().Constructors in org.nuxeo.ecm.platform.pdf with parameters of type DocumentModel Constructor Description PDFInfo(DocumentModel inDoc)Constructor with a DocumentModel.PDFInfo(DocumentModel inDoc, String inXPath, String inPassword)Constructor for DocumentModel + encrypted PDFPDFMerge(DocumentModel inDoc, String inXPath)PDFPageExtractor(DocumentModel inDoc, String inXPath)Constructor with aDocumentModel.PDFPageNumbering(DocumentModel inDoc, String inXPath)PDFTextExtractor(DocumentModel inDoc, String inXPath)Constructor with aDocumentModel. -
Uses of DocumentModel in org.nuxeo.ecm.platform.pdf.operations
Methods in org.nuxeo.ecm.platform.pdf.operations that return DocumentModel Modifier and Type Method Description DocumentModelPDFExtractInfoOperation. run(DocumentModel inDoc)DocumentModelPDFExtractTextOperation. run(DocumentModel input)Methods in org.nuxeo.ecm.platform.pdf.operations with parameters of type DocumentModel Modifier and Type Method Description BlobListPDFConvertToPicturesOperation. run(DocumentModel inDoc)BlobPDFEncryptOperation. run(DocumentModel inDoc)BlobPDFEncryptReadOnlyOperation. run(DocumentModel inDoc)DocumentModelPDFExtractInfoOperation. run(DocumentModel inDoc)BlobPDFExtractPagesOperation. run(DocumentModel inDoc)DocumentModelPDFExtractTextOperation. run(DocumentModel input)BlobPDFMergeDocumentsOperation. run(DocumentModel inDoc)BlobPDFRemoveEncryptionOperation. run(DocumentModel inDoc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture
Methods in org.nuxeo.ecm.platform.picture with parameters of type DocumentModel Modifier and Type Method Description protected BlobImagingComponent. callPictureConversionChain(DocumentModel doc, Blob blob, PictureConversion pictureConversion, ImageInfo imageInfo, Point size, String conversionFormat)protected booleanImagingComponent. canApplyPictureConversion(PictureConversion pictureConversion, DocumentModel doc)protected PictureViewImagingComponent. computeView(DocumentModel doc, Blob blob, PictureConversion pictureConversion, ImageInfo imageInfo)protected PictureViewImagingComponent. computeView(DocumentModel doc, Blob blob, PictureConversion pictureConversion, ImageInfo imageInfo, boolean convert)List<PictureView>ImagingComponent. computeViewsFor(DocumentModel doc, Blob blob, ImageInfo imageInfo, boolean convert)protected ActionContextImagingComponent. createActionContext(DocumentModel doc)protected voidPictureViewsGenerationWork. firePictureViewsGenerationDoneEvent(DocumentModel doc)Deprecated.Fire aPICTURE_VIEWS_GENERATION_DONE_EVENTbooleanPictureViewsHelper. hasPrefillPictureViews(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.api
Methods in org.nuxeo.ecm.platform.picture.api with parameters of type DocumentModel Modifier and Type Method Description List<PictureView>ImagingService. computeViewsFor(DocumentModel doc, Blob blob, ImageInfo imageInfo, boolean convert)Compute all the registeredPictureConversionFor each picture template theImagingService.computeViewFor(Blob, PictureConversion, ImageInfo, boolean)method is call -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.api.adapters
Fields in org.nuxeo.ecm.platform.picture.api.adapters declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractPictureAdapter. docMethods in org.nuxeo.ecm.platform.picture.api.adapters with parameters of type DocumentModel Modifier and Type Method Description ObjectMultiviewPictureAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)ObjectNoPictureResourceAdapterFactory. getAdapter(DocumentModel doc, Class<?> cls)Deprecated.ObjectPictureResourceAdapterFactory. getAdapter(DocumentModel doc, Class<?> cls)BlobHolderPictureBlobHolderFactory. getBlobHolder(DocumentModel doc)voidAbstractPictureAdapter. setDocumentModel(DocumentModel doc)voidPictureResourceAdapter. setDocumentModel(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.picture.api.adapters with parameters of type DocumentModel Constructor Description MultiviewPictureAdapter(DocumentModel docModel)PictureBlobHolder(DocumentModel doc, String path)PictureBookBlobHolder(DocumentModel doc, String xPath) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.extension
Methods in org.nuxeo.ecm.platform.picture.extension with parameters of type DocumentModel Modifier and Type Method Description voidImagePlugin. updateDocument(DocumentModel doc, Blob content) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.listener
Methods in org.nuxeo.ecm.platform.picture.listener that return DocumentModel Modifier and Type Method Description protected DocumentModelPictureChangedListener. getParentDocument(CoreSession session, DocumentModel doc)Methods in org.nuxeo.ecm.platform.picture.listener with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelPictureChangedListener. getParentDocument(CoreSession session, DocumentModel doc)protected voidPictureChangedListener. preFillPictureViews(CoreSession session, DocumentModel doc)protected booleanPictureChangedListener. triggersPictureViewsGeneration(Event event, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.operation
Methods in org.nuxeo.ecm.platform.picture.operation that return DocumentModel Modifier and Type Method Description DocumentModelCreatePicture. run(DocumentModel doc)DocumentModelCreatePicture. run(DocumentRef doc)Methods in org.nuxeo.ecm.platform.picture.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCreatePicture. run(DocumentModel doc)BlobGetPictureView. run(DocumentModel doc)BlobPictureResize. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.preview.adapter.factories
Methods in org.nuxeo.ecm.platform.picture.preview.adapter.factories with parameters of type DocumentModel Modifier and Type Method Description HtmlPreviewAdapterPicturePreviewAdapterFactory. getAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.recompute
Methods in org.nuxeo.ecm.platform.picture.recompute with parameters of type DocumentModel Modifier and Type Method Description protected voidRecomputeViewsAction.RecomputeViewsComputation. fireEvent(CoreSession session, DocumentModel document, String eventName) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.rendition
Methods in org.nuxeo.ecm.platform.picture.rendition with parameters of type DocumentModel Modifier and Type Method Description List<RenditionDefinition>PictureRenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)booleanPictureRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)List<Blob>PictureRenditionProvider. render(DocumentModel doc, RenditionDefinition definition) -
Uses of DocumentModel in org.nuxeo.ecm.platform.picture.thumbnail
Methods in org.nuxeo.ecm.platform.picture.thumbnail with parameters of type DocumentModel Modifier and Type Method Description BlobThumbnailPictureFactory. computeThumbnail(DocumentModel doc, CoreSession session)BlobThumbnailPictureFactory. getThumbnail(DocumentModel doc, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.adapter
Methods in org.nuxeo.ecm.platform.preview.adapter with parameters of type DocumentModel Modifier and Type Method Description HtmlPreviewAdapterPreviewAdapterFactory. getAdapter(DocumentModel doc)HtmlPreviewAdapterPreviewAdapterManager. getAdapter(DocumentModel doc)HtmlPreviewAdapterPreviewAdapterManagerComponent. getAdapter(DocumentModel doc)ObjectPreviewDocumentModelAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)List<Blob>MimeTypePreviewer. getPreview(Blob blob, DocumentModel dm)List<Blob>PlainImagePreviewer. getPreview(Blob blob, DocumentModel dm)Deprecated.List<Blob>PlainTextPreviewer. getPreview(Blob blob, DocumentModel dm)List<Blob>ZipPreviewer. getPreview(Blob blob, DocumentModel dm)protected StringAbstractPreviewer. getPreviewTitle(DocumentModel dm)booleanPreviewAdapterManager. hasAdapter(DocumentModel doc)booleanPreviewAdapterManagerComponent. hasAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.adapter.base
Fields in org.nuxeo.ecm.platform.preview.adapter.base declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractHtmlPreviewAdapter. adaptedDocMethods in org.nuxeo.ecm.platform.preview.adapter.base with parameters of type DocumentModel Modifier and Type Method Description voidAbstractHtmlPreviewAdapter. setAdaptedDocument(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.adapter.factories
Methods in org.nuxeo.ecm.platform.preview.adapter.factories with parameters of type DocumentModel Modifier and Type Method Description HtmlPreviewAdapterBlobHolderPreviewAdapterFactory. getAdapter(DocumentModel doc)HtmlPreviewAdapterFileBasedPreviewAdapterFactory. getAdapter(DocumentModel doc)HtmlPreviewAdapterNotePreviewAdapter. getAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.api
Methods in org.nuxeo.ecm.platform.preview.api with parameters of type DocumentModel Modifier and Type Method Description voidHtmlPreviewAdapter. setAdaptedDocument(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.helper
Methods in org.nuxeo.ecm.platform.preview.helper with parameters of type DocumentModel Modifier and Type Method Description static booleanPreviewHelper. blobSupportsPreview(DocumentModel doc, String xpath)static booleanPreviewHelper. docHasBlobToPreview(DocumentModel document)static HtmlPreviewAdapterPreviewHelper. getBlobPreviewAdapter(DocumentModel doc)static StringPreviewHelper. getPreviewURL(DocumentModel doc)static StringPreviewHelper. getPreviewURL(DocumentModel doc, String xpath)static booleanPreviewHelper. typeSupportsPreview(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.io
Methods in org.nuxeo.ecm.platform.preview.io with parameters of type DocumentModel Modifier and Type Method Description voidPreviewJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.preview.work
Methods in org.nuxeo.ecm.platform.preview.work with parameters of type DocumentModel Modifier and Type Method Description protected StringPreviewWork. getSourceId(DocumentModel doc)Returns the identifier of the object to render, could be the main blob or a doc.Constructors in org.nuxeo.ecm.platform.preview.work with parameters of type DocumentModel Constructor Description PreviewWork(DocumentModel doc, String xpath, boolean blobPostProcessing) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.api
Methods in org.nuxeo.ecm.platform.publisher.api that return DocumentModel Modifier and Type Method Description DocumentModelAbstractBasePublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)DocumentModelPublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)Methods in org.nuxeo.ecm.platform.publisher.api with parameters of type DocumentModel Modifier and Type Method Description PublicationTreePublisherService. getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params, DocumentModel currentDocument)PublicationTreePublisherService. 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.booleanAbstractBasePublicationTree. isPublicationNode(DocumentModel documentModel)booleanPublicationTree. isPublicationNode(DocumentModel documentModel)Returnstrueif the givendocumentModelis a PublicationNode of the current tree,falseotherwise.booleanPublisherService. isPublishedDocument(DocumentModel documentModel)protected booleanAbstractBasePublishedDocumentFactory. needToVersionDocument(DocumentModel doc)protected voidAbstractBasePublishedDocumentFactory. notifyEvent(String eventId, Map<String,Serializable> properties, String comment, String category, DocumentModel dm, CoreSession coreSession)protected voidAbstractBasePublishedDocumentFactory. notifyEvent(PublishingEvent event, DocumentModel doc, CoreSession coreSession)PublishedDocumentAbstractBasePublicationTree. publish(DocumentModel doc, PublicationNode targetNode)PublishedDocumentAbstractBasePublicationTree. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)PublishedDocumentPublicationTree. publish(DocumentModel doc, PublicationNode targetNode)PublishedDocumentPublicationTree. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)PublishedDocumentPublisherService. publish(DocumentModel doc, PublicationNode targetNode)PublishedDocumentPublisherService. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)PublishedDocumentAbstractBasePublishedDocumentFactory. publishDocument(DocumentModel doc, PublicationNode targetNode)PublishedDocumentPublishedDocumentFactory. publishDocument(DocumentModel doc, PublicationNode targetNode)PublishedDocumentPublishedDocumentFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)voidAbstractBasePublicationTree. setCurrentDocument(DocumentModel currentDocument)voidPublicationTree. setCurrentDocument(DocumentModel currentDocument)Sets the current document on which the tree will be based, if needed.DocumentModelAbstractBasePublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)DocumentModelPublishedDocumentFactory. snapshotDocumentBeforePublish(DocumentModel doc)voidPublicationTree. unpublish(DocumentModel doc, PublicationNode targetNode)voidPublisherService. unpublish(DocumentModel doc, PublicationNode targetNode)PublishedDocumentPublishedDocumentFactory. wrapDocumentModel(DocumentModel doc)PublicationNodeAbstractBasePublicationTree. wrapToPublicationNode(DocumentModel documentModel)PublicationNodePublicationTree. wrapToPublicationNode(DocumentModel documentModel)Returns a PublicationNode for the current tree built on the givendocumentModel.PublicationNodePublisherService. wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession)PublishedDocumentAbstractBasePublicationTree. wrapToPublishedDocument(DocumentModel documentModel)PublishedDocumentPublicationTree. wrapToPublishedDocument(DocumentModel documentModel) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.helper
Methods in org.nuxeo.ecm.platform.publisher.helper with parameters of type DocumentModel Modifier and Type Method Description static voidPublicationRelationHelper. addPublicationRelation(DocumentModel documentModel, PublicationTree publicationTree)StringRootSectionsManager. addSection(String sectionId, DocumentModel currentDocument)booleanRootSectionsManager. canAddSection(DocumentModel section, DocumentModel currentDocument)DocumentModelListRootSectionFinder. getAccessibleSectionRoots(DocumentModel currentDoc)static PublicationTreePublicationRelationHelper. getPublicationTreeUsedForPublishing(DocumentModel documentModel, CoreSession coreSession)DocumentModelListRootSectionFinder. getSectionRootsForWorkspace(DocumentModel currentDoc)Returns the head (root) sections that are bound to a given Workspace.DocumentModelListRootSectionFinder. getSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots)Returns the head (root) sections that are bound to a given Workspace.static StringVersioningHelper. getVersionLabelFor(DocumentModel doc)static booleanPublicationRelationHelper. isPublished(DocumentModel documentModel)static voidPublicationRelationHelper. removePublicationRelation(DocumentModel documentModel)StringRootSectionsManager. removeSection(String sectionId, DocumentModel currentDocument) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.core
Fields in org.nuxeo.ecm.platform.publisher.impl.core declared as DocumentModel Modifier and Type Field Description protected DocumentModelRootSectionsPublicationTree. currentDocumentprotected DocumentModelCoreFolderPublicationNode. folderprotected DocumentModelSimpleCorePublishedDocument. proxyprotected DocumentModelSectionPublicationTree. treeRootMethods in org.nuxeo.ecm.platform.publisher.impl.core that return DocumentModel Modifier and Type Method Description DocumentModelSimpleCorePublishedDocument. getProxy()DocumentModelCoreFolderPublicationNode. getTargetDocumentModel()DocumentModelCoreProxyFactory. snapshotDocumentBeforePublish(DocumentModel doc)DocumentModelCoreProxyFactory. unwrapPublishedDocument(PublishedDocument pubDoc)Constructors in org.nuxeo.ecm.platform.publisher.impl.core with parameters of type DocumentModel Constructor Description CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublicationNode parent, PublishedDocumentFactory factory)CoreFolderPublicationNode(DocumentModel doc, PublicationTree tree, PublishedDocumentFactory factory)SimpleCorePublishedDocument(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.finder
Fields in org.nuxeo.ecm.platform.publisher.impl.finder declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractRootSectionsFinder. currentDocumentMethods in org.nuxeo.ecm.platform.publisher.impl.finder with parameters of type DocumentModel Modifier and Type Method Description protected abstract voidAbstractRootSectionsFinder. computeUserSectionRoots(DocumentModel currentDoc)protected voidDefaultRootSectionsFinder. computeUserSectionRoots(DocumentModel currentDoc)DocumentModelListAbstractRootSectionsFinder. getAccessibleSectionRoots(DocumentModel currentDoc)DocumentModelListAbstractRootSectionsFinder. getSectionRootsForWorkspace(DocumentModel currentDoc)DocumentModelListAbstractRootSectionsFinder. getSectionRootsForWorkspace(DocumentModel currentDoc, boolean addDefaultSectionRoots)protected DocumentModelListAbstractRootSectionsFinder. getSectionRootsFromWorkspaceConfig(DocumentModel workspace, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.impl.service
Fields in org.nuxeo.ecm.platform.publisher.impl.service with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>DomainsFinder. domainsMethods in org.nuxeo.ecm.platform.publisher.impl.service that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>DomainsFinder. getDomains()protected List<DocumentModel>DomainsFinder. getDomainsFiltered()Methods in org.nuxeo.ecm.platform.publisher.impl.service with parameters of type DocumentModel Modifier and Type Method Description PublicationTreePublisherServiceImpl. getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params, DocumentModel currentDocument)PublicationTreePublisherServiceImpl. getPublicationTreeFor(DocumentModel doc, CoreSession coreSession)booleanPublisherServiceImpl. isPublishedDocument(DocumentModel documentModel)PublishedDocumentPublisherServiceImpl. publish(DocumentModel doc, PublicationNode targetNode)PublishedDocumentPublisherServiceImpl. publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)voidPublisherServiceImpl. registerTreeConfigFor(DocumentModel domain)voidPublisherServiceImpl. unpublish(DocumentModel doc, PublicationNode targetNode)voidPublisherServiceImpl. unRegisterTreeConfigFor(DocumentModel domain)PublicationNodePublisherServiceImpl. wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.listeners
Methods in org.nuxeo.ecm.platform.publisher.listeners with parameters of type DocumentModel Modifier and Type Method Description protected voidDomainEventsListener. handleDomainGoesFromTrashedState(DocumentModel doc)protected voidDomainEventsListener. handleDomainGoesToTrashedState(DocumentModel doc)protected voidDomainEventsListener. handleDomainLifeCycleChanged(DocumentEventContext docCtx, DocumentModel doc)protected voidDomainEventsListener. handleDomainMoved(DocumentEventContext docCtx, DocumentModel doc)protected voidDomainEventsListener. registerNewPublicationTrees(DocumentModel doc)protected voidDomainEventsListener. unregisterPublicationTrees(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.rules
Methods in org.nuxeo.ecm.platform.publisher.rules with parameters of type DocumentModel Modifier and Type Method Description String[]DefaultValidatorsRule. computesValidatorsFor(DocumentModel doc)String[]ValidatorsRule. computesValidatorsFor(DocumentModel dm)Computes the list of publishing validators given the document model of the document just published.Constructors in org.nuxeo.ecm.platform.publisher.rules with parameters of type DocumentModel Constructor Description UnrestrictedACPGetter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.publisher.task
Methods in org.nuxeo.ecm.platform.publisher.task that return DocumentModel Modifier and Type Method Description protected DocumentModelCoreProxyWithWorkflowFactory. getLiveDocument(CoreSession session, DocumentModel proxy)DocumentModelPublishUnrestricted. getModel()Methods in org.nuxeo.ecm.platform.publisher.task with parameters of type DocumentModel Modifier and Type Method Description protected voidCoreProxyWithWorkflowFactory. createTask(DocumentModel document, CoreSession session, NuxeoPrincipal principal)protected voidCoreProxyWithWorkflowFactory. endTask(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event)protected DocumentModelCoreProxyWithWorkflowFactory. getLiveDocument(CoreSession session, DocumentModel proxy)protected booleanCoreProxyWithWorkflowFactory. hasValidationTask(DocumentModel proxy, NuxeoPrincipal currentUser)booleanLookupState. isPublished(DocumentModel doc, CoreSession session)protected booleanCoreProxyWithWorkflowFactory. isPublishedDocWaitingForPublication(DocumentModel doc, CoreSession session)protected booleanCoreProxyWithWorkflowFactory. isValidator(DocumentModel document, NuxeoPrincipal principal)PublishedDocumentCoreProxyWithWorkflowFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)protected voidCoreProxyWithWorkflowFactory. removeACL(DocumentModel document, CoreSession coreSession)protected voidCoreProxyWithWorkflowFactory. removeExistingProxiesOnPreviousVersions(DocumentModel newProxy)protected voidCoreProxyWithWorkflowFactory. removeProxy(DocumentModel doc, CoreSession coreSession)protected voidCoreProxyWithWorkflowFactory. restrictPermission(DocumentModel newProxy, NuxeoPrincipal principal, CoreSession coreSession, ACL acl)PublishedDocumentCoreProxyWithWorkflowFactory. wrapDocumentModel(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.publisher.task with parameters of type DocumentModel Constructor Description ChangePermissionUnrestricted(CoreSession session, DocumentModel document, String[] validators, NuxeoPrincipal principal, String aclName, ACL acl)DeleteDocumentUnrestricted(CoreSession session, DocumentModel document)PublishUnrestricted(CoreSession session, DocumentModel docToPublish, DocumentModel sectionToPublishTo)PublishUnrestricted(CoreSession session, DocumentModel docToPublish, DocumentModel sectionToPublishTo, boolean overwriteProxy)RemoveACLUnrestricted(CoreSession session, DocumentModel document, String aclName, String oldAclName) -
Uses of DocumentModel in org.nuxeo.ecm.platform.query.api
Fields in org.nuxeo.ecm.platform.query.api declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractPageProvider. searchDocumentModelMethods in org.nuxeo.ecm.platform.query.api that return DocumentModel Modifier and Type Method Description DocumentModelAbstractPageProvider. getSearchDocumentModel()DocumentModelPageProvider. getSearchDocumentModel()Methods in org.nuxeo.ecm.platform.query.api with parameters of type DocumentModel Modifier and Type Method Description PageProvider<?>PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)Returns an instance of page provider with given name.PageProvider<?>PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)Returns an instance of page provider with given name.PageProvider<?>PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)Returns an instance of page provider with given name.PageProvider<?>PageProviderService. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)Returns an instance of page provider with given name.PageProvider<?>PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)Returns an instance of page provider with given name and definition.PageProvider<?>PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)Returns an instance of page provider with given name and definition.PageProvider<?>PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)Returns an instance of page provider with given name.PageProvider<?>PageProviderService. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)Returns an instance of page provider with given name.protected booleanAbstractPageProvider. searchDocumentModelChanged(DocumentModel oldDoc, DocumentModel newDoc)voidAbstractPageProvider. setSearchDocumentModel(DocumentModel searchDocumentModel)voidPageProvider. setSearchDocumentModel(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.query.core
Fields in org.nuxeo.ecm.platform.query.core declared as DocumentModel Modifier and Type Field Description protected DocumentModelAggregateBase. searchDocumentMethods in org.nuxeo.ecm.platform.query.core that return DocumentModel Modifier and Type Method Description DocumentModelAggregateBase. getSearchDocument()Methods in org.nuxeo.ecm.platform.query.core that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>DocumentModelListPageProvider. getCurrentPage()Methods in org.nuxeo.ecm.platform.query.core with parameters of type DocumentModel Modifier and Type Method Description PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Long currentOffset, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<String> highlights, List<QuickFilter> quickFilters, Object... parameters)PageProvider<?>PageProviderServiceImpl. getPageProvider(String name, PageProviderDefinition desc, DocumentModel searchDocument, List<SortInfo> sortInfos, Long pageSize, Long currentPage, Map<String,Serializable> properties, List<QuickFilter> quickFilters, Object... parameters)Method parameters in org.nuxeo.ecm.platform.query.core with type arguments of type DocumentModel Modifier and Type Method Description voidDocumentModelListPageProvider. setDocumentModelList(List<DocumentModel> docs)Constructors in org.nuxeo.ecm.platform.query.core with parameters of type DocumentModel Constructor Description AggregateBase(AggregateDefinition definition, DocumentModel searchDocument) -
Uses of DocumentModel in org.nuxeo.ecm.platform.query.nxql
Fields in org.nuxeo.ecm.platform.query.nxql with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>CoreQueryDocumentPageProvider. currentPageDocumentsMethods in org.nuxeo.ecm.platform.query.nxql that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>CoreQueryDocumentPageProvider. getCurrentPage()PageSelections<DocumentModel>CoreQueryDocumentPageProvider. getCurrentSelectPage()Methods in org.nuxeo.ecm.platform.query.nxql with parameters of type DocumentModel Modifier and Type Method Description protected static StringNXQLQueryBuilder. atomicQueryElement(DocumentModel model, PredicateDefinition predicateDescriptor, Escaper escaper)static BooleanNXQLQueryBuilder. getBooleanValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)static StringNXQLQueryBuilder. getFieldType(DocumentModel model, PredicateFieldDefinition fieldDescriptor)static IntegerNXQLQueryBuilder. getIntValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)static List<String>NXQLQueryBuilder. getListValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)static StringNXQLQueryBuilder. getPlainStringValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)static StringNXQLQueryBuilder. getQuery(String pattern, Object[] params, boolean quoteParameters, boolean escape, DocumentModel searchDocumentModel, SortInfo... sortInfos)static StringNXQLQueryBuilder. getQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, SortInfo... sortInfos)static StringNXQLQueryBuilder. getQuery(DocumentModel model, WhereClauseDefinition whereClause, String quickFiltersClause, Object[] params, SortInfo... sortInfos)static StringNXQLQueryBuilder. getQueryElement(DocumentModel model, PredicateDefinition predicateDescriptor, Escaper escaper)static StringNXQLQueryBuilder. getQueryElement(DocumentModel model, WhereClauseDefinition whereClause, Object[] params)static StringNXQLQueryBuilder. getQueryElement(DocumentModel model, WhereClauseDefinition whereClause, String quickFiltersClause, Object[] params)static ObjectNXQLQueryBuilder. getRawValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)static StringNXQLQueryBuilder. getStringValue(DocumentModel model, PredicateFieldDefinition fieldDescriptor)protected static StringNXQLQueryBuilder. subClauseQueryElement(DocumentModel model, PredicateDefinition predicateDescriptor) -
Uses of DocumentModel in org.nuxeo.ecm.platform.relations
Methods in org.nuxeo.ecm.platform.relations that return DocumentModel Modifier and Type Method Description protected DocumentModelCoreGraph.StatementAdder. setRelationProperties(DocumentModel rel, Statement statement)Methods in org.nuxeo.ecm.platform.relations with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelCoreGraph.StatementAdder. setRelationProperties(DocumentModel rel, Statement statement) -
Uses of DocumentModel in org.nuxeo.ecm.platform.relations.api
Methods in org.nuxeo.ecm.platform.relations.api with parameters of type DocumentModel Modifier and Type Method Description voidDocumentRelationManager. addRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse)Add link between two documentvoidDocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate)Add link between two documentvoidDocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse)Add link between two documentvoidDocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents)Add link between two documentvoidDocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment)Add link between two documentvoidDocumentRelationManager. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate)voidDocumentRelationManager. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents) -
Uses of DocumentModel in org.nuxeo.ecm.platform.relations.api.util
Methods in org.nuxeo.ecm.platform.relations.api.util that return DocumentModel Modifier and Type Method Description static DocumentModelRelationHelper. getDocumentModel(Node node, CoreSession session)Returns the document model corresponding to a relation node.Methods in org.nuxeo.ecm.platform.relations.api.util with parameters of type DocumentModel Modifier and Type Method Description static QNameResourceRelationHelper. getDocumentResource(DocumentModel document)Returns the relation node corresponding to a document model.static DocumentModelListRelationHelper. getObjectDocuments(String graphName, DocumentModel subjectDoc, Resource predicat)static DocumentModelListRelationHelper. getObjectDocuments(DocumentModel subjectDoc, Resource predicat)static List<Statement>RelationHelper. getStatements(String graphName, DocumentModel subjectDoc, Resource predicat)static List<Statement>RelationHelper. getStatements(DocumentModel subjectDoc, Resource predicat)static DocumentModelListRelationHelper. getSubjectDocuments(String graphName, Resource predicat, DocumentModel objectDocument)static DocumentModelListRelationHelper. getSubjectDocuments(Resource predicat, DocumentModel objectDocument)static DocumentModelListRelationHelper. getSubjectDocumentsOut(String graphName, Resource predicat, DocumentModel objectDocument)static DocumentModelListRelationHelper. getSubjectDocumentsOut(Resource predicat, DocumentModel objectDocument)static voidRelationHelper. removeRelation(String graphName, DocumentModel subjectDoc, Resource predicat, DocumentModel objectDoc)static voidRelationHelper. removeRelation(DocumentModel subjectDoc, Resource predicat, DocumentModel objectDoc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.relations.services
Methods in org.nuxeo.ecm.platform.relations.services with parameters of type DocumentModel Modifier and Type Method Description voidDocumentRelationService. addRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse)voidDocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate)voidDocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse)voidDocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents)voidDocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node toResource, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment)voidDocumentRelationService. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate)voidDocumentRelationService. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents)protected voidDocumentRelationService. notifyEvent(String eventId, DocumentModel source, Map<String,Serializable> options, String comment, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.api
Methods in org.nuxeo.ecm.platform.rendering.api with parameters of type DocumentModel Modifier and Type Method Description ObjectDefaultDocumentView. get(DocumentModel doc, String name)ObjectDocumentView. get(DocumentModel doc, String name)ObjectDefaultDocumentView.Field. getValue(DocumentModel doc)Collection<String>DefaultDocumentView. keys(DocumentModel doc)Collection<String>DocumentView. keys(DocumentModel doc)intDefaultDocumentView. size(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.fm.adapters
Fields in org.nuxeo.ecm.platform.rendering.fm.adapters declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentTemplate. docDocumentModelSchemaTemplate.DocumentSchema. docMethods in org.nuxeo.ecm.platform.rendering.fm.adapters that return DocumentModel Modifier and Type Method Description DocumentModelDocumentTemplate. getDocument()Constructors in org.nuxeo.ecm.platform.rendering.fm.adapters with parameters of type DocumentModel Constructor Description DocumentSchema(DocumentModel doc, String schemaName)DocumentTemplate(freemarker.template.ObjectWrapper wrapper, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.impl
Methods in org.nuxeo.ecm.platform.rendering.impl that return DocumentModel Modifier and Type Method Description DocumentModelDocumentRenderingContext. getDocument()Methods in org.nuxeo.ecm.platform.rendering.impl with parameters of type DocumentModel Modifier and Type Method Description voidDocumentRenderingContext. setDocument(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendering.template
Fields in org.nuxeo.ecm.platform.rendering.template declared as DocumentModel Modifier and Type Field Description protected DocumentModelDocumentModelAdapter. docMethods in org.nuxeo.ecm.platform.rendering.template with parameters of type DocumentModel Modifier and Type Method Description abstract ObjectDocumentFieldAccessor. getValue(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.rendering.template with parameters of type DocumentModel Constructor Description DocumentModelAdapter(DocumentModel doc)DocumentModelAdapter(DocumentModel doc, freemarker.template.ObjectWrapper wrapper) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition
Methods in org.nuxeo.ecm.platform.rendition that return DocumentModel Modifier and Type Method Description DocumentModelRendition. getHostDocument()Return the Document hosting the rendition. -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.adapter
Fields in org.nuxeo.ecm.platform.rendition.adapter declared as DocumentModel Modifier and Type Field Description protected DocumentModelDownloadBlobHolder. docprotected DocumentModelRenderableDocument. docMethods in org.nuxeo.ecm.platform.rendition.adapter with parameters of type DocumentModel Modifier and Type Method Description ObjectRenderableAdapterFactory. getAdapter(DocumentModel doc, Class<?> adapterClass)BlobHolderDownloadBlobHolderFactory. getBlobHolder(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.rendition.adapter with parameters of type DocumentModel Constructor Description DownloadBlobHolder(DocumentModel doc)RenderableDocument(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.extension
Methods in org.nuxeo.ecm.platform.rendition.extension with parameters of type DocumentModel Modifier and Type Method Description StringDefaultAutomationRenditionProvider. getVariant(DocumentModel doc, RenditionDefinition definition)Gets the optionalRENDITION_VARIANT_PROPERTYvalue for a givenRenditionDefinition.default StringRenditionProvider. getVariant(DocumentModel doc, RenditionDefinition definition)Gets the optionalRENDITION_VARIANT_PROPERTYvalue for a givenRenditionDefinition.booleanDefaultAutomationRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)booleanPdfAutomationRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)booleanRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)Test if the Rendition is available on the given DocumentModelstatic List<Blob>AutomationRenderer. render(DocumentModel doc, RenditionDefinition definition, CoreSession session)Generate the rendition Blobs for a givenRenditionDefinition.List<Blob>DefaultAutomationRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)List<Blob>RenditionProvider. render(DocumentModel doc, RenditionDefinition definition)Generate the rendition Blobs for a givenRenditionDefinition. -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.impl
Fields in org.nuxeo.ecm.platform.rendition.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModelLiveRendition. docprotected DocumentModelStoredRendition. storedMethods in org.nuxeo.ecm.platform.rendition.impl that return DocumentModel Modifier and Type Method Description DocumentModelLiveRendition. getHostDocument()DocumentModelStoredRendition. getHostDocument()Constructors in org.nuxeo.ecm.platform.rendition.impl with parameters of type DocumentModel Constructor Description LiveRendition(DocumentModel doc, RenditionDefinition definition)StoredRendition(DocumentModel stored, RenditionDefinition definition) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.io
Methods in org.nuxeo.ecm.platform.rendition.io with parameters of type DocumentModel Modifier and Type Method Description voidPublicationJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidRenditionJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.lazy
Methods in org.nuxeo.ecm.platform.rendition.lazy with parameters of type DocumentModel Modifier and Type Method Description protected StringAbstractRenditionBuilderWork. buildId(DocumentModel doc, RenditionDefinition def)StringAbstractLazyCachableRenditionProvider. buildRenditionKey(DocumentModel doc, RenditionDefinition def)protected abstract List<Blob>AbstractRenditionBuilderWork. doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)Does the actual Rendition Computation: this code will be called from inside an Asynchronous Workprotected List<Blob>AutomationRenditionBuilder. doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)protected abstract WorkAbstractLazyCachableRenditionProvider. getRenditionWork(String key, DocumentModel doc, RenditionDefinition def)protected WorkAutomationLazyRenditionProvider. getRenditionWork(String key, DocumentModel doc, RenditionDefinition def)StringAbstractLazyCachableRenditionProvider. getSourceDocumentModificationDate(DocumentModel doc, RenditionDefinition definition)protected StringAbstractRenditionBuilderWork. getSourceDocumentModificationDate(DocumentModel doc)protected voidAbstractLazyCachableRenditionProvider. handleCompletedRendition(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate, String tsSourceDocumentModificationDate, List<Blob> blobs)protected voidAbstractLazyCachableRenditionProvider. handleIncompleteRendition(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate, String tsSourceDocumentModificationDate)protected List<Blob>AbstractLazyCachableRenditionProvider. handleNewRendition(String key, DocumentModel doc, RenditionDefinition definition, String sourceDocumentModificationDate)List<Blob>AbstractLazyCachableRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)Constructors in org.nuxeo.ecm.platform.rendition.lazy with parameters of type DocumentModel Constructor Description AbstractRenditionBuilderWork(String key, DocumentModel doc, RenditionDefinition def)AutomationRenditionBuilder(String key, DocumentModel doc, RenditionDefinition def) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.operation
Fields in org.nuxeo.ecm.platform.rendition.operation declared as DocumentModel Modifier and Type Field Description protected DocumentModelPublishRendition. targetMethods in org.nuxeo.ecm.platform.rendition.operation that return DocumentModel Modifier and Type Method Description DocumentModelPublishRendition. run(DocumentModel doc)Methods in org.nuxeo.ecm.platform.rendition.operation with parameters of type DocumentModel Modifier and Type Method Description protected BlobGetContainerRendition. getDefaultRendition(DocumentModel doc, int currentDepth)protected BlobListGetContainerRendition. getFolderishBlobs(DocumentModel parent, int currentDepth)protected voidPublishRendition. notifyPublishedEvent(DocumentModel proxy)protected BlobGetContainerRendition. processContainer(DocumentModel doc, int currentDepth)BlobGetContainerRendition. run(DocumentModel doc)BlobGetRendition. run(DocumentModel doc)DocumentModelPublishRendition. run(DocumentModel doc)voidUnpublishAll. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.publisher
Fields in org.nuxeo.ecm.platform.rendition.publisher declared as DocumentModel Modifier and Type Field Description protected DocumentModelRenditionLiveDocFetcher. liveDocumentprotected DocumentModelRenditionLiveDocFetcher. proxyMethods in org.nuxeo.ecm.platform.rendition.publisher that return DocumentModel Modifier and Type Method Description DocumentModelRenditionLiveDocFetcher. getLiveDocument()protected DocumentModelRenditionPublicationFactory. getLiveDocument(CoreSession session, DocumentModel proxy)Methods in org.nuxeo.ecm.platform.rendition.publisher with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelRenditionPublicationFactory. getLiveDocument(CoreSession session, DocumentModel proxy)protected List<PublishedDocument>RenditionPublicationCoreTree. getPublishedDocumentsFromProxyDocument(DocumentRef docRef, DocumentModel sourceDocument)PublishedDocumentRenditionPublicationFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)protected voidRenditionPublicationFactory. removeExistingProxiesOnPreviousVersions(DocumentModel newProxy)Constructors in org.nuxeo.ecm.platform.rendition.publisher with parameters of type DocumentModel Constructor Description RenditionLiveDocFetcher(CoreSession session, DocumentModel source) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.service
Fields in org.nuxeo.ecm.platform.rendition.service declared as DocumentModel Modifier and Type Field Description protected DocumentModelRenditionCreator. detachedRenditionprotected DocumentModelRenditionsRemover. proxyprotected DocumentModelRenditionFinder. sourceprotected DocumentModelRenditionFinder. storedRenditionMethods in org.nuxeo.ecm.platform.rendition.service that return DocumentModel Modifier and Type Method Description protected DocumentModelRenditionCreator. createRenditionDocument(DocumentModel sourceDocument)DocumentModelRenditionCreator. getDetachedDendition()Deprecated.since 7.10, misspelled, useRenditionCreator.getDetachedRendition()instead.DocumentModelRenditionCreator. getDetachedRendition()DocumentModelRenditionFinder. getStoredRendition()DocumentModelRenditionService. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)Publish a document's rendition.DocumentModelRenditionServiceImpl. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)protected DocumentModelRenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition, String name)Deprecated.since 8.1Methods in org.nuxeo.ecm.platform.rendition.service with parameters of type DocumentModel Modifier and Type Method Description protected booleanRenditionDefinitionRegistry. canUseRenditionDefinition(RenditionDefinition renditionDefinition, DocumentModel doc)protected booleanRenditionDefinitionProviderRegistry. canUseRenditionDefinitionProvider(RenditionDefinitionProviderDescriptor renditionDefinitionProviderDescriptor, DocumentModel doc)protected ActionContextRenditionDefinitionProviderRegistry. createActionContext(DocumentModel doc)protected ActionContextRenditionDefinitionRegistry. createActionContext(DocumentModel doc)protected DocumentModelRenditionCreator. createRenditionDocument(DocumentModel sourceDocument)StoredRenditionDefaultStoredRenditionManager. createStoredRendition(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)StoredRenditionStoredRenditionManager. createStoredRendition(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)Creates aStoredRenditionfor the live document or the version document if provided.protected DocumentRefRenditionServiceImpl. createVersionIfNeeded(DocumentModel source, CoreSession session)StoredRenditionDefaultStoredRenditionManager. findStoredRendition(DocumentModel sourceDocument, RenditionDefinition renditionDefinition)StoredRenditionStoredRenditionManager. findStoredRendition(DocumentModel sourceDocument, RenditionDefinition renditionDefinition)Finds theStoredRenditionassociated with aDocumentModel.RenditionDefinitionRenditionService. getAvailableRenditionDefinition(DocumentModel doc, String renditionName)Returns theRenditionDefinitionavailable on the given document for the given rendition definition name.RenditionDefinitionRenditionServiceImpl. getAvailableRenditionDefinition(DocumentModel doc, String renditionName)List<RenditionDefinition>RenditionService. getAvailableRenditionDefinitions(DocumentModel doc)Returns aListofRenditionDefinitionavailable on the given Document.List<RenditionDefinition>RenditionServiceImpl. getAvailableRenditionDefinitions(DocumentModel doc)List<Rendition>RenditionService. getAvailableRenditions(DocumentModel doc)Returns aListofRenditionavailable on the given Document.List<Rendition>RenditionService. getAvailableRenditions(DocumentModel doc, boolean onlyVisible)Returns aListofRenditionavailable on the given Document.List<Rendition>RenditionServiceImpl. getAvailableRenditions(DocumentModel doc)List<Rendition>RenditionServiceImpl. getAvailableRenditions(DocumentModel doc, boolean onlyVisible)RenditionRenditionService. getDefaultRendition(DocumentModel doc, String reason, boolean store, Map<String,Serializable> extendedInfos)Return the defaultRenditionobject for the givenDocumentModel.RenditionRenditionService. getDefaultRendition(DocumentModel doc, String reason, Map<String,Serializable> extendedInfos)Same asRenditionService.getDefaultRendition(DocumentModel, String, boolean, Map)with store parameter set to false.RenditionRenditionServiceImpl. getDefaultRendition(DocumentModel doc, String reason, boolean store, Map<String,Serializable> extendedInfos)RenditionRenditionServiceImpl. getDefaultRendition(DocumentModel doc, String reason, Map<String,Serializable> extendedInfos)RenditionRenditionService. getRendition(DocumentModel doc, String renditionName)Return theRenditionobject for the givenDocumentModeland a rendition definition name.RenditionRenditionService. getRendition(DocumentModel doc, String renditionName, boolean store)Return theRenditionobject for the givenDocumentModeland a rendition definition name.RenditionRenditionServiceImpl. getRendition(DocumentModel doc, String renditionName)RenditionRenditionServiceImpl. getRendition(DocumentModel doc, String renditionName, boolean store)protected RenditionRenditionServiceImpl. getRendition(DocumentModel doc, RenditionDefinition renditionDefinition, boolean store)RenditionDefinitionRenditionDefinitionProviderRegistry. getRenditionDefinition(String name, DocumentModel doc)List<RenditionDefinition>RenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)List<RenditionDefinition>RenditionDefinitionProviderRegistry. getRenditionDefinitions(DocumentModel doc)List<RenditionDefinition>RenditionDefinitionRegistry. getRenditionDefinitions(DocumentModel doc)protected Optional<Rendition>RenditionServiceImpl. getRenditionSafe(DocumentModel doc, String defaultRenditionName, boolean store)protected voidRenditionsRemover. notifyEvent(String eventId, DocumentModel doc, Map<String,Serializable> options)DocumentModelRenditionService. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)Publish a document's rendition.DocumentModelRenditionServiceImpl. publishRendition(DocumentModel doc, DocumentModel target, String renditionName, boolean override)protected voidRenditionCreator. removeBlobs(DocumentModel rendition)protected voidRenditionCreator. setCorrectVersion(DocumentModel rendition, DocumentModel versionDocument)DocumentRefRenditionService. storeRendition(DocumentModel sourceDocument, String renditionDefinitionName)Render a document based on the given rendition definition name and returns the stored RenditionDocumentRef.DocumentRefRenditionServiceImpl. storeRendition(DocumentModel source, String renditionDefinitionName)protected StoredRenditionRenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition)Deprecated.since 10.10, useRenditionServiceImpl.storeRendition(DocumentModel, Rendition, RenditionDefinition)insteadprotected DocumentModelRenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition, String name)Deprecated.since 8.1protected StoredRenditionRenditionServiceImpl. storeRendition(DocumentModel sourceDocument, Rendition rendition, RenditionDefinition renditionDefinition)protected StoredRenditionDefaultStoredRenditionManager. toStoredRendition(DocumentModel storedDoc, RenditionDefinition def, CoreSession coreSession)Wraps the re-attached stored document in aStoredRendition.protected voidRenditionCreator. updateMainBlob(DocumentModel rendition)Constructors in org.nuxeo.ecm.platform.rendition.service with parameters of type DocumentModel Constructor Description RenditionCreator(DocumentModel liveDocument, DocumentModel versionDocument, Blob renditionBlob, RenditionDefinition renditionDefinition)RenditionFinder(DocumentModel source, RenditionDefinition renditionDefinition)RenditionsRemover(DocumentModel source) -
Uses of DocumentModel in org.nuxeo.ecm.platform.rendition.work
Methods in org.nuxeo.ecm.platform.rendition.work with parameters of type DocumentModel Modifier and Type Method Description protected StringRenditionWork. getSourceId(DocumentModel doc)Returns the identifier of the object to render, could be the main blob or a doc.Constructors in org.nuxeo.ecm.platform.rendition.work with parameters of type DocumentModel Constructor Description RenditionWork(DocumentModel doc, String renditionName) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.api
Methods in org.nuxeo.ecm.platform.routing.api that return DocumentModel Modifier and Type Method Description DocumentModelDocumentRoutingPersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)Creates a blankDocumentRouteinstance from a model.DocumentModelDocumentRouteElement. getDocument()Get the underlying document representing this element.DocumentModelDocumentRouteTableElement. getDocument()Deprecated.DocumentModelDocumentRoutingPersister. getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)Will get, and create if it does not exists the root document in whichDocumentRoutestructure will be created.DocumentModelDocumentRoutingPersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)Get or create the parent folder for aDocumentRouteroute instance.DocumentModelDocumentRoutingPersister. getParentFolderForDocumentRouteModels(CoreSession session)Gets or creates the parent folder for aDocumentRouteroute instance.DocumentModelDocumentRoutingPersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)Returns a folder in which new model, created from an instance of route will be stored.DocumentModelDocumentRoutingPersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)Methods in org.nuxeo.ecm.platform.routing.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>DocumentRoutingService. getWorkflowInputDocuments(CoreSession session, Task task)Gets the documents following the workflow to which the given task belongsList<DocumentModel>RoutingTaskService. getWorkflowInputDocuments(CoreSession session, Task task)Deprecated.since 5.6, use DocumentRoutingService insteadList<DocumentModel>DocumentRoutingService. searchRouteModels(CoreSession session, String searchString)Returns the route models matching thesearchString.Methods in org.nuxeo.ecm.platform.routing.api with parameters of type DocumentModel Modifier and Type Method Description booleanDocumentRoutingService. canValidateRoute(DocumentModel documentRoute, CoreSession coreSession)Checks if the principal that created the client session can validate the routeDocumentModelDocumentRoutingPersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)Creates a blankDocumentRouteinstance from a model.List<DocumentRoute>DocumentRoutingService. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)StringDocumentRoutingPersister. getNewModelName(DocumentModel instance)Return the new name of a model when it is created from an instance.DocumentModelDocumentRoutingPersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)Get or create the parent folder for aDocumentRouteroute instance.DocumentModelDocumentRoutingPersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)Returns a folder in which new model, created from an instance of route will be stored.List<Task>DocumentRoutingService. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String workflowModelName, CoreSession session)Deprecated.since 11.1 this method does not scale as it does not paginate results.booleanDocumentRoutingService. isRoutable(DocumentModel doc)Checks if the given document can be associated to a DocumentRoute.DocumentModelDocumentRoutingPersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)Method parameters in org.nuxeo.ecm.platform.routing.api with type arguments of type DocumentModel Modifier and Type Method Description voidDocumentRoutingService. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)Grants on these documents the specified assignees permissions for this task.voidDocumentRoutingService. 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.voidDocumentRoutingService. removePermissionFromTaskAssignees(CoreSession session, List<DocumentModel> docs, Task task)Removes on these documents the specified assignees permissions for this task.voidDocumentRoutingService. 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 delegatedvoidDocumentRoutingService. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)Removes on these documents the specified assignees permissions for the task actors and also tasks delegated actors if this task was delegated -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.api.operation
Methods in org.nuxeo.ecm.platform.routing.api.operation that return DocumentModel Modifier and Type Method Description DocumentModelMapPropertiesOnTaskOperation. run(DocumentModel taskDoc)Methods in org.nuxeo.ecm.platform.routing.api.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModelMapPropertiesOnTaskOperation. run(DocumentModel taskDoc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.adapter
Methods in org.nuxeo.ecm.platform.routing.core.adapter with parameters of type DocumentModel Modifier and Type Method Description ObjectDocumentRouteAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)ObjectLockableDocumentAdapterFactory. getAdapter(DocumentModel doc, Class clazz)protected DocumentRoutingConstants.ExecutionTypeValuesDocumentRouteAdapterFactory. getExecutionType(DocumentModel doc, String type) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.api.operation
Methods in org.nuxeo.ecm.platform.routing.core.api.operation that return DocumentModel Modifier and Type Method Description DocumentModelCompleteTaskOperation. completeTask(DocumentModel task)DocumentModelStartWorkflowOperation. run(DocumentModel doc)Methods in org.nuxeo.ecm.platform.routing.core.api.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCompleteTaskOperation. completeTask(DocumentModel task)DocumentModelListGetOpenTasksOperation. getAllTasks(DocumentModel doc)protected StringGetTaskNamesOperation. getWorkflowTranslatedTitle(DocumentModel taskDoc, Locale locale)DocumentModelStartWorkflowOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.impl
Fields in org.nuxeo.ecm.platform.routing.core.impl declared as DocumentModel Modifier and Type Field Description protected DocumentModelLockableDocumentRouteImpl. docprotected DocumentModelDocumentRouteElementImpl. documentMethods in org.nuxeo.ecm.platform.routing.core.impl that return DocumentModel Modifier and Type Method Description DocumentModelDocumentRoutingTreePersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)protected DocumentModelDocumentRoutingTreePersister. 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 DocumentModelDocumentRoutingTreePersister. createModelsRoutesStructure(String routeStructureDocType, String id, CoreSession session)Create the rootModels under to root document.DocumentModelDocumentRouteElementImpl. getDocument()DocumentModelGraphNode. getDocument()Gets the document representing this nodeprotected DocumentModelDocumentRoutingTreePersister. getDocumentRoutesStructure(String type, CoreSession session)DocumentModelDocumentRoutingTreePersister. getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)DocumentModelDocumentRoutingTreePersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)DocumentModelDocumentRoutingTreePersister. getParentFolderForDocumentRouteModels(CoreSession session)DocumentModelDocumentRoutingTreePersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)DocumentModelDocumentRoutingTreePersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)protected DocumentModelDocumentRoutingTreePersister. undoReadOnlySecurityPolicy(DocumentModel instance, CoreSession session)Methods in org.nuxeo.ecm.platform.routing.core.impl that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>DocumentRoutingServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)List<DocumentModel>RoutingTaskServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)Deprecated.List<DocumentModel>DocumentRoutingServiceImpl. searchRouteModels(CoreSession session, String searchString)Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentModel Modifier and Type Method Description booleanDocumentRoutingServiceImpl. canValidateRoute(DocumentModel documentRoute, CoreSession coreSession)DocumentModelDocumentRoutingTreePersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)static voidAuditEventFirer. fireEvent(CoreSession coreSession, DocumentRouteElement element, Map<String,Serializable> eventProperties, String eventName, DocumentModel doc)List<DocumentRoute>DocumentRoutingServiceImpl. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)StringDocumentRoutingTreePersister. getNewModelName(DocumentModel instance)DocumentModelDocumentRoutingTreePersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)DocumentModelDocumentRoutingTreePersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)List<Task>DocumentRoutingServiceImpl. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String worflowModelName, CoreSession s)Deprecated.since 11.1 this method does not scale as it does not paginate results.static Map<String,Serializable>GraphVariablesUtil. getVariables(DocumentModel doc, String facetProp)static Map<String,Serializable>GraphVariablesUtil. getVariables(DocumentModel doc, String facetProp, boolean mapToJSON)booleanDocumentRoutingServiceImpl. isRoutable(DocumentModel doc)protected voidDocumentRoutingServiceImpl. processElementsInFolder(DocumentModel doc, List<DocumentRouteTableElement> elements, RouteTable table, CoreSession session, int depth, RouteFolderElement folder)Deprecated.since 5.9.2 - Use only routes of type 'graph'DocumentModelDocumentRoutingTreePersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)static voidGraphVariablesUtil. 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 voidGraphVariablesUtil. setJSONVariables(DocumentModel doc, String facetProp, Map<String,String> map, boolean save)static voidGraphVariablesUtil. setVariables(DocumentModel doc, String facetProp, Map<String,Serializable> map)static voidGraphVariablesUtil. setVariables(DocumentModel doc, String facetProp, Map<String,Serializable> map, boolean save)protected DocumentModelDocumentRoutingTreePersister. undoReadOnlySecurityPolicy(DocumentModel instance, CoreSession session)Method parameters in org.nuxeo.ecm.platform.routing.core.impl with type arguments of type DocumentModel Modifier and Type Method Description static voidEventFirer. fireEvent(CoreSession coreSession, List<DocumentModel> docs, Map<String,Serializable> eventProperties, String eventName)Fires an event in the category 'routing' for every document in the listvoidDocumentRoutingServiceImpl. grantPermissionToTaskAssignees(CoreSession session, String permission, List<DocumentModel> docs, Task task)voidDocumentRoutingServiceImpl. grantPermissionToTaskDelegatedActors(CoreSession session, String permission, List<DocumentModel> docs, Task task)voidDocumentRoutingServiceImpl. removePermissionFromTaskAssignees(CoreSession s, List<DocumentModel> docs, Task task)voidDocumentRoutingServiceImpl. removePermissionsForTaskActors(CoreSession s, List<DocumentModel> docs, String taskId)voidDocumentRoutingServiceImpl. removePermissionsForTaskActors(CoreSession session, List<DocumentModel> docs, Task task)protected voidDocumentRoutingServiceImpl. setAclForActors(CoreSession s, String aclName, String permission, List<DocumentModel> docs, List<String> actors)Constructors in org.nuxeo.ecm.platform.routing.core.impl with parameters of type DocumentModel Constructor Description DocumentRouteElementImpl(DocumentModel doc, ElementRunner runner)DocumentRouteImpl(DocumentModel doc, ElementRunner runner)DocumentRouteStepsContainerImpl(DocumentModel doc, ElementRunner runner)GraphNodeImpl(DocumentModel doc)GraphNodeImpl(DocumentModel doc, GraphRouteImpl graph)GraphRouteImpl(DocumentModel doc)LockableDocumentRouteImpl(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.io
Methods in org.nuxeo.ecm.platform.routing.core.io with parameters of type DocumentModel Modifier and Type Method Description static voidJsonEncodeDecodeUtils. encodeBlob(DocumentModel doc, String propVariableFacet, String variableName, Blob blob, com.fasterxml.jackson.core.JsonGenerator jg, javax.servlet.ServletRequest request)Deprecated.static voidJsonEncodeDecodeUtils. encodeVariableEntry(DocumentModel doc, String propVariableFacet, Map.Entry<String,Serializable> e, com.fasterxml.jackson.core.JsonGenerator jg, javax.servlet.http.HttpServletRequest request)Deprecated. -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.io.enrichers
Methods in org.nuxeo.ecm.platform.routing.core.io.enrichers with parameters of type DocumentModel Modifier and Type Method Description voidPendingTasksJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidRunnableWorkflowJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidRunningWorkflowJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.routing.core.persistence
Methods in org.nuxeo.ecm.platform.routing.core.persistence that return DocumentModel Modifier and Type Method Description DocumentModelRouteModelsZipImporter. createOrUpdate(FileImporterContext context)static DocumentModelTreeHelper. getOrCreate(CoreSession session, String rootPath, String id, String folderType)static DocumentModelTreeHelper. getOrCreateDateTreeFolder(CoreSession session, DocumentModel root, Date date, String folderType)Find or create a set of folders representing the date hierarchystatic DocumentModelTreeHelper. getOrCreatePath(CoreSession session, DocumentModel root, String subPath, String folderType)Methods in org.nuxeo.ecm.platform.routing.core.persistence with parameters of type DocumentModel Modifier and Type Method Description static DocumentModelTreeHelper. getOrCreateDateTreeFolder(CoreSession session, DocumentModel root, Date date, String folderType)Find or create a set of folders representing the date hierarchystatic DocumentModelTreeHelper. getOrCreatePath(CoreSession session, DocumentModel root, String subPath, String folderType) -
Uses of DocumentModel in org.nuxeo.ecm.platform.scanimporter.processor
Methods in org.nuxeo.ecm.platform.scanimporter.processor that return DocumentModel Modifier and Type Method Description DocumentModelScanedFileFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelScanedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)protected DocumentModelScanedFileFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)Methods in org.nuxeo.ecm.platform.scanimporter.processor with parameters of type DocumentModel Modifier and Type Method Description DocumentModelScanedFileFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)DocumentModelScanedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)protected DocumentModelScanedFileFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node) -
Uses of DocumentModel in org.nuxeo.ecm.platform.search.core
Methods in org.nuxeo.ecm.platform.search.core that return DocumentModel Modifier and Type Method Description DocumentModelSavedSearch. getDocument()DocumentModelSavedSearchImpl. getDocument()Methods in org.nuxeo.ecm.platform.search.core with parameters of type DocumentModel Modifier and Type Method Description ObjectSavedSearchAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)voidSavedSearch. setDocument(DocumentModel doc)voidSavedSearchImpl. setDocument(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.search.core with parameters of type DocumentModel Constructor Description SavedSearchImpl(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.shibboleth
Methods in org.nuxeo.ecm.platform.shibboleth that return DocumentModel Modifier and Type Method Description static DocumentModelShibbolethGroupHelper. createGroup(DocumentModel group)static DocumentModelShibbolethGroupHelper. getBareGroupModel(CoreSession core)static DocumentModelShibbolethGroupHelper. getGroup(String groupName)Methods in org.nuxeo.ecm.platform.shibboleth that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>ShibbolethGroupsPageProvider. searchAllGroups()protected List<DocumentModel>ShibbolethGroupsPageProvider. searchGroups()Methods in org.nuxeo.ecm.platform.shibboleth with parameters of type DocumentModel Modifier and Type Method Description protected static voidShibbolethGroupHelper. checkExpressionLanguageValidity(DocumentModel group)static DocumentModelShibbolethGroupHelper. createGroup(DocumentModel group)static voidShibbolethGroupHelper. deleteGroup(DocumentModel group)static voidShibbolethGroupHelper. updateGroup(DocumentModel group) -
Uses of DocumentModel in org.nuxeo.ecm.platform.shibboleth.computedgroups
Methods in org.nuxeo.ecm.platform.shibboleth.computedgroups with parameters of type DocumentModel Modifier and Type Method Description static booleanELGroupComputerHelper. isUserInGroup(DocumentModel user, String el) -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.api.sign
Methods in org.nuxeo.ecm.platform.signature.api.sign with parameters of type DocumentModel Modifier and Type Method Description voidSignatureAppearanceFactory. format(com.lowagie.text.pdf.PdfSignatureAppearance pdfSignatureAppearance, DocumentModel doc, String principal, String reason)List<X509Certificate>SignatureService. getCertificates(DocumentModel doc)Returns a list of certificates associated with a given document.SignatureService.StatusWithBlobSignatureService. getSigningStatus(DocumentModel doc, DocumentModel currentUser)Finds the signing status for the document.BlobSignatureService. 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).BlobSignatureService. signPDF(Blob pdfBlob, DocumentModel doc, DocumentModel user, String userKeyPassword, String reason)Signs a PDF document with a user certificate. -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.api.user
Methods in org.nuxeo.ecm.platform.signature.api.user that return DocumentModel Modifier and Type Method Description DocumentModelCUserService. createCertificate(DocumentModel user, String userKeyPassword)Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.DocumentModelCUserService. getCertificate(String userID)Retrieves a user certificate from the directory.Methods in org.nuxeo.ecm.platform.signature.api.user with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCUserService. createCertificate(DocumentModel user, String userKeyPassword)Generates user certificate and user keys, saves them to a user store, and persists the store in the directory.StringCUserService. getUserCertInfo(DocumentModel user, String userKeyPassword)Returns simplified textual representation of a certificate's contents.UserInfoCUserService. getUserInfo(DocumentModel userModel)Retrieves a UserInfo object containing information needed for certificate generation. -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.operations
Fields in org.nuxeo.ecm.platform.signature.core.operations declared as DocumentModel Modifier and Type Field Description protected DocumentModelSignPDF. docMethods in org.nuxeo.ecm.platform.signature.core.operations with parameters of type DocumentModel Modifier and Type Method Description BlobSignPDFDocument. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.sign
Methods in org.nuxeo.ecm.platform.signature.core.sign with parameters of type DocumentModel Modifier and Type Method Description voidDefaultSignatureAppearanceFactory. format(com.lowagie.text.pdf.PdfSignatureAppearance pdfSignatureAppearance, DocumentModel doc, String principal, String reason)List<X509Certificate>SignatureServiceImpl. getCertificates(DocumentModel doc)protected SignatureService.StatusWithBlobSignatureServiceImpl. getSignedPdfBlobAndStatus(DocumentModel doc, DocumentModel user)Finds the first signed PDF blob.protected intSignatureServiceImpl. getSigningStatus(Blob pdfBlob, DocumentModel user)SignatureService.StatusWithBlobSignatureServiceImpl. getSigningStatus(DocumentModel doc, DocumentModel user)BlobSignatureServiceImpl. signDocument(DocumentModel doc, DocumentModel user, String keyPassword, String reason, boolean pdfa, SignatureService.SigningDisposition disposition, String archiveFilename)BlobSignatureServiceImpl. signPDF(Blob pdfBlob, DocumentModel doc, DocumentModel user, String keyPassword, String reason) -
Uses of DocumentModel in org.nuxeo.ecm.platform.signature.core.user
Methods in org.nuxeo.ecm.platform.signature.core.user that return DocumentModel Modifier and Type Method Description DocumentModelCUserServiceImpl. createCertificate(DocumentModel user, String userKeyPassword)DocumentModelCUserServiceImpl. getCertificate(String userID)Methods in org.nuxeo.ecm.platform.signature.core.user with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCUserServiceImpl. createCertificate(DocumentModel user, String userKeyPassword)StringCUserServiceImpl. getUserCertInfo(DocumentModel user, String userKeyPassword)UserInfoCUserServiceImpl. getUserInfo(DocumentModel userModel) -
Uses of DocumentModel in org.nuxeo.ecm.platform.suggestbox.service
Fields in org.nuxeo.ecm.platform.suggestbox.service declared as DocumentModel Modifier and Type Field Description DocumentModelSuggestionContext. currentDocumentMethods in org.nuxeo.ecm.platform.suggestbox.service with parameters of type DocumentModel Modifier and Type Method Description static SuggestionDocumentSuggestion. fromDocumentModel(DocumentModel doc)SuggestionContextSuggestionContext. withCurrentDocument(DocumentModel currentDocument) -
Uses of DocumentModel in org.nuxeo.ecm.platform.tag
Methods in org.nuxeo.ecm.platform.tag with parameters of type DocumentModel Modifier and Type Method Description protected voidTagsMigrator. addTags(DocumentModel doc, Set<TagsMigrator.Tag> tags)protected List<Map<String,Serializable>>FacetedTagService. getTags(DocumentModel docModel)protected voidFacetedTagService. saveDocument(CoreSession session, DocumentModel doc)protected voidFacetedTagService. setTags(DocumentModel docModel, List<Map<String,Serializable>> tags)booleanNoVersioningFacetedTagFilter. test(DocumentModel previousDocument, DocumentModel currentDocument) -
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.automation
Fields in org.nuxeo.ecm.platform.tag.automation declared as DocumentModel Modifier and Type Field Description protected DocumentModelSuggestTagEntry. doc -
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.io
Methods in org.nuxeo.ecm.platform.tag.io with parameters of type DocumentModel Modifier and Type Method Description voidTagsJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.tag.operations
Methods in org.nuxeo.ecm.platform.tag.operations that return DocumentModel Modifier and Type Method Description DocumentModelRemoveDocumentTags. run(DocumentModel document)DocumentModelTagDocument. run(DocumentModel document)DocumentModelUntagDocument. run(DocumentModel document)Methods in org.nuxeo.ecm.platform.tag.operations with parameters of type DocumentModel Modifier and Type Method Description DocumentModelRemoveDocumentTags. run(DocumentModel document)DocumentModelTagDocument. run(DocumentModel document)DocumentModelUntagDocument. run(DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.task
Methods in org.nuxeo.ecm.platform.task that return DocumentModel Modifier and Type Method Description DocumentModelTask. getDocument()DocumentModelTaskImpl. getDocument()DocumentModelTaskService. getTargetDocumentModel(Task ti, CoreSession coreSession)Methods in org.nuxeo.ecm.platform.task with parameters of type DocumentModel Modifier and Type Method Description List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)Creates a task of the given document type and starts it.List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)Creates a task and starts it.List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)Creates a task and starts it.ObjectTaskAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)List<Task>TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>TaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.Method parameters in org.nuxeo.ecm.platform.task with type arguments of type DocumentModel Modifier and Type Method Description List<Task>TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)List<Task>TaskService. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)Creates a task of the given documents type and starts it.Constructors in org.nuxeo.ecm.platform.task with parameters of type DocumentModel Constructor Description TaskImpl(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.task.core.service
Fields in org.nuxeo.ecm.platform.task.core.service declared as DocumentModel Modifier and Type Field Description protected DocumentModelTaskServiceImpl.GetTaskRootParentPathUnrestricted. taskRootDocFields in org.nuxeo.ecm.platform.task.core.service with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>CreateTaskUnrestricted. documentsMethods in org.nuxeo.ecm.platform.task.core.service that return DocumentModel Modifier and Type Method Description DocumentModelTaskServiceImpl. getTargetDocumentModel(Task task, CoreSession coreSession)DocumentModelTaskServiceImpl.GetTaskRootParentPathUnrestricted. getTaskRootDoc()Methods in org.nuxeo.ecm.platform.task.core.service with parameters of type DocumentModel Modifier and Type Method Description voidCreateTaskUnrestricted. 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)voidCreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)List<Task>DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)List<Task>DocumentTaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)List<Task>TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)List<Task>TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)List<Task>TaskServiceImpl. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)static voidTaskEventNotificationHelper. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String,Serializable> properties, String comment, String category)Method parameters in org.nuxeo.ecm.platform.task.core.service with type arguments of type DocumentModel Modifier and Type Method Description voidCreateTaskUnrestricted. 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)voidCreateTaskUnrestricted. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)List<Task>TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)List<Task>TaskServiceImpl. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)protected voidTaskServiceImpl. notifyEvent(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String,Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds)static List<Task>DocumentTaskProvider. wrapDocModelInTask(List<DocumentModel> taskDocuments)Converts aDocumentModelListto a list ofTasks.Constructors in org.nuxeo.ecm.platform.task.core.service with parameters of type DocumentModel Constructor Description CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)Constructor parameters in org.nuxeo.ecm.platform.task.core.service with type arguments of type DocumentModel Constructor Description CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath) -
Uses of DocumentModel in org.nuxeo.ecm.platform.task.dashboard
Fields in org.nuxeo.ecm.platform.task.dashboard declared as DocumentModel Modifier and Type Field Description protected DocumentModelDashBoardItemImpl. documentMethods in org.nuxeo.ecm.platform.task.dashboard that return DocumentModel Modifier and Type Method Description DocumentModelDashBoardItem. getDocument()Returns the icon path for the doc ref.DocumentModelDashBoardItemImpl. getDocument()Methods in org.nuxeo.ecm.platform.task.dashboard with parameters of type DocumentModel Modifier and Type Method Description protected StringAbstractDashBoardItemImpl. getDefaultViewFor(DocumentModel doc)Constructors in org.nuxeo.ecm.platform.task.dashboard with parameters of type DocumentModel Constructor Description DashBoardItemImpl(Task task, DocumentModel document, Locale locale) -
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.adapter
Methods in org.nuxeo.ecm.platform.threed.adapter with parameters of type DocumentModel Modifier and Type Method Description BlobThumbnailThreeDFactory. computeThumbnail(DocumentModel documentModel, CoreSession coreSession)ObjectThreeDDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)BlobThumbnailThreeDFactory. getThumbnail(DocumentModel documentModel, CoreSession coreSession)Constructors in org.nuxeo.ecm.platform.threed.adapter with parameters of type DocumentModel Constructor Description ThreeDDocumentAdapter(DocumentModel threed) -
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.importer
Methods in org.nuxeo.ecm.platform.threed.importer that return DocumentModel Modifier and Type Method Description DocumentModelThreeDImporter. createOrUpdate(FileImporterContext context) -
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.rendition
Methods in org.nuxeo.ecm.platform.threed.rendition with parameters of type DocumentModel Modifier and Type Method Description List<RenditionDefinition>ThreeDRenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)booleanRenderViewRenditionProvider. isAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)booleanTransmissionThreeDRenditionProvider. isAvailable(DocumentModel documentModel, RenditionDefinition renditionDefinition)List<Blob>RenderViewRenditionProvider. render(DocumentModel documentModel, RenditionDefinition renditionDefinition)List<Blob>TransmissionThreeDRenditionProvider. render(DocumentModel documentModel, RenditionDefinition renditionDefinition) -
Uses of DocumentModel in org.nuxeo.ecm.platform.threed.service
Methods in org.nuxeo.ecm.platform.threed.service with parameters of type DocumentModel Modifier and Type Method Description voidThreeDService. cleanBatchData(DocumentModel doc)Clears data model for render views and transmission formats.voidThreeDServiceImpl. cleanBatchData(DocumentModel doc)protected voidThreeDBatchUpdateWork. fireThreeDConversionsDoneEvent(DocumentModel doc)Fire aTHREED_CONVERSIONS_DONE_EVENTprotected ThreeDThreeDBatchUpdateWork. getThreeDToConvert(DocumentModel doc)voidThreeDService. launchBatchConversion(DocumentModel doc)Launch all the registered automatic lod transmission version and thumbnail render on the givendoc.voidThreeDServiceImpl. launchBatchConversion(DocumentModel doc)protected voidThreeDBatchUpdateWork. saveMainInfo(DocumentModel doc, ThreeDInfo info)protected voidThreeDBatchUpdateWork. saveNewProperties(DocumentModel doc, Serializable properties, String schema)protected voidThreeDBatchUpdateWork. saveNewRenderViews(DocumentModel doc, List<ThreeDRenderView> threeDRenderViews)protected voidThreeDBatchUpdateWork. saveNewTransmissionThreeDs(DocumentModel doc, List<TransmissionThreeD> transmissionThreeDs) -
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.action
Methods in org.nuxeo.ecm.platform.thumbnail.action with parameters of type DocumentModel Modifier and Type Method Description protected voidRecomputeThumbnailsAction.RecomputeThumbnailsComputation. processDoc(CoreSession session, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.factories
Methods in org.nuxeo.ecm.platform.thumbnail.factories with parameters of type DocumentModel Modifier and Type Method Description BlobThumbnailDocumentFactory. computeThumbnail(DocumentModel doc, CoreSession session)protected BlobThumbnailDocumentFactory. getDefaultThumbnail(DocumentModel doc)BlobThumbnailDocumentFactory. getThumbnail(DocumentModel doc, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.io
Methods in org.nuxeo.ecm.platform.thumbnail.io with parameters of type DocumentModel Modifier and Type Method Description voidThumbnailJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.listener
Methods in org.nuxeo.ecm.platform.thumbnail.listener with parameters of type DocumentModel Modifier and Type Method Description voidThumbnailHelper. createThumbnailIfNeeded(CoreSession session, DocumentModel doc)Creates a thumbnail if needed and synchronizes the document facet.protected BlobThumbnailHelper. getManagedThumbnail(DocumentModel doc)protected voidUpdateThumbnailListener. processDoc(CoreSession session, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.thumbnail.rendition
Methods in org.nuxeo.ecm.platform.thumbnail.rendition with parameters of type DocumentModel Modifier and Type Method Description booleanThumbnailRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)List<Blob>ThumbnailRenditionProvider. render(DocumentModel doc, RenditionDefinition definition) -
Uses of DocumentModel in org.nuxeo.ecm.platform.types
Methods in org.nuxeo.ecm.platform.types with parameters of type DocumentModel Modifier and Type Method Description booleanTypeManager. canCreate(String typeName, String containerTypeName, DocumentModel currentDoc)ReturnstrueiftypeNameis a sub type, allowed in creation, ofcontainerTypeName,falseotherwise.booleanTypeService. canCreate(String typeName, String containerTypeName, DocumentModel currentDoc)protected Collection<String>SubtypesJsonEnricher. computeLocalConfigurationSubtypes(DocumentModel enriched, Collection<String> defaultSubtypes)protected Collection<String>SubtypesJsonEnricher. computeSubtypes(DocumentModel enriched)protected Map<String,SubType>TypeService. filterSubTypesFromConfiguration(Map<String,SubType> allowedSubTypes, DocumentModel currentDoc)Collection<Type>TypeManager. findAllAllowedSubTypesFrom(String typeName, DocumentModel currentDoc)Returns recursively all the allowed sub types from the giventypeName, filtered by a local UI types configuration retrieved from thecurrentDoc, if any.Collection<Type>TypeService. findAllAllowedSubTypesFrom(String typeName, DocumentModel currentDoc)protected Collection<Type>TypeService. findAllAllowedSubTypesFrom(String typeName, DocumentModel currentDoc, List<String> alreadyProcessedTypes)Collection<Type>TypeManager. getAllowedSubTypes(String typeName, DocumentModel currentDoc)Returns the allowed sub types of the giventypeName, filtered by a local UI types configuration retrieved from thecurrentDoc, if any.Collection<Type>TypeService. getAllowedSubTypes(String typeName, DocumentModel currentDoc)protected UITypesConfigurationTypeService. getConfiguration(DocumentModel currentDoc)protected Map<String,SubType>TypeService. getFilteredAllowedSubTypes(String containerTypeName, DocumentModel currentDoc)Map<String,List<Type>>TypeManager. getTypeMapForDocumentType(String typeName, DocumentModel currentDoc)Returns the sub type of the giventypeName, filtered by a local UI types configuration retrieved from thecurrentDoc, if any, and organized by type categories.Map<String,List<Type>>TypeService. getTypeMapForDocumentType(String typeName, DocumentModel currentDoc)booleanTypeManager. isAllowedSubType(String typeName, String containerTypeName, DocumentModel currentDoc)ReturnstrueiftypeNameis an allowed sub type ofcontainerTypeName, filtered by a local UI types configuration retrieved from thecurrentDoc, if any,falseotherwise.booleanTypeService. isAllowedSubType(String typeName, String containerTypeName, DocumentModel currentDoc)voidSubtypesJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel enriched) -
Uses of DocumentModel in org.nuxeo.ecm.platform.types.adapter
Methods in org.nuxeo.ecm.platform.types.adapter with parameters of type DocumentModel Modifier and Type Method Description ObjectTypeInfoAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)Constructors in org.nuxeo.ecm.platform.types.adapter with parameters of type DocumentModel Constructor Description TypeInfoAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.types.localconfiguration
Methods in org.nuxeo.ecm.platform.types.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description ObjectContentViewConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)ObjectUITypesConfigurationFactory. getAdapter(DocumentModel doc, Class<?> itf)protected StringUITypesConfigurationAdapter. getDefaultType(DocumentModel doc)protected booleanUITypesConfigurationAdapter. getDenyAllTypesProperty(DocumentModel doc)protected List<String>UITypesConfigurationAdapter. getTypesList(DocumentModel doc, String property)Constructors in org.nuxeo.ecm.platform.types.localconfiguration with parameters of type DocumentModel Constructor Description ContentViewConfigurationAdapter(DocumentModel doc)UITypesConfigurationAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.url
Constructors in org.nuxeo.ecm.platform.url with parameters of type DocumentModel Constructor Description DocumentViewImpl(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.url.codec
Methods in org.nuxeo.ecm.platform.url.codec with parameters of type DocumentModel Modifier and Type Method Description static StringDocumentFileCodec. getFilename(DocumentModel doc, DocumentView docView) -
Uses of DocumentModel in org.nuxeo.ecm.platform.url.io
Methods in org.nuxeo.ecm.platform.url.io with parameters of type DocumentModel Modifier and Type Method Description voidDocumentUrlJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.platform.usermanager
Fields in org.nuxeo.ecm.platform.usermanager declared as DocumentModel Modifier and Type Field Description protected DocumentModelUserAdapterImpl. docprotected DocumentModelNuxeoGroupImpl. modelDocumentModelNuxeoPrincipalImpl. modelMethods in org.nuxeo.ecm.platform.usermanager that return DocumentModel Modifier and Type Method Description DocumentModelFakeUserManagerImpl. createGroup(DocumentModel groupModel)DocumentModelMultiTenantUserManager. createGroup(DocumentModel groupModel, DocumentModel context)Creates a group from given model with the given context.DocumentModelUserManager. createGroup(DocumentModel groupModel)Creates a group from given modelDocumentModelUserManagerImpl. createGroup(DocumentModel groupModel)DocumentModelUserManagerImpl. createGroup(DocumentModel groupModel, DocumentModel context)DocumentModelFakeUserManagerImpl. createUser(DocumentModel userModel)DocumentModelMultiTenantUserManager. createUser(DocumentModel userModel, DocumentModel context)Creates user from given model into the given context document.DocumentModelUserManager. createUser(DocumentModel userModel)Creates user from given model.DocumentModelUserManagerImpl. createUser(DocumentModel userModel)DocumentModelUserManagerImpl. createUser(DocumentModel userModel, DocumentModel context)DocumentModelFakeUserManagerImpl. getBareGroupModel()DocumentModelUserManager. getBareGroupModel()Returns a bare group model.DocumentModelUserManagerImpl. getBareGroupModel()DocumentModelFakeUserManagerImpl. getBareUserModel()DocumentModelUserManager. getBareUserModel()Returns a bare user model.DocumentModelUserManagerImpl. getBareUserModel()protected DocumentModelUserManagerImpl. getDigestAuthModel()DocumentModelFakeUserManagerImpl. getGroupModel(String groupName)DocumentModelMultiTenantUserManager. 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.DocumentModelUserManager. getGroupModel(String groupName)Return the group document model with this id or null if group does not exist.DocumentModelUserManagerImpl. getGroupModel(String groupName)DocumentModelUserManagerImpl. getGroupModel(String groupIdValue, DocumentModel context)DocumentModelNuxeoGroupImpl. getModel()DocumentModelNuxeoPrincipalImpl. getModel()DocumentModelFakeUserManagerImpl. getUserModel(String userName)DocumentModelMultiTenantUserManager. 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.DocumentModelUserManager. getUserModel(String userName)Returns the document model representing user with given id or null if it does not exist.DocumentModelUserManagerImpl. getUserModel(String userName)DocumentModelUserManagerImpl. getUserModel(String userName, DocumentModel context)protected DocumentModelUserManagerImpl. getUserModel(String userName, DocumentModel context, boolean fetchReferences)DocumentModelDefaultUserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)DocumentModelUserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)Transform the Group DocumentModel store it into the tenant described by the contextprotected DocumentModelUserManagerImpl. makeVirtualUserEntry(String id, VirtualUser user)Methods in org.nuxeo.ecm.platform.usermanager with parameters of type DocumentModel Modifier and Type Method Description protected voidUserManagerImpl. appendSubgroups(String groupId, Set<String> groups, DocumentModel context)protected voidUserManagerImpl. checkGrouId(DocumentModel groupModel)protected voidUserManagerImpl. checkGroupsExistence(DocumentModel userModel, String schema, DocumentModel context)protected voidUserManagerImpl. checkPasswordValidity(DocumentModel userModel)protected voidUserManagerImpl. checkUserId(DocumentModel userModel)DocumentModelFakeUserManagerImpl. createGroup(DocumentModel groupModel)DocumentModelMultiTenantUserManager. createGroup(DocumentModel groupModel, DocumentModel context)Creates a group from given model with the given context.DocumentModelUserManager. createGroup(DocumentModel groupModel)Creates a group from given modelDocumentModelUserManagerImpl. createGroup(DocumentModel groupModel)DocumentModelUserManagerImpl. createGroup(DocumentModel groupModel, DocumentModel context)DocumentModelFakeUserManagerImpl. createUser(DocumentModel userModel)DocumentModelMultiTenantUserManager. createUser(DocumentModel userModel, DocumentModel context)Creates user from given model into the given context document.DocumentModelUserManager. createUser(DocumentModel userModel)Creates user from given model.DocumentModelUserManagerImpl. createUser(DocumentModel userModel)DocumentModelUserManagerImpl. createUser(DocumentModel userModel, DocumentModel context)voidFakeUserManagerImpl. deleteGroup(DocumentModel groupModel)voidMultiTenantUserManager. deleteGroup(String groupId, DocumentModel context)Deletes group with given id with the given context.voidMultiTenantUserManager. deleteGroup(DocumentModel groupModel, DocumentModel context)Deletes group represented by given model with the given context.voidUserManager. deleteGroup(DocumentModel groupModel)Deletes group represented by given model.voidUserManagerImpl. deleteGroup(String groupId, DocumentModel context)voidUserManagerImpl. deleteGroup(DocumentModel groupModel)voidUserManagerImpl. deleteGroup(DocumentModel groupModel, DocumentModel context)voidFakeUserManagerImpl. deleteUser(DocumentModel userModel)voidMultiTenantUserManager. deleteUser(String userId, DocumentModel context)Deletes user with given id into the given context document.voidMultiTenantUserManager. deleteUser(DocumentModel userModel, DocumentModel context)Deletes user represented by given model into the given context document.voidUserManager. deleteUser(DocumentModel userModel)Deletes user represented by given model.voidUserManagerImpl. deleteUser(String userId, DocumentModel context)voidUserManagerImpl. deleteUser(DocumentModel userModel)voidUserManagerImpl. deleteUser(DocumentModel userModel, DocumentModel context)ObjectUserAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)protected StringDefaultUserMultiTenantManagement. getDirectorySuffix(DocumentModel documentContext)protected NuxeoGroupUserManagerImpl. getGroup(String groupName, DocumentModel context)protected StringUserManagerImpl. getGroupId(DocumentModel groupModel)List<String>MultiTenantUserManager. getGroupIds(DocumentModel context)Returns the list of all groups ids with the given context.List<String>UserManagerImpl. getGroupIds(DocumentModel context)DocumentModelMultiTenantUserManager. 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.DocumentModelUserManagerImpl. getGroupModel(String groupIdValue, DocumentModel context)List<String>MultiTenantUserManager. getGroupsInGroup(String parentId, DocumentModel context)Returns the list of groups that belong to this group with the given context.List<String>UserManagerImpl. getGroupsInGroup(String parentId, DocumentModel context)NuxeoPrincipalMultiTenantUserManager. getPrincipal(String username, DocumentModel context)Retrieves the principal with the given username or null if it does not exist into the given context document.NuxeoPrincipalUserManagerImpl. getPrincipal(String username, DocumentModel context)protected NuxeoPrincipalUserManagerImpl. getPrincipal(String username, DocumentModel context, boolean fetchReferences)List<String>MultiTenantUserManager. getTopLevelGroups(DocumentModel context)Returns the list of groups that are not members of other groups with the given context.List<String>UserManagerImpl. getTopLevelGroups(DocumentModel context)protected StringUserManagerImpl. getUserId(DocumentModel userModel)List<String>MultiTenantUserManager. getUserIds(DocumentModel context)Returns the list of all user ids into the given context document.List<String>UserManagerImpl. getUserIds(DocumentModel context)DocumentModelMultiTenantUserManager. 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.DocumentModelUserManagerImpl. getUserModel(String userName, DocumentModel context)protected DocumentModelUserManagerImpl. getUserModel(String userName, DocumentModel context, boolean fetchReferences)String[]MultiTenantUserManager. getUsersForPermission(String perm, ACP acp, DocumentModel context)For an ACP, get the list of user that has a permission into the given context.String[]UserManagerImpl. getUsersForPermission(String perm, ACP acp, DocumentModel context)List<String>MultiTenantUserManager. getUsersInGroup(String groupId, DocumentModel context)Returns the list of users that belong to this group into the given contextList<String>UserManagerImpl. getUsersInGroup(String groupId, DocumentModel context)List<String>MultiTenantUserManager. getUsersInGroupAndSubGroups(String groupId, DocumentModel context)Get users from a group and its subgroups into the given contextList<String>UserManagerImpl. getUsersInGroupAndSubGroups(String groupId, DocumentModel context)StringDefaultUserMultiTenantManagement. groupnameTranformer(UserManager um, String groupname, DocumentModel context)StringUserMultiTenantManagement. groupnameTranformer(UserManager um, String groupname, DocumentModel context)Transform the GroupName to add to tenant characteristic.QueryBuilderDefaultUserMultiTenantManagement. groupQueryTransformer(UserManager um, QueryBuilder queryBuilder, DocumentModel context)QueryBuilderUserMultiTenantManagement. groupQueryTransformer(UserManager um, QueryBuilder queryBuilder, DocumentModel context)Transforms the query builder to add tenant-related information.DocumentModelDefaultUserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)DocumentModelUserMultiTenantManagement. groupTransformer(UserManager um, DocumentModel group, DocumentModel context)Transform the Group DocumentModel store it into the tenant described by the contextprotected NuxeoGroupUserManagerImpl. makeGroup(DocumentModel groupEntry)protected NuxeoPrincipalUserManagerImpl. makePrincipal(DocumentModel userEntry)protected NuxeoPrincipalUserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, boolean isTransient, List<String> groups)protected NuxeoPrincipalUserManagerImpl. makePrincipal(DocumentModel userEntry, boolean anonymous, List<String> groups)voidDefaultUserMultiTenantManagement. queryTransformer(UserManager um, Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)voidUserMultiTenantManagement. 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.DocumentModelListMultiTenantUserManager. searchGroups(String pattern, DocumentModel context)Search matching groups through their defined search fields into the given context document.DocumentModelListMultiTenantUserManager. searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)Returns groups matching given criteria with the given context.DocumentModelListMultiTenantUserManager. searchGroups(QueryBuilder queryBuilder, DocumentModel context)Returns groups matching the given query, within the given context.DocumentModelListUserManagerImpl. searchGroups(String pattern, DocumentModel context)DocumentModelListUserManagerImpl. searchGroups(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)DocumentModelListUserManagerImpl. searchGroups(QueryBuilder queryBuilder, DocumentModel context)DocumentModelListMultiTenantUserManager. searchUsers(String pattern, DocumentModel context)Returns users matching given pattern with the given context.DocumentModelListMultiTenantUserManager. searchUsers(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)Returns users matching given criteria and with the given context.DocumentModelListMultiTenantUserManager. searchUsers(QueryBuilder queryBuilder, DocumentModel context)Returns users matching the given query, within the given context.DocumentModelListUserManagerImpl. searchUsers(String pattern, DocumentModel context)DocumentModelListUserManagerImpl. searchUsers(Map<String,Serializable> filter, Set<String> fulltext, Map<String,String> orderBy, DocumentModel context)MULTI-TENANT-IMPLEMENTATIONDocumentModelListUserManagerImpl. searchUsers(Map<String,Serializable> filter, Set<String> fulltext, DocumentModel context)DocumentModelListUserManagerImpl. searchUsers(QueryBuilder queryBuilder, DocumentModel context)voidNuxeoPrincipalImpl. setModel(DocumentModel model)voidNuxeoPrincipalImpl. setModel(DocumentModel model, boolean updateAllGroups)Sets model and recomputes all groups.voidFakeUserManagerImpl. updateGroup(DocumentModel groupModel)voidMultiTenantUserManager. updateGroup(DocumentModel groupModel, DocumentModel context)Updates group represented by given model with the given context.voidUserManager. updateGroup(DocumentModel groupModel)Updates group represented by given model.voidUserManagerImpl. updateGroup(DocumentModel groupModel)voidUserManagerImpl. updateGroup(DocumentModel groupModel, DocumentModel context)voidFakeUserManagerImpl. updateUser(DocumentModel userModel)voidMultiTenantUserManager. updateUser(DocumentModel userModel, DocumentModel context)Updates user represented by given model into the given context document.voidUserManager. updateUser(DocumentModel userModel)Updates user represented by given model.voidUserManagerImpl. updateUser(DocumentModel userModel)voidUserManagerImpl. updateUser(DocumentModel userModel, DocumentModel context)Method parameters in org.nuxeo.ecm.platform.usermanager with type arguments of type DocumentModel Modifier and Type Method Description protected DocumentModelListUserManagerImpl. queryWithVirtualEntries(Session session, QueryBuilder queryBuilder, List<DocumentModel> virtualEntries)Executes a query then adds virtual entries (already supposed to match the query).Constructors in org.nuxeo.ecm.platform.usermanager with parameters of type DocumentModel Constructor Description NuxeoGroupImpl(DocumentModel model, GroupConfig config)UserAdapterImpl(DocumentModel doc, UserManager userManager) -
Uses of DocumentModel in org.nuxeo.ecm.platform.usermanager.io
Methods in org.nuxeo.ecm.platform.usermanager.io with parameters of type DocumentModel Modifier and Type Method Description protected voidNuxeoGroupJsonReader. readMemberGroups(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)protected voidNuxeoGroupJsonReader. readMemberUsers(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)protected voidNuxeoGroupJsonReader. readParentGroups(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn)protected voidNuxeoGroupJsonReader. readProperties(DocumentModel groupModel, GroupConfig groupConfig, com.fasterxml.jackson.databind.JsonNode jn) -
Uses of DocumentModel in org.nuxeo.ecm.platform.usermanager.providers
Fields in org.nuxeo.ecm.platform.usermanager.providers with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>AbstractGroupsPageProvider. pageGroupsprotected List<DocumentModel>AbstractUsersPageProvider. pageUsersMethods in org.nuxeo.ecm.platform.usermanager.providers that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>AbstractGroupsPageProvider. computeCurrentPage()protected List<DocumentModel>AbstractUsersPageProvider. computeCurrentPage()List<DocumentModel>GroupsPageProvider. getCurrentPage()List<DocumentModel>UsersPageProvider. getCurrentPage()protected List<DocumentModel>AbstractGroupsPageProvider. searchAllGroups()protected List<DocumentModel>AbstractUsersPageProvider. searchAllUsers(UserManager userManager)protected List<DocumentModel>AbstractGroupsPageProvider. searchGroups()protected List<DocumentModel>AbstractUsersPageProvider. searchUsers(UserManager userManager)protected List<DocumentModel>AbstractUsersPageProvider. searchUsersFromCatalog(UserManager userManager) -
Uses of DocumentModel in org.nuxeo.ecm.platform.userpreferences
Constructors in org.nuxeo.ecm.platform.userpreferences with parameters of type DocumentModel Constructor Description SimpleUserPreferences(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.api
Methods in org.nuxeo.ecm.platform.userworkspace.api that return DocumentModel Modifier and Type Method Description DocumentModelUserWorkspaceManagerActions. getCurrentUserPersonalWorkspace()Gets the current user personal workspace.DocumentModelUserWorkspaceService. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)Gets the current user personal workspace from a lower level.DocumentModelUserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession)Gets the current user personal workspace.DocumentModelUserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)Deprecated.since 9.3.DocumentModelUserWorkspaceService. getUserPersonalWorkspace(String userName, DocumentModel context)Gets a detached user workspace of a specified user.DocumentModelUserWorkspaceService. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)Gets a detached user workspace of a specified user depending of the passed principal.Methods in org.nuxeo.ecm.platform.userworkspace.api with parameters of type DocumentModel Modifier and Type Method Description DocumentModelUserWorkspaceService. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)Gets the current user personal workspace from a lower level.DocumentModelUserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)Deprecated.since 9.3.DocumentModelUserWorkspaceService. getUserPersonalWorkspace(String userName, DocumentModel context)Gets a detached user workspace of a specified user.DocumentModelUserWorkspaceService. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)Gets a detached user workspace of a specified user depending of the passed principal.booleanUserWorkspaceService. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)Checks whether the passed document is under the user's workspace (or is the workspace itself). -
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.core.service
Fields in org.nuxeo.ecm.platform.userworkspace.core.service declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder. userWorkspaceMethods in org.nuxeo.ecm.platform.userworkspace.core.service that return DocumentModel Modifier and Type Method Description protected DocumentModelAbstractUserWorkspaceImpl. createDefaultCollectionsRoot(CoreSession session, DocumentModel userWorkspace)protected DocumentModelAbstractUserWorkspaceImpl. createFavorites(CoreSession session, DocumentModel userWorkspace)protected abstract DocumentModelAbstractUserWorkspaceImpl. doCreateUserWorkspace(CoreSession unrestrictedSession, PathRef wsRef, String username)protected DocumentModelDefaultUserWorkspaceServiceImpl. doCreateUserWorkspace(CoreSession unrestrictedSession, PathRef wsRef, String userName)protected abstract DocumentModelAbstractUserWorkspaceImpl. doCreateUserWorkspacesRoot(CoreSession unrestrictedSession, PathRef rootRef)protected DocumentModelDefaultUserWorkspaceServiceImpl. doCreateUserWorkspacesRoot(CoreSession unrestrictedSession, PathRef rootRef)DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession)DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)Deprecated.since 9.3protected DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(NuxeoPrincipal principal, String userName, CoreSession userCoreSession)This method handles the UserWorkspace creation with a Principal or a username.DocumentModelAbstractUserWorkspaceImpl.UnrestrictedUserWorkspaceFinder. getDetachedUserWorkspace()DocumentModelAbstractUserWorkspaceImpl. getUserDefaultCollectionsRoot(CoreSession session)DocumentModelAbstractUserWorkspaceImpl. getUserFavorites(CoreSession session)DocumentModelAbstractUserWorkspaceImpl. getUserPersonalWorkspace(String userName, DocumentModel context)DocumentModelAbstractUserWorkspaceImpl. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)protected DocumentModelAbstractUserWorkspaceImpl. initCreateFavorites(CoreSession session, DocumentModel favorites)protected abstract DocumentModelAbstractUserWorkspaceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)protected DocumentModelDefaultUserWorkspaceServiceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)protected abstract DocumentModelAbstractUserWorkspaceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)protected DocumentModelDefaultUserWorkspaceServiceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)protected DocumentModelAbstractUserWorkspaceImpl. initDefaultCollectionsRoot(CoreSession session, DocumentModel collectionsRoot)Methods in org.nuxeo.ecm.platform.userworkspace.core.service with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelAbstractUserWorkspaceImpl. createDefaultCollectionsRoot(CoreSession session, DocumentModel userWorkspace)protected DocumentModelAbstractUserWorkspaceImpl. createFavorites(CoreSession session, DocumentModel userWorkspace)DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(String userName, DocumentModel currentDocument)DocumentModelAbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)Deprecated.since 9.3DocumentModelAbstractUserWorkspaceImpl. getUserPersonalWorkspace(String userName, DocumentModel context)DocumentModelAbstractUserWorkspaceImpl. getUserPersonalWorkspace(NuxeoPrincipal principal, DocumentModel context)protected DocumentModelAbstractUserWorkspaceImpl. initCreateFavorites(CoreSession session, DocumentModel favorites)protected abstract DocumentModelAbstractUserWorkspaceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)protected DocumentModelDefaultUserWorkspaceServiceImpl. initCreateUserWorkspace(CoreSession unrestrictedSession, DocumentModel doc, String username)protected abstract DocumentModelAbstractUserWorkspaceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)protected DocumentModelDefaultUserWorkspaceServiceImpl. initCreateUserWorkspacesRoot(CoreSession unrestrictedSession, DocumentModel doc)protected DocumentModelAbstractUserWorkspaceImpl. initDefaultCollectionsRoot(CoreSession session, DocumentModel collectionsRoot)booleanAbstractUserWorkspaceImpl. isUnderUserWorkspace(NuxeoPrincipal principal, String username, DocumentModel doc)protected voidAbstractUserWorkspaceImpl. notifyEvent(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, String eventId, Map<String,Serializable> properties)Constructors in org.nuxeo.ecm.platform.userworkspace.core.service with parameters of type DocumentModel Constructor Description UnrestrictedUserWorkspaceFinder(String userName, DocumentModel context) -
Uses of DocumentModel in org.nuxeo.ecm.platform.userworkspace.operations
Methods in org.nuxeo.ecm.platform.userworkspace.operations that return DocumentModel Modifier and Type Method Description protected DocumentModelUserWorkspaceCreateFromBlob. getCurrentDocument()DocumentModelUserWorkspaceCreateFromBlob. run(Blob blob) -
Uses of DocumentModel in org.nuxeo.ecm.platform.versioning.api
Methods in org.nuxeo.ecm.platform.versioning.api with parameters of type DocumentModel Modifier and Type Method Description VersionIncEditOptionsVersioningManager. getVersionIncEditOptions(DocumentModel doc)Get document increment options as defined by versioning rules.StringVersioningManager. getVersionLabel(DocumentModel doc)Gets the label for the current version of a document, for the UI. -
Uses of DocumentModel in org.nuxeo.ecm.platform.versioning.service
Methods in org.nuxeo.ecm.platform.versioning.service with parameters of type DocumentModel Modifier and Type Method Description VersionIncEditOptionsVersioningManagerImpl. getVersionIncEditOptions(DocumentModel doc)StringVersioningManagerImpl. getVersionLabel(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video
Methods in org.nuxeo.ecm.platform.video with parameters of type DocumentModel Modifier and Type Method Description static voidVideoHelper. 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 voidVideoHelper. 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 voidVideoHelper. updateStoryboard(DocumentModel docModel, Blob video)Update the JPEG story board and duration in seconds of a Video document from the video blob content.static voidVideoHelper. updateVideoInfo(DocumentModel docModel, Blob video) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.adapter
Methods in org.nuxeo.ecm.platform.video.adapter with parameters of type DocumentModel Modifier and Type Method Description BlobThumbnailVideoFactory. computeThumbnail(DocumentModel doc, CoreSession session)ObjectVideoDocumentAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)BlobThumbnailVideoFactory. getThumbnail(DocumentModel doc, CoreSession session)Constructors in org.nuxeo.ecm.platform.video.adapter with parameters of type DocumentModel Constructor Description VideoDocumentAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.importer
Methods in org.nuxeo.ecm.platform.video.importer with parameters of type DocumentModel Modifier and Type Method Description voidVideoImporter. updateDocument(DocumentModel doc, Blob content) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.listener
Methods in org.nuxeo.ecm.platform.video.listener with parameters of type DocumentModel Modifier and Type Method Description protected voidVideoChangedListener. resetProperties(DocumentModel doc)protected voidVideoChangedListener. scheduleAsyncProcessing(DocumentModel doc)protected booleanVideoChangedListener. shouldProcess(DocumentModel doc, String eventName) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.rendition
Methods in org.nuxeo.ecm.platform.video.rendition with parameters of type DocumentModel Modifier and Type Method Description List<RenditionDefinition>VideoRenditionDefinitionProvider. getRenditionDefinitions(DocumentModel doc)booleanVideoRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition definition)List<Blob>VideoRenditionProvider. render(DocumentModel doc, RenditionDefinition definition) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.service
Methods in org.nuxeo.ecm.platform.video.service with parameters of type DocumentModel Modifier and Type Method Description protected VideoVideoConversionWork. getVideoToConvert(DocumentModel doc)default voidVideoService. launchAutomaticConversions(DocumentModel doc)Launch all the registered automatic video conversions on the givendoc.voidVideoService. launchAutomaticConversions(DocumentModel doc, boolean onlyMissing)Launch registered automatic video conversions on the givendoc.voidVideoServiceImpl. launchAutomaticConversions(DocumentModel doc, boolean onlyMissing)voidVideoService. launchConversion(DocumentModel doc, String conversionName)Launch an asynchronously video conversion of the givendoc.voidVideoServiceImpl. launchConversion(DocumentModel doc, String conversionName)protected voidVideoConversionWork. resetTranscodedVideos(DocumentModel doc)protected voidVideoConversionWork. saveNewTranscodedVideo(DocumentModel doc, TranscodedVideo transcodedVideo)protected booleanVideoStoryboardWork. updatePreviews(DocumentModel doc, Blob blob)protected booleanVideoStoryboardWork. updateStoryboard(DocumentModel doc, Blob blob)protected voidVideoInfoWork. updateVideoInfo(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.platform.video.tools.operations
Fields in org.nuxeo.ecm.platform.video.tools.operations declared as DocumentModel Modifier and Type Field Description protected DocumentModelAddWatermarkToVideo. watermarkMethods in org.nuxeo.ecm.platform.video.tools.operations with parameters of type DocumentModel Modifier and Type Method Description BlobAddWatermarkToVideo. run(DocumentModel input)BlobExtractClosedCaptionsFromVideo. run(DocumentModel input)BlobSliceVideo. run(DocumentModel input)BlobListSliceVideoInParts. run(DocumentModel input) -
Uses of DocumentModel in org.nuxeo.ecm.platform.web.common
Methods in org.nuxeo.ecm.platform.web.common with parameters of type DocumentModel Modifier and Type Method Description protected static StringMobileBannerHelper. getDocumentPart(DocumentModel doc)Deprecated.static StringMobileBannerHelper. getURLForAndroidApplication(javax.servlet.http.HttpServletRequest request, DocumentModel doc)Deprecated.Returns a full URL opening the Android mobile application for the given document.static StringMobileBannerHelper. getURLForIOSApplication(javax.servlet.http.HttpServletRequest request, DocumentModel doc)Deprecated.Returns a full URL opening the iOS mobile application for the given document.static StringMobileBannerHelper. getURLForMobileApplication(String protocol, String baseURL, DocumentModel doc, String requestedURL)Deprecated.static StringMobileBannerHelper. getURLForMobileApplication(String protocol, javax.servlet.http.HttpServletRequest request, DocumentModel doc)Deprecated. -
Uses of DocumentModel in org.nuxeo.ecm.platform.web.common.locale
Methods in org.nuxeo.ecm.platform.web.common.locale with parameters of type DocumentModel Modifier and Type Method Description LocaleDefaultLocaleProvider. getLocale(DocumentModel userProfileDoc)LocaleLocaleProvider. getLocale(DocumentModel userProfileDoc)Gets the locale stored in the given user profile.LocaleDefaultLocaleProvider. getLocaleWithDefault(DocumentModel userProfileDoc)LocaleLocaleProvider. getLocaleWithDefault(DocumentModel userProfileDoc) -
Uses of DocumentModel in org.nuxeo.ecm.quota
Methods in org.nuxeo.ecm.quota that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>AbstractQuotaStatsUpdater. getAncestors(CoreSession session, DocumentModel doc)Gets all the ancestors of the document, including the root.protected List<DocumentModel>QuotaStatsServiceImpl. getParentsInReverseOrder(DocumentModel doc, CoreSession session)Methods in org.nuxeo.ecm.quota with parameters of type DocumentModel Modifier and Type Method Description booleanQuotaStatsService. canSetMaxQuota(long maxQuota, DocumentModel doc, CoreSession session)Test to see if quota allowed.booleanQuotaStatsServiceImpl. canSetMaxQuota(long maxQuota, DocumentModel doc, CoreSession session)static voidQuotaUtils. clearContextData(DocumentModel doc)Clears the context data of the various flags used to disable listeners.static voidQuotaUtils. 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)longQuotaStatsService. getQuotaFromParent(DocumentModel doc, CoreSession session)Gets the quota from the first parent where quota has been set.longQuotaStatsServiceImpl. getQuotaFromParent(DocumentModel doc, CoreSession session)StringQuotaStatsServiceImpl. getUserWorkspaceRootId(DocumentModel context, CoreSession session)voidQuotaStatsService. launchSetMaxQuotaOnUserWorkspaces(long maxQuota, DocumentModel context, CoreSession session)Sets this maxQuota on all user workspacesvoidQuotaStatsServiceImpl. launchSetMaxQuotaOnUserWorkspaces(long maxSize, DocumentModel context, CoreSession session)protected abstract booleanAbstractQuotaStatsUpdater. needToProcessEventOnDocument(Event event, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentAboutToBeRemoved(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentBeforeCheckedIn(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentBeforeCheckedOut(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentBeforeRestore(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentBeforeUpdate(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentCheckedIn(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentCheckedOut(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentCopied(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentCreated(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentMoved(CoreSession session, DocumentModel doc, DocumentModel sourceParent)protected abstract voidAbstractQuotaStatsUpdater. processDocumentRestored(CoreSession session, DocumentModel doc)protected abstract voidAbstractQuotaStatsUpdater. processDocumentTrashOp(CoreSession session, DocumentModel doc, boolean isTrashed)protected abstract voidAbstractQuotaStatsUpdater. processDocumentUpdated(CoreSession session, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.quota.automation
Methods in org.nuxeo.ecm.quota.automation with parameters of type DocumentModel Modifier and Type Method Description JsonAdapterGetQuotaInfoOperation. run(DocumentModel doc)LongSetQuotaInfoOperation. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.quota.count
Methods in org.nuxeo.ecm.quota.count with parameters of type DocumentModel Modifier and Type Method Description ObjectQuotaStatsAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)protected longDocumentsCountUpdater. getCount(DocumentModel doc)protected booleanDocumentsCountUpdater. needToProcessEventOnDocument(Event event, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentAboutToBeRemoved(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentBeforeCheckedIn(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentBeforeCheckedOut(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentBeforeRestore(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentBeforeUpdate(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentCheckedIn(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentCheckedOut(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentCopied(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentCreated(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentMoved(CoreSession session, DocumentModel doc, DocumentModel sourceParent)protected voidDocumentsCountUpdater. processDocumentRestored(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. processDocumentTrashOp(CoreSession session, DocumentModel doc, boolean isTrashed)protected voidDocumentsCountUpdater. processDocumentUpdated(CoreSession session, DocumentModel doc)protected voidDocumentsCountUpdater. saveDocumentsCount(CoreSession session, DocumentModel folder, org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count count)protected voidDocumentsCountUpdater. updateCount(CoreSession session, DocumentModel parent, String xpath, long count)protected voidDocumentsCountUpdater. updateCountStatistics(CoreSession session, DocumentModel doc, List<DocumentModel> ancestors, long count)Method parameters in org.nuxeo.ecm.quota.count with type arguments of type DocumentModel Modifier and Type Method Description protected voidDocumentsCountUpdater. updateCountStatistics(CoreSession session, DocumentModel doc, List<DocumentModel> ancestors, long count)Constructors in org.nuxeo.ecm.quota.count with parameters of type DocumentModel Constructor Description QuotaStatsNonFolderishCountAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.quota.size
Fields in org.nuxeo.ecm.quota.size declared as DocumentModel Modifier and Type Field Description protected DocumentModelQuotaAwareDocument. docMethods in org.nuxeo.ecm.quota.size that return DocumentModel Modifier and Type Method Description DocumentModelQuotaAware. getDoc()DocumentModelQuotaAwareDocument. getDoc()Methods in org.nuxeo.ecm.quota.size with parameters of type DocumentModel Modifier and Type Method Description protected voidDocumentsSizeUpdater. checkQuota(CoreSession session, DocumentModel doc, long delta)Checks the size delta against the maximum quota specified for this document or an ancestor.ObjectQuotaAwareDocumentFactory. getAdapter(DocumentModel doc, Class<?> adapter)protected List<Blob>DocumentsSizeUpdater. getAllBlobs(DocumentModel doc)Returns the list of blobs for this document.protected longDocumentsSizeUpdater. getBlobsSize(DocumentModel doc)Gets the sum of all blobs sizes for this document.protected longDocumentsSizeUpdater. getVersionsSize(CoreSession session, DocumentModel doc)Gets the sum of all blobs sizes for all the document's versions.protected voidDocumentsSizeUpdater. initDocument(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. initDocumentFromChildren(DocumentModel doc)static QuotaAwareQuotaAwareDocumentFactory. make(DocumentModel doc)protected booleanDocumentsSizeUpdater. needToProcessEventOnDocument(Event event, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentAboutToBeRemoved(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentBeforeCheckedIn(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentBeforeCheckedOut(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentBeforeRestore(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentBeforeUpdate(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentCheckedIn(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentCheckedOut(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentCopied(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentCreated(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentMoved(CoreSession session, DocumentModel doc, DocumentModel sourceParent)protected voidDocumentsSizeUpdater. processDocumentRestored(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. processDocumentTrashOp(CoreSession session, DocumentModel doc, boolean isTrashed)protected voidDocumentsSizeUpdater. processDocumentUpdated(CoreSession session, DocumentModel doc)protected voidDocumentsSizeUpdater. updateAncestors(CoreSession session, DocumentModel doc, long deltaTotal, long deltaTrash, long deltaVersions)protected voidDocumentsSizeUpdater. updateDocument(DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions)protected voidDocumentsSizeUpdater. updateDocument(DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions, boolean allowSave)protected voidDocumentsSizeUpdater. updateDocumentAndAncestors(CoreSession session, DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions)Constructors in org.nuxeo.ecm.quota.size with parameters of type DocumentModel Constructor Description QuotaAwareDocument(DocumentModel doc)QuotaExceededException(DocumentModel targetDocument, String message)QuotaExceededException(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue) -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs
Methods in org.nuxeo.ecm.restapi.server.jaxrs that return DocumentModel Modifier and Type Method Description DocumentModelJSONDocumentObject. doGet()DocumentModelJSONDocumentObject. doPut(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers)protected DocumentModelPaginableObject. getSearchDocument()protected DocumentModelQueryObject. getSearchDocumentModel(CoreSession session, PageProviderService pps, String providerName, Properties namedParameters)Deprecated.since 11.1, usePageProviderHelper.getSearchDocumentModel(CoreSession, PageProviderService, String, Map)insteadprotected DocumentModelOAuth2Object. getTokenDoc(OAuth2Client client, String nxuser)protected DocumentModelOAuth2Object. getTokenDoc(NuxeoOAuth2ServiceProvider provider, String nxuser)Methods in org.nuxeo.ecm.restapi.server.jaxrs with parameters of type DocumentModel Modifier and Type Method Description protected voidOAuth2Object. deleteToken(DocumentModel token)javax.ws.rs.core.ResponseJSONDocumentObject. doPost(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers)DocumentModelJSONDocumentObject. doPut(DocumentModel inputDoc, javax.ws.rs.core.HttpHeaders headers)DocumentModelListBulkDocumentsObject. doUpdate(DocumentModel updateDoc)Deprecated.DocumentObjectJSONDocumentObject. newDocument(DocumentModel doc)protected voidOAuth2Object. updateTokenDoc(NuxeoOAuth2Token token, DocumentModel entry) -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.adapters
Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters that return DocumentModel Modifier and Type Method Description DocumentModelEmptyDocumentAdapter. getEmptyDocumentModel(String type, String name)protected DocumentModelAuditAdapter. getSearchDocument()protected DocumentModelPaginableAdapter. getSearchDocument()Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters that return types with arguments of type DocumentModel Modifier and Type Method Description protected Paginable<DocumentModel>DocumentModelListPaginableAdapter. getPaginableEntries(PageProvider<DocumentModel> pageProvider)Paginable<DocumentModel>PageProviderAdapter. getProviderDocs(String providerName)Methods in org.nuxeo.ecm.restapi.server.jaxrs.adapters with parameters of type DocumentModel Modifier and Type Method Description protected List<Blob>PreviewAdapter. previewBlobs(DocumentModel doc, String xpath, boolean blobPostProcessing)Method parameters in org.nuxeo.ecm.restapi.server.jaxrs.adapters with type arguments of type DocumentModel Modifier and Type Method Description protected Paginable<DocumentModel>DocumentModelListPaginableAdapter. getPaginableEntries(PageProvider<DocumentModel> pageProvider) -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.blob
Fields in org.nuxeo.ecm.restapi.server.jaxrs.blob declared as DocumentModel Modifier and Type Field Description protected DocumentModelBlobAdapter. docprotected DocumentModelBlobObject. doc -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.enrichers
Methods in org.nuxeo.ecm.restapi.server.jaxrs.enrichers with parameters of type DocumentModel Modifier and Type Method Description protected booleanHasContentJsonEnricher. hasContent(DocumentModel document, String query)voidAuditJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)voidHasContentJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document) -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.rendition
Fields in org.nuxeo.ecm.restapi.server.jaxrs.rendition declared as DocumentModel Modifier and Type Field Description protected DocumentModelRenditionObject. doc -
Uses of DocumentModel in org.nuxeo.ecm.restapi.server.jaxrs.search
Methods in org.nuxeo.ecm.restapi.server.jaxrs.search with parameters of type DocumentModel Modifier and Type Method Description protected DocumentModelListQueryExecutor. queryByLang(String query, Long pageSize, Long currentPageIndex, Long currentPageOffset, Long maxResults, List<SortInfo> sortInfo, Map<String,Serializable> props, DocumentModel searchDocumentModel, Object... parameters)protected DocumentModelListQueryExecutor. 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 DocumentModelListQueryExecutor. queryByPageProvider(String pageProviderName, Long pageSize, Long currentPageIndex, Long currentPageOffset, List<SortInfo> sortInfo, List<QuickFilter> quickFilters, Object[] parameters, Map<String,Serializable> props, DocumentModel searchDocumentModel)protected DocumentModelListSearchObject. querySavedSearchByPageProvider(String pageProviderName, Long pageSize, Long currentPageIndex, Long currentPageOffset, String orderedParams, Map<String,String> namedParameters, List<SortInfo> sortInfo, List<QuickFilter> quickFilters, DocumentModel searchDocumentModel) -
Uses of DocumentModel in org.nuxeo.ecm.restapi.test
Methods in org.nuxeo.ecm.restapi.test that return DocumentModel Modifier and Type Method Description static DocumentModelRestServerInit. getFile(int index, CoreSession session)static DocumentModelRestServerInit. getFolder(int index, CoreSession session)static DocumentModelRestServerInit. getNote(int index, CoreSession session)Methods in org.nuxeo.ecm.restapi.test with parameters of type DocumentModel Modifier and Type Method Description protected voidBaseTest. assertEntityEqualsDoc(InputStream in, DocumentModel doc)Deprecated, for removal: This API element is subject to removal in a future version.protected voidBaseTest. assertNodeEqualsDoc(com.fasterxml.jackson.databind.JsonNode node, DocumentModel note)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of DocumentModel in org.nuxeo.ecm.tokenauth.service
Methods in org.nuxeo.ecm.tokenauth.service that return DocumentModel Modifier and Type Method Description protected DocumentModelTokenAuthenticationServiceImpl. getBareAuthTokenModel(DirectoryService directoryService) -
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile
Methods in org.nuxeo.ecm.user.center.profile that return DocumentModel Modifier and Type Method Description DocumentModelUserProfileService. getUserProfile(DocumentModel userModel, CoreSession session)Get a DocumentModel containing both user and user profile schemasDocumentModelUserProfileServiceImpl. getUserProfile(DocumentModel userModel, CoreSession session)DocumentModelUserProfileService. getUserProfileDocument(String userName, CoreSession session)Get the profile of a specific user.DocumentModelUserProfileService. getUserProfileDocument(CoreSession session)Get the current user profile.DocumentModelUserProfileServiceImpl. getUserProfileDocument(String userName, CoreSession session)DocumentModelUserProfileServiceImpl. getUserProfileDocument(CoreSession session)Methods in org.nuxeo.ecm.user.center.profile with parameters of type DocumentModel Modifier and Type Method Description DocumentModelUserProfileService. getUserProfile(DocumentModel userModel, CoreSession session)Get a DocumentModel containing both user and user profile schemasDocumentModelUserProfileServiceImpl. getUserProfile(DocumentModel userModel, CoreSession session) -
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile.listeners
Methods in org.nuxeo.ecm.user.center.profile.listeners with parameters of type DocumentModel Modifier and Type Method Description protected voidResizeAvatarPictureListener. resizeAvatar(DocumentModel doc, Blob avatarImage) -
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile.localeProvider
Methods in org.nuxeo.ecm.user.center.profile.localeProvider with parameters of type DocumentModel Modifier and Type Method Description LocaleUserLocaleProvider. getLocale(DocumentModel userProfileDoc)LocaleUserLocaleProvider. getLocaleWithDefault(DocumentModel userProfileDoc) -
Uses of DocumentModel in org.nuxeo.ecm.user.center.profile.rest
Methods in org.nuxeo.ecm.user.center.profile.rest with parameters of type DocumentModel Modifier and Type Method Description protected voidUserProfileEnricher. writeCompatibilityUserProfile(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel up)protected voidUserProfileEnricher. writeUserProfile(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel up) -
Uses of DocumentModel in org.nuxeo.ecm.user.invite
Fields in org.nuxeo.ecm.user.invite declared as DocumentModel Modifier and Type Field Description protected DocumentModelUserInvitationComponent.RootDocumentGetter. docprotected DocumentModelRegistrationRules. requestContainerprotected DocumentModelUserInvitationComponent.RegistrationCreator. userRegistrationModelMethods in org.nuxeo.ecm.user.invite that return DocumentModel Modifier and Type Method Description DocumentModelUserInvitationComponent.RootDocumentGetter. getDoc()DocumentModelUserInvitationComponent. getOrCreateRootDocument(CoreSession session, String configurationName)DocumentModelUserInvitationComponent. getRegistrationRulesDocument(CoreSession session, String configurationName)DocumentModelUserInvitationService. getRegistrationRulesDocument(CoreSession session, String configurationName)Get documentmodel that stores request configuration using RegistrationConfiguration facet.DocumentModelUserInvitationComponent. getUserRegistrationModel(String configurationName)DocumentModelUserInvitationComponent.UserRegistrationModelCreator. getUserRegistrationModel()DocumentModelUserInvitationService. getUserRegistrationModel(String configurationName)Create a document model for the UserRegistration doctype.Methods in org.nuxeo.ecm.user.invite with parameters of type DocumentModel Modifier and Type Method Description protected booleanUserInvitationComponent. checkUserFromRegistrationExistence(DocumentModel registrationDoc)NuxeoPrincipalUserInvitationComponent. createUser(CoreSession session, DocumentModel registrationDoc)NuxeoPrincipalUserInvitationService. createUser(CoreSession session, DocumentModel registrationDoc)NuxeoPrincipalDefaultInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)NuxeoPrincipalInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)Handle user creationvoidDefaultInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)voidInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)Called just after the user is createdprotected List<String>DefaultInvitationUserFactory. filterGroups(DocumentModel registrationDoc, UserRegistrationConfiguration configuration)Filter group by computing the intersection of the group in the registration doc and the groups of the user that created the request.ObjectRegistrationRulesFactory. getAdapter(DocumentModel doc, Class<?> itf)UserRegistrationConfigurationUserInvitationComponent. getConfiguration(DocumentModel requestDoc)UserRegistrationConfigurationUserInvitationService. getConfiguration(DocumentModel requestDoc)protected static booleanUserInvitationComponent. isEmailExist(UserRegistrationConfiguration configuration, DocumentModel userRegistration)protected voidUserInvitationComponent. reviveRegistrationRequest(CoreSession session, DocumentModel registrationDoc, Map<String,Serializable> additionalInfos)protected voidUserInvitationComponent. sendEmail(Map<String,Serializable> additionnalInfo, DocumentModel registrationDoc, String emailTemplatePath, String emailTitle)protected EventContextUserInvitationComponent. sendEvent(CoreSession session, DocumentModel source, String evName)protected voidUserInvitationComponent. sendValidationEmail(Map<String,Serializable> additionnalInfo, DocumentModel registrationDoc)StringUserInvitationComponent. submitRegistrationRequest(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)StringUserInvitationComponent. submitRegistrationRequest(DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)StringUserInvitationService. submitRegistrationRequest(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)Stores a resgitration request like submitRegistrationRequest with Document informationStringUserInvitationService. submitRegistrationRequest(DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod, boolean autoAccept)Stores a registration request and return a unique ID for itMethod parameters in org.nuxeo.ecm.user.invite with type arguments of type DocumentModel Modifier and Type Method Description voidUserInvitationComponent. deleteRegistrationRequests(CoreSession session, List<DocumentModel> registrationDocs)voidUserInvitationService. deleteRegistrationRequests(CoreSession session, List<DocumentModel> registrationDoc)Delete a registration documentvoidUserInvitationComponent. reviveRegistrationRequests(CoreSession session, List<DocumentModel> registrationDocs)voidUserInvitationService. reviveRegistrationRequests(CoreSession session, List<DocumentModel> registrationDocs)Send a mail to the invited user to revive his invitation If an error occured while sending an email, it logs it and continue.Constructors in org.nuxeo.ecm.user.invite with parameters of type DocumentModel Constructor Description RegistrationCreator(String configurationName, DocumentModel userRegistrationModel, Map<String,Serializable> additionnalInfo, UserInvitationService.ValidationMethod validationMethod)RegistrationRules(DocumentModel requestContainer) -
Uses of DocumentModel in org.nuxeo.ecm.webdav.backend
Methods in org.nuxeo.ecm.webdav.backend that return DocumentModel Modifier and Type Method Description DocumentModelAbstractVirtualBackend. copyItem(DocumentModel source, PathRef targetParentRef)DocumentModelBackend. copyItem(DocumentModel source, PathRef targetParentRef)DocumentModelSimpleBackend. copyItem(DocumentModel source, PathRef targetParentRef)DocumentModelAbstractVirtualBackend. createFile(String parentPath, String name)DocumentModelAbstractVirtualBackend. createFile(String parentPath, String name, Blob content)DocumentModelBackend. createFile(String parentPath, String name)Deprecated.since 10.10, unusedDocumentModelBackend. createFile(String parentPath, String name, Blob content)DocumentModelSimpleBackend. createFile(String parentPath, String name)DocumentModelSimpleBackend. createFile(String parentPath, String name, Blob content)DocumentModelAbstractVirtualBackend. createFolder(String parentPath, String name)DocumentModelBackend. createFolder(String parentPath, String name)DocumentModelSimpleBackend. createFolder(String parentPath, String name)DocumentModelPathCache. get(String path)Deprecated.DocumentModelAbstractVirtualBackend. getDocument(String location)DocumentModelBackend. getDocument(String location)DocumentModelSimpleBackend. getDocument(String location)DocumentModelAbstractVirtualBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)DocumentModelAbstractVirtualBackend. moveItem(DocumentModel source, PathRef targetParentRef)DocumentModelBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)DocumentModelBackend. moveItem(DocumentModel source, PathRef targetParentRef)Deprecated.since 10.10, unusedDocumentModelSimpleBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)DocumentModelSimpleBackend. moveItem(DocumentModel source, PathRef targetParentRef)DocumentModelAbstractVirtualBackend. resolveLocation(String location)DocumentModelBackend. resolveLocation(String location)DocumentModelSimpleBackend. resolveLocation(String location)protected DocumentModelSimpleBackend. resolveParent(String location)DocumentModelAbstractVirtualBackend. updateDocument(DocumentModel doc, String name, Blob content)DocumentModelBackend. updateDocument(DocumentModel doc, String name, Blob content)DocumentModelSimpleBackend. updateDocument(DocumentModel doc, String name, Blob content)Methods in org.nuxeo.ecm.webdav.backend that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>AbstractVirtualBackend. getChildren(DocumentRef ref)List<DocumentModel>Backend. getChildren(DocumentRef ref)List<DocumentModel>SimpleBackend. getChildren(DocumentRef ref)Methods in org.nuxeo.ecm.webdav.backend with parameters of type DocumentModel Modifier and Type Method Description protected booleanSimpleBackend. cleanTrashPath(DocumentModel parent, String name)DocumentModelAbstractVirtualBackend. copyItem(DocumentModel source, PathRef targetParentRef)DocumentModelBackend. copyItem(DocumentModel source, PathRef targetParentRef)DocumentModelSimpleBackend. copyItem(DocumentModel source, PathRef targetParentRef)StringAbstractVirtualBackend. getDisplayName(DocumentModel doc)StringBackend. getDisplayName(DocumentModel doc)StringSimpleBackend. getDisplayName(DocumentModel doc)protected StringSimpleBackend. getFileName(DocumentModel doc)protected booleanSimpleBackend. isTemporaryFile(DocumentModel doc)protected booleanSimpleBackend. isTrashDocument(DocumentModel model)DocumentModelAbstractVirtualBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)DocumentModelAbstractVirtualBackend. moveItem(DocumentModel source, PathRef targetParentRef)DocumentModelBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)DocumentModelBackend. moveItem(DocumentModel source, PathRef targetParentRef)Deprecated.since 10.10, unusedDocumentModelSimpleBackend. moveItem(DocumentModel source, DocumentRef targetParentRef, String name)DocumentModelSimpleBackend. moveItem(DocumentModel source, PathRef targetParentRef)voidPathCache. put(String path, DocumentModel model)Deprecated.voidAbstractVirtualBackend. renameItem(DocumentModel source, String destinationName)voidBackend. renameItem(DocumentModel source, String destinationName)Deprecated.since 10.10, unused, useBackend.moveItem(org.nuxeo.ecm.core.api.DocumentModel, org.nuxeo.ecm.core.api.PathRef)insteadvoidSimpleBackend. renameItem(DocumentModel source, String destinationName)DocumentModelAbstractVirtualBackend. updateDocument(DocumentModel doc, String name, Blob content)DocumentModelBackend. updateDocument(DocumentModel doc, String name, Blob content)DocumentModelSimpleBackend. updateDocument(DocumentModel doc, String name, Blob content)Method parameters in org.nuxeo.ecm.webdav.backend with type arguments of type DocumentModel Modifier and Type Method Description protected voidAbstractVirtualBackend. registerSimpleBackends(List<DocumentModel> docs) -
Uses of DocumentModel in org.nuxeo.ecm.webdav.resource
Fields in org.nuxeo.ecm.webdav.resource declared as DocumentModel Modifier and Type Field Description protected DocumentModelExistingResource. docMethods in org.nuxeo.ecm.webdav.resource with parameters of type DocumentModel Modifier and Type Method Description protected net.java.dev.webdav.jaxrs.xml.elements.ResponseFolderResource. 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.ResponseFolderResource. 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.LockDiscoveryExistingResource. getLockDiscovery(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo)protected PropStatBuilderExtExistingResource. getPropStatBuilderExt(DocumentModel doc, javax.ws.rs.core.UriInfo uriInfo)protected DateExistingResource. getTimePropertyWrapper(DocumentModel doc, String name)protected booleanExistingResource. isRecentlyCreated(DocumentModel doc)Constructors in org.nuxeo.ecm.webdav.resource with parameters of type DocumentModel Constructor Description ExistingResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)FileResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend)FolderResource(String path, DocumentModel doc, javax.servlet.http.HttpServletRequest request, Backend backend) -
Uses of DocumentModel in org.nuxeo.ecm.webengine.forms
Methods in org.nuxeo.ecm.webengine.forms with parameters of type DocumentModel Modifier and Type Method Description voidFormData. fillDocument(DocumentModel doc)voidFormInstance. fillDocument(DocumentModel doc)voidFormData. fillDocumentFromForm(DocumentModel doc)voidFormData. fillDocumentFromMultiPartForm(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate
Methods in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate that return DocumentModel Modifier and Type Method Description DocumentModelDocumentModelJsonReaderLegacy. read(Class<?> clazz, Type genericType, javax.ws.rs.core.MediaType mediaType, InputStream in) -
Uses of DocumentModel in org.nuxeo.ecm.webengine.model
Methods in org.nuxeo.ecm.webengine.model with parameters of type DocumentModel Modifier and Type Method Description StringModuleResource. getLink(DocumentModel doc)StringWebContext. getUrlPath(DocumentModel document)Get a suitable URI path for the given Nuxeo document, that can be used to invoke this document. -
Uses of DocumentModel in org.nuxeo.ecm.webengine.model.impl
Methods in org.nuxeo.ecm.webengine.model.impl with parameters of type DocumentModel Modifier and Type Method Description StringModuleRoot. getLink(DocumentModel doc)You should override this method to resolve objects to links.StringAbstractWebContext. getUrlPath(DocumentModel document)This method is working only for root objects that implementModuleResource -
Uses of DocumentModel in org.nuxeo.ecm.webengine.ui.json
Methods in org.nuxeo.ecm.webengine.ui.json that return DocumentModel Modifier and Type Method Description protected DocumentModelDocumentTreeBuilder. getObject(String name)Methods in org.nuxeo.ecm.webengine.ui.json that return types with arguments of type DocumentModel Modifier and Type Method Description protected Collection<DocumentModel>DocumentTreeBuilder. getChildren(DocumentModel obj)Methods in org.nuxeo.ecm.webengine.ui.json with parameters of type DocumentModel Modifier and Type Method Description protected Collection<DocumentModel>DocumentTreeBuilder. getChildren(DocumentModel obj)protected StringDocumentTreeBuilder. getName(DocumentModel obj)protected Map<String,Object>DocumentTreeBuilder. toJson(DocumentModel obj) -
Uses of DocumentModel in org.nuxeo.ecm.webengine.ui.tree.directory
Methods in org.nuxeo.ecm.webengine.ui.tree.directory with parameters of type DocumentModel Modifier and Type Method Description protected voidDirectoryContentProvider. createQuery(DocumentModel parent, Map<String,Serializable> query) -
Uses of DocumentModel in org.nuxeo.ecm.webengine.ui.tree.document
Constructors in org.nuxeo.ecm.webengine.ui.tree.document with parameters of type DocumentModel Constructor Description DocumentTree(WebContext ctx, DocumentModel rootDoc) -
Uses of DocumentModel in org.nuxeo.elasticsearch
Methods in org.nuxeo.elasticsearch with parameters of type DocumentModel Modifier and Type Method Description org.elasticsearch.common.bytes.BytesReferenceElasticSearchComponent. source(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.elasticsearch.aggregate
Methods in org.nuxeo.elasticsearch.aggregate with parameters of type DocumentModel Modifier and Type Method Description static AggregateEsBase<? extends org.elasticsearch.search.aggregations.Aggregation,? extends Bucket>AggregateFactory. create(AggregateDefinition def, DocumentModel searchDocumentModel) -
Uses of DocumentModel in org.nuxeo.elasticsearch.api
Methods in org.nuxeo.elasticsearch.api with parameters of type DocumentModel Modifier and Type Method Description org.elasticsearch.common.bytes.BytesReferenceElasticSearchIndexing. source(DocumentModel doc)Returns the JSON Elasticsearch source representation of a document. -
Uses of DocumentModel in org.nuxeo.elasticsearch.audit
Methods in org.nuxeo.elasticsearch.audit with parameters of type DocumentModel Modifier and Type Method Description protected org.elasticsearch.index.query.QueryBuilderESAuditBackend. buildFilter(PredicateDefinition[] predicates, DocumentModel searchDocumentModel)org.elasticsearch.action.search.SearchRequestESAuditBackend. buildSearchQuery(String fixedPart, PredicateDefinition[] predicates, DocumentModel searchDocumentModel) -
Uses of DocumentModel in org.nuxeo.elasticsearch.commands
Fields in org.nuxeo.elasticsearch.commands declared as DocumentModel Modifier and Type Field Description protected DocumentModelIndexingCommands. targetDocumentMethods in org.nuxeo.elasticsearch.commands that return DocumentModel Modifier and Type Method Description DocumentModelIndexingCommand. getTargetDocument()Return the document or null if it does not exists anymore.DocumentModelIndexingCommands. getTargetDocument()protected DocumentModelIndexingCommand. getValidTargetDocument(DocumentModel target)Methods in org.nuxeo.elasticsearch.commands with parameters of type DocumentModel Modifier and Type Method Description IndexingCommandIndexingCommand. clone(DocumentModel newDoc)protected IndexingCommandsIndexingCommandsStacker. getCommands(DocumentModel doc)protected StringIndexingCommandsStacker. getDocKey(DocumentModel doc)protected IndexingCommandsIndexingCommandsStacker. getOrCreateCommands(DocumentModel doc)protected DocumentModelIndexingCommand. getValidTargetDocument(DocumentModel target)protected booleanIndexingCommandsStacker. isSynchronous(DocumentEventContext docCtx, DocumentModel doc)protected voidIndexingCommandsStacker. stackCommand(DocumentModel doc, String eventId, boolean sync)protected voidIndexingCommandsStacker. stackCommand(DocumentModel doc, DocumentEventContext docCtx, String eventId)Constructors in org.nuxeo.elasticsearch.commands with parameters of type DocumentModel Constructor Description IndexingCommand(DocumentModel document, IndexingCommand.Type commandType, boolean sync, boolean recurse)Create an indexing commandIndexingCommands(DocumentModel targetDocument) -
Uses of DocumentModel in org.nuxeo.elasticsearch.core
Methods in org.nuxeo.elasticsearch.core with parameters of type DocumentModel Modifier and Type Method Description org.elasticsearch.common.bytes.BytesReferenceElasticSearchIndexingImpl. source(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.elasticsearch.fetcher
Methods in org.nuxeo.elasticsearch.fetcher that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>VcsFetcher. fetchFromVcs(Map<String,List<String>> repoHits) -
Uses of DocumentModel in org.nuxeo.elasticsearch.io
Methods in org.nuxeo.elasticsearch.io that return DocumentModel Modifier and Type Method Description DocumentModelJsonDocumentModelReader. getDocumentModel()Methods in org.nuxeo.elasticsearch.io with parameters of type DocumentModel Modifier and Type Method Description protected Map<String,String>JsonESDocumentWriter. getBinaryFulltext(DocumentModel doc)voidHighlightJsonEnricher. write(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel document)protected voidJsonESDocumentWriter. writeContextParameters(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, Map<String,String> contextParameters)voidJsonESDocumentWriter. writeESDocument(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String[] schemas, Map<String,String> contextParameters)protected static voidJsonESDocumentWriter. writeProperties(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String schema, javax.servlet.ServletRequest request)protected voidJsonESDocumentWriter. writeSchemas(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc, String[] schemas)protected voidJsonESDocumentWriter. writeSystemProperties(com.fasterxml.jackson.core.JsonGenerator jg, DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.elasticsearch.provider
Fields in org.nuxeo.elasticsearch.provider with type parameters of type DocumentModel Modifier and Type Field Description protected List<DocumentModel>ElasticSearchNativePageProvider. currentPageDocumentsMethods in org.nuxeo.elasticsearch.provider that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>ElasticSearchNativePageProvider. getCurrentPage()List<DocumentModel>ElasticSearchNxqlPageProvider. getCurrentPage() -
Uses of DocumentModel in org.nuxeo.elasticsearch.query
Methods in org.nuxeo.elasticsearch.query with parameters of type DocumentModel Modifier and Type Method Description static org.elasticsearch.index.query.QueryBuilderPageProviderQueryBuilder. makeQuery(DocumentModel model, WhereClauseDefinition whereClause, Object[] params, boolean useNativeQuery)Create a ES request from a PP whereClausestatic org.elasticsearch.index.query.QueryBuilderPageProviderQueryBuilder. makeQuery(DocumentModel model, WhereClauseDefinition whereClause, String additionalFixedPart, Object[] params, boolean useNativeQuery) -
Uses of DocumentModel in org.nuxeo.elasticsearch.work
Methods in org.nuxeo.elasticsearch.work that return types with arguments of type DocumentModel Modifier and Type Method Description protected List<DocumentModel>BucketIndexingWorker. loadDocumentsOneByOne(CoreSession session, List<String> documentIds) -
Uses of DocumentModel in org.nuxeo.importer.stream.consumer
Methods in org.nuxeo.importer.stream.consumer with parameters of type DocumentModel Modifier and Type Method Description protected voidDocumentMessageConsumer. setDocumentProperties(DocumentModel doc, Map<String,Serializable> properties) -
Uses of DocumentModel in org.nuxeo.io.fsexporter
Methods in org.nuxeo.io.fsexporter with parameters of type DocumentModel Modifier and Type Method Description protected voidCustomExporterPlugin. exportFileInXML(CoreSession session, DocumentModel docfrom, String pathtoexport)DocumentModelListDefaultExporterPlugin. getChildren(CoreSession session, DocumentModel doc, String customQuery)DocumentModelListFSExporterPlugin. getChildren(CoreSession session, DocumentModel doc, String PageProvider)protected StringDefaultExporterPlugin. getFileName(Blob blob, DocumentModel docfrom, File folder, int i)FileCustomExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)FileDefaultExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)FileDriveLikeExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)FileFSExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath) -
Uses of DocumentModel in org.nuxeo.scim.server.mapper
Methods in org.nuxeo.scim.server.mapper that return DocumentModel Modifier and Type Method Description DocumentModelAbstractMapper. createGroupModelFromGroupResource(com.unboundid.scim.data.GroupResource group)abstract DocumentModelAbstractMapper. createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user)DocumentModelConfigurableUserMapper. createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user)DocumentModelStaticUserMapper. createNuxeoUserFromUserResource(com.unboundid.scim.data.UserResource user)DocumentModelAbstractMapper. updateGroupModelFromGroupResource(String uid, com.unboundid.scim.data.GroupResource group)abstract DocumentModelAbstractMapper. updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)DocumentModelConfigurableUserMapper. updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)DocumentModelStaticUserMapper. updateNuxeoUserFromUserResource(String uid, com.unboundid.scim.data.UserResource user)Methods in org.nuxeo.scim.server.mapper with parameters of type DocumentModel Modifier and Type Method Description com.unboundid.scim.data.GroupResourceAbstractMapper. getGroupResourceFromNuxeoGroup(DocumentModel groupModel)abstract com.unboundid.scim.data.UserResourceAbstractMapper. getUserResourceFromNuxeoUser(DocumentModel userModel)com.unboundid.scim.data.UserResourceConfigurableUserMapper. getUserResourceFromNuxeoUser(DocumentModel userModel)com.unboundid.scim.data.UserResourceStaticUserMapper. getUserResourceFromNuxeoUser(DocumentModel userModel)protected voidAbstractMapper. updateGroupModel(DocumentModel userModel, com.unboundid.scim.data.GroupResource groupResouce)protected voidStaticUserMapper. updateUserModel(DocumentModel userModel, com.unboundid.scim.data.UserResource userResouce) -
Uses of DocumentModel in org.nuxeo.snapshot
Fields in org.nuxeo.snapshot declared as DocumentModel Modifier and Type Field Description protected DocumentModelSnapshotableAdapter. docMethods in org.nuxeo.snapshot that return DocumentModel Modifier and Type Method Description protected DocumentModelSnapshotableAdapter. createLeafVersionAndFetch(VersioningOption option)protected DocumentModelSnapshotableAdapter. getCheckoutDocument(DocumentModel target)DocumentModelSnapshot. getDocument()DocumentModelSnapshotableAdapter. getDocument()protected DocumentModelSnapshotableAdapter. getVersionForLabel(DocumentModel target, String versionLabel)DocumentModelSnapshot. restore(String versionLabel)DocumentModelSnapshotableAdapter. restore(String versionLabel)protected DocumentModelSnapshotableAdapter. restore(DocumentModel leafVersion, DocumentModel target, boolean first, DocumentModelList olddocs)Methods in org.nuxeo.snapshot that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>Snapshot. getChildren()List<DocumentModel>SnapshotableAdapter. getChildren()protected List<DocumentModel>SnapshotableAdapter. getChildren(DocumentModel target)Methods in org.nuxeo.snapshot with parameters of type DocumentModel Modifier and Type Method Description protected booleanSnapshotRemovalPolicy. canRemoveVersions(CoreSession session, DocumentModel doc, List<String> uuids)protected DocumentRefSnapshotableAdapter. createLeafVersion(DocumentModel targetDoc, VersioningOption option)ObjectSnapshotAdapterFactory. getAdapter(DocumentModel doc, Class<?> adapter)protected DocumentModelSnapshotableAdapter. getCheckoutDocument(DocumentModel target)protected List<DocumentModel>SnapshotableAdapter. getChildren(DocumentModel target)protected DocumentModelSnapshotableAdapter. getVersionForLabel(DocumentModel target, String versionLabel)protected DocumentModelSnapshotableAdapter. restore(DocumentModel leafVersion, DocumentModel target, boolean first, DocumentModelList olddocs)Constructors in org.nuxeo.snapshot with parameters of type DocumentModel Constructor Description SnapshotableAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.snapshot.operation
Methods in org.nuxeo.snapshot.operation that return DocumentModel Modifier and Type Method Description DocumentModelCreateTreeSnapshot. run(DocumentModel doc)Methods in org.nuxeo.snapshot.operation with parameters of type DocumentModel Modifier and Type Method Description DocumentModelCreateTreeSnapshot. run(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.snapshot.pageprovider
Methods in org.nuxeo.snapshot.pageprovider that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>VFolderPageProvider. getCurrentPage() -
Uses of DocumentModel in org.nuxeo.snapshot.pub
Methods in org.nuxeo.snapshot.pub that return DocumentModel Modifier and Type Method Description protected DocumentModelFolderishProxyFactory. subPublish(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent)Methods in org.nuxeo.snapshot.pub with parameters of type DocumentModel Modifier and Type Method Description PublishedDocumentFolderishProxyFactory. publishDocument(DocumentModel doc, PublicationNode targetNode, Map<String,String> params)protected DocumentModelFolderishProxyFactory. subPublish(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent) -
Uses of DocumentModel in org.nuxeo.targetplatforms.core.service
Methods in org.nuxeo.targetplatforms.core.service that return DocumentModel Modifier and Type Method Description protected DocumentModelTargetPlatformServiceImpl. getDirectoryEntry(String id) -
Uses of DocumentModel in org.nuxeo.template.adapters
Fields in org.nuxeo.template.adapters declared as DocumentModel Modifier and Type Field Description protected DocumentModelAbstractTemplateDocument. adaptedDocMethods in org.nuxeo.template.adapters that return DocumentModel Modifier and Type Method Description DocumentModelAbstractTemplateDocument. getAdaptedDoc()DocumentModelAbstractTemplateDocument. save()Methods in org.nuxeo.template.adapters with parameters of type DocumentModel Modifier and Type Method Description ObjectTemplateAdapterFactory. getAdapter(DocumentModel doc, Class adapterClass)static booleanTemplateAdapterFactory. isAdaptable(DocumentModel doc, Class<?> adapterClass)Checks if the document can be adapted. -
Uses of DocumentModel in org.nuxeo.template.adapters.doc
Methods in org.nuxeo.template.adapters.doc that return DocumentModel Modifier and Type Method Description DocumentModelTemplateBasedDocumentAdapterImpl. getSourceTemplateDoc(String templateName)DocumentModelTemplateBasedDocumentAdapterImpl. initializeFromTemplate(boolean save)DocumentModelTemplateBasedDocumentAdapterImpl. initializeFromTemplate(String templateName, boolean save)DocumentModelTemplateBasedDocumentAdapterImpl. removeTemplateBinding(String templateName, boolean save)DocumentModelTemplateBasedDocumentAdapterImpl. saveParams(String templateName, List<TemplateInput> params, boolean save)DocumentModelTemplateBasedDocumentAdapterImpl. setTemplate(DocumentModel template, boolean save)Methods in org.nuxeo.template.adapters.doc with parameters of type DocumentModel Modifier and Type Method Description voidTemplateBindings. save(DocumentModel doc)DocumentModelTemplateBasedDocumentAdapterImpl. setTemplate(DocumentModel template, boolean save)Constructors in org.nuxeo.template.adapters.doc with parameters of type DocumentModel Constructor Description TemplateBasedDocumentAdapterImpl(DocumentModel doc)TemplateBindings(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.adapters.source
Methods in org.nuxeo.template.adapters.source that return DocumentModel Modifier and Type Method Description DocumentModelTemplateSourceDocumentAdapterImpl. saveParams(List<TemplateInput> params, boolean save)Constructors in org.nuxeo.template.adapters.source with parameters of type DocumentModel Constructor Description TemplateSourceDocumentAdapterImpl(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.api
Methods in org.nuxeo.template.api that return DocumentModel Modifier and Type Method Description DocumentModelTemplateProcessorService. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)Detach a Template from aDocumentModelDocumentModelTemplateProcessorService. getTemplateDoc(CoreSession session, String name)Returns a template with a given templateName.DocumentModelTemplateProcessorService. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)Associate aDocumentModelto aTemplateSourceDocument.Methods in org.nuxeo.template.api that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>TemplateProcessorService. getAvailableTemplateDocs(CoreSession session, String targetType)FindTemplateSourceDocuments that can be bound to a given doc type.Methods in org.nuxeo.template.api with parameters of type DocumentModel Modifier and Type Method Description voidTemplateProcessorService. addContextExtensions(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)DocumentModelTemplateProcessorService. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)Detach a Template from aDocumentModelList<TemplateBasedDocument>TemplateProcessorService. getLinkedTemplateBasedDocuments(DocumentModel source)Retrieve the DocumentModels using a givenTemplateSourceDocumentDocumentModelTemplateProcessorService. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)Associate aDocumentModelto aTemplateSourceDocument.voidTemplateProcessorService. registerTypeMapping(DocumentModel doc)Update Type2Template Mapping from the data contained in the source DocumentModel. -
Uses of DocumentModel in org.nuxeo.template.api.adapters
Methods in org.nuxeo.template.api.adapters that return DocumentModel Modifier and Type Method Description DocumentModelTemplateBasedDocument. getAdaptedDoc()Return the underlying adaptedDocumentModelDocumentModelTemplateSourceDocument. getAdaptedDoc()Return the underlying adaptedDocumentModelsDocumentModelTemplateBasedDocument. getSourceTemplateDoc(String templateName)Retrieve the TemplateDocumentModelfor a given template nameDocumentModelTemplateBasedDocument. initializeFromTemplate(String templateName, boolean save)Initialize the template parameters from the associated templateDocumentModelTemplateBasedDocument. removeTemplateBinding(String templateName, boolean save)Detach a template from the underlyingDocumentModelDocumentModelTemplateSourceDocument. save()Save changes in the underlyingDocumentModelDocumentModelTemplateBasedDocument. saveParams(String templateName, List<TemplateInput> params, boolean save)Save parameters changes.DocumentModelTemplateSourceDocument. saveParams(List<TemplateInput> params, boolean save)Save parameters changesDocumentModelTemplateBasedDocument. setTemplate(DocumentModel template, boolean save)Associate the document to a Template.Methods in org.nuxeo.template.api.adapters with parameters of type DocumentModel Modifier and Type Method Description DocumentModelTemplateBasedDocument. setTemplate(DocumentModel template, boolean save)Associate the document to a Template. -
Uses of DocumentModel in org.nuxeo.template.api.context
Methods in org.nuxeo.template.api.context with parameters of type DocumentModel Modifier and Type Method Description ObjectContextExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)Called before redering to let you add objects inside the rendering context.ObjectDocumentWrapper. wrap(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.automation
Methods in org.nuxeo.template.automation with parameters of type DocumentModel Modifier and Type Method Description voidDetachTemplateOperation. run(DocumentModel targetTemplate)BlobRenderWithTemplateOperation. run(DocumentModel targetDocument) -
Uses of DocumentModel in org.nuxeo.template.context
Fields in org.nuxeo.template.context declared as DocumentModel Modifier and Type Field Description protected DocumentModelBlobHolderWrapper. docprotected DocumentModelSimpleDocumentWrapper. docMethods in org.nuxeo.template.context with parameters of type DocumentModel Modifier and Type Method Description Map<String,Object>AbstractContextBuilder. build(DocumentModel doc, String templateName)Map<String,Object>AbstractContextBuilder. build(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName)ObjectSimpleBeanWrapper. wrap(DocumentModel doc)Constructors in org.nuxeo.template.context with parameters of type DocumentModel Constructor Description BlobHolderWrapper(DocumentModel doc)SimpleDocumentWrapper(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.context.extensions
Fields in org.nuxeo.template.context.extensions declared as DocumentModel Modifier and Type Field Description protected DocumentModelContextFunctions. docprotected DocumentModelCoreExtensions. docMethods in org.nuxeo.template.context.extensions with parameters of type DocumentModel Modifier and Type Method Description ObjectAuditExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)ObjectCoreExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)ObjectFunctionsExtensionFactory. getExtension(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)Constructors in org.nuxeo.template.context.extensions with parameters of type DocumentModel Constructor Description ContextFunctions(DocumentModel doc, DocumentWrapper nuxeoWrapper)CoreExtensions(DocumentModel doc, DocumentWrapper nuxeoWrapper) -
Uses of DocumentModel in org.nuxeo.template.jaxrs.context
Fields in org.nuxeo.template.jaxrs.context declared as DocumentModel Modifier and Type Field Description protected DocumentModelJAXRSExtensions. docMethods in org.nuxeo.template.jaxrs.context with parameters of type DocumentModel Modifier and Type Method Description ObjectExtensionFactory. getExtension(DocumentModel doc, DocumentWrapper wrapper, Map<String,Object> ctx)Constructors in org.nuxeo.template.jaxrs.context with parameters of type DocumentModel Constructor Description JAXRSExtensions(DocumentModel doc, DocumentWrapper nuxeoWrapper, String templateName) -
Uses of DocumentModel in org.nuxeo.template.listeners
Methods in org.nuxeo.template.listeners with parameters of type DocumentModel Modifier and Type Method Description protected booleanTemplateInitListener. isBlobDirty(DocumentModel targetDoc) -
Uses of DocumentModel in org.nuxeo.template.processors
Methods in org.nuxeo.template.processors that return DocumentModel Modifier and Type Method Description DocumentModelBidirectionalTemplateProcessor. updateDocumentFromBlob(TemplateBasedDocument templateDocument, String templateName)Methods in org.nuxeo.template.processors with parameters of type DocumentModel Modifier and Type Method Description protected ObjectAbstractBindingResolver. extractBlobContent(DocumentModel doc, TemplateInput param)protected ObjectAbstractBindingResolver. extractDefaultValue(DocumentModel doc, TemplateInput param)protected StringAbstractBindingResolver. extractHTMLPreview(DocumentModel doc, TemplateInput param)protected PropertyAbstractBindingResolver. getDocProperty(TemplateInput param, DocumentModel doc)protected SerializableAbstractBindingResolver. getDocPropertyValue(DocumentModel doc, String propKey) -
Uses of DocumentModel in org.nuxeo.template.processors.docx
Methods in org.nuxeo.template.processors.docx that return DocumentModel Modifier and Type Method Description DocumentModelWordXMLRawTemplateProcessor. updateDocumentFromBlob(TemplateBasedDocument templateDocument, String templateName) -
Uses of DocumentModel in org.nuxeo.template.processors.xdocreport
Methods in org.nuxeo.template.processors.xdocreport with parameters of type DocumentModel Modifier and Type Method Description static StringFieldDefinitionGenerator. generate(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.template.rendition
Methods in org.nuxeo.template.rendition with parameters of type DocumentModel Modifier and Type Method Description booleanHtmlRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)booleanTemplateBasedRenditionProvider. isAvailable(DocumentModel doc, RenditionDefinition def)List<Blob>HtmlRenditionProvider. render(DocumentModel doc, RenditionDefinition definition)List<Blob>TemplateBasedRenditionProvider. render(DocumentModel doc, RenditionDefinition definition) -
Uses of DocumentModel in org.nuxeo.template.service
Methods in org.nuxeo.template.service that return DocumentModel Modifier and Type Method Description DocumentModelTemplateProcessorComponent. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)DocumentModelTemplateProcessorComponent. getTemplateDoc(CoreSession session, String name)DocumentModelTemplateProcessorComponent. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)Methods in org.nuxeo.template.service that return types with arguments of type DocumentModel Modifier and Type Method Description List<DocumentModel>TemplateProcessorComponent. getAvailableTemplateDocs(CoreSession session, String targetType)Methods in org.nuxeo.template.service with parameters of type DocumentModel Modifier and Type Method Description voidTemplateProcessorComponent. addContextExtensions(DocumentModel currentDocument, DocumentWrapper wrapper, Map<String,Object> ctx)DocumentModelTemplateProcessorComponent. detachTemplateBasedDocument(DocumentModel targetDoc, String templateName, boolean save)List<TemplateBasedDocument>TemplateProcessorComponent. getLinkedTemplateBasedDocuments(DocumentModel source)DocumentModelTemplateProcessorComponent. makeTemplateBasedDocument(DocumentModel targetDoc, DocumentModel sourceTemplateDoc, boolean save)voidTemplateProcessorComponent. registerTypeMapping(DocumentModel doc)Method parameters in org.nuxeo.template.service with type arguments of type DocumentModel Modifier and Type Method Description protected <T> List<T>TemplateProcessorComponent. wrap(List<DocumentModel> docs, Class<T> adapter)Constructors in org.nuxeo.template.service with parameters of type DocumentModel Constructor Description TemplateMappingRemover(CoreSession session, DocumentModel doc, String type2Remove) -
Uses of DocumentModel in org.nuxeo.theme.localconfiguration
Methods in org.nuxeo.theme.localconfiguration with parameters of type DocumentModel Modifier and Type Method Description ObjectLocalThemeConfigAdapterFactory. getAdapter(DocumentModel doc, Class<?> itf)static LocalThemeConfigLocalThemeHelper. getLocalThemeConfig(DocumentModel doc)Constructors in org.nuxeo.theme.localconfiguration with parameters of type DocumentModel Constructor Description LocalThemeConfigAdapter(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.usermapper.extension
Methods in org.nuxeo.usermapper.extension that return DocumentModel Modifier and Type Method Description protected DocumentModelAbstractUserMapper. createPrincipal(Map<String,Serializable> attributes)Methods in org.nuxeo.usermapper.extension with parameters of type DocumentModel Modifier and Type Method Description protected voidAbstractUserMapper. updatePrincipal(Map<String,Serializable> attributes, DocumentModel userModel)protected voidAbstractUserMapper. updateProfile(CoreSession session, Map<String,Serializable> attributes, DocumentModel userProfile) -
Uses of DocumentModel in org.nuxeo.wopi
Methods in org.nuxeo.wopi with parameters of type DocumentModel Modifier and Type Method Description default booleanWOPIService. checkDownloadBlob(DocumentModel doc, String xpath, Blob blob)Checks whether the download of the blob is allowed.booleanWOPIServiceImpl. checkDownloadBlob(DocumentModel doc, String xpath, Blob blob)static StringFileInfo. computeFileId(DocumentModel doc, String xpath)Returns a WOPI file id given adoc, and a blobxpath.static BlobHelpers. getEditableBlob(DocumentModel doc, String xpath)static StringHelpers. getWOPIURL(String baseURL, String action, DocumentModel doc, String xpath)protected voidWOPIJsonEnricher. writeWOPIBlobInfo(com.fasterxml.jackson.core.JsonGenerator jg, WOPIBlobInfo info, DocumentModel doc, String xpath) -
Uses of DocumentModel in org.nuxeo.wopi.jaxrs
Fields in org.nuxeo.wopi.jaxrs declared as DocumentModel Modifier and Type Field Description protected DocumentModelFilesEndpoint. docMethods in org.nuxeo.wopi.jaxrs that return DocumentModel Modifier and Type Method Description protected DocumentModelFilesEndpoint. createVersionFromRequestBody(String filename)protected DocumentModelWOPIRoot. getDocument(CoreSession session, String fileId)Methods in org.nuxeo.wopi.jaxrs with parameters of type DocumentModel Modifier and Type Method Description protected BlobWOPIRoot. getBlob(DocumentModel doc, String xpath)protected StringFilesEndpoint. getDocumentURL(DocumentModel doc) -
Uses of DocumentModel in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock that return types with arguments of type DocumentModel Modifier and Type Method Description protected static Map<String,List<DocumentModel>>LockHelper. getExpiredLocks(Session session, String repository)static Map<String,List<DocumentModel>>LockHelper. getExpiredLocksByRepository(Session session)Returns the list of expired stored WOPI locks according to theConstants.LOCK_TTLfor each repository.Methods in org.nuxeo.wopi.lock with parameters of type DocumentModel Modifier and Type Method Description protected voidLockExpirationListener. handleExpiredLock(CoreSession session, Session directorySession, DocumentModel entry)
-