Uses of Interface
org.nuxeo.ecm.core.api.CoreSession
Package
Description
Event Service API (see
EventService
).Event Service implementation.
Client search results api implementation.
Provides the interfaces necessary to create and manipulate
DocumentRoute
.Provides operations for pertaining to routing.
Provides internal services to the
DocumentRoutingService
Provides implementation for the api package.
Provides listener to the route lifecycle.
-
Uses of CoreSession in org.nuxeo.adobe.cc
-
Uses of CoreSession in org.nuxeo.automation.scripting.api
-
Uses of CoreSession in org.nuxeo.automation.scripting.internals
-
Uses of CoreSession in org.nuxeo.binary.metadata.internals.operations
-
Uses of CoreSession in org.nuxeo.drive.action
Modifier and TypeMethodDescriptionprotected void
FireGroupUpdatedEventAction.FireGroupUpdatedEventComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.drive.adapter.impl
Modifier and TypeMethodDescriptionprotected List<FileSystemItem>
DocumentBackedFolderItem.adaptDocuments
(DocumentModelList docs, CoreSession session) protected DocumentModelList
DocumentBackedFolderItem.fetchFromVCS
(List<String> ids, CoreSession session) protected DocumentModelList
DocumentBackedFolderItem.fetchFromVcsChunk
(List<String> ids, CoreSession session) protected DocumentModel
AbstractDocumentBackedFileSystemItem.getDocument
(CoreSession session) protected DocumentModel
AbstractDocumentBackedFileSystemItem.getDocumentById
(String docId, CoreSession session) protected ScrollDocumentModelList
DocumentBackedFolderItem.getScrollBatch
(String scrollId, int batchSize, CoreSession session, long keepAlive) protected boolean
AbstractDocumentBackedFileSystemItem.handleCollectionMember
(DocumentModel doc, CoreSession session, boolean relaxSyncRootConstraint, boolean getLockInfo) protected FolderItem
DocumentBackedFolderItem.populateAncestorCache
(Map<DocumentRef, FolderItem> cache, DocumentModel doc, CoreSession session, boolean cacheItem) -
Uses of CoreSession in org.nuxeo.drive.elasticsearch
Modifier and TypeMethodDescriptionprotected org.opensearch.index.query.QueryBuilder
ESAuditChangeFinder.buildFilterClauses
(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound) protected ScrollDocumentModelList
ESSyncRootFolderItem.getScrollBatch
(String scrollId, int batchSize, CoreSession session, long keepAlive) ESAuditChangeFinder.queryAuditEntries
(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) ESAuditChangeFinder.queryESAuditEntries
(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) -
Uses of CoreSession in org.nuxeo.drive.listener
Modifier and TypeMethodDescriptionprotected void
NuxeoDriveFileSystemDeletionListener.fireVirtualEventLogEntries
(DocumentModel doc, String eventName, NuxeoPrincipal principal, String impactedUserName, CoreSession session) protected List<DocumentModel>
NuxeoDriveFileSystemDeletionListener.getChildSyncRoots
(DocumentModel doc, CoreSession session) protected DocumentModelList
NuxeoDriveSyncRootCopyListener.getSyncRoots
(DocumentModel doc, CoreSession session) -
Uses of CoreSession in org.nuxeo.drive.mongodb
Modifier and TypeMethodDescriptionMongoDBAuditChangeFinder.queryAuditEntries
(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) -
Uses of CoreSession in org.nuxeo.drive.operations
Modifier and TypeFieldDescriptionprotected CoreSession
NuxeoDriveAddToLocallyEditedCollection.session
Deprecated.protected CoreSession
NuxeoDriveAttachBlob.session
protected CoreSession
NuxeoDriveGetRootsOperation.session
protected CoreSession
NuxeoDriveSetSynchronizationOperation.session
-
Uses of CoreSession in org.nuxeo.drive.operations.test
Modifier and TypeFieldDescriptionprotected CoreSession
NuxeoDriveCreateTestDocuments.session
protected CoreSession
NuxeoDriveSetupIntegrationTests.session
protected CoreSession
NuxeoDriveTearDownIntegrationTests.session
Modifier and TypeMethodDescriptionstatic void
NuxeoDriveIntegrationTestsHelper.cleanUp
(CoreSession session) static String
NuxeoDriveIntegrationTestsHelper.getDefaultDomainPath
(CoreSession session) -
Uses of CoreSession in org.nuxeo.drive.service
Modifier and TypeMethodDescriptionvoid
NuxeoDriveManager.addToLocallyEditedCollection
(CoreSession session, DocumentModel doc) Adds the givenDocumentModel
to theLOCALLY_EDITED_COLLECTION_NAME
collection.FileSystemChangeFinder.getFileSystemChanges
(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) Gets the changes in the repository against which the given session is bound for the given synchronization root paths, between the given lower and upper integer bounds and without exceeding the given limit.NuxeoDriveManager.getSynchronizationRootReferences
(CoreSession session) Fetch the list of synchronization root refs for a given user and a given session repository.void
NuxeoDriveManager.registerSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session) void
NuxeoDriveManager.unregisterSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) -
Uses of CoreSession in org.nuxeo.drive.service.impl
Modifier and TypeMethodDescriptionvoid
NuxeoDriveManagerImpl.addToLocallyEditedCollection
(CoreSession session, DocumentModel doc) protected void
NuxeoDriveManagerImpl.fireEvent
(DocumentModel sourceDocument, CoreSession session, String eventName, String impactedUserName) protected DocumentModel
AbstractFileSystemItemFactory.getDocumentById
(String docId, CoreSession session) AuditChangeFinder.getFileSystemChanges
(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) protected FileSystemItemChange
AuditChangeFinder.getFileSystemItemChange
(CoreSession session, DocumentRef docRef, LogEntry entry, String expectedFileSystemItemId) NuxeoDriveManagerImpl.getSynchronizationRootReferences
(CoreSession session) protected Map<String,
SynchronizationRoots> NuxeoDriveManagerImpl.queryAndFetchSynchronizationRoots
(CoreSession session, String query) AuditChangeFinder.queryAuditEntries
(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) void
NuxeoDriveManagerImpl.registerSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel newRootContainer, CoreSession session) void
NuxeoDriveManagerImpl.unregisterSynchronizationRoot
(NuxeoPrincipal principal, DocumentModel rootContainer, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.admin.operation
Modifier and TypeFieldDescriptionprotected CoreSession
HotReloadStudioSnapshot.session
protected CoreSession
PermissionsPurge.session
-
Uses of CoreSession in org.nuxeo.ecm.automation
Modifier and TypeFieldDescriptionprotected CoreSession
LoginStack.currentSession
protected CoreSession
LoginStack.originalSession
LoginStack.Entry.session
Modifier and TypeMethodDescriptionOperationContext.getCoreSession()
LoginStack.getSession()
Get the current sessionModifier and TypeMethodDescriptionvoid
OperationContext.setCoreSession
(CoreSession session) void
LoginStack.setSession
(CoreSession session) ModifierConstructorDescriptionLoginStack
(CoreSession session) OperationContext
(CoreSession session) protected
OperationContext
(CoreSession session, Map<String, Object> bindings) -
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.blob
Modifier and TypeFieldDescriptionprotected CoreSession
AttachBlob.session
protected CoreSession
BulkDownload.session
protected CoreSession
SetBlobFileName.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.business
Modifier and TypeFieldDescriptionprotected CoreSession
BusinessCreateOperation.session
protected CoreSession
BusinessFetchOperation.session
protected CoreSession
BusinessUpdateOperation.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.business.adapter
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.collections
Modifier and TypeFieldDescriptionprotected CoreSession
AddToCollectionOperation.session
protected CoreSession
AddToFavoritesOperation.session
protected CoreSession
CreateCollectionOperation.session
protected CoreSession
FetchFavorites.session
protected CoreSession
GetDocumentsFromFavoritesOperation.session
protected CoreSession
MoveCollectionMemberOperation.session
protected CoreSession
RemoveFromCollectionOperation.session
protected CoreSession
RemoveFromFavoritesOperation.session
protected CoreSession
SuggestCollectionEntry.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.document
Modifier and TypeFieldDescriptionprotected CoreSession
AddEntryToMultiValuedProperty.session
protected CoreSession
AddFacet.session
protected CoreSession
AddItemToListProperty.session
protected CoreSession
AddPermission.session
protected CoreSession
BlockPermissionInheritance.session
protected CoreSession
CheckInDocument.session
protected CoreSession
CheckOutDocument.session
protected CoreSession
CopyDocument.session
protected CoreSession
CopySchema.session
protected CoreSession
CreateDocument.session
protected CoreSession
CreateProxyLive.session
protected CoreSession
CreateVersion.session
protected CoreSession
DeleteDocument.session
protected CoreSession
FetchByProperty.session
Deprecated.protected CoreSession
GetDocumentChild.session
protected CoreSession
GetDocumentChildren.session
protected CoreSession
GetDocumentParent.session
protected CoreSession
GetDocumentVersions.session
protected CoreSession
GetLastDocumentVersion.session
protected CoreSession
GetLiveDocument.session
protected CoreSession
LockDocument.session
protected CoreSession
MoveDocument.session
protected CoreSession
MultiPublishDocument.session
protected CoreSession
OrderDocument.session
protected CoreSession
PublishDocument.session
protected CoreSession
Query.session
Deprecated.protected CoreSession
RemoveDocumentACL.session
protected CoreSession
RemoveDocumentBlob.session
protected CoreSession
RemoveEntryOfMultiValuedProperty.session
protected CoreSession
RemoveFacet.session
protected CoreSession
RemoveItemFromListProperty.session
protected CoreSession
RemovePermission.session
protected CoreSession
RemoveProperty.session
protected CoreSession
RemoveProxies.session
protected CoreSession
ReplacePermission.session
protected CoreSession
ResetSchema.session
protected CoreSession
RestoreVersion.session
protected CoreSession
SaveDocument.session
protected CoreSession
SetDocumentACE.session
protected CoreSession
SetDocumentBlob.session
protected CoreSession
SetDocumentLifeCycle.session
protected CoreSession
SetDocumentProperty.session
protected CoreSession
TrashDocument.session
protected CoreSession
UnblockPermissionInheritance.session
protected CoreSession
UnlockDocument.session
protected CoreSession
UntrashDocument.session
protected CoreSession
UpdateDocument.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.execution
Modifier and TypeFieldDescriptionprotected CoreSession
RunDocumentChain.session
protected CoreSession
RunFileChain.session
protected CoreSession
RunInNewTransaction.session
Deprecated.protected CoreSession
RunOperationOnList.session
protected CoreSession
SaveSession.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.services
Modifier and TypeFieldDescriptionprotected CoreSession
AuditPageProviderOperation.session
protected CoreSession
BlobHolderAttach.session
protected CoreSession
CreateRelation.session
protected CoreSession
DeleteRelation.session
protected CoreSession
DocumentPageProviderOperation.session
protected CoreSession
FileManagerCreateFolder.session
protected CoreSession
FileManagerImport.session
protected CoreSession
FileManagerImportWithProperties.session
protected CoreSession
GetActions.session
protected CoreSession
GetRelations.session
protected CoreSession
ResultSetPageProviderOperation.session
protected CoreSession
UserInvite.session
protected CoreSession
UserWorkspace.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.services.bulk
Modifier and TypeFieldDescriptionprotected CoreSession
BulkWaitForAction.repo
protected CoreSession
BulkRunAction.session
Modifier and TypeMethodDescriptionprotected void
AbstractAutomationBulkAction.AutomationComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
AbstractAutomationBulkAction.AutomationComputation.runOperationOnAllDocuments
(CoreSession session, DocumentModelList documents) protected void
AbstractAutomationBulkAction.AutomationComputation.runOperationOnEachDocument
(CoreSession session, DocumentModelList documents) -
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.services.query
Modifier and TypeFieldDescriptionprotected CoreSession
DocumentPaginatedQuery.session
protected CoreSession
ResultSetPaginatedQuery.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.scripting
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.util
Modifier and TypeMethodDescriptionprotected static void
PageProviderHelper.fillSearchDocument
(CoreSession session, DocumentModel searchDoc, Map<String, String> namedParameters) static PageProvider<?>
PageProviderHelper.getPageProvider
(CoreSession session, PageProviderDefinition def, Map<String, String> namedParameters, Object... queryParams) static PageProvider<?>
PageProviderHelper.getPageProvider
(CoreSession session, PageProviderDefinition def, Map<String, String> namedParameters, List<String> sortBy, List<String> sortOrder, Long pageSize, Long currentPageIndex, Long currentOffset, List<String> highlights, List<String> quickFilters, Object... parameters) static PageProvider<?>
PageProviderHelper.getPageProvider
(CoreSession session, PageProviderDefinition def, Map<String, String> namedParameters, List<String> sortBy, List<String> sortOrder, Long pageSize, Long currentPageIndex, Object... queryParams) static PageProvider<?>
PageProviderHelper.getPageProvider
(CoreSession session, PageProviderDefinition def, Map<String, String> namedParameters, List<String> sortBy, List<String> sortOrder, Long pageSize, Long currentPageIndex, List<String> highlights, List<String> quickFilters, Object... parameters) static DocumentModel
PageProviderHelper.getSearchDocumentModel
(CoreSession session, String providerName, Map<String, String> namedParameters) static DocumentModel
PageProviderHelper.getSearchDocumentModel
(CoreSession session, PageProviderService pps, String providerName, Map<String, String> namedParameters) Returns asearchDocumentModel
if the givenproviderName
is not null and has a validdefinition
, or if the givennamedParameters
is not empty.static DocumentModel
DocumentHelper.saveDocument
(CoreSession session, DocumentModel doc) Saves the document and clear context data to avoid incrementing version in next operations if not needed.static void
DocumentHelper.setJSONProperties
(CoreSession session, DocumentModel doc, Properties properties) Sets the properties of a document based on their JSON representation (especially for scalar lists).protected static void
DocumentHelper.setLocalAcl
(CoreSession session, DocumentModel doc, String value) static void
DocumentHelper.setProperties
(CoreSession session, DocumentModel doc, Map<String, String> values) Sets the properties given as a map of xpath:value to the given document.static void
DocumentHelper.setProperties
(CoreSession session, DocumentModel doc, Properties properties) static void
DocumentHelper.setProperties
(CoreSession session, DocumentModel doc, Properties properties, Properties propertiesBehaviors) static void
DocumentHelper.setProperty
(CoreSession session, DocumentModel doc, String key, String value) static void
DocumentHelper.setProperty
(CoreSession session, DocumentModel doc, String key, String value, boolean decodeStringListAsJSON) static void
DocumentHelper.setProperty
(CoreSession session, DocumentModel doc, String key, String value, String behavior) static void
DocumentHelper.setProperty
(CoreSession session, DocumentModel doc, String key, String value, String behavior, boolean decodeStringListAsJSON) -
Uses of CoreSession in org.nuxeo.ecm.automation.elasticsearch
Modifier and TypeFieldDescriptionprotected CoreSession
ElasticsearchIndexOperation.repo
protected CoreSession
ElasticsearchWaitForIndexingOperation.repo
protected CoreSession
ElasticsearchBulkIndexOperation.session
-
Uses of CoreSession in org.nuxeo.ecm.automation.features
Modifier and TypeMethodDescriptionboolean
PlatformFunctions.documentExists
(CoreSession session, String idOrPath) Checks if a document with the supplied id (or path) exists. -
Uses of CoreSession in org.nuxeo.ecm.automation.io.services.codec
Modifier and TypeMethodDescriptionAbstractMarshallingRegistryCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) ObjectCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) When the object codec is called the stream is positioned on the first value.ObjectCodecService.BooleanCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) ObjectCodecService.CalendarCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) ObjectCodecService.DateCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) ObjectCodecService.DocumentAdapterCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) When the object codec is called the stream is positioned on the first value.ObjectCodecService.NumberCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) ObjectCodecService.read
(com.fasterxml.jackson.core.JsonParser jp, ClassLoader cl, CoreSession session) ObjectCodecService.read
(InputStream in, ClassLoader cl, CoreSession session) ObjectCodecService.read
(InputStream in, CoreSession session) ObjectCodecService.read
(String json, ClassLoader cl, CoreSession session) ObjectCodecService.read
(String json, CoreSession session) ObjectCodecService.StringCodec.read
(com.fasterxml.jackson.core.JsonParser jp, CoreSession session) ObjectCodecService.readNode
(com.fasterxml.jackson.databind.JsonNode node, ClassLoader cl, CoreSession session) ObjectCodecService.readNode
(com.fasterxml.jackson.databind.JsonNode node, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.automation.jaxrs.io.operations
Modifier and TypeMethodDescriptionJsonRequestReader.getCoreSession()
MultiPartFormRequestReader.getCoreSession()
UrlEncodedFormRequestReader.getCoreSession()
Modifier and TypeMethodDescriptionExecutionRequest.createContext
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CoreSession session) Sets up and returns the currentOperationContext
, which MUST NOT be closed.static ExecutionRequest
JsonRequestReader.readRequest
(com.fasterxml.jackson.core.JsonParser jp, javax.ws.rs.core.MultivaluedMap<String, String> headers, CoreSession session) JsonRequestReader.readRequest
(InputStream in, javax.ws.rs.core.MultivaluedMap<String, String> headers, CoreSession session) JsonRequestReader.readRequest
(String content, javax.ws.rs.core.MultivaluedMap<String, String> headers, CoreSession session) JsonRequestReader.readRequest0
(String content, javax.ws.rs.core.MultivaluedMap<String, String> headers, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.automation.server.jaxrs
Modifier and TypeMethodDescriptioncom.sun.jersey.spi.inject.Injectable<CoreSession>
CoreSessionProvider.getInjectable
(com.sun.jersey.core.spi.component.ComponentContext ic, javax.ws.rs.core.Context a, Type c) -
Uses of CoreSession in org.nuxeo.ecm.automation.server.jaxrs.adapters
-
Uses of CoreSession in org.nuxeo.ecm.automation.server.jaxrs.batch
Modifier and TypeMethodDescriptionBatchManager.execute
(String batchId, String fileIndex, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) Executes the chain or operation on theBlob
from the givenbatchId
andfileIndex
.BatchManager.execute
(String batchId, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) Executes the chain or operation on theBlobs
from the givenbatchId
.protected Object
BatchManagerComponent.execute
(Object blobInput, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) BatchManagerComponent.execute
(String batchId, String fileIndex, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) BatchManagerComponent.execute
(String batchId, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) BatchManager.executeAndClean
(String batchId, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) Executes the chain or operation on theBlobs
from the givenbatchId
.BatchManagerComponent.executeAndClean
(String batchId, String chainOrOperationId, CoreSession session, Map<String, Object> contextParams, Map<String, Object> operationParams) -
Uses of CoreSession in org.nuxeo.ecm.automation.task
Modifier and TypeFieldDescriptionprotected CoreSession
CreateTask.coreSession
protected CoreSession
GetUserTasks.repo
protected CoreSession
UserTaskPageProviderOperation.session
-
Uses of CoreSession in org.nuxeo.ecm.collections.api
Modifier and TypeMethodDescriptionvoid
CollectionManager.addToCollection
(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session) Add a list of document to a collection.void
CollectionManager.addToCollection
(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session) Add a document to a collection.void
FavoritesManager.addToFavorites
(DocumentModel document, CoreSession session) void
CollectionManager.addToNewCollection
(String newTitle, String newDescription, List<DocumentModel> documentListToBeAdded, CoreSession documentManager) Add a list of document to a new collection.void
CollectionManager.addToNewCollection
(String newTitle, String newDescription, DocumentModel documentToBeAdded, CoreSession session) Add a document to a new collection.boolean
CollectionManager.canAddToCollection
(DocumentModel collection, CoreSession session) Check that a document is a collection and that the given core session has permission to add document inside.boolean
CollectionManager.canManage
(DocumentModel collection, CoreSession session) Check that the given core session has permission to manage the collection.CollectionManager.createCollection
(CoreSession session, String title, String description, String path) Create a collection with a given name, description and path.void
CollectionManager.doRemoveFromCollection
(DocumentModel documentToBeRemoved, String collectionId, CoreSession session) FavoritesManager.getFavorites
(CoreSession session) FavoritesManager.getFavorites
(DocumentModel context, CoreSession session) Deprecated.CollectionManager.getUserDefaultCollections
(CoreSession session) Get user collections root document.CollectionManager.getUserDefaultCollections
(DocumentModel context, CoreSession session) Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)
insteadCollectionLocationService.getUserDefaultCollectionsRoot
(CoreSession session) Provide the default document where will be stored collections.CollectionLocationService.getUserFavorites
(CoreSession session) Provide the default favorites document.CollectionManager.getVisibleCollection
(DocumentModel collectionMember, int maxResult, CoreSession session) Get the list of collection of a document.CollectionManager.getVisibleCollection
(DocumentModel collectionMember, CoreSession session) Get the list of collection of a document.boolean
CollectionManager.hasVisibleCollection
(DocumentModel collectionMember, CoreSession session) Check that the given core session has READ permission on at least one collection of the given document.boolean
FavoritesManager.isFavorite
(DocumentModel document, CoreSession session) boolean
CollectionManager.isInCollection
(DocumentModel collection, DocumentModel document, CoreSession session) Check whether a document is in a given collection.boolean
CollectionManager.moveMembers
(CoreSession session, DocumentModel collection, DocumentModel member1, DocumentModel member2) Move the member1 right after the member2 within the collection.void
CollectionManager.removeAllFromCollection
(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session) Remove a list of document from a given collection.void
CollectionManager.removeFromCollection
(DocumentModel collection, DocumentModel documentToBeRemoved, CoreSession session) Remove a document from a collection.void
FavoritesManager.removeFromFavorites
(DocumentModel document, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.collections.core
Modifier and TypeMethodDescriptionvoid
CollectionManagerImpl.addToCollection
(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session) void
CollectionManagerImpl.addToCollection
(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session) void
FavoritesManagerImpl.addToFavorites
(DocumentModel document, CoreSession session) void
CollectionManagerImpl.addToNewCollection
(String newTitle, String newDescription, List<DocumentModel> documentListToBeAdded, CoreSession session) void
CollectionManagerImpl.addToNewCollection
(String newTitle, String newDescription, DocumentModel documentToBeAdded, CoreSession session) boolean
CollectionManagerImpl.canAddToCollection
(DocumentModel collection, CoreSession session) boolean
CollectionManagerImpl.canManage
(DocumentModel collection, CoreSession session) void
CollectionManagerImpl.checkCanAddToCollection
(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session) protected void
CollectionManagerImpl.checkCanCollectInCollection
(DocumentModel collection, CoreSession session) protected DocumentModel
CollectionManagerImpl.createCollection
(String newTitle, String newDescription, DocumentModel context, CoreSession session) CollectionManagerImpl.createCollection
(CoreSession session, String title, String description, String path) void
CollectionManagerImpl.doRemoveFromCollection
(DocumentModel documentToBeRemoved, String collectionId, CoreSession session) protected void
CollectionManagerImpl.fireEvent
(DocumentModel doc, CoreSession session, String eventName, Map<String, Serializable> props) FavoritesManagerImpl.getFavorites
(CoreSession session) FavoritesManagerImpl.getFavorites
(DocumentModel context, CoreSession session) Deprecated.CollectionManagerImpl.getUserDefaultCollections
(CoreSession session) CollectionManagerImpl.getUserDefaultCollections
(DocumentModel context, CoreSession session) Deprecated.CollectionManagerImpl.getVisibleCollection
(DocumentModel collectionMember, int maxResult, CoreSession session) CollectionManagerImpl.getVisibleCollection
(DocumentModel collectionMember, CoreSession session) boolean
CollectionManagerImpl.hasVisibleCollection
(DocumentModel collectionMember, CoreSession session) boolean
FavoritesManagerImpl.isFavorite
(DocumentModel document, CoreSession session) boolean
CollectionManagerImpl.isInCollection
(DocumentModel collection, DocumentModel document, CoreSession session) boolean
CollectionManagerImpl.moveMembers
(CoreSession session, DocumentModel collection, DocumentModel member1, DocumentModel member2) void
CollectionManagerImpl.removeAllFromCollection
(DocumentModel collection, List<DocumentModel> documentListToBeRemoved, CoreSession session) void
CollectionManagerImpl.removeFromCollection
(DocumentModel collection, DocumentModel documentToBeRemoved, CoreSession session) void
FavoritesManagerImpl.removeFromFavorites
(DocumentModel document, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core
Modifier and TypeMethodDescriptionprotected long
CoreService.doCleanupOrphanVersions
(CoreSession session, long commitSize) -
Uses of CoreSession in org.nuxeo.ecm.core.action
Modifier and TypeMethodDescriptionprotected void
DeletionAction.DeletionComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
GarbageCollectOrphanBlobsAction.GarbageCollectOrphanBlobsComputation.compute
(CoreSession session, List<String> blobKeys, Map<String, Serializable> properties) protected void
GarbageCollectOrphanVersionsAction.GarbageCollectOrphanVersionsComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.core.api
Modifier and TypeInterfaceDescriptioninterface
Deprecated.since 11.1, use justCoreSession
insteadModifier and TypeClassDescriptionclass
Abstract implementation of the client interface.Modifier and TypeFieldDescriptionprotected final CoreSession
DocumentTreeIterator.session
The document manager session.protected CoreSession
UnrestrictedSessionRunner.session
Modifier and TypeMethodDescriptionstatic CoreSession
CoreInstance.getCoreSession
(String repositoryName) Gets aCoreSession
for the currently logged-in user.static CoreSession
CoreInstance.getCoreSession
(String repositoryName, String username) MUST ONLY BE USED IN UNIT TESTS to get aCoreSession
for the given user.static CoreSession
CoreInstance.getCoreSession
(String repositoryName, NuxeoPrincipal principal) Gets aCoreSession
for the given principal.DocumentModel.getCoreSession()
Gets the core session to which this document is tied.static CoreSession
CoreInstance.getCoreSessionSystem
(String repositoryName) Gets aCoreSession
for a system user.static CoreSession
CoreInstance.getCoreSessionSystem
(String repositoryName, String originatingUsername) Gets aCoreSession
for a system user with an optional originating username.Modifier and TypeMethodDescriptionvoid
DocumentModel.attach
(CoreSession coreSession) Reattaches a document to an existing session.protected boolean
UnrestrictedSessionRunner.checkUnrestricted
(CoreSession session) static DocumentModelImpl
DocumentModelFactory.createDocumentModel
(String typeName, DocumentRef parentRef, CoreSession coreSession) Creates a document model for a new document.static DocumentModelImpl
DocumentModelFactory.createDocumentModel
(Document doc, CoreSession coreSession) Creates a document model for an existing document.static void
CoreInstance.doPrivileged
(CoreSession session, Consumer<CoreSession> consumer) Runs the givenConsumer
with a systemCoreSession
while logged in as a system user.static <R> R
CoreInstance.doPrivileged
(CoreSession session, Function<CoreSession, R> function) Runs the givenFunction
with a systemCoreSession
while logged in as a system user.Modifier and TypeMethodDescriptionstatic void
CoreInstance.doPrivileged
(String repositoryName, Consumer<CoreSession> consumer) Runs the givenConsumer
with a systemCoreSession
while logged in as a system user.static <R> R
CoreInstance.doPrivileged
(String repositoryName, Function<CoreSession, R> function) Runs the givenFunction
with a systemCoreSession
while logged in as a system user.static void
CoreInstance.doPrivileged
(CoreSession session, Consumer<CoreSession> consumer) Runs the givenConsumer
with a systemCoreSession
while logged in as a system user.static <R> R
CoreInstance.doPrivileged
(CoreSession session, Function<CoreSession, R> function) Runs the givenFunction
with a systemCoreSession
while logged in as a system user.ModifierConstructorDescriptionDocumentTreeIterator
(CoreSession session, DocumentModel root) Creates the iterator given the tree root.DocumentTreeIterator
(CoreSession session, DocumentModel root, boolean excludeRoot) protected
UnrestrictedSessionRunner
(CoreSession session) Constructs aUnrestrictedSessionRunner
given an existing session (which may or may not be already unrestricted). -
Uses of CoreSession in org.nuxeo.ecm.core.api.impl
Modifier and TypeMethodDescriptionDocumentModelImpl.getCoreSession()
SimpleDocumentModel.getCoreSession()
protected CoreSession
DocumentModelImpl.getSession()
Gets the CoreSession, or fails if it's not available.Modifier and TypeMethodDescriptionvoid
DocumentModelImpl.attach
(CoreSession coreSession) void
SimpleDocumentModel.attach
(CoreSession coreSession) protected boolean
PermissionFilter.hasPermission
(CoreSession session, DocumentModel doc, Set<String> permissions, boolean required) ModifierConstructorDescriptionDocumentModelChildrenIterator
(CoreSession session, DocumentRef parentRef, String type, Filter filter) DocumentModelImpl
(String type, String id, Path path, DocumentRef docRef, DocumentRef parentRef, String[] schemas, Set<String> facets, String sourceId, boolean isProxy, CoreSession coreSession, String repositoryName, NuxeoPrincipal principal) -
Uses of CoreSession in org.nuxeo.ecm.core.api.local
Modifier and TypeClassDescriptionclass
Local Session: implementation ofCoreSession
beyondAbstractSession
, dealing with low-level stuff. -
Uses of CoreSession in org.nuxeo.ecm.core.api.localconfiguration
Modifier and TypeMethodDescriptionvoid
AbstractLocalConfiguration.save
(CoreSession session) void
LocalConfiguration.save
(CoreSession session) Save this LocalConfiguration. -
Uses of CoreSession in org.nuxeo.ecm.core.api.propertiesmapping
Modifier and TypeMethodDescriptionvoid
PropertiesMappingService.mapProperties
(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mappingName) Copies the properties defined by the given xpaths in the mapping from the target to the source document. -
Uses of CoreSession in org.nuxeo.ecm.core.api.propertiesmapping.impl
Modifier and TypeMethodDescriptionvoid
PropertiesMappingComponent.mapProperties
(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mapping) -
Uses of CoreSession in org.nuxeo.ecm.core.api.thumbnail
Modifier and TypeMethodDescriptionThumbnail.computeThumbnail
(CoreSession session) ThumbnailAdapter.computeThumbnail
(CoreSession session) ThumbnailFactory.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailService.computeThumbnail
(DocumentModel doc, CoreSession session) Compute the thumbnail (related to the document type/facet)ThumbnailServiceImpl.computeThumbnail
(DocumentModel doc, CoreSession session) Thumbnail.getThumbnail
(CoreSession session) ThumbnailAdapter.getThumbnail
(CoreSession session) ThumbnailFactory.getThumbnail
(DocumentModel doc, CoreSession session) ThumbnailService.getThumbnail
(DocumentModel doc, CoreSession session) Get the document thumbnail (related to the doc type/facet)ThumbnailServiceImpl.getThumbnail
(DocumentModel doc, CoreSession session) ThumbnailServiceImpl.getThumbnailFactory
(DocumentModel doc, CoreSession session) void
ThumbnailAdapter.save
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core.api.trash
Modifier and TypeMethodDescriptionboolean
TrashService.isTrashed
(CoreSession session, DocumentRef doc) void
TrashService.purgeDocuments
(CoreSession session, List<DocumentRef> docRefs) Purges (completely deletes) documents.TrashService.unmangleName
(CoreSession session, DocumentRef parentRef, String docName) Unmangles the name of a document in the trash to find its un-trashed name. -
Uses of CoreSession in org.nuxeo.ecm.core.api.versioning
Modifier and TypeMethodDescriptionVersioningService.doPostSave
(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String, Serializable> options) Applies versioning options after document save.VersioningService.doPreSave
(CoreSession session, Document doc, boolean isDirty, VersioningOption option, String checkinComment, Map<String, Serializable> options) Applies versioning options before document save. -
Uses of CoreSession in org.nuxeo.ecm.core.blob
Modifier and TypeMethodDescriptionprotected void
ComputeDigestHelper.replaceDigest
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core.bulk
Modifier and TypeMethodDescriptionprotected void
S3SetBlobLengthAction.SetBlobLengthComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.core.bulk.action
Modifier and TypeMethodDescriptionprotected void
RemoveProxyAction.RemoveProxyComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
SetPropertiesAction.SetPropertyComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
SetSystemPropertiesAction.SetSystemPropertyComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
TrashAction.TrashComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
TrashAction.TrashComputation.fireEvent
(CoreSession session, String eventId, Collection<DocumentRef> refs) protected void
TrashAction.TrashComputation.removeProxies
(CoreSession session, List<String> ids) void
TrashAction.TrashComputation.setSystemProperty
(CoreSession session, List<String> ids, Boolean value) -
Uses of CoreSession in org.nuxeo.ecm.core.bulk.action.computation
Modifier and TypeMethodDescriptionprotected abstract void
AbstractBulkComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) AbstractBulkComputation.loadDocuments
(CoreSession session, List<String> documentIds) Helper to load a list of documents.AbstractBulkComputation.loadDocumentsOneByOne
(CoreSession session, List<String> documentIds) -
Uses of CoreSession in org.nuxeo.ecm.core.event
Modifier and TypeMethodDescriptionEventContext.getCoreSession()
Gets the current core session if any.Modifier and TypeMethodDescriptionvoid
EventContext.setCoreSession
(CoreSession session) Sets the core session. -
Uses of CoreSession in org.nuxeo.ecm.core.event.impl
Modifier and TypeFieldDescriptionprotected CoreSession
ReconnectedEventBundleImpl.reconnectedCoreSession
protected CoreSession
EventContextImpl.session
Modifier and TypeMethodDescriptionEventContextImpl.getCoreSession()
ShallowDocumentModel.getCoreSession()
protected CoreSession
ReconnectedEventBundleImpl.getReconnectedCoreSession
(String repoName, String originatingUsername) Modifier and TypeMethodDescriptionvoid
ShallowDocumentModel.attach
(CoreSession coreSession) protected boolean
ReconnectedEventBundleImpl.refetchDocumentModel
(CoreSession session, Object eventProperty) void
EventContextImpl.setCoreSession
(CoreSession session) ModifierConstructorDescriptionDocumentEventContext
(CoreSession session, NuxeoPrincipal principal, DocumentModel source) DocumentEventContext
(CoreSession session, NuxeoPrincipal principal, DocumentModel source, DocumentRef destDoc) EventContextImpl
(CoreSession session, NuxeoPrincipal principal) EventContextImpl
(CoreSession session, NuxeoPrincipal principal, Object... args) InlineEventContext
(CoreSession session, NuxeoPrincipal principal, Map<String, Serializable> properties) UnboundEventContext
(CoreSession session, NuxeoPrincipal principal, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.core.io
Modifier and TypeMethodDescriptionDocumentXMLExporter.exportXML
(DocumentModel doc, CoreSession session) Exports a document to XML as anInputStream
.byte[]
DocumentXMLExporter.exportXMLAsByteArray
(DocumentModel doc, CoreSession session) Exports a document to XML as a byte array.DocumentXMLExporter.exportXMLAsInputSource
(DocumentModel doc, CoreSession session) Exports a document to XML as anInputSource
.void
ImportExtension.updateImport
(CoreSession session, DocumentModel docModel, ExportedDocument result) -
Uses of CoreSession in org.nuxeo.ecm.core.io.impl
Modifier and TypeMethodDescriptionDocumentXMLExporterImpl.exportXML
(DocumentModel doc, CoreSession session) Exports a document to XML as anInputStream
.final byte[]
DocumentXMLExporterImpl.exportXMLAsByteArray
(DocumentModel doc, CoreSession session) Exports a document to XML as a byte array.DocumentXMLExporterImpl.exportXMLAsInputSource
(DocumentModel doc, CoreSession session) Exports a document to XML as anInputSource
.ModifierConstructorDescriptionprotected
AbstractDocumentModelWriter
(CoreSession session, String parentPath) protected
AbstractDocumentModelWriter
(CoreSession session, String parentPath, int saveInterval) -
Uses of CoreSession in org.nuxeo.ecm.core.io.impl.extensions
Modifier and TypeMethodDescriptionprotected LockManager
DocumentLockImporter.getLockManager
(CoreSession session) void
DocumentLockImporter.updateImport
(CoreSession session, DocumentModel docModel, ExportedDocument xdoc) -
Uses of CoreSession in org.nuxeo.ecm.core.io.impl.plugins
Modifier and TypeMethodDescriptionstatic DocumentsListReader
DocumentsListReader.createDocumentsListReader
(CoreSession session, Collection<DocumentRef> docRefsList) ModifierConstructorDescriptionDocumentModelInjector
(CoreSession session, String parentPath) DocumentModelInjector
(CoreSession session, String parentPath, int saveInterval) protected
DocumentModelReader
(CoreSession session) DocumentModelUpdater
(CoreSession session, String parentPath) DocumentModelUpdater
(CoreSession session, String parentPath, int saveInterval) DocumentModelWriter
(CoreSession session, String parentPath) DocumentModelWriter
(CoreSession session, String parentPath, int saveInterval) DocumentsListReader
(CoreSession session, List<DocumentModel> docsList) DocumentTreeReader
(CoreSession session, DocumentModel root) DocumentTreeReader
(CoreSession session, DocumentModel root, boolean excludeRoot) DocumentTreeReader
(CoreSession session, DocumentRef root) ExtensibleDocumentTreeReader
(CoreSession session, DocumentModel root) ExtensibleDocumentTreeReader
(CoreSession session, DocumentModel root, boolean excludeRoot) ExtensibleDocumentTreeReader
(CoreSession session, DocumentRef root) ExtensibleDocumentWriter
(CoreSession session, String parentPath) SingleDocumentReader
(CoreSession session, DocumentModel root) SingleDocumentReader
(CoreSession session, DocumentRef root) TypedSingleDocumentReader
(CoreSession session, DocumentModel root) TypedSingleDocumentReader
(CoreSession session, DocumentRef root) -
Uses of CoreSession in org.nuxeo.ecm.core.io.registry.context
Modifier and TypeMethodDescriptionRenderingContext.CtxBuilder.session
(CoreSession session) RenderingContextImpl.RenderingContextBuilder.session
(CoreSession session) void
RenderingContext.setExistingSession
(CoreSession session) Provides aCoreSession
to marshallers.void
RenderingContextImpl.setExistingSession
(CoreSession session) void
ThreadSafeRenderingContext.setExistingSession
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core.lifecycle.event
Modifier and TypeMethodDescriptionprotected void
BulkLifeCycleChangeListener.changeChildrenState
(CoreSession session, String transition, String targetState, DocumentModel doc) protected void
BulkLifeCycleChangeListener.changeDocumentsState
(CoreSession session, String transition, String targetState, DocumentModelList docs) Change doc state.protected void
BulkLifeCycleChangeListener.reinitDocumentsLifeCyle
(CoreSession documentManager, DocumentModelList docs) -
Uses of CoreSession in org.nuxeo.ecm.core.management.storage
Modifier and TypeMethodDescriptionprotected DocumentModel
DocumentStoreManager.createRootlet
(CoreSession session) void
DocumentStoreManager.doInitializeRepository
(CoreSession session) void
DocumentStoreHandler.onStorageInitialization
(CoreSession session, DocumentRef rootletRef) protected DocumentRef
DocumentStoreManager.setupRootlet
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core.migrator
Modifier and TypeMethodDescriptionabstract void
AbstractBulkMigrator.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) Executes the migration on the given batch.protected void
AbstractBulkMigrator.MigrationComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected abstract void
AbstractRepositoryMigrator.migrateSession
(String step, MigrationService.MigrationContext context, CoreSession session) protected void
AbstractRepositoryMigrator.migrateSession
(CoreSession session) Deprecated, for removal: This API element is subject to removal in a future version.since 11.1 UseAbstractRepositoryMigrator.migrateSession(String, MigrationContext, CoreSession)
insteadprotected abstract String
AbstractBulkMigrator.probeSession
(CoreSession session) Probes the current state of asession
by analyzing persistent data.protected abstract String
AbstractRepositoryMigrator.probeSession
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core.model
Modifier and TypeMethodDescriptionprotected boolean
DocumentModelResolver.hasReadPermission
(CoreSession session, DocumentRef docRef) Checks directly the Read permission asexists(DocumentRef)
relies on the Browse permission only.Modifier and TypeMethodDescriptionprotected void
DocumentModelResolver.resolve
(Object value, Object context, BiConsumer<CoreSession, DocumentRef> resolver) Resolves the value (in the context) into a session and docRef, and passes them to the resolver. -
Uses of CoreSession in org.nuxeo.ecm.core.opencmis.impl.client
Modifier and TypeMethodDescriptionNuxeoBinding.getCoreSession()
protected CoreSession
NuxeoSession.getCoreSession()
-
Uses of CoreSession in org.nuxeo.ecm.core.opencmis.impl.server
Modifier and TypeFieldDescriptionprotected CoreSession
CMISQLtoNXQL.coreSession
protected CoreSession
NuxeoCmisService.coreSession
Modifier and TypeMethodDescriptionNuxeoCmisService.getCoreSession()
protected static CoreSession
NuxeoCmisService.openCoreSession
(String repositoryName, String username) ModifierConstructorDescriptionNuxeoCmisService
(CoreSession coreSession) Constructs a Nuxeo CMIS Service from an existingCoreSession
.protected
NuxeoCmisService
(CoreSession coreSession, String repositoryName) -
Uses of CoreSession in org.nuxeo.ecm.core.opencmis.tests
Modifier and TypeMethodDescriptionstatic DocumentModel
Helper.createDocument
(CoreSession session, DocumentModel doc) static String
Helper.createUserWorkspace
(CoreSession repo, String username) Helper.makeNuxeoRepository
(CoreSession session) Helper.makeNuxeoRepository
(CoreSession session, boolean addProxy) Creates data in the repository using the Nuxeo API.static DocumentModel
Helper.saveDocument
(CoreSession session, DocumentModel doc) -
Uses of CoreSession in org.nuxeo.ecm.core.repository
Modifier and TypeMethodDescriptionabstract void
RepositoryInitializationHandler.doInitializeRepository
(CoreSession session) void
RepositoryInitializationHandler.initializeRepository
(CoreSession session) Must be implemented by custom initializers. -
Uses of CoreSession in org.nuxeo.ecm.core.rest
Modifier and TypeMethodDescriptionprotected void
CommentService.approveComent
(CoreSession session, DocumentModel target, DocumentModel comment) Deprecated.Can be overwritten to allow workflow.protected DocumentModel
CommentService.createCommentDocument
(CoreSession session, DocumentModel target, DocumentModel comment) Deprecated.Can be overwritten to allow creation of localized comment.protected void
CommentService.publishComment
(CoreSession session, DocumentModel target, DocumentModel comment) Deprecated.Can be overwritten to allow workflow.protected void
CommentService.rejectComment
(CoreSession session, DocumentModel target, DocumentModel comment) Deprecated.Can be overwritten to allow workflow. -
Uses of CoreSession in org.nuxeo.ecm.core.scroll
-
Uses of CoreSession in org.nuxeo.ecm.core.search.api.client.search.results.impl
ModifierConstructorDescriptionResultSetImpl
(String query, CoreSession session, int offset, int range, List<ResultItem> resultItems, int totalHits, int pageHits) Constructor used when a CoreSession is available. -
Uses of CoreSession in org.nuxeo.ecm.core.security
Modifier and TypeMethodDescriptionprotected void
RetentionExpiredAction.RetentionExpiredComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
RetentionExpiredAction.RetentionExpiredComputation.sendEvent
(CoreSession session, DocumentRef ref, Calendar retainUntil) -
Uses of CoreSession in org.nuxeo.ecm.core.storage
Modifier and TypeMethodDescriptionvoid
FulltextExtractorWork.extractBinaryFulltext
(CoreSession session, DocumentModel doc) -
Uses of CoreSession in org.nuxeo.ecm.core.storage.action
Modifier and TypeMethodDescriptionprotected void
ExtractBinaryFulltextAction.ExtractBinaryFulltextComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.core.storage.dbs
Modifier and TypeMethodDescriptionvoid
BlobKeysBulkMigrator.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected String
BlobKeysBulkMigrator.probeSession
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.core.storage.dbs.action
Modifier and TypeMethodDescriptionprotected void
UpdateReadAclsAction.UpdateReadAclsComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.core.trash
Modifier and TypeMethodDescriptionboolean
BridgeTrashService.isTrashed
(CoreSession session, DocumentRef doc) boolean
LifeCycleTrashService.isTrashed
(CoreSession session, DocumentRef docRef) Deprecated.boolean
PropertyTrashService.isTrashed
(CoreSession session, DocumentRef docRef) protected void
TrashedStateMigrator.migrateSession
(String step, MigrationService.MigrationContext migrationContext, CoreSession session) protected void
AbstractTrashService.notifyEvent
(CoreSession session, String eventId, DocumentModel doc) protected void
AbstractTrashService.notifyEvent
(CoreSession session, String eventId, DocumentModel doc, boolean immediate) protected void
AbstractTrashService.notifyEvent
(CoreSession session, String eventId, DocumentModel doc, boolean immediate, boolean inline) protected String
TrashedStateMigrator.probeSession
(CoreSession session) void
AbstractTrashService.purgeDocuments
(CoreSession session, List<DocumentRef> docRefs) protected void
LifeCycleTrashService.trashDocument
(CoreSession session, DocumentModel doc) Deprecated.protected void
LifeCycleTrashService.undeleteAncestors
(CoreSession session, DocumentRef docRef, Set<DocumentRef> undeleted) Deprecated.Undeletes ancestors of a document.protected void
LifeCycleTrashService.undeleteDocument
(CoreSession session, DocumentModel doc) Deprecated.protected Set<DocumentRef>
LifeCycleTrashService.undeleteDocumentList
(CoreSession session, List<DocumentModel> docs) Deprecated.Undeletes a list of documents.AbstractTrashService.unmangleName
(CoreSession session, DocumentRef parentRef, String docName) -
Uses of CoreSession in org.nuxeo.ecm.core.versioning
Modifier and TypeMethodDescriptionStandardVersioningService.doPostSave
(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String, Serializable> options) VersioningComponent.doPostSave
(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String, Serializable> options) StandardVersioningService.doPreSave
(CoreSession session, Document doc, boolean isDirty, VersioningOption option, String checkinComment, Map<String, Serializable> options) VersioningComponent.doPreSave
(CoreSession session, Document doc, boolean isDirty, VersioningOption option, String checkinComment, Map<String, Serializable> options) protected void
StandardVersioningService.followTransitionByOption
(CoreSession session, Document doc, Map<String, Serializable> options) OrphanVersionRemovalFilter.getRemovableVersionIds
(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs) This method will be called by theOrphanVersionRemoverListener
.protected void
OrphanVersionRemoverListener.removeIfPossible
(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs) Deprecated.void
DefaultVersionRemovalPolicy.removeVersions
(Session session, Document doc, CoreSession coreSession) void
NullVersionRemovalPolicy.removeVersions
(Session session, Document doc, CoreSession coreSession) void
VersionRemovalPolicy.removeVersions
(Session session, Document doc, CoreSession coreSession) Removes the versions when a given working document is about to be removed.protected void
StandardVersioningService.sendEvent
(CoreSession session, Document doc, String previousLifecycleState, Map<String, Serializable> options) -
Uses of CoreSession in org.nuxeo.ecm.core.work
-
Uses of CoreSession in org.nuxeo.ecm.csv.core
Modifier and TypeMethodDescriptionvoid
CSVImporterDocumentFactory.createDocument
(CoreSession session, String parentPath, String name, String type, Map<String, Serializable> values) void
DefaultCSVImporterDocumentFactory.createDocument
(CoreSession session, String parentPath, String name, String type, Map<String, Serializable> values) boolean
CSVImporterDocumentFactory.exists
(CoreSession session, String parentPath, String name, Map<String, Serializable> values) boolean
DefaultCSVImporterDocumentFactory.exists
(CoreSession session, String parentPath, String name, Map<String, Serializable> values) CSVImporter.launchImport
(CoreSession session, String parentPath, Blob blob, CSVImporterOptions options) CSVImporterImpl.launchImport
(CoreSession session, String parentPath, Blob blob, CSVImporterOptions options) void
CSVImporterDocumentFactory.updateDocument
(CoreSession session, DocumentRef docRef, Map<String, Serializable> values) void
DefaultCSVImporterDocumentFactory.updateDocument
(CoreSession session, DocumentRef docRef, Map<String, Serializable> values) -
Uses of CoreSession in org.nuxeo.ecm.csv.core.operation
Modifier and TypeFieldDescriptionprotected CoreSession
CSVImportLogOperation.mSession
protected CoreSession
CSVImportOperation.mSession
protected CoreSession
CSVImportResultOperation.mSession
protected CoreSession
CSVImportStatusOperation.mSession
-
Uses of CoreSession in org.nuxeo.ecm.directory.core
-
Uses of CoreSession in org.nuxeo.ecm.localconf
Modifier and TypeFieldDescriptionprotected CoreSession
PutSimpleConfParam.session
protected CoreSession
PutSimpleConfParams.session
-
Uses of CoreSession in org.nuxeo.ecm.multi.tenant
Modifier and TypeMethodDescriptionvoid
MultiTenantService.disableTenantIsolation
(CoreSession session) void
MultiTenantServiceImpl.disableTenantIsolation
(CoreSession session) void
MultiTenantService.disableTenantIsolationFor
(CoreSession session, DocumentModel doc) void
MultiTenantServiceImpl.disableTenantIsolationFor
(CoreSession session, DocumentModel doc) void
MultiTenantService.enableTenantIsolation
(CoreSession session) void
MultiTenantServiceImpl.enableTenantIsolation
(CoreSession session) void
MultiTenantService.enableTenantIsolationFor
(CoreSession session, DocumentModel doc) void
MultiTenantServiceImpl.enableTenantIsolationFor
(CoreSession session, DocumentModel doc) static String
MultiTenantHelper.getTenantDocumentPath
(CoreSession session, String tenantId) Returns the path of the tenant document matching thetenantId
, ornull
if there is no document matching.boolean
MultiTenantService.isTenantIsolationEnabled
(CoreSession session) boolean
MultiTenantServiceImpl.isTenantIsolationEnabled
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.multi.tenant.userworkspace
Modifier and TypeMethodDescriptionprotected String
MultiTenantUserWorkspaceService.computePathUserWorkspaceRoot
(CoreSession userCoreSession, String userName) protected String
MultiTenantUserWorkspaceService.computePathUserWorkspaceRootForTenant
(CoreSession session, String tenantId) protected String
MultiTenantUserWorkspaceService.getTenantId
(CoreSession userCoreSession, String userName) -
Uses of CoreSession in org.nuxeo.ecm.permissions
Modifier and TypeMethodDescriptionprotected void
ACEStatusUpdatedListener.checkForEffectiveACE
(CoreSession session, DocumentModel doc, List<ACE> aces) static void
PermissionHelper.firePermissionNotificationEvent
(CoreSession session, DocumentModel doc, String aclName, ACE ace) -
Uses of CoreSession in org.nuxeo.ecm.permissions.operations
Modifier and TypeFieldDescriptionprotected CoreSession
SendNotificationEmailForPermission.session
-
Uses of CoreSession in org.nuxeo.ecm.platform.actions
Modifier and TypeMethodDescriptionfinal CoreSession
AbstractActionContext.getDocumentManager()
ActionContext.getDocumentManager()
Returns the core session to use for filter evaluationModifier and TypeMethodDescriptionfinal void
AbstractActionContext.setDocumentManager
(CoreSession docMgr) void
ActionContext.setDocumentManager
(CoreSession docMgr) Sets the core session to use for filter evaluation -
Uses of CoreSession in org.nuxeo.ecm.platform.audio.extension
Modifier and TypeMethodDescriptionThumbnailAudioFactory.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailAudioFactory.getThumbnail
(DocumentModel doc, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.audit.api.comment
-
Uses of CoreSession in org.nuxeo.ecm.platform.audit.api.document
Modifier and TypeMethodDescriptionDocumentAuditHelper.getAuditParamsForUUID
(String uuid, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.audit.service
Modifier and TypeMethodDescriptionprotected long
AbstractAuditBackend.doSyncNode
(BaseLogEntryProvider provider, CoreSession session, DocumentModel node, boolean recurs) protected DocumentModel
AbstractAuditBackend.guardedDocument
(CoreSession session, DocumentRef reference) protected DocumentModelList
AbstractAuditBackend.guardedDocumentChildren
(CoreSession session, DocumentRef reference) -
Uses of CoreSession in org.nuxeo.ecm.platform.comment.api
Modifier and TypeMethodDescriptionAnnotationService.createAnnotation
(CoreSession session, Annotation annotation) Creates an annotation on a document.CommentManager.createComment
(CoreSession session, Comment comment) Creates a comment.void
AnnotationService.deleteAnnotation
(CoreSession session, String annotationId) Deletes an annotation for a document.void
CommentManager.deleteComment
(CoreSession session, String commentId) Deletes a comment.default void
AnnotationService.deleteExternalAnnotation
(CoreSession session, String entityId) Deprecated.since 11.1, useAnnotationService.deleteExternalAnnotation(CoreSession, String, String)
insteadvoid
AnnotationService.deleteExternalAnnotation
(CoreSession session, String documentId, String entityId) Deletes an external annotation by its {code entityId} under the document withdocumentId
.default void
CommentManager.deleteExternalComment
(CoreSession session, String entityId) Deprecated.since 11.1, useCommentManager.deleteExternalComment(CoreSession, String, String)
insteadvoid
CommentManager.deleteExternalComment
(CoreSession session, String documentId, String entityId) Deletes an external comment by its {code entityId} under the document withdocumentId
.AnnotationService.getAnnotation
(CoreSession session, String annotationId) Gets an annotation.AnnotationService.getAnnotations
(CoreSession session, String documentId, String xpath) Gets all annotations for a document.CommentManager.getComment
(CoreSession session, String commentId) Gets a comment.CommentManager.getComments
(CoreSession session, String documentId) Gets all comments for a document.CommentManager.getComments
(CoreSession session, String documentId, boolean sortAscending) Gets all comments for a document.CommentManager.getComments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex) Gets all comments for a document.CommentManager.getComments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) Gets all comments for a document.CommentManager.getComments
(CoreSession session, Collection<String> documentIds) Gets all comments for a collection of documents.CommentManager.getComments
(CoreSession session, DocumentModel docModel) Gets comments of a document.default Annotation
AnnotationService.getExternalAnnotation
(CoreSession session, String entityId) Deprecated.since 11.1, useAnnotationService.getExternalAnnotation(CoreSession, String, String)
insteadAnnotationService.getExternalAnnotation
(CoreSession session, String documentId, String entityId) Gets an external annotation by itsentityId
under the document withdocumentId
.default Comment
CommentManager.getExternalComment
(CoreSession session, String entityId) Deprecated.since 11.1, useCommentManager.getExternalComment(CoreSession, String, String)
insteadCommentManager.getExternalComment
(CoreSession session, String documentId, String entityId) Gets an external comment by itsentityId
under the document withdocumentId
.CommentManager.getTopLevelDocumentRef
(CoreSession session, DocumentRef commentRef) Gets the top level ancestor document ref for the given document model comment ref.void
AnnotationService.updateAnnotation
(CoreSession session, String annotationId, Annotation annotation) Updates an annotation for a document.CommentManager.updateComment
(CoreSession session, String commentId, Comment comment) Updates a comment.AnnotationService.updateExternalAnnotation
(CoreSession session, String documentId, String entityId, Annotation annotation) Updates an external annotation by itsentityId
under the document withdocumentId
.default void
AnnotationService.updateExternalAnnotation
(CoreSession session, String entityId, Annotation annotation) Deprecated.since 11.1, useAnnotationService.updateExternalAnnotation(CoreSession, String, String, Annotation)
insteadCommentManager.updateExternalComment
(CoreSession session, String documentId, String entityId, Comment comment) Updates an external comment by itsentityId
under the document withdocumentId
.default Comment
CommentManager.updateExternalComment
(CoreSession session, String entityId, Comment comment) Deprecated.since 11.1, useCommentManager.updateExternalComment(CoreSession, String, String, Comment)
instead -
Uses of CoreSession in org.nuxeo.ecm.platform.comment.impl
Modifier and TypeMethodDescriptionprotected void
TreeCommentManager.checkCreateCommentPermissions
(CoreSession session, DocumentRef documentRef) Checks if the user related to thesession
can comments the document linked to thedocumentRef
.protected <S extends Set<String> & Serializable>
SAbstractCommentManager.computeAncestorIds
(CoreSession session, String parentId) AnnotationServiceImpl.createAnnotation
(CoreSession session, Annotation annotation) BridgeCommentManager.createComment
(CoreSession session, Comment comment) CommentManagerImpl.createComment
(CoreSession session, Comment comment) Deprecated.PropertyCommentManager.createComment
(CoreSession session, Comment comment) Deprecated.TreeCommentManager.createComment
(CoreSession session, Comment comment) protected DocumentModel
CommentManagerImpl.createHiddenFolder
(CoreSession session, String parentPath, String name) Deprecated.void
AnnotationServiceImpl.deleteAnnotation
(CoreSession session, String annotationId) void
BridgeCommentManager.deleteComment
(CoreSession session, String commentId) void
CommentManagerImpl.deleteComment
(CoreSession s, String commentId) Deprecated.void
PropertyCommentManager.deleteComment
(CoreSession session, String commentId) Deprecated.void
TreeCommentManager.deleteComment
(CoreSession s, String commentId) void
AnnotationServiceImpl.deleteExternalAnnotation
(CoreSession session, String documentId, String entityId) void
BridgeCommentManager.deleteExternalComment
(CoreSession session, String documentId, String entityId) void
CommentManagerImpl.deleteExternalComment
(CoreSession session, String documentId, String entityId) Deprecated.void
PropertyCommentManager.deleteExternalComment
(CoreSession session, String documentId, String entityId) Deprecated.void
TreeCommentManager.deleteExternalComment
(CoreSession session, String documentId, String entityId) protected List<DocumentModel>
CommentManagerImpl.doPrivileged
(CoreSession session, String repositoryName, Function<CoreSession, List<DocumentModel>> function) Deprecated.protected <T> T
BridgeCommentManager.execute
(CoreSession s, DocumentRef documentRef, Function<CommentManager, T> function) Executes the given function for a comment document ref, depending on the types of comment managers.protected void
AbstractCommentManager.fillCommentForCreation
(CoreSession session, Comment comment) protected DocumentRef
PropertyCommentManager.getAncestorRef
(CoreSession session, DocumentModel documentModel) Deprecated.AnnotationServiceImpl.getAnnotation
(CoreSession s, String annotationId) protected DocumentModel
AnnotationServiceImpl.getAnnotationModel
(CoreSession session, String entityId) Deprecated, for removal: This API element is subject to removal in a future version.since 11.1.AnnotationServiceImpl.getAnnotations
(CoreSession session, String documentId, String xpath) BridgeCommentManager.getComment
(CoreSession session, String commentId) CommentManagerImpl.getComment
(CoreSession session, String commentId) Deprecated.PropertyCommentManager.getComment
(CoreSession session, String commentId) Deprecated.TreeCommentManager.getComment
(CoreSession session, String commentId) protected String
PropertyCommentManager.getCommentContainerPath
(CoreSession session, String commentedDocumentId) Deprecated.protected DocumentModel
TreeCommentManager.getCommentDocumentModel
(CoreSession session, String id) protected PartialList<DocumentModel>
TreeCommentManager.getCommentDocuments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) protected abstract DocumentModel
AbstractCommentManager.getCommentedDocument
(CoreSession session, DocumentModel commentDoc) protected DocumentModel
BridgeCommentManager.getCommentedDocument
(CoreSession session, DocumentModel commentDoc) protected DocumentModel
CommentManagerImpl.getCommentedDocument
(CoreSession session, DocumentModel commentDoc) Deprecated.protected DocumentModel
PropertyCommentManager.getCommentedDocument
(CoreSession session, DocumentModel commentDoc) Deprecated.protected DocumentModel
TreeCommentManager.getCommentedDocument
(CoreSession session, DocumentModel commentDoc) CommentsMigrator.getCommentFolders
(CoreSession session) AbstractCommentManager.getComments
(CoreSession session, String documentId) AbstractCommentManager.getComments
(CoreSession session, String documentId, boolean sortAscending) AbstractCommentManager.getComments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex) BridgeCommentManager.getComments
(CoreSession session, String documentId) BridgeCommentManager.getComments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) BridgeCommentManager.getComments
(CoreSession session, Collection<String> documentIds) BridgeCommentManager.getComments
(CoreSession session, DocumentModel docModel) CommentManagerImpl.getComments
(CoreSession s, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) Deprecated.CommentManagerImpl.getComments
(CoreSession session, Collection<String> documentIds) Deprecated.CommentManagerImpl.getComments
(CoreSession s, DocumentModel docModel) Deprecated.PropertyCommentManager.getComments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) Deprecated.PropertyCommentManager.getComments
(CoreSession session, Collection<String> documentIds) Deprecated.PropertyCommentManager.getComments
(CoreSession session, DocumentModel docModel) Deprecated.TreeCommentManager.getComments
(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) TreeCommentManager.getComments
(CoreSession session, Collection<String> documentIds) TreeCommentManager.getComments
(CoreSession session, DocumentModel doc) AnnotationServiceImpl.getExternalAnnotation
(CoreSession session, String documentId, String entityId) BridgeCommentManager.getExternalComment
(CoreSession session, String documentId, String entityId) CommentManagerImpl.getExternalComment
(CoreSession session, String documentId, String entityId) Deprecated.PropertyCommentManager.getExternalComment
(CoreSession session, String documentId, String entityId) Deprecated.TreeCommentManager.getExternalComment
(CoreSession session, String documentId, String entityId) protected DocumentModel
PropertyCommentManager.getExternalCommentModel
(CoreSession session, String documentId, String entityId) Deprecated.protected DocumentModel
TreeCommentManager.getExternalCommentModel
(CoreSession session, String documentId, String entityId) protected DocumentRef
TreeCommentManager.getLocationRefOfCommentCreation
(CoreSession session, DocumentModel commentedDoc) Returns theDocumentRef
of the comments location in repository for the given commented document model.protected DocumentModel
PropertyCommentManager.getThreadForComment
(CoreSession s, DocumentModel comment) Deprecated.protected abstract DocumentModel
AbstractCommentManager.getTopLevelDocument
(CoreSession session, DocumentModel commentDoc) protected DocumentModel
BridgeCommentManager.getTopLevelDocument
(CoreSession session, DocumentModel commentDoc) protected DocumentModel
CommentManagerImpl.getTopLevelDocument
(CoreSession s, DocumentModel commentDoc) Deprecated.protected DocumentModel
PropertyCommentManager.getTopLevelDocument
(CoreSession s, DocumentModel commentDoc) Deprecated.protected DocumentModel
TreeCommentManager.getTopLevelDocument
(CoreSession session, DocumentModel commentDoc) AbstractCommentManager.getTopLevelDocumentRef
(CoreSession session, DocumentRef commentRef) BridgeCommentManager.getTopLevelDocumentRef
(CoreSession session, DocumentRef commentIdRef) CommentsMigrator.getUnsecuredCommentIds
(CoreSession session) protected void
TreeCommentManager.handleNotificationAutoSubscriptions
(CoreSession session, DocumentModel topLevelDoc, DocumentModel commentDoc) protected boolean
TreeCommentManager.hasComments
(CoreSession session, DocumentModel document) Returnstrue
if the document has comments.protected boolean
TreeCommentManager.hasComments
(CoreSession session, DocumentModel document, String user) Returnstrue
if the documents has comments from the given user.protected boolean
CommentsMigrator.hasUnsecuredComments
(CoreSession session) protected DocumentModel
CommentManagerImpl.internalCreateComment
(CoreSession session, DocumentModel docModel, DocumentModel comment, String path) Deprecated.protected void
TreeCommentManager.manageRelatedTextOfTopLevelDocument
(CoreSession session, DocumentModel topLevelDoc, String commentId, String commentText) Manages (Add, Update or Remove) the related textFacetNames.HAS_RELATED_TEXT
of the top level document ancestorAbstractCommentManager.getTopLevelDocumentRef(CoreSession, DocumentRef)
for the given comment / annotation.protected void
CommentsMigrator.migrateCommentsFromPropertyToSecured
(CoreSession session, TreeCommentManager treeCommentManager, IdRef commentIdRef) protected void
CommentsMigrator.migrateCommentsFromRelationToProperty
(CoreSession session, RelationManager relationManager, CommentServiceConfig config, Statement statement) protected void
CommentsMigrator.migrateSession
(String step, MigrationService.MigrationContext migrationContext, CoreSession session) protected void
CommentsMigrator.migrateSessionPropertyToSecured
(CoreSession session, MigrationService.MigrationContext migrationContext) protected void
CommentsMigrator.migrateSessionRelationToProperty
(CoreSession session, MigrationService.MigrationContext migrationContext) protected void
AbstractCommentManager.notifyEvent
(CoreSession session, String eventType, DocumentModel commentDoc) Notifies the event of typeeventType
on the givencommentDoc
.protected void
AbstractCommentManager.notifyEvent
(CoreSession session, String eventType, DocumentModel commentedDoc, DocumentModel commentDoc) protected void
AbstractCommentManager.notifyEvent
(CoreSession session, String eventType, DocumentModel topLevelDoc, DocumentModel commentedDoc, DocumentModel commentDoc) protected String
CommentsMigrator.probeSession
(CoreSession session) protected void
TreeCommentManager.removeComment
(CoreSession session, DocumentRef documentRef) Remove the comment of the givendocumentRef
protected void
AbstractCommentManager.setCommentPermissions
(CoreSession session, DocumentModel documentModel) Deprecated.since 11.1.protected void
AbstractCommentManager.setFolderPermissions
(CoreSession session, DocumentModel documentModel) CommentManagerImpl.streamAllComments
(CoreSession session, String docId) Deprecated.protected Stream<DocumentModel>
AnnotationServiceImpl.streamAnnotations
(CoreSession session, String documentId, String xpath) protected Comment
TreeCommentManager.update
(CoreSession session, Comment comment, DocumentModel commentDoc) void
AnnotationServiceImpl.updateAnnotation
(CoreSession session, String annotationId, Annotation annotation) BridgeCommentManager.updateComment
(CoreSession session, String commentId, Comment comment) CommentManagerImpl.updateComment
(CoreSession session, String commentId, Comment comment) Deprecated.PropertyCommentManager.updateComment
(CoreSession session, String commentId, Comment comment) Deprecated.TreeCommentManager.updateComment
(CoreSession session, String commentId, Comment comment) AnnotationServiceImpl.updateExternalAnnotation
(CoreSession session, String documentId, String entityId, Annotation annotation) BridgeCommentManager.updateExternalComment
(CoreSession session, String documentId, String entityId, Comment comment) CommentManagerImpl.updateExternalComment
(CoreSession session, String documentId, String entityId, Comment comment) Deprecated.PropertyCommentManager.updateExternalComment
(CoreSession session, String documentId, String entityId, Comment comment) Deprecated.TreeCommentManager.updateExternalComment
(CoreSession session, String documentId, String entityId, Comment comment) protected void
CommentJsonWriter.writeRepliesSummary
(CoreSession session, Comment entity, com.fasterxml.jackson.core.JsonGenerator jg) Modifier and TypeMethodDescriptionprotected List<DocumentModel>
CommentManagerImpl.doPrivileged
(CoreSession session, String repositoryName, Function<CoreSession, List<DocumentModel>> function) Deprecated. -
Uses of CoreSession in org.nuxeo.ecm.platform.comment.listener
Modifier and TypeMethodDescriptionprotected void
AbstractCommentListener.deleteCommentChildren
(CoreSession coreSession, CommentManager commentManager, DocumentModel documentModel) protected abstract void
AbstractCommentListener.doProcess
(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage) protected void
CommentRemovedEventListener.doProcess
(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage) protected void
DocumentRemovedCommentEventListener.doProcess
(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage) protected void
CheckedInCommentListener.updateCommentProperties
(CoreSession session, String ecmParentId, String commentParentId, String... parentCommentAncestorIds) -
Uses of CoreSession in org.nuxeo.ecm.platform.comment.workflow
-
Uses of CoreSession in org.nuxeo.ecm.platform.comment.workflow.services
Modifier and TypeMethodDescriptionvoid
CommentsModerationService.approveComent
(CoreSession session, DocumentModel document, String commentId) Approve the comment with the given commentId.void
CommentsModerationServiceImpl.approveComent
(CoreSession session, DocumentModel doc, String commentId) CommentsModerationServiceImpl.getModerationTask
(TaskService taskService, CoreSession session, DocumentModel doc, String commentId) protected void
CommentsModerationServiceImpl.notifyEvent
(CoreSession session, String eventId, Map<String, Serializable> properties, String comment, String category, DocumentModel dm) void
CommentsModerationService.publishComment
(CoreSession session, DocumentModel comment) Publish the given comment.void
CommentsModerationServiceImpl.publishComment
(CoreSession session, DocumentModel comment) void
CommentsModerationService.rejectComment
(CoreSession session, DocumentModel document, String commentId) Reject the comment with the given commentId.void
CommentsModerationServiceImpl.rejectComment
(CoreSession session, DocumentModel doc, String commentId) void
CommentsModerationService.startModeration
(CoreSession session, DocumentModel document, String commentId, ArrayList<String> moderators) Starts the moderation process on given Comment posted on a documentModel.void
CommentsModerationServiceImpl.startModeration
(CoreSession session, DocumentModel doc, String commentID, ArrayList<String> moderators) -
Uses of CoreSession in org.nuxeo.ecm.platform.comment.workflow.utils
ModifierConstructorDescriptionFollowTransitionUnrestricted
(CoreSession session, DocumentRef docRef, String transition) -
Uses of CoreSession in org.nuxeo.ecm.platform.content.template.factories
-
Uses of CoreSession in org.nuxeo.ecm.platform.content.template.listener
Modifier and TypeMethodDescriptionvoid
RepositoryInitializationListener.doInitializeRepository
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.content.template.service
Modifier and TypeMethodDescriptionvoid
PostContentCreationHandler.execute
(CoreSession session) Executes this handler with a systemsession
.void
ContentTemplateService.executePostContentCreationHandlers
(CoreSession session) Executes all the registeredPostContentCreationHandler
s.void
ContentTemplateServiceImpl.executePostContentCreationHandlers
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.csv.export.computation
Modifier and TypeMethodDescriptionprotected void
CSVProjectionComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.platform.dublincore.listener
ModifierConstructorDescriptionprotected
UnrestrictedPropertySetter
(CoreSession session, DocumentRef docRef, String xpath, Serializable value) -
Uses of CoreSession in org.nuxeo.ecm.platform.ec.notification.automation
Modifier and TypeFieldDescriptionprotected CoreSession
SubscribeOperation.coreSession
protected CoreSession
UnsubscribeOperation.coreSession
-
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.api
Modifier and TypeFieldDescriptionprotected final CoreSession
FileImporterContext.Builder.session
protected final CoreSession
FileImporterContext.session
Modifier and TypeMethodDescriptionstatic FileImporterContext.Builder
FileImporterContext.builder
(CoreSession session, Blob blob, String parentPath) FileManager.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName) Deprecated.since 10.10.FileManager.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck) Deprecated.since 10.10.FileManager.createFolder
(CoreSession documentManager, String fullname, String path, boolean overwrite) Creates a Folder.FileManager.findExistingDocumentWithFile
(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal) FileManager.getCreationContainers
(CoreSession documentManager, String docType) Returns the list of document that are to be suggested to the principal of documentManager as a candidate container for a new document of type docType.FileManager.updateDocumentFromBlob
(CoreSession documentManager, Blob input, String path, String fullName) Deprecated.since 10.10. -
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.core.listener
Modifier and TypeMethodDescriptionprotected void
AbstractUnicityChecker.doUnicityCheck
(DocumentModel doc2Check, CoreSession session, Event event) protected abstract void
AbstractUnicityChecker.onDuplicatedDoc
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event) protected void
AsynchronousUnicityCheckListener.onDuplicatedDoc
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event) protected void
SynchronousUnicityCheckListener.onDuplicatedDoc
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event) protected void
AbstractUnicityChecker.raiseDuplicatedFileEvent
(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs) -
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.service
Modifier and TypeMethodDescriptionFileManagerService.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName) FileManagerService.createDocumentFromBlob
(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck) FileManagerService.createFolder
(CoreSession documentManager, String fullname, String path, boolean overwrite) FileManagerService.defaultCreateFolder
(CoreSession documentManager, String fullname, String path, boolean overwrite) FileManagerService.defaultCreateFolder
(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes, boolean overwrite) FileManagerService.findExistingDocumentWithFile
(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal) FileManagerService.getCreationContainers
(CoreSession documentManager, String docType) FileManagerService.updateDocumentFromBlob
(CoreSession documentManager, Blob input, String path, String fullName) -
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.service.extension
Modifier and TypeMethodDescriptionprotected void
AbstractFileImporter.checkAllowedSubtypes
(CoreSession session, String path, String typeName) protected void
AbstractFileImporter.checkSecurity
(CoreSession session, String path) AbstractFileImporter.create
(CoreSession session, Blob content, String path, boolean overwrite, String fullname, TypeManager typeService) AbstractFolderImporter.create
(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager) FileImporter.create
(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService) Deprecated.since 10.10.FolderImporter.create
(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager) protected void
AbstractFileImporter.doSecurityCheck
(CoreSession documentManager, String path, String typeName) Deprecated.since 11.3, useand #checkAllowedSubtypes(CoreSession, String, String)
insteadprotected void
AbstractFileImporter.doSecurityCheck
(CoreSession documentManager, String path, String typeName, TypeManager typeService) Deprecated.since 11.3, useand #checkAllowedSubtypes(CoreSession, String, String)
insteadCreationContainerListProvider.getCreationContainerList
(CoreSession documentManager, String docType) Build the list of candidate containers for the given document type and session.DefaultCreationContainerListProvider.getCreationContainerList
(CoreSession documentManager, String docType) protected String
AbstractFileImporter.getNearestContainerPath
(CoreSession documentManager, String path) Returns nearest container path -
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.utils
Modifier and TypeMethodDescriptionstatic DocumentModel
FileManagerUtils.getExistingDocByFileName
(CoreSession documentManager, String path, String filename) Looks if an existing Document with the same filename exists.static DocumentModel
FileManagerUtils.getExistingDocByPropertyName
(CoreSession documentManager, String path, String value, String propertyName) Looks if an existing Document has the same value for a given property.static DocumentModel
FileManagerUtils.getExistingDocByTitle
(CoreSession documentManager, String path, String title) Looks if an existing Document with the same title exists. -
Uses of CoreSession in org.nuxeo.ecm.platform.importer.base
Modifier and TypeFieldDescriptionprotected CoreSession
GenericMultiThreadedImporter.session
protected CoreSession
GenericThreadedImportTask.session
Modifier and TypeMethodDescriptionprotected CoreSession
GenericThreadedImportTask.getCoreSession()
ModifierConstructorDescriptionprotected
GenericThreadedImportTask
(CoreSession session) protected
GenericThreadedImportTask
(CoreSession session, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy) -
Uses of CoreSession in org.nuxeo.ecm.platform.importer.factories
Modifier and TypeMethodDescriptionDefaultDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) FileManagerDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) ImporterDocumentModelFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) DefaultDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) FileManagerDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) ImporterDocumentModelFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) protected DocumentModel
DefaultDocumentModelFactory.defaultCreateLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) boolean
AbstractDocumentModelFactory.processFolderishNodeCreationError
(CoreSession session, DocumentModel parent, SourceNode node) By default there is no process bound to a folderish node creation error, and the global import task will continue.boolean
ImporterDocumentModelFactory.processFolderishNodeCreationError
(CoreSession session, DocumentModel parent, SourceNode node) Defines the process to execute when a folderish node creation error occurs.boolean
AbstractDocumentModelFactory.processLeafNodeCreationError
(CoreSession session, DocumentModel parent, SourceNode node) By default there is no process bound to a leaf node creation error, and the global import task will continue.boolean
ImporterDocumentModelFactory.processLeafNodeCreationError
(CoreSession session, DocumentModel parent, SourceNode node) Defines the process to execute when a leaf node creation error occurs.protected DocumentModel
AbstractDocumentModelFactory.setDocumentProperties
(CoreSession session, Map<String, Serializable> properties, DocumentModel doc) Set all the properties to the givendoc
. -
Uses of CoreSession in org.nuxeo.ecm.platform.importer.xml.parser
Modifier and TypeFieldDescriptionprotected final CoreSession
MVELImporterFunction.session
protected CoreSession
XMLImporterServiceImpl.session
Modifier and TypeMethodDescriptionAdvancedScannedFileFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) ModifierConstructorDescriptionMVELImporterFunction
(CoreSession session, Stack<DocumentModel> docsStack, Map<org.dom4j.Element, DocumentModel> elToDoc, org.dom4j.Element el) -
Uses of CoreSession in org.nuxeo.ecm.platform.io.operation
Modifier and TypeMethodDescriptionprotected DocumentReader
ExportDocument.makeDocumentReader
(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip) -
Uses of CoreSession in org.nuxeo.ecm.platform.mail.listener.action
Modifier and TypeMethodDescriptionprotected CoreSession
AbstractMailAction.getCoreSession
(ExecutionContext context) ModifierConstructorDescriptionprotected
UnrestrictedCreateDocument
(DocumentModel document, CoreSession session, Map<String, String> names) -
Uses of CoreSession in org.nuxeo.ecm.platform.mail.operations
-
Uses of CoreSession in org.nuxeo.ecm.platform.mail.utils
Modifier and TypeMethodDescriptionstatic void
MailCoreHelper.checkMail
(DocumentModel currentMailFolder, CoreSession coreSession) Creates MailMessage documents for every unread mail found in the INBOX.protected static void
MailCoreHelper.doCheckMail
(DocumentModel currentMailFolder, CoreSession coreSession) -
Uses of CoreSession in org.nuxeo.ecm.platform.pdf
Modifier and TypeMethodDescriptionvoid
PDFMerge.addBlobs
(String[] inDocIDs, String inXPath, CoreSession inSession) PDFInfo.toFields
(DocumentModel inDoc, HashMap<String, String> inMapping, boolean inSave, CoreSession inSession) TheinMapping
map is an HashMap where the key is the xpath of the destination field, and the value is the exact label of a PDF info as returned bytoHashMap()
. -
Uses of CoreSession in org.nuxeo.ecm.platform.pdf.operations
Modifier and TypeFieldDescriptionprotected CoreSession
PDFExtractInfoOperation.session
protected CoreSession
PDFExtractPagesOperation.session
protected CoreSession
PDFExtractTextOperation.session
protected CoreSession
PDFMergeDocumentsOperation.session
-
Uses of CoreSession in org.nuxeo.ecm.platform.picture
Modifier and TypeMethodDescriptionvoid
PictureViewsHelper.computePictureViews
(CoreSession session, String id, String xpath, Consumer<String> statusSetter) Computes the picture views of the document with the givenid
and property with the givenxpath
. -
Uses of CoreSession in org.nuxeo.ecm.platform.picture.api.adapters
Modifier and TypeMethodDescriptionprotected CoreSession
AbstractPictureAdapter.getSession()
protected CoreSession
PictureBookBlobHolder.getSession()
-
Uses of CoreSession in org.nuxeo.ecm.platform.picture.listener
Modifier and TypeMethodDescriptionprotected DocumentModel
PictureChangedListener.getParentDocument
(CoreSession session, DocumentModel doc) protected void
PictureChangedListener.preFillPictureViews
(CoreSession session, DocumentModel doc) -
Uses of CoreSession in org.nuxeo.ecm.platform.picture.operation
Modifier and TypeFieldDescriptionprotected CoreSession
CreatePicture.session
protected CoreSession
RecomputePictureViews.session
-
Uses of CoreSession in org.nuxeo.ecm.platform.picture.recompute
Modifier and TypeMethodDescriptionprotected void
RecomputeViewsAction.RecomputeViewsComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
RecomputeViewsAction.RecomputeViewsComputation.fireEvent
(CoreSession session, DocumentModel document, String eventName) -
Uses of CoreSession in org.nuxeo.ecm.platform.picture.thumbnail
Modifier and TypeMethodDescriptionThumbnailPictureFactory.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailPictureFactory.getThumbnail
(DocumentModel doc, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.api
Modifier and TypeFieldDescriptionprotected CoreSession
AbstractBasePublicationTree.coreSession
protected CoreSession
AbstractBasePublishedDocumentFactory.coreSession
Modifier and TypeMethodDescriptionPublisherService.getPublicationTree
(String treeName, CoreSession coreSession, Map<String, String> params) PublisherService.getPublicationTree
(String treeName, CoreSession coreSession, Map<String, String> params, DocumentModel currentDocument) PublisherService.getPublicationTreeFor
(DocumentModel doc, CoreSession coreSession) PublisherService.getRootSectionFinder
(CoreSession session) void
AbstractBasePublishedDocumentFactory.init
(CoreSession coreSession, Map<String, String> parameters) void
AbstractBasePublishedDocumentFactory.init
(CoreSession coreSession, ValidatorsRule validatorsRule, Map<String, String> parameters) void
PublishedDocumentFactory.init
(CoreSession coreSession, Map<String, String> parameters) void
PublishedDocumentFactory.init
(CoreSession coreSession, ValidatorsRule validatorsRule, Map<String, String> parameters) void
AbstractBasePublicationTree.initTree
(CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String title) void
PublicationTree.initTree
(CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String title) protected void
AbstractBasePublishedDocumentFactory.notifyEvent
(String eventId, Map<String, Serializable> properties, String comment, String category, DocumentModel dm, CoreSession coreSession) protected void
AbstractBasePublishedDocumentFactory.notifyEvent
(PublishingEvent event, DocumentModel doc, CoreSession coreSession) PublisherService.wrapToPublicationNode
(DocumentModel documentModel, CoreSession coreSession) -
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.helper
Modifier and TypeMethodDescriptionstatic PublicationTree
PublicationRelationHelper.getPublicationTreeUsedForPublishing
(DocumentModel documentModel, CoreSession coreSession) RootSectionFinderFactory.getRootSectionFinder
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.impl.core
Modifier and TypeFieldDescriptionprotected CoreSession
VirtualCoreFolderPublicationNode.coreSession
Modifier and TypeMethodDescriptionprotected CoreSession
CoreFolderPublicationNode.getCoreSession()
Modifier and TypeMethodDescriptionvoid
RootSectionsPublicationTree.initTree
(CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String title) void
SectionPublicationTree.initTree
(CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String title) ModifierConstructorDescriptionVirtualCoreFolderPublicationNode
(CoreSession coreSession, String documentPath, PublicationTree tree, PublishedDocumentFactory factory) -
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.impl.finder
Modifier and TypeMethodDescriptionprotected abstract void
AbstractRootSectionsFinder.computeUnrestrictedRoots
(CoreSession session) protected void
DefaultRootSectionsFinder.computeUnrestrictedRoots
(CoreSession session) protected DocumentModelList
AbstractRootSectionsFinder.getDefaultSectionRoots
(CoreSession session) protected DocumentModelList
AbstractRootSectionsFinder.getSectionRootsFromWorkspaceConfig
(DocumentModel workspace, CoreSession session) ModifierConstructorDescriptionAbstractRootSectionsFinder
(CoreSession userSession) DefaultRootSectionsFinder
(CoreSession userSession) -
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.impl.service
Modifier and TypeMethodDescriptionprotected PublicationTree
PublisherServiceImpl.buildTree
(String treeConfigName, CoreSession coreSession, Map<String, String> params) PublisherServiceImpl.getPublicationTree
(String treeName, CoreSession coreSession, Map<String, String> params) PublisherServiceImpl.getPublicationTree
(String treeName, CoreSession coreSession, Map<String, String> params, DocumentModel currentDocument) protected PublicationTree
PublisherServiceImpl.getPublicationTree
(PublicationTreeDescriptor treeDescriptor, CoreSession coreSession, Map<String, String> parameters, PublishedDocumentFactory factory, String configName, String treeTitle) PublisherServiceImpl.getPublicationTreeFor
(DocumentModel doc, CoreSession coreSession) protected PublishedDocumentFactory
PublisherServiceImpl.getPublishedDocumentFactory
(PublicationTreeConfigDescriptor config, PublicationTreeDescriptor treeDescriptor, CoreSession coreSession, Map<String, String> params) PublisherServiceImpl.getRootSectionFinder
(CoreSession session) PublisherServiceImpl.wrapToPublicationNode
(DocumentModel documentModel, CoreSession coreSession) -
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.task
Modifier and TypeMethodDescriptionprotected void
CoreProxyWithWorkflowFactory.createTask
(DocumentModel document, CoreSession session, NuxeoPrincipal principal) protected void
CoreProxyWithWorkflowFactory.endTask
(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event) protected DocumentModel
CoreProxyWithWorkflowFactory.getLiveDocument
(CoreSession session, DocumentModel proxy) void
CoreProxyWithWorkflowFactory.init
(CoreSession coreSession, ValidatorsRule validatorsRule, Map<String, String> parameters) protected boolean
CoreProxyWithWorkflowFactory.isPublished
(PublishedDocument publishedDocument, CoreSession session) boolean
LookupState.isPublished
(DocumentModel doc, CoreSession session) protected boolean
CoreProxyWithWorkflowFactory.isPublishedDocWaitingForPublication
(DocumentModel doc, CoreSession session) protected void
CoreProxyWithWorkflowFactory.removeACL
(DocumentModel document, CoreSession coreSession) protected void
CoreProxyWithWorkflowFactory.removeProxy
(DocumentModel doc, CoreSession coreSession) protected void
CoreProxyWithWorkflowFactory.restrictPermission
(DocumentModel newProxy, NuxeoPrincipal principal, CoreSession coreSession, ACL acl) ModifierConstructorDescriptionChangePermissionUnrestricted
(CoreSession session, DocumentModel document, String[] validators, NuxeoPrincipal principal, String aclName, ACL acl) DeleteDocumentUnrestricted
(CoreSession session, DocumentModel document) DocumentPublisherUnrestricted
(CoreSession session, DocumentRef docRef, DocumentRef targetRef, NuxeoPrincipal principal, String comment) 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 CoreSession in org.nuxeo.ecm.platform.query.nxql
Modifier and TypeMethodDescriptionprotected CoreSession
CoreQueryAndFetchPageProvider.getCoreSession()
protected CoreSession
CoreQueryDocumentPageProvider.getCoreSession()
Modifier and TypeMethodDescriptionprotected void
CoreQueryDocumentPageProvider.buildQuery
(CoreSession coreSession) ModifierConstructorDescriptionCoreQueryAndFetchUnrestrictedSessionRunner
(CoreSession session, String query, String language) CoreQueryUnrestrictedSessionRunner
(CoreSession session, String query, Filter filter, long limit, long offset, boolean countTotal, long countUpTo, boolean detachDocuments) -
Uses of CoreSession in org.nuxeo.ecm.platform.relations
Modifier and TypeMethodDescriptionCoreGraphFactory.createGraph
(GraphDescription graphDescription, CoreSession session) ModifierConstructorDescriptionCoreGraph
(CoreSession session) A graph with this base session.protected
ResourceFinder
(Resource resource, CoreSession session) protected
SizeFinder
(CoreSession session) protected
StatementAdder
(List<Statement> statements, CoreSession session) protected
StatementFinder
(Statement statement, CoreSession session) protected
StatementRemover
(List<Statement> statements, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.relations.api
Modifier and TypeMethodDescriptionvoid
DocumentRelationManager.addRelation
(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse) Add link between two documentvoid
DocumentRelationManager.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate) Add link between two documentvoid
DocumentRelationManager.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse) Add link between two documentvoid
DocumentRelationManager.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents) Add link between two documentvoid
DocumentRelationManager.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment) Add link between two documentGraphFactory.createGraph
(GraphDescription graphDescription, CoreSession session) Creates an instance of the graph.void
DocumentRelationManager.deleteRelation
(CoreSession session, DocumentModel from, DocumentModel to, String predicate) void
DocumentRelationManager.deleteRelation
(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents) void
DocumentRelationManager.deleteRelation
(CoreSession session, Statement statement) void
DocumentRelationManager.deleteRelation
(CoreSession session, Statement stmt, boolean includeStatementsInEvents) RelationManager.getGraph
(String name, CoreSession session) Gets a registered graph by name. -
Uses of CoreSession in org.nuxeo.ecm.platform.relations.api.util
Modifier and TypeMethodDescriptionstatic DocumentModel
RelationHelper.getDocumentModel
(Node node, CoreSession session) Returns the document model corresponding to a relation node.static DocumentModelList
RelationHelper.getSubjectDocuments
(String graphName, Resource predicat, String stringObject, CoreSession session) static DocumentModelList
RelationHelper.getSubjectDocuments
(Resource predicat, String stringObject, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.relations.jena
Modifier and TypeMethodDescriptionJenaOrCoreGraphFactory.createGraph
(GraphDescription graphDescription, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.relations.services
Modifier and TypeMethodDescriptionvoid
DocumentRelationService.addRelation
(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse) void
DocumentRelationService.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate) void
DocumentRelationService.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse) void
DocumentRelationService.addRelation
(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents) void
DocumentRelationService.addRelation
(CoreSession session, DocumentModel from, Node toResource, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment) void
DocumentRelationService.deleteRelation
(CoreSession session, DocumentModel from, DocumentModel to, String predicate) void
DocumentRelationService.deleteRelation
(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents) void
DocumentRelationService.deleteRelation
(CoreSession session, Statement stmt) void
DocumentRelationService.deleteRelation
(CoreSession session, Statement stmt, boolean includeStatementsInEvents) RelationService.getGraph
(String name, CoreSession session) protected Graph
RelationService.getGraphFromRegistries
(GraphDescription graphDescription, CoreSession session) Gets the graph from the registries.protected void
DocumentRelationService.notifyEvent
(String eventId, DocumentModel source, Map<String, Serializable> options, String comment, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.rendering.fm.adapters
-
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.extension
Modifier and TypeMethodDescriptionAutomationRenderer.render
(DocumentModel doc, RenditionDefinition definition, CoreSession session) Generate the rendition Blobs for a givenRenditionDefinition
. -
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.lazy
Modifier and TypeMethodDescriptionAbstractRenditionBuilderWork.doComputeRendition
(CoreSession session, DocumentModel doc, RenditionDefinition def) Does the actual Rendition Computation: this code will be called from inside an Asynchronous WorkAutomationRenditionBuilder.doComputeRendition
(CoreSession session, DocumentModel doc, RenditionDefinition def) -
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.operation
Modifier and TypeFieldDescriptionprotected CoreSession
GetContainerRendition.session
protected CoreSession
PublishRendition.session
protected CoreSession
UnpublishAll.session
-
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.publisher
Modifier and TypeMethodDescriptionprotected DocumentModel
RenditionPublicationFactory.getLiveDocument
(CoreSession session, DocumentModel proxy) ModifierConstructorDescriptionRemoveACP
(CoreSession session, DocumentRef docRef) protected
RenditionLiveDocFetcher
(CoreSession session, DocumentModel source) -
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.service
Modifier and TypeMethodDescriptionprotected DocumentRef
RenditionServiceImpl.createVersionIfNeeded
(DocumentModel source, CoreSession session) protected StoredRendition
DefaultStoredRenditionManager.toStoredRendition
(DocumentModel storedDoc, RenditionDefinition def, CoreSession coreSession) Wraps the re-attached stored document in aStoredRendition
. -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.api
Modifier and TypeMethodDescriptionvoid
DocumentRouteElement.backToReady
(CoreSession session) Set the step back to the ready state from running or done.void
DocumentRouteElement.cancel
(CoreSession session) Cancel this element.void
DocumentRoutingService.cancelTask
(CoreSession session, String taskId) Cancels an open task.boolean
DocumentRoutingService.canCreateInstance
(CoreSession session, List<String> documentIds, String worflowModelName) Returnstrue
if the workflow model can be started on the document list.boolean
DocumentRouteElement.canDeleteStep
(CoreSession session) If this session can delete this step.boolean
DocumentRouteElement.canUndoStep
(CoreSession session) If this step can be undone.boolean
DocumentRouteElement.canUpdateStep
(CoreSession session) If this session can update this step.boolean
DocumentRoutingService.canValidateRoute
(DocumentModel documentRoute, CoreSession coreSession) Checks if the principal that created the client session can validate the routeboolean
DocumentRouteElement.canValidateStep
(CoreSession session) If this session can validate the step.void
DocumentRoutingService.completeTask
(String routeId, String taskId, Map<String, Object> data, String status, CoreSession session) Completes a task on a give node.DocumentRoutingPersister.createDocumentRouteInstanceFromDocumentRouteModel
(DocumentModel model, CoreSession session) Creates a blankDocumentRoute
instance from a model.DocumentRoutingService.createNewInstance
(String routeModelId, List<String> docIds, Map<String, Serializable> map, CoreSession session, boolean startInstance) Creates a new route instance and optionally starts it.DocumentRoutingService.createNewInstance
(String routeModelId, List<String> docIds, CoreSession session, boolean startInstance) Creates a new route instance and optionally starts it.DocumentRoutingService.createNewInstance
(DocumentRoute model, List<String> documentIds, CoreSession session, boolean startInstance) Create a newDocumentRoute
instance from thisDocumentRoute
model.void
DocumentRoutingService.delegateTask
(CoreSession session, String taskId, List<String> delegatedActors, String comment) Reassigns the given task to the list of actors.void
DocumentRoutingService.endTask
(CoreSession session, Task task, Map<String, Object> data, String status) Ends a task.void
DocumentRouteElement.followTransition
(DocumentRouteElement.ElementLifeCycleTransistion transition, CoreSession session, boolean recursive) make this element follow a transition.DocumentRouteElement.getAttachedDocuments
(CoreSession session) Return the list of documents that this route processes.DocumentRoutingService.getAvailableDocumentRoute
(CoreSession session) Return the list of availableDocumentRoute
document route.DocumentRoutingService.getAvailableDocumentRouteModel
(CoreSession session) Return the list of availableDocumentRoute
model the user can start.DocumentRoutingService.getDocumentRelatedWorkflows
(DocumentModel document, CoreSession session) DocumentRouteElement.getDocumentRoute
(CoreSession session) Return the DocumentRoute this element is part of.DocumentRoutingService.getDocumentRoutesForAttachedDocument
(CoreSession session, String attachedDocId) DocumentRoutingService.getDocumentRoutesForAttachedDocument
(CoreSession session, String attachedDocId, List<DocumentRouteElement.ElementLifeCycleState> states) Return the list of relatedDocumentRoute
in a state for a given attached document.LockableDocumentRoute.getLockOwner
(CoreSession session) DocumentRoutingPersister.getOrCreateRootOfDocumentRouteInstanceStructure
(CoreSession session) Will get, and create if it does not exists the root document in whichDocumentRoute
structure will be created.DocumentRoutingPersister.getParentFolderForDocumentRouteInstance
(DocumentModel document, CoreSession session) Get or create the parent folder for aDocumentRoute
route instance.DocumentRoutingPersister.getParentFolderForDocumentRouteModels
(CoreSession session) Gets or creates the parent folder for aDocumentRoute
route instance.DocumentRoutingPersister.getParentFolderForNewModel
(CoreSession session, DocumentModel instance) Returns a folder in which new model, created from an instance of route will be stored.DocumentRoutingService.getRouteModelDocIdWithId
(CoreSession session, String id) Returns the doc id of the route model with the given idDocumentRoutingService.getRouteModelWithId
(CoreSession session, String id) Returns the route model with the given idDocumentRoutingService.getRunnableWorkflows
(CoreSession session, List<String> documentIds) Returns a list of runnable document routes for the input document IDs.DocumentRoutingService.getRunningWorkflowInstancesLaunchedByCurrentUser
(CoreSession session) DocumentRoutingService.getRunningWorkflowInstancesLaunchedByCurrentUser
(CoreSession session, String worflowModelName) 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.DocumentRoutingService.getWorkflowInputDocuments
(CoreSession session, Task task) Gets the documents following the workflow to which the given task belongsvoid
DocumentRoutingService.grantPermissionToTaskAssignees
(CoreSession session, String permission, List<DocumentModel> docs, Task task) Grants on these documents the specified assignees permissions for this task.void
DocumentRoutingService.grantPermissionToTaskDelegatedActors
(CoreSession session, String permission, List<DocumentModel> docs, Task task) Grants on these documents the specified assignees permissions for this task to the tasks delegated actors.void
DocumentRoutingService.importAllRouteModels
(CoreSession session) Imports all the route models resource templates.DocumentRoutingService.importRouteModel
(URL templateResource, boolean overwrite, CoreSession session) Creates a route model in the root models folder defined by the current persister.boolean
LockableDocumentRoute.isLocked
(CoreSession session) boolean
DocumentRoutingService.isLockedByCurrentUser
(DocumentRoute routeModel, CoreSession session) Verify is thisDocumentRoute
is already locked by the current user.boolean
LockableDocumentRoute.isLockedByCurrentUser
(CoreSession session) void
LockableDocumentRoute.lockDocument
(CoreSession session) void
DocumentRoutingService.lockDocumentRoute
(DocumentRoute routeModel, CoreSession session) Locks thisDocumentRoute
if not already locked by the current user.void
DocumentRoutingService.makeRoutingTasks
(CoreSession session, List<Task> tasks) Deprecated.The facet RoutingTask is statically attached to the new RoutingTask Document type since 7.1boolean
DocumentRoutingService.purgeDocumentRoute
(CoreSession session, DocumentRoute route) Remove the workflow instance if it is canceled, done or orphan.void
DocumentRoutingService.reassignTask
(CoreSession session, String taskId, List<String> actors, String comment) Reassigns the given task to the list of actors.void
DocumentRoutingService.removePermissionFromTaskAssignees
(CoreSession session, List<DocumentModel> docs, Task task) Removes on these documents the specified assignees permissions for this task.void
DocumentRoutingService.removePermissionsForTaskActors
(CoreSession session, List<DocumentModel> docs, String taskId) Removes on these documents the specified assignees permissions for the task actors and also tasks delegated actors if this task was delegatedvoid
DocumentRoutingService.removePermissionsForTaskActors
(CoreSession session, List<DocumentModel> docs, Task task) Removes on these documents the specified assignees permissions for the task actors and also tasks delegated actors if this task was delegatedvoid
DocumentRouteElement.resume
(CoreSession session, String nodeId, String taskId, Map<String, Object> data, String status) Resumes execution on a route node.void
DocumentRoutingService.resumeInstance
(String routeId, String nodeId, Map<String, Object> data, String status, CoreSession session) Resumes a route instance on a give node.void
DocumentRouteElement.run
(CoreSession session) Execute this element.void
DocumentRouteElement.run
(CoreSession session, Map<String, Serializable> map) Execute this element.void
DocumentRouteElement.save
(CoreSession session) save the document representing this DocumentRoute.DocumentRoutingPersister.saveDocumentRouteInstanceAsNewModel
(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session) DocumentRoutingService.saveRouteAsNewModel
(DocumentRoute route, CoreSession session) Save a route instance as a new model of route.DocumentRoutingService.searchRouteModels
(CoreSession session, String searchString) Returns the route models matching thesearchString
.void
DocumentRouteElement.setCanceled
(CoreSession session) Set the step to a cancel step.void
DocumentRouteElement.setCanDeleteStep
(CoreSession session, String userOrGroup) make this user or group step deleter.void
DocumentRouteElement.setCanReadStep
(CoreSession session, String userOrGroup) make this user or group a step reader.void
DocumentRouteElement.setCanUpdateStep
(CoreSession session, String userOrGroup) make this user or group a step updater.void
DocumentRouteElement.setCanValidateStep
(CoreSession session, String userOrGroup) make this user or group a validator for this step.void
DocumentRouteElement.setDone
(CoreSession session) set this element as done.void
DocumentRouteElement.setReadOnly
(CoreSession session) remove write rights to everyone but the administrators.void
DocumentRouteElement.setReady
(CoreSession session) set this element as ready.void
DocumentRouteElement.setRunning
(CoreSession session) set this element as running.void
DocumentRouteElement.setValidated
(CoreSession session) set this element as validated.void
DocumentRoutingService.startInstance
(String routeInstanceId, List<String> docIds, Map<String, Serializable> map, CoreSession session) Starts an instance that was created withDocumentRoutingService.createNewInstance(java.lang.String, java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.io.Serializable>, org.nuxeo.ecm.core.api.CoreSession, boolean)
but withstartInstance = false
.void
LockableDocumentRoute.unlockDocument
(CoreSession session) void
DocumentRoutingService.unlockDocumentRoute
(DocumentRoute routeModel, CoreSession session) Unlocks thisDocumentRoute
.If the document is not locked throws aDocumentRouteNotLockedException
DocumentRoutingService.unlockDocumentRouteUnrestrictedSession
(DocumentRoute routeModel, CoreSession userSession) Unlock the givenDocumentRoute
model under unrestricted session.void
DocumentRoutingService.updateRouteElement
(DocumentRouteElement routeModel, CoreSession session) Update the given route elementvoid
DocumentRouteElement.validate
(CoreSession session) Set this element to the validate state and put it in read only mode.DocumentRoutingService.validateRouteModel
(DocumentRoute routeModel, CoreSession session) Validates the givenDocumentRoute
model by changing its lifecycle state and setting it and all its children in ReadOnly. -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.api.operation
Modifier and TypeFieldDescriptionprotected CoreSession
MapPropertiesOnTaskOperation.session
protected CoreSession
UpdateCommentsInfoOnDocumentOperation.session
Modifier and TypeMethodDescriptionprotected void
BulkRestartWorkflow.reinitLifecycle
(List<String> docIds, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.api
Modifier and TypeMethodDescriptionvoid
DocumentRoutingEngineService.cancel
(DocumentRoute routeInstance, CoreSession session) Cancels a route using an unrestricted session.DocumentRoutingEscalationService.queryForSuspendedNodesWithEscalation
(CoreSession session) Deprecated.since 2023.0, this method doesn't scale, use theCoreSession
query APIs withDocumentRoutingEscalationService.SUSPENDED_NODES_WITH_ESCALATION_QUERY
insteadvoid
DocumentRoutingEngineService.resume
(DocumentRoute routeInstance, String nodeId, String taskId, Map<String, Object> data, String status, CoreSession session) Resumes a route, optionnally for a given task only.void
DocumentRoutingEscalationService.scheduleExecution
(GraphNode.EscalationRule rule, CoreSession session) Deprecated.since 2023.0, it was replaced byDocumentRoutingEscalationAction
void
DocumentRoutingEngineService.start
(DocumentRoute routeInstance, Map<String, Serializable> map, CoreSession session) Starts a route. -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.api.operation
Modifier and TypeFieldDescriptionprotected CoreSession
CancelWorkflowOperation.session
protected CoreSession
CompleteTaskOperation.session
protected CoreSession
GetOpenTasksOperation.session
protected CoreSession
GetTaskNamesOperation.session
protected CoreSession
ResumeNodeOperation.session
protected CoreSession
SetWorkflowVar.session
protected CoreSession
SetWorkflowVariablesOperation.session
protected CoreSession
StartWorkflowOperation.session
Modifier and TypeMethodDescriptionprotected DocumentModelList
GetTaskNamesOperation.getAllUserOpenTask
(CoreSession session, Locale locale, String searchTerm, boolean partialMatch) Returns all user tasks having their translated name matching ( partially or fully ) the given label. -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.audit.es
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.bulk
Modifier and TypeMethodDescriptionprotected void
DocumentRoutingEscalationAction.DocumentRoutingEscalationComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
GarbageCollectRoutesAction.GarbageCollectRoutesComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.impl
Modifier and TypeMethodDescriptionvoid
DocumentRouteElementImpl.backToReady
(CoreSession session) void
AbstractRunner.cancel
(CoreSession session, DocumentRouteElement element) void
DocumentRouteElementImpl.cancel
(CoreSession session) void
DocumentRoutingEngineServiceImpl.cancel
(DocumentRoute routeInstance, CoreSession session) void
ElementRunner.cancel
(CoreSession session, DocumentRouteElement element) Cancel this element.void
GraphRunner.cancel
(CoreSession session, DocumentRouteElement element) void
DocumentRoutingServiceImpl.cancelTask
(CoreSession s, String taskId) protected void
GraphNodeImpl.cancelTask
(CoreSession session, String taskId) boolean
DocumentRoutingServiceImpl.canCreateInstance
(CoreSession session, List<String> documentIds, String workflowModelName) boolean
DocumentRouteElementImpl.canDeleteStep
(CoreSession session) boolean
DocumentRouteElementImpl.canUndoStep
(CoreSession session) boolean
DocumentRouteImpl.canUndoStep
(CoreSession session) boolean
DocumentRouteElementImpl.canUpdateStep
(CoreSession session) boolean
DocumentRoutingServiceImpl.canValidateRoute
(DocumentModel documentRoute, CoreSession coreSession) boolean
DocumentRouteElementImpl.canValidateStep
(CoreSession session) void
DocumentRoutingServiceImpl.completeTask
(String routeId, String taskId, Map<String, Object> data, String status, CoreSession session) protected void
DocumentRoutingServiceImpl.completeTask
(String routeId, String nodeId, Task task, Map<String, Object> data, String status, CoreSession session) DocumentRoutingTreePersister.createDocumentRouteInstanceFromDocumentRouteModel
(DocumentModel model, CoreSession session) protected DocumentModel
DocumentRoutingTreePersister.createDocumentRoutesStructure
(String routeStructureDocType, String id, CoreSession session) Finds the first domain by name, and creates under it the root container for the structure containing the route instances.protected DocumentModel
DocumentRoutingTreePersister.createModelsRoutesStructure
(String routeStructureDocType, String id, CoreSession session) Create the rootModels under to root document.DocumentRoutingServiceImpl.createNewInstance
(String routeModelId, List<String> docIds, Map<String, Serializable> map, CoreSession s, boolean startInstance) DocumentRoutingServiceImpl.createNewInstance
(String routeModelId, List<String> docIds, CoreSession session, boolean startInstance) DocumentRoutingServiceImpl.createNewInstance
(DocumentRoute model, List<String> docIds, CoreSession session, boolean startInstance) protected void
GraphRunner.createTask
(CoreSession session, GraphRoute graph, GraphNode node) void
DocumentRoutingServiceImpl.delegateTask
(CoreSession s, String taskId, List<String> delegatedActors, String comment) void
DocumentRoutingServiceImpl.endTask
(CoreSession session, Task task, Map<String, Object> data, String status) protected void
GraphRunner.finishTask
(CoreSession session, GraphRoute graph, GraphNode node, Task task, boolean delete) protected void
GraphRunner.finishTask
(CoreSession session, GraphRoute graph, GraphNode node, Task task, boolean delete, String status) static void
AuditEventFirer.fireEvent
(CoreSession coreSession, DocumentRouteElement element, Map<String, Serializable> eventProperties, String eventName, DocumentModel doc) protected static void
DocumentRoutingServiceImpl.fireEvent
(String eventName, Map<String, Serializable> eventProperties, DocumentRoute route, CoreSession session) static void
EventFirer.fireEvent
(CoreSession coreSession, List<DocumentModel> docs, Map<String, Serializable> eventProperties, String eventName) Fires an event in the category 'routing' for every document in the liststatic void
EventFirer.fireEvent
(CoreSession coreSession, DocumentRouteElement element, Map<String, Serializable> eventProperties, String eventName) protected void
DocumentRoutingServiceImpl.fireEventAfterWorkflowStarted
(DocumentRoute route, CoreSession session) protected void
DocumentRouteImpl.fireWorkflowCompletionEvent
(CoreSession session) void
DocumentRouteElementImpl.followTransition
(DocumentRouteElement.ElementLifeCycleTransistion transition, CoreSession session, boolean recursive) DocumentRouteElementImpl.getAttachedDocuments
(CoreSession session) DocumentRoutingServiceImpl.getAvailableDocumentRoute
(CoreSession session) DocumentRoutingServiceImpl.getAvailableDocumentRouteModel
(CoreSession session) protected List<DocumentRouteElement>
AbstractRunner.getChildrenElement
(CoreSession session, DocumentRouteElement element) DocumentRoutingServiceImpl.getDocumentRelatedWorkflows
(DocumentModel document, CoreSession session) DocumentRouteElementImpl.getDocumentRoute
(CoreSession session) DocumentRoutingServiceImpl.getDocumentRoutesForAttachedDocument
(CoreSession session, String attachedDocId) DocumentRoutingServiceImpl.getDocumentRoutesForAttachedDocument
(CoreSession session, String attachedDocId, List<DocumentRouteElement.ElementLifeCycleState> states) protected DocumentModel
DocumentRoutingTreePersister.getDocumentRoutesStructure
(String type, CoreSession session) protected OperationContext
DocumentRoutingEscalationServiceImpl.getExecutionContext
(CoreSession session, GraphNode node, boolean handleTransaction) protected OperationContext
GraphNodeImpl.getExecutionContext
(CoreSession session) boolean
DocumentRoutingEscalationServiceImpl.EscalationRuleWork.getExecutionStatus
(GraphNode.EscalationRule rule, CoreSession session) Deprecated.Used to check the executed status when the escalationRule is run by a worker in a work queueLockableDocumentRouteImpl.getLockOwner
(CoreSession session) DocumentRoutingTreePersister.getOrCreateRootOfDocumentRouteInstanceStructure
(CoreSession session) DocumentRoutingTreePersister.getParentFolderForDocumentRouteInstance
(DocumentModel document, CoreSession session) DocumentRoutingTreePersister.getParentFolderForDocumentRouteModels
(CoreSession session) DocumentRoutingTreePersister.getParentFolderForNewModel
(CoreSession session, DocumentModel instance) DocumentRoutingServiceImpl.getRouteModelDocIdWithId
(CoreSession session, String id) DocumentRoutingServiceImpl.getRouteModelWithId
(CoreSession session, String id) DocumentRoutingServiceImpl.getRunnableWorkflows
(CoreSession session, List<String> documentIds) DocumentRoutingServiceImpl.getRunningWorkflowInstancesLaunchedByCurrentUser
(CoreSession session) DocumentRoutingServiceImpl.getRunningWorkflowInstancesLaunchedByCurrentUser
(CoreSession session, String worflowModelName) 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.protected Map<String,
Serializable> DocumentRoutingServiceImpl.getWorkflowContextualInfo
(CoreSession session, Task item) GraphNode.getWorkflowContextualInfo
(CoreSession session, boolean detached) Gets a map containing the workflow and node variables and workflow documents.GraphNodeImpl.getWorkflowContextualInfo
(CoreSession session, boolean detached) DocumentRoutingServiceImpl.getWorkflowInputDocuments
(CoreSession session, Task task) void
DocumentRoutingServiceImpl.grantPermissionToTaskAssignees
(CoreSession session, String permission, List<DocumentModel> docs, Task task) void
DocumentRoutingServiceImpl.grantPermissionToTaskDelegatedActors
(CoreSession session, String permission, List<DocumentModel> docs, Task task) protected boolean
DocumentRouteElementImpl.hasPermissionOnDocument
(CoreSession session, String permission) void
DocumentRoutingServiceImpl.importAllRouteModels
(CoreSession session) DocumentRoutingServiceImpl.importRouteModel
(URL modelToImport, boolean overwrite, CoreSession session) boolean
LockableDocumentRouteImpl.isLocked
(CoreSession session) boolean
DocumentRoutingServiceImpl.isLockedByCurrentUser
(DocumentRoute routeModel, CoreSession session) boolean
LockableDocumentRouteImpl.isLockedByCurrentUser
(CoreSession session) void
LockableDocumentRouteImpl.lockDocument
(CoreSession session) void
DocumentRoutingServiceImpl.lockDocumentRoute
(DocumentRoute routeModel, CoreSession session) void
DocumentRoutingServiceImpl.makeRoutingTasks
(CoreSession coreSession, List<Task> tasks) Deprecated.protected void
DocumentRoutingServiceImpl.prepareAndFireEvent
(Serializable actors, DocumentRoutingConstants.Events event, String comment, CoreSession session, Task task, GraphRoute routeInstance) boolean
DocumentRoutingServiceImpl.purgeDocumentRoute
(CoreSession session, DocumentRoute route) DocumentRoutingEscalationServiceImpl.queryForSuspendedNodesWithEscalation
(CoreSession session) Deprecated.void
DocumentRoutingServiceImpl.reassignTask
(CoreSession s, String taskId, List<String> actors, String comment) void
DocumentRoutingServiceImpl.removePermissionFromTaskAssignees
(CoreSession s, List<DocumentModel> docs, Task task) void
DocumentRoutingServiceImpl.removePermissionsForTaskActors
(CoreSession s, List<DocumentModel> docs, String taskId) void
DocumentRoutingServiceImpl.removePermissionsForTaskActors
(CoreSession session, List<DocumentModel> docs, Task task) void
AbstractRunner.resume
(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String, Object> data, String status) void
DocumentRouteElementImpl.resume
(CoreSession session, String nodeId, String taskId, Map<String, Object> data, String status) void
DocumentRoutingEngineServiceImpl.resume
(DocumentRoute routeInstance, String nodeId, String taskId, Map<String, Object> data, String status, CoreSession session) void
ElementRunner.resume
(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String, Object> data, String status) Resumes this graph route on a given node.void
GraphRunner.resume
(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String, Object> varData, String status) void
DocumentRoutingServiceImpl.resumeInstance
(String routeId, String nodeId, Map<String, Object> data, String status, CoreSession session) void
GraphRoute.resumeParentRoute
(CoreSession session) Resumes execution of the parent route from which this graph was started.void
GraphRouteImpl.resumeParentRoute
(CoreSession session) void
AbstractRunner.run
(CoreSession session, DocumentRouteElement element, Map<String, Serializable> map) void
DocumentRouteElementImpl.run
(CoreSession session) void
DocumentRouteElementImpl.run
(CoreSession session, Map<String, Serializable> map) void
ElementRunner.run
(CoreSession session, DocumentRouteElement element) Run this element.void
ElementRunner.run
(CoreSession session, DocumentRouteElement element, Map<String, Serializable> map) Run this element.void
GraphRunner.run
(CoreSession session, DocumentRouteElement element) void
GraphRunner.run
(CoreSession session, DocumentRouteElement element, Map<String, Serializable> map) protected void
GraphRunner.runGraph
(CoreSession session, DocumentRouteElement element, GraphNode initialNode) Runs the graph starting with the given node.void
DocumentRouteElementImpl.save
(CoreSession session) DocumentRoutingTreePersister.saveDocumentRouteInstanceAsNewModel
(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session) DocumentRoutingServiceImpl.saveRouteAsNewModel
(DocumentRoute instance, CoreSession session) void
DocumentRoutingEscalationServiceImpl.scheduleExecution
(GraphNode.EscalationRule rule, CoreSession session) Deprecated.DocumentRoutingServiceImpl.searchRouteModels
(CoreSession session, String searchString) protected void
DocumentRoutingServiceImpl.setAclForActors
(CoreSession s, String aclName, String permission, List<DocumentModel> docs, List<String> actors) void
DocumentRouteElementImpl.setCanceled
(CoreSession session) void
DocumentRouteElementImpl.setCanDeleteStep
(CoreSession session, String userOrGroup) void
DocumentRouteElementImpl.setCanReadStep
(CoreSession session, String userOrGroup) void
DocumentRouteElementImpl.setCanUpdateStep
(CoreSession session, String userOrGroup) void
DocumentRouteElementImpl.setCanValidateStep
(CoreSession session, String userOrGroup) void
DocumentRouteElementImpl.setDone
(CoreSession session) void
DocumentRouteImpl.setDone
(CoreSession session) void
DocumentRouteStepsContainerImpl.setDone
(CoreSession session) protected void
DocumentRouteElementImpl.setPermissionOnDocument
(CoreSession session, String userOrGroup, String permission) void
DocumentRouteElementImpl.setReadOnly
(CoreSession session) void
DocumentRouteElementImpl.setReady
(CoreSession session) void
DocumentRouteElementImpl.setRunning
(CoreSession session) void
DocumentRouteElementImpl.setValidated
(CoreSession session) void
DocumentRoutingEngineServiceImpl.start
(DocumentRoute routeInstance, Map<String, Serializable> map, CoreSession session) void
DocumentRoutingServiceImpl.startInstance
(String routeInstanceId, List<String> docIds, Map<String, Serializable> map, CoreSession s) protected DocumentModel
DocumentRoutingTreePersister.undoReadOnlySecurityPolicy
(DocumentModel instance, CoreSession session) void
LockableDocumentRouteImpl.unlockDocument
(CoreSession session) void
DocumentRoutingServiceImpl.unlockDocumentRoute
(DocumentRoute routeModel, CoreSession session) DocumentRoutingServiceImpl.unlockDocumentRouteUnrestrictedSession
(DocumentRoute routeModel, CoreSession userSession) void
DocumentRoutingServiceImpl.updateRouteElement
(DocumentRouteElement routeElement, CoreSession session) protected void
DocumentRoutingServiceImpl.updateTaskInfo
(CoreSession session, GraphRoute graph, Task task, String status) void
DocumentRouteElementImpl.validate
(CoreSession session) void
DocumentRouteStepsContainerImpl.validate
(CoreSession session) DocumentRoutingServiceImpl.validateRouteModel
(DocumentRoute routeModel, CoreSession userSession) ModifierConstructorDescriptionprotected
AttachedDocumentsChecker
(CoreSession session, String workflowInstanceId) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.impl.jsongraph
ModifierConstructorDescriptionJsonGraphRoute
(CoreSession session, String docId, Locale locale) JsonGraphRoute
(CoreSession session, GraphRoute graphRoute, Locale locale) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.io
Modifier and TypeMethodDescriptionprotected static ActionContext
TaskWriter.createActionContext
(CoreSession session) Deprecated.since 11.1 useTaskWriter.createActionContext(CoreSession, GraphNode)
insteadprotected static ActionContext
TaskWriter.createActionContext
(CoreSession session, GraphNode node) ModifierConstructorDescriptionNodeAccessRunner
(CoreSession session, String workflowInstanceId, String nodeId) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.listener
Modifier and TypeMethodDescriptionprotected void
DocumentRouteOrphanedListener.deleteOrphanDocumentRoutes
(CoreSession session, String id) Removes the given id from DocumentRoutes attached documents list and deletes the DocumentRoutes if they are not attached to a document anymore.protected void
DocumentRouteDeletedListener.deleteOrphanTasks
(CoreSession session, String id) Deprecated.Deletes all tasks whose process id matches the given DocumentRoute id.protected void
DocumentRouteOrphanedListener.deleteOrphanTasks
(CoreSession session, String id) void
RouteModelsInitializator.doInitializeRepository
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.persistence
Modifier and TypeMethodDescriptionstatic DocumentModel
TreeHelper.getOrCreate
(CoreSession session, String rootPath, String id, String folderType) static DocumentModel
TreeHelper.getOrCreateDateTreeFolder
(CoreSession session, DocumentModel root, Date date, String folderType) Find or create a set of folders representing the date hierarchystatic DocumentModel
TreeHelper.getOrCreatePath
(CoreSession session, DocumentModel root, String subPath, String folderType) -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.provider
-
Uses of CoreSession in org.nuxeo.ecm.platform.scanimporter.processor
Modifier and TypeMethodDescriptionScanedFileFactory.createFolderishNode
(CoreSession session, DocumentModel parent, SourceNode node) ScanedFileFactory.createLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) protected DocumentModel
ScanedFileFactory.defaultCreateLeafNode
(CoreSession session, DocumentModel parent, SourceNode node) -
Uses of CoreSession in org.nuxeo.ecm.platform.search.core
Modifier and TypeMethodDescriptionSavedSearchService.createSavedSearch
(CoreSession session, String title, String queryParams, Map<String, String> namedParams, String query, String queryLanguage, String pageProviderName, Long pageSize, Long currentPageIndex, Long maxResults, String sortBy, String sortOrder, String contentViewData) SavedSearchServiceImpl.createSavedSearch
(CoreSession session, String title, String queryParams, Map<String, String> namedParams, String query, String queryLanguage, String pageProviderName, Long pageSize, Long currentPageIndex, Long maxResults, String sortBy, String sortOrder, String contentViewData) void
SavedSearchService.deleteSavedSearch
(CoreSession session, SavedSearch search) void
SavedSearchServiceImpl.deleteSavedSearch
(CoreSession session, SavedSearch search) SavedSearchService.getSavedSearch
(CoreSession session, String id) SavedSearchServiceImpl.getSavedSearch
(CoreSession session, String id) SavedSearchService.saveSavedSearch
(CoreSession session, SavedSearch search) SavedSearchServiceImpl.saveSavedSearch
(CoreSession session, SavedSearch search) -
Uses of CoreSession in org.nuxeo.ecm.platform.shibboleth
Modifier and TypeMethodDescriptionstatic DocumentModel
ShibbolethGroupHelper.getBareGroupModel
(CoreSession core) -
Uses of CoreSession in org.nuxeo.ecm.platform.suggestbox.automation
-
Uses of CoreSession in org.nuxeo.ecm.platform.suggestbox.service
-
Uses of CoreSession in org.nuxeo.ecm.platform.tag
Modifier and TypeMethodDescriptionboolean
AbstractTagService.canUntag
(CoreSession session, String docId, String label) boolean
FacetedTagService.canUntag
(CoreSession session, String docId, String label) boolean
TagService.canUntag
(CoreSession session, String docId, String label) Returns whether or not the current session can untag tag on provided document.void
AbstractTagService.copyTags
(CoreSession session, String srcDocId, String dstDocId) protected void
AbstractTagService.copyTags
(CoreSession session, String srcDocId, String dstDocId, boolean removeExistingTags) void
TagService.copyTags
(CoreSession session, String srcDocId, String dstDocId) Copy all the tags applied to the source document to the destination document.abstract void
AbstractTagService.doCopyTags
(CoreSession session, String srcDocId, String dstDocId, boolean removeExistingTags) void
FacetedTagService.doCopyTags
(CoreSession session, String srcDocId, String dstDocId, boolean removeExistingTags) AbstractTagService.doGetTagDocumentIds
(CoreSession session, String label) FacetedTagService.doGetTagDocumentIds
(CoreSession session, String label) AbstractTagService.doGetTags
(CoreSession session, String docId) FacetedTagService.doGetTags
(CoreSession session, String docId) AbstractTagService.doGetTagSuggestions
(CoreSession session, String label) FacetedTagService.doGetTagSuggestions
(CoreSession session, String label) abstract void
AbstractTagService.doTag
(CoreSession session, String docId, String label, String username) void
FacetedTagService.doTag
(CoreSession session, String docId, String label, String username) abstract void
AbstractTagService.doUntag
(CoreSession session, String docId, String label) void
FacetedTagService.doUntag
(CoreSession session, String docId, String label) protected void
AbstractTagService.fireUpdateEvent
(CoreSession session, String docId) protected static List<Map<String,
Serializable>> AbstractTagService.getItems
(String pageProviderName, CoreSession session, Object... params) Returns results from calls toqueryAndFetch(String, String, Object...)
using page providers.AbstractTagService.getSuggestions
(CoreSession session, String label) TagService.getSuggestions
(CoreSession session, String label) Gets suggestions for a given tag label prefix.AbstractTagService.getTagDocumentIds
(CoreSession session, String label) TagService.getTagDocumentIds
(CoreSession session, String label) Gets the documents to which a tag is applied.AbstractTagService.getTags
(CoreSession session, String docId) TagService.getTags
(CoreSession session, String docId) Gets the tags applied to a document.void
AbstractTagService.removeTags
(CoreSession session, String docId) void
TagService.removeTags
(CoreSession session, String docId) Removes all the tags applied to a document.void
AbstractTagService.replaceTags
(CoreSession session, String srcDocId, String dstDocId) void
TagService.replaceTags
(CoreSession session, String srcDocId, String dstDocId) Replace all the existing tags applied on the destination document by the ones applied on the source document.protected void
FacetedTagService.saveDocument
(CoreSession session, DocumentModel doc) boolean
FacetedTagService.supportsTag
(CoreSession session, String docId) boolean
TagService.supportsTag
(CoreSession session, String docId) Checks if document support tag.void
AbstractTagService.tag
(CoreSession session, String docId, String label) void
TagService.tag
(CoreSession session, String docId, String label) Tags a document with a given tag.void
AbstractTagService.untag
(CoreSession session, String docId, String label) void
TagService.untag
(CoreSession session, String docId, String label) Untags a document of the given tag -
Uses of CoreSession in org.nuxeo.ecm.platform.tag.automation
-
Uses of CoreSession in org.nuxeo.ecm.platform.tag.operations
Modifier and TypeFieldDescriptionprotected CoreSession
RemoveDocumentTags.session
protected CoreSession
TagDocument.session
protected CoreSession
UntagDocument.session
-
Uses of CoreSession in org.nuxeo.ecm.platform.task
Modifier and TypeMethodDescriptionTaskService.acceptTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) Ends the task using event nameTaskEventNames.WORKFLOW_TASK_COMPLETED
and marking the task as validated.void
Task.cancel
(CoreSession coreSession) void
TaskImpl.cancel
(CoreSession coreSession) 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.TaskService.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) Creates a task and starts it.TaskService.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) Creates a task and starts it.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.default void
TaskService.delegateTask
(CoreSession session, String taskId, List<String> actors, String comment) Delegates the given task to the list of actors.void
TaskService.delegateTask
(CoreSession session, String taskId, List<String> actors, String comment, Map<String, Serializable> eventInfo) void
TaskService.deleteTask
(CoreSession coreSession, String taskId) Remove the documentTask identified by the given taskId if coreSession's principal has the Remove permission.void
Task.end
(CoreSession coreSession) void
TaskImpl.end
(CoreSession coreSession) TaskProvider.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskTaskService.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Ends the taskprotected void
TaskImpl.followTransition
(CoreSession coreSession, String transition) TaskProvider.getAllCurrentTaskInstances
(CoreSession session, List<SortInfo> sortInfos) Returns the list of task instances associated assigned to the current user.TaskProvider.getAllTaskInstances
(String processId, String nodeId, CoreSession session) Returns all the tasks instances for the givenprocessId
originating from the givennodeId
.TaskProvider.getAllTaskInstances
(String processId, List<String> actors, CoreSession session) Returns all the tasks instances for the givenprocessId
which assigned to one of the actor in the list or its pool.TaskProvider.getAllTaskInstances
(String processId, CoreSession session) Returns all the tasks instances for the givenprocessId
.TaskProvider.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) Returns all the tasks instances for the givenprocessId
and where the user is the actor or belongs to the pooled actor list.TaskProvider.getCurrentTaskInstances
(List<String> actors, CoreSession coreSession) Returns a list of task instances assigned to one of the actors in the list or to its pool.TaskProvider.getCurrentTaskInstances
(List<String> actors, CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)TaskProvider.getCurrentTaskInstances
(CoreSession coreSession) TaskProvider.getCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)TaskService.getTargetDocumentModel
(Task ti, CoreSession coreSession) TaskService.getTask
(CoreSession coreSession, String taskId) TaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.TaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.TaskProvider.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.TaskService.getTaskRootParentPath
(CoreSession coreSession) Default value is /task-rootdefault void
TaskService.reassignTask
(CoreSession session, String taskId, List<String> actors, String comment) Reassign the given task to the list of actors.void
TaskService.reassignTask
(CoreSession session, String taskId, List<String> actors, String comment, Map<String, Serializable> eventInfo) TaskService.rejectTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) Ends the task using event nameTaskEventNames.WORKFLOW_TASK_REJECTED
and marking the task as not validated. -
Uses of CoreSession in org.nuxeo.ecm.platform.task.core.service
Modifier and TypeMethodDescriptionTaskServiceImpl.acceptTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) void
CreateTaskUnrestricted.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) TaskServiceImpl.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath, Map<String, Serializable> eventInfo) TaskServiceImpl.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) TaskServiceImpl.createTask
(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String, String> taskVariables, String parentPath) 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) void
TaskServiceImpl.delegateTask
(CoreSession session, String taskId, List<String> delegatedActors, String comment, Map<String, Serializable> eventInfo) void
TaskServiceImpl.deleteTask
(CoreSession coreSession, String taskId) DocumentTaskProvider.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) TaskServiceImpl.endTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated) Use the task provider held by theTask.TASK_PROVIDER_KEY
task variable to end thetask
.DocumentTaskProvider.getAllCurrentTaskInstances
(CoreSession session, List<SortInfo> sortInfos) TaskServiceImpl.getAllCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) DocumentTaskProvider.getAllTaskInstances
(String processId, String nodeId, CoreSession session) DocumentTaskProvider.getAllTaskInstances
(String processId, List<String> actors, CoreSession session) DocumentTaskProvider.getAllTaskInstances
(String processId, CoreSession session) DocumentTaskProvider.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, String nodeId, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, List<String> actors, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, CoreSession session) TaskServiceImpl.getAllTaskInstances
(String processId, NuxeoPrincipal user, CoreSession session) DocumentTaskProvider.getCurrentTaskInstances
(List<String> actors, CoreSession coreSession) Returns a list of task instances assigned to one of the actors in the list or to its pool.DocumentTaskProvider.getCurrentTaskInstances
(List<String> actors, CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeDocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)DocumentTaskProvider.getCurrentTaskInstances
(CoreSession coreSession) DocumentTaskProvider.getCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeDocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)TaskServiceImpl.getCurrentTaskInstances
(List<String> actors, CoreSession coreSession) Returns a list of task instances assigned to one of the actors in the list or to its pool.TaskServiceImpl.getCurrentTaskInstances
(List<String> actors, CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeTaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)TaskServiceImpl.getCurrentTaskInstances
(CoreSession coreSession) TaskServiceImpl.getCurrentTaskInstances
(CoreSession coreSession, List<SortInfo> sortInfos) Provide @param sortInfo to handle sort page-provider contributions (seeTaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)TaskServiceImpl.getTargetDocumentModel
(Task task, CoreSession coreSession) TaskServiceImpl.getTask
(CoreSession coreSession, String taskId) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) DocumentTaskProvider.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) TaskServiceImpl.getTaskInstances
(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session) TaskServiceImpl.getTaskInstances
(DocumentModel dm, List<String> actors, CoreSession coreSession) TaskServiceImpl.getTaskInstances
(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession) TaskServiceImpl.getTaskRootParentPath
(CoreSession coreSession) DocumentTaskProvider.getTasks
(String pageProviderName, CoreSession session, boolean unrestricted, List<SortInfo> sortInfos, Object... params) static void
TaskEventNotificationHelper.notifyEvent
(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, Task task, String eventId, Map<String, Serializable> properties, String comment, String category) protected void
TaskServiceImpl.notifyEvent
(CoreSession session, Task task, List<DocumentModel> docs, String event, Map<String, Serializable> eventInfo, String comment, NuxeoPrincipal principal, List<String> actorIds) static void
TaskEventNotificationHelper.notifyTaskEnded
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, Map<String, Serializable> extraEventProperties) void
TaskServiceImpl.reassignTask
(CoreSession session, String taskId, List<String> newActors, String comment, Map<String, Serializable> eventInfo) TaskServiceImpl.rejectTask
(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment) ModifierConstructorDescriptionCreateTaskUnrestricted
(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) 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) -
Uses of CoreSession in org.nuxeo.ecm.platform.task.providers
-
Uses of CoreSession in org.nuxeo.ecm.platform.threed.adapter
Modifier and TypeMethodDescriptionThumbnailThreeDFactory.computeThumbnail
(DocumentModel documentModel, CoreSession coreSession) ThumbnailThreeDFactory.getThumbnail
(DocumentModel documentModel, CoreSession coreSession) -
Uses of CoreSession in org.nuxeo.ecm.platform.thumbnail.action
Modifier and TypeMethodDescriptionprotected void
RecomputeThumbnailsAction.RecomputeThumbnailsComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
RecomputeThumbnailsAction.RecomputeThumbnailsComputation.processDoc
(CoreSession session, DocumentModel doc) -
Uses of CoreSession in org.nuxeo.ecm.platform.thumbnail.factories
Modifier and TypeMethodDescriptionThumbnailDocumentFactory.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailDocumentFactory.getThumbnail
(DocumentModel doc, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.thumbnail.listener
Modifier and TypeMethodDescriptionvoid
ThumbnailHelper.createThumbnailIfNeeded
(CoreSession session, DocumentModel doc) Creates a thumbnail if needed and synchronizes the document facet.protected void
UpdateThumbnailListener.processDoc
(CoreSession session, DocumentModel doc) -
Uses of CoreSession in org.nuxeo.ecm.platform.userpreferences
Modifier and TypeMethodDescriptionUserPreferencesService.getSimpleUserPreferences
(CoreSession session) UserPreferencesServiceImpl.getSimpleUserPreferences
(CoreSession session) <T extends UserPreferences>
TUserPreferencesService.getUserPreferences
(CoreSession session, Class<T> configurationClass, String configurationFacet) <T extends UserPreferences>
TUserPreferencesServiceImpl.getUserPreferences
(CoreSession session, Class<T> userPrefClass, String userPrefFacet) -
Uses of CoreSession in org.nuxeo.ecm.platform.userworkspace.api
Modifier and TypeMethodDescriptionUserWorkspaceService.getCurrentUserPersonalWorkspace
(CoreSession userCoreSession) Gets the current user personal workspace. -
Uses of CoreSession in org.nuxeo.ecm.platform.userworkspace.core.service
Modifier and TypeMethodDescriptionprotected String
AbstractUserWorkspaceImpl.computePathUserWorkspaceRoot
(CoreSession userCoreSession, String usedUsername) protected DocumentModel
AbstractUserWorkspaceImpl.createDefaultCollectionsRoot
(CoreSession session, DocumentModel userWorkspace) protected DocumentModel
AbstractUserWorkspaceImpl.createFavorites
(CoreSession session, DocumentModel userWorkspace) protected abstract DocumentModel
AbstractUserWorkspaceImpl.doCreateUserWorkspace
(CoreSession unrestrictedSession, PathRef wsRef, String username) protected DocumentModel
DefaultUserWorkspaceServiceImpl.doCreateUserWorkspace
(CoreSession unrestrictedSession, PathRef wsRef, String userName) protected abstract DocumentModel
AbstractUserWorkspaceImpl.doCreateUserWorkspacesRoot
(CoreSession unrestrictedSession, PathRef rootRef) protected DocumentModel
DefaultUserWorkspaceServiceImpl.doCreateUserWorkspacesRoot
(CoreSession unrestrictedSession, PathRef rootRef) AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(CoreSession userCoreSession) protected DocumentModel
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace
(NuxeoPrincipal principal, String userName, CoreSession userCoreSession) This method handles the UserWorkspace creation with a Principal or a username.protected String
AbstractUserWorkspaceImpl.getDomainName
(CoreSession userCoreSession) protected PathRef
AbstractUserWorkspaceImpl.getExistingUserWorkspace
(CoreSession session, PathRef rootref, NuxeoPrincipal principal, String username) protected PathRef
AbstractUserWorkspaceImpl.getExistingUserWorkspaceRoot
(CoreSession session, String username) protected Locale
AbstractUserWorkspaceImpl.getLocale
(CoreSession session) AbstractUserWorkspaceImpl.getUserDefaultCollectionsRoot
(CoreSession session) AbstractUserWorkspaceImpl.getUserFavorites
(CoreSession session) protected DocumentModel
AbstractUserWorkspaceImpl.initCreateFavorites
(CoreSession session, DocumentModel favorites) protected abstract DocumentModel
AbstractUserWorkspaceImpl.initCreateUserWorkspace
(CoreSession unrestrictedSession, DocumentModel doc, String username) protected DocumentModel
DefaultUserWorkspaceServiceImpl.initCreateUserWorkspace
(CoreSession unrestrictedSession, DocumentModel doc, String username) protected abstract DocumentModel
AbstractUserWorkspaceImpl.initCreateUserWorkspacesRoot
(CoreSession unrestrictedSession, DocumentModel doc) protected DocumentModel
DefaultUserWorkspaceServiceImpl.initCreateUserWorkspacesRoot
(CoreSession unrestrictedSession, DocumentModel doc) protected DocumentModel
AbstractUserWorkspaceImpl.initDefaultCollectionsRoot
(CoreSession session, DocumentModel collectionsRoot) protected void
AbstractUserWorkspaceImpl.notifyEvent
(CoreSession coreSession, DocumentModel document, NuxeoPrincipal principal, String eventId, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.platform.userworkspace.operations
-
Uses of CoreSession in org.nuxeo.ecm.platform.video.adapter
Modifier and TypeMethodDescriptionThumbnailVideoFactory.computeThumbnail
(DocumentModel doc, CoreSession session) ThumbnailVideoFactory.getThumbnail
(DocumentModel doc, CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.platform.video.computation
Modifier and TypeMethodDescriptionprotected void
RecomputeTranscodedVideosComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
RecomputeVideoInfoComputation.compute
(CoreSession session, List<String> ids, Map<String, Serializable> properties) protected void
RecomputeTranscodedVideosComputation.saveRendition
(CoreSession session, IdRef docId, String conversionName, TranscodedVideo transcodedVideo) -
Uses of CoreSession in org.nuxeo.ecm.platform.web.common.locale
Modifier and TypeMethodDescriptionDefaultLocaleProvider.getLocale
(CoreSession repo) LocaleProvider.getLocale
(CoreSession session) DefaultLocaleProvider.getLocaleWithDefault
(CoreSession session) LocaleProvider.getLocaleWithDefault
(CoreSession session) DefaultLocaleProvider.getTimeZone
(CoreSession repo) LocaleProvider.getTimeZone
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.quota
Modifier and TypeMethodDescriptionvoid
QuotaStatsService.activateQuotaOnUserWorkspaces
(long maxQuota, CoreSession session) Activates the quota on user personal workspacesvoid
QuotaStatsServiceImpl.activateQuotaOnUserWorkspaces
(long maxQuota, CoreSession session) boolean
QuotaStatsService.canSetMaxQuota
(long maxQuota, DocumentModel doc, CoreSession session) Test to see if quota allowed.boolean
QuotaStatsServiceImpl.canSetMaxQuota
(long maxQuota, DocumentModel doc, CoreSession session) default void
QuotaStatsService.computeInitialStatistics
(String updaterName, CoreSession session, QuotaStatsInitialWork currentWorker) Deprecated.since 10.1, use other signaturevoid
QuotaStatsService.computeInitialStatistics
(String updaterName, CoreSession session, QuotaStatsInitialWork currentWorker, String path) Compute the initial statistics for the given @{code updaterName} fordocPath
.void
QuotaStatsServiceImpl.computeInitialStatistics
(String updaterName, CoreSession session, QuotaStatsInitialWork currentWorker, String path) default void
QuotaStatsUpdater.computeInitialStatistics
(CoreSession session, QuotaStatsInitialWork currentWorker) Deprecated.since 10.1, use other signaturevoid
QuotaStatsUpdater.computeInitialStatistics
(CoreSession session, QuotaStatsInitialWork currentWorker, String path) Compute the initial statistics under the given path for thisQuotaStatsUpdater
.protected List<DocumentModel>
AbstractQuotaStatsUpdater.getAncestors
(CoreSession session, DocumentModel doc) Gets all the ancestors of the document, including the root.protected List<DocumentModel>
QuotaStatsServiceImpl.getParentsInReverseOrder
(DocumentModel doc, CoreSession session) long
QuotaStatsService.getQuotaFromParent
(DocumentModel doc, CoreSession session) Gets the quota from the first parent where quota has been set.long
QuotaStatsServiceImpl.getQuotaFromParent
(DocumentModel doc, CoreSession session) long
QuotaStatsService.getQuotaSetOnUserWorkspaces
(CoreSession session) long
QuotaStatsServiceImpl.getQuotaSetOnUserWorkspaces
(CoreSession session) QuotaStatsServiceImpl.getUserWorkspaceRootId
(DocumentModel context, CoreSession session) void
QuotaStatsService.launchSetMaxQuotaOnUserWorkspaces
(long maxQuota, DocumentModel context, CoreSession session) Sets this maxQuota on all user workspacesvoid
QuotaStatsServiceImpl.launchSetMaxQuotaOnUserWorkspaces
(long maxSize, DocumentModel context, CoreSession session) protected abstract void
AbstractQuotaStatsUpdater.processDocumentAboutToBeRemoved
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentBeforeCheckedIn
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentBeforeCheckedOut
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentBeforeRestore
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentBeforeUpdate
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentCheckedIn
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentCheckedOut
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentCopied
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentCreated
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentMoved
(CoreSession session, DocumentModel doc, DocumentModel sourceParent) protected abstract void
AbstractQuotaStatsUpdater.processDocumentRestored
(CoreSession session, DocumentModel doc) protected abstract void
AbstractQuotaStatsUpdater.processDocumentTrashOp
(CoreSession session, DocumentModel doc, boolean isTrashed) protected abstract void
AbstractQuotaStatsUpdater.processDocumentUpdated
(CoreSession session, DocumentModel doc) void
AbstractQuotaStatsUpdater.updateStatistics
(CoreSession session, DocumentEventContext docCtx, Event event) void
QuotaStatsUpdater.updateStatistics
(CoreSession session, DocumentEventContext docCtx, Event event) Update the statistics for the givendocCtx
andevent
. -
Uses of CoreSession in org.nuxeo.ecm.quota.automation
Modifier and TypeFieldDescriptionprotected CoreSession
GetQuotaInfoOperation.session
protected CoreSession
GetQuotaStatisticsOperation.session
protected CoreSession
RecomputeQuotaStatistics.session
protected CoreSession
SetQuotaInfoOperation.session
-
Uses of CoreSession in org.nuxeo.ecm.quota.count
Modifier and TypeMethodDescriptionDocumentsCountUpdater.computeDocumentsCountByFolder
(CoreSession session, Map<String, String> folders) void
DocumentsCountUpdater.computeInitialStatistics
(CoreSession session, QuotaStatsInitialWork currentWorker, String path) DocumentsCountUpdater.getFolders
(CoreSession session) protected void
DocumentsCountUpdater.processDocumentAboutToBeRemoved
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentBeforeCheckedIn
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentBeforeCheckedOut
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentBeforeRestore
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentBeforeUpdate
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentCheckedIn
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentCheckedOut
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentCopied
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentCreated
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentMoved
(CoreSession session, DocumentModel doc, DocumentModel sourceParent) protected void
DocumentsCountUpdater.processDocumentRestored
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.processDocumentTrashOp
(CoreSession session, DocumentModel doc, boolean isTrashed) protected void
DocumentsCountUpdater.processDocumentUpdated
(CoreSession session, DocumentModel doc) protected void
DocumentsCountUpdater.saveDocumentsCount
(CoreSession session, Map<String, org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count> foldersCount) protected void
DocumentsCountUpdater.saveDocumentsCount
(CoreSession session, DocumentModel folder, org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count count) protected void
DocumentsCountUpdater.updateCount
(CoreSession session, DocumentModel parent, String xpath, long count) protected void
DocumentsCountUpdater.updateCountStatistics
(CoreSession session, DocumentModel doc, List<DocumentModel> ancestors, long count) -
Uses of CoreSession in org.nuxeo.ecm.quota.size
Modifier and TypeMethodDescriptionprotected void
DocumentsSizeUpdater.checkQuota
(CoreSession session, DocumentModel doc, long delta) Checks the size delta against the maximum quota specified for this document or an ancestor.protected void
DocumentsSizeUpdater.clearQuotas
(CoreSession session, String docID) void
DocumentsSizeUpdater.computeInitialStatistics
(CoreSession session, QuotaStatsInitialWork currentWorker, String path) protected long
DocumentsSizeUpdater.getVersionsSize
(CoreSession session, DocumentModel doc) Gets the sum of all blobs sizes for all the document's versions.protected void
DocumentsSizeUpdater.initDocument
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentAboutToBeRemoved
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentBeforeCheckedIn
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentBeforeCheckedOut
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentBeforeRestore
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentBeforeUpdate
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentCheckedIn
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentCheckedOut
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentCopied
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentCreated
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentMoved
(CoreSession session, DocumentModel doc, DocumentModel sourceParent) protected void
DocumentsSizeUpdater.processDocumentRestored
(CoreSession session, DocumentModel doc) protected void
DocumentsSizeUpdater.processDocumentTrashOp
(CoreSession session, DocumentModel doc, boolean isTrashed) protected void
DocumentsSizeUpdater.processDocumentUpdated
(CoreSession session, DocumentModel doc) protected long
DocumentsSizeUpdater.scrollAndDo
(CoreSession session, String query, int scrollSize, int scrollKeepAlive, BiConsumer<String, Long> consumer) protected void
DocumentsSizeUpdater.updateAncestors
(CoreSession session, DocumentModel doc, long deltaTotal, long deltaTrash, long deltaVersions) protected void
DocumentsSizeUpdater.updateDocumentAndAncestors
(CoreSession session, DocumentModel doc, long deltaInner, long deltaTotal, long deltaTrash, long deltaVersions) -
Uses of CoreSession in org.nuxeo.ecm.restapi.server.jaxrs
Modifier and TypeMethodDescriptionprotected DocumentModel
QueryObject.getSearchDocumentModel
(CoreSession session, PageProviderService pps, String providerName, Properties namedParameters) Deprecated.since 11.1, usePageProviderHelper.getSearchDocumentModel(CoreSession, PageProviderService, String, Map)
instead -
Uses of CoreSession in org.nuxeo.ecm.restapi.test
Modifier and TypeFieldDescriptionBaseTest.session
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionstatic DocumentModel
RestServerInit.getFile
(int index, CoreSession session) static DocumentModel
RestServerInit.getFolder
(int index, CoreSession session) static DocumentModel
RestServerInit.getNote
(int index, CoreSession session) void
RestServerInit.populate
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.user.center.profile
Modifier and TypeMethodDescriptionvoid
UserProfileImporter.doImport
(CoreSession session) void
UserProfileImporter.doImport
(CoreSession session, org.apache.commons.csv.CSVParser parser, UserProfileService userProfileService) UserProfileService.getUserProfile
(DocumentModel userModel, CoreSession session) Get a DocumentModel containing both user and user profile schemasUserProfileServiceImpl.getUserProfile
(DocumentModel userModel, CoreSession session) UserProfileService.getUserProfileDocument
(String userName, CoreSession session) Get the profile of a specific user.UserProfileService.getUserProfileDocument
(CoreSession session) Get the current user profile.UserProfileServiceImpl.getUserProfileDocument
(String userName, CoreSession session) UserProfileServiceImpl.getUserProfileDocument
(CoreSession session) protected boolean
UserProfileImporter.importLine
(org.apache.commons.csv.CSVRecord record, long lineNumber, Integer nameIndex, DocumentType docType, CoreSession session, UserProfileService userProfileService, Map<String, Integer> headerValues) Import a line from the CSV file.protected boolean
UserProfileImporter.updateDocument
(long lineNumber, String name, DocumentType docType, CoreSession session, UserProfileService userProfileService, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.ecm.user.center.profile.localeProvider
Modifier and TypeMethodDescriptionUserLocaleProvider.getLocale
(CoreSession repo) UserLocaleProvider.getLocaleWithDefault
(CoreSession session) UserLocaleProvider.getTimeZone
(CoreSession repo) -
Uses of CoreSession in org.nuxeo.ecm.user.invite
Modifier and TypeMethodDescriptionUserInvitationComponent.createUser
(CoreSession session, DocumentModel registrationDoc) UserInvitationService.createUser
(CoreSession session, DocumentModel registrationDoc) void
UserInvitationComponent.deleteRegistrationRequests
(CoreSession session, List<DocumentModel> registrationDocs) void
UserInvitationService.deleteRegistrationRequests
(CoreSession session, List<DocumentModel> registrationDoc) Delete a registration documentDefaultInvitationUserFactory.doCreateUser
(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) InvitationUserFactory.doCreateUser
(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration) Handle user creationvoid
DefaultInvitationUserFactory.doPostUserCreation
(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user) void
InvitationUserFactory.doPostUserCreation
(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user) Called just after the user is createdUserInvitationComponent.getOrCreateRootDocument
(CoreSession session, String configurationName) UserInvitationComponent.getRegistrationRulesDocument
(CoreSession session, String configurationName) UserInvitationService.getRegistrationRulesDocument
(CoreSession session, String configurationName) Get documentmodel that stores request configuration using RegistrationConfiguration facet.protected void
UserInvitationComponent.reviveRegistrationRequest
(CoreSession session, DocumentModel registrationDoc, Map<String, Serializable> additionalInfos) void
UserInvitationComponent.reviveRegistrationRequests
(CoreSession session, List<DocumentModel> registrationDocs) void
UserInvitationService.reviveRegistrationRequests
(CoreSession session, List<DocumentModel> registrationDocs) Send a mail to the invited user to revive his invitation If an error occured while sending an email, it logs it and continue.protected EventContext
UserInvitationComponent.sendEvent
(CoreSession session, DocumentModel source, String evName) -
Uses of CoreSession in org.nuxeo.ecm.webdav.backend
Modifier and TypeMethodDescriptionAbstractCoreBackend.getSession()
AbstractCoreBackend.getSession
(boolean synchronize) Backend.getSession()
Backend.getSession
(boolean synchronize) Modifier and TypeMethodDescriptionRealBackendFactory.createBackend
(String backendDisplayName, String rootPath, String rootUrl, CoreSession session) SimpleRealBackendFactory.createBackend
(String backendDisplayName, String rootPath, String rootUrl, CoreSession session) abstract Backend
AbstractBackendFactory.createRootBackend
(CoreSession session) SearchBackendFactory.createRootBackend
(CoreSession session) SimpleBackendFactory.createRootBackend
(CoreSession session) ModifierConstructorDescriptionprotected
AbstractCoreBackend
(CoreSession session) protected
AbstractVirtualBackend
(String name, String rootUrl, CoreSession session, RealBackendFactory realBackendFactory) PathCache
(CoreSession session, int maxSize) Deprecated.SearchRootBackend
(CoreSession session) SearchVirtualBackend
(String name, String rootUrl, String query, CoreSession session, RealBackendFactory realBackendFactory) protected
SimpleBackend
(String backendDisplayName, String rootPath, String rootUrl, CoreSession session) SimpleRootBackend
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.webengine.jaxrs.session
Modifier and TypeMethodDescriptionprotected CoreSession
CoreSessionProvider.createSession
(javax.servlet.http.HttpServletRequest request, String repoName) SessionRef.get()
CoreSessionProvider.getSession
(javax.servlet.http.HttpServletRequest request, String repoName) static CoreSession
SessionFactory.getSession()
static CoreSession
SessionFactory.getSession
(String repositoryName) static CoreSession
SessionFactory.getSession
(javax.servlet.http.HttpServletRequest request) static CoreSession
SessionFactory.getSession
(javax.servlet.http.HttpServletRequest request, String repositoryName) Modifier and TypeMethodDescriptionprotected abstract REF
CoreSessionProvider.createSessionRef
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.webengine.jaxrs.session.impl
Modifier and TypeFieldDescriptionprotected CoreSession
PerRequestCoreProvider.Ref.session
protected CoreSession
PerSessionCoreProvider.Ref.session
Modifier and TypeMethodDescriptionPerRequestCoreProvider.Ref.get()
PerSessionCoreProvider.Ref.get()
Modifier and TypeMethodDescriptionprotected PerRequestCoreProvider.Ref
PerRequestCoreProvider.createSessionRef
(CoreSession session) protected PerSessionCoreProvider.Ref
PerSessionCoreProvider.createSessionRef
(CoreSession session) -
Uses of CoreSession in org.nuxeo.ecm.webengine.jaxrs.views
-
Uses of CoreSession in org.nuxeo.ecm.webengine.model
Modifier and TypeMethodDescriptionWebContext.getCoreSession()
Gets the Core Session (or Repository Session) corresponding to that request. -
Uses of CoreSession in org.nuxeo.ecm.webengine.model.impl
-
Uses of CoreSession in org.nuxeo.ecm.webengine.ui.json
-
Uses of CoreSession in org.nuxeo.ecm.webengine.ui.tree.document
-
Uses of CoreSession in org.nuxeo.ecm.webengine.util
Modifier and TypeMethodDescriptionstatic void
ACLUtils.removePermission
(CoreSession session, DocumentRef docRef, String username, String permission) -
Uses of CoreSession in org.nuxeo.elasticsearch.audit.pageprovider
-
Uses of CoreSession in org.nuxeo.elasticsearch.bulk
Modifier and TypeMethodDescriptionprotected void
IndexRequestComputation.compute
(CoreSession session, List<String> documentIds, Map<String, Serializable> properties) protected String
IndexRequestComputation.getIndexName
(CoreSession session, Map<String, Serializable> properties) -
Uses of CoreSession in org.nuxeo.elasticsearch.commands
-
Uses of CoreSession in org.nuxeo.elasticsearch.fetcher
ModifierConstructorDescriptionEsFetcher
(CoreSession session, org.opensearch.action.search.SearchResponse response, Map<String, String> repoNames) Deprecated.EsFetcher
(CoreSession session, org.opensearch.action.search.SearchResponse response, Map<String, String> repoNames, EsFetcher.HitDocConsumer consumer) Deprecated.Fetcher
(CoreSession session, org.opensearch.action.search.SearchResponse response, Map<String, String> repoNames) VcsFetcher
(CoreSession session, org.opensearch.action.search.SearchResponse response, Map<String, String> repoNames) -
Uses of CoreSession in org.nuxeo.elasticsearch.http.readonly
Modifier and TypeMethodDescriptionvoid
AbstractSearchRequestFilterImpl.init
(CoreSession session, String indices, String rawQuery, String payload) -
Uses of CoreSession in org.nuxeo.elasticsearch.http.readonly.filter
Modifier and TypeMethodDescriptionvoid
AuditRequestFilter.init
(CoreSession session, String indices, String rawQuery, String payload) void
SearchRequestFilter.init
(CoreSession session, String indices, String rawQuery, String payload) default void
SearchRequestFilter.init
(CoreSession session, String indices, String types, String rawQuery, String payload) Deprecated, for removal: This API element is subject to removal in a future version.since 11.4, types have been removed since Elasticsearch 7.x, useSearchRequestFilter.init(CoreSession, String, String, String)
instead -
Uses of CoreSession in org.nuxeo.elasticsearch.io
-
Uses of CoreSession in org.nuxeo.elasticsearch.provider
Modifier and TypeMethodDescriptionprotected CoreSession
ElasticSearchNativePageProvider.getCoreSession()
protected CoreSession
ElasticSearchNxqlPageProvider.getCoreSession()
Modifier and TypeMethodDescriptionprotected NxQueryBuilder
ElasticSearchNxqlPageProvider.getQueryBuilder
(CoreSession session) -
Uses of CoreSession in org.nuxeo.elasticsearch.query
Modifier and TypeMethodDescriptionprotected static SQLQuery
NxqlQueryConverter.addSecurityPolicy
(CoreSession session, SQLQuery query) protected Fetcher
NxQueryBuilder.getFetcher
(CoreSession session, org.opensearch.action.search.SearchResponse response, Map<String, String> repoNames) protected static org.opensearch.index.query.QueryBuilder
NxqlQueryConverter.makeAncestorIdFilter
(String value, CoreSession session) NxqlQueryConverter.makeQueryFromSimpleExpression
(String op, String nxqlName, Object value, Object[] values, EsHint hint, CoreSession session) static org.opensearch.index.query.QueryBuilder
NxqlQueryConverter.toESQueryBuilder
(String nxql, CoreSession session) -
Uses of CoreSession in org.nuxeo.elasticsearch.work
Modifier and TypeMethodDescriptionprotected List<DocumentModel>
BucketIndexingWorker.loadDocumentsOneByOne
(CoreSession session, List<String> documentIds) -
Uses of CoreSession in org.nuxeo.importer.stream.consumer
-
Uses of CoreSession in org.nuxeo.io.fsexporter
Modifier and TypeMethodDescriptionvoid
FSExporter.export
(CoreSession session, String rootPath, String fspath, String PageProvider) void
FSExporterService.export
(CoreSession session, String rootPath, String fsPath, String PageProvider) protected void
CustomExporterPlugin.exportFileInXML
(CoreSession session, DocumentModel docfrom, String pathtoexport) void
FSExporter.exportXML
(CoreSession session, String rootName, String fileSystemTarget) void
FSExporterService.exportXML
(CoreSession session, String rootName, String fileSystemTarget) DefaultExporterPlugin.getChildren
(CoreSession session, DocumentModel doc, String customQuery) FSExporterPlugin.getChildren
(CoreSession session, DocumentModel doc, String PageProvider) CustomExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) DefaultExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) DriveLikeExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) FSExporterPlugin.serialize
(CoreSession session, DocumentModel docfrom, String fsPath) -
Uses of CoreSession in org.nuxeo.mongodb.audit.pageprovider
Modifier and TypeMethodDescriptionprotected CoreSession
MongoDBAuditPageProvider.getCoreSession()
-
Uses of CoreSession in org.nuxeo.snapshot
Modifier and TypeMethodDescriptionprotected boolean
SnapshotRemovalPolicy.canRemoveVersions
(CoreSession session, DocumentModel doc, List<String> uuids) SnapshotRemovalPolicy.getRemovableVersionIds
(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs) -
Uses of CoreSession in org.nuxeo.snapshot.pub
Modifier and TypeMethodDescriptionprotected DocumentModel
FolderishProxyFactory.subPublish
(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent) -
Uses of CoreSession in org.nuxeo.template.adapters
-
Uses of CoreSession in org.nuxeo.template.api
Modifier and TypeMethodDescriptionTemplateProcessorService.getAvailableOfficeTemplates
(CoreSession session, String targetType) Retrieve theTemplateSourceDocument
that can be used as an Office template (i.e that support to store the template file as main blob of target DocumentModel)TemplateProcessorService.getAvailableTemplateDocs
(CoreSession session, String targetType) FindTemplateSourceDocument
s that can be bound to a given doc type.TemplateProcessorService.getAvailableTemplates
(CoreSession session, String targetType) FindTemplateSourceDocument
s that can be bound to a given doc type.TemplateProcessorService.getTemplateDoc
(CoreSession session, String name) Returns a template with a given templateName. -
Uses of CoreSession in org.nuxeo.template.context.extensions
Modifier and TypeMethodDescriptionAuditExtensionFactory.preprocessAuditEntries
(List<LogEntry> auditEntries, CoreSession session, String lang) -
Uses of CoreSession in org.nuxeo.template.jaxrs
Modifier and TypeMethodDescriptionprotected CoreSession
AbstractResourceService.getCoreSession()
protected CoreSession
RootResource.getCoreSession()
ModifierConstructorDescriptionAbstractResourceService
(CoreSession session) ResourceService
(CoreSession session) -
Uses of CoreSession in org.nuxeo.template.service
Modifier and TypeMethodDescriptionTemplateProcessorComponent.getAvailableOfficeTemplates
(CoreSession session, String targetType) TemplateProcessorComponent.getAvailableTemplateDocs
(CoreSession session, String targetType) TemplateProcessorComponent.getAvailableTemplates
(CoreSession session, String targetType) TemplateProcessorComponent.getTemplateDoc
(CoreSession session, String name) ModifierConstructorDescriptionprotected
TemplateMappingRemover
(CoreSession session, String uid, String type2Remove) protected
TemplateMappingRemover
(CoreSession session, DocumentModel doc, String type2Remove) -
Uses of CoreSession in org.nuxeo.template.xdocreport.jaxrs
Modifier and TypeMethodDescriptionprotected CoreSession
AbstractResourceService.getCoreSession()
protected CoreSession
RootResource.getCoreSession()
ModifierConstructorDescriptionAbstractResourceService
(CoreSession session) ResourceService
(CoreSession session) XDocReportResourceService
(CoreSession session) -
Uses of CoreSession in org.nuxeo.usermapper.extension
Modifier and TypeMethodDescriptionprotected void
AbstractUserMapper.updateProfile
(CoreSession session, Map<String, Serializable> attributes, DocumentModel userProfile) -
Uses of CoreSession in org.nuxeo.wopi.jaxrs
Modifier and TypeMethodDescriptionprotected DocumentModel
WOPIRoot.getDocument
(CoreSession session, String fileId) -
Uses of CoreSession in org.nuxeo.wopi.lock
Modifier and TypeMethodDescriptionprotected void
LockExpirationListener.handleExpiredLock
(CoreSession session, Session directorySession, DocumentModel entry)
FavoritesManager.getFavorites(CoreSession)
instead