Uses of Interface
org.nuxeo.ecm.core.api.CoreSession
-
-
Uses of CoreSession in org.nuxeo.adobe.cc
Fields in org.nuxeo.adobe.cc declared as CoreSession Modifier and Type Field Description protected CoreSession
CompoundAttach. session
-
Uses of CoreSession in org.nuxeo.automation.scripting.api
Methods in org.nuxeo.automation.scripting.api with parameters of type CoreSession Modifier and Type Method Description AutomationScriptingService.Session
AutomationScriptingService. get(CoreSession session)
-
Uses of CoreSession in org.nuxeo.automation.scripting.internals
Methods in org.nuxeo.automation.scripting.internals that return CoreSession Modifier and Type Method Description CoreSession
DocumentScriptingWrapper. getSession()
Methods in org.nuxeo.automation.scripting.internals with parameters of type CoreSession Modifier and Type Method Description AutomationScriptingService.Session
AutomationScriptingServiceImpl. get(CoreSession session)
-
Uses of CoreSession in org.nuxeo.binary.metadata.internals.operations
Fields in org.nuxeo.binary.metadata.internals.operations declared as CoreSession Modifier and Type Field Description protected CoreSession
WriteMetadataToBinaryFromDocument. session
-
Uses of CoreSession in org.nuxeo.drive.action
Methods in org.nuxeo.drive.action with parameters of type CoreSession Modifier and Type Method Description protected void
FireGroupUpdatedEventAction.FireGroupUpdatedEventComputation. compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
-
Uses of CoreSession in org.nuxeo.drive.adapter.impl
Methods in org.nuxeo.drive.adapter.impl with parameters of type CoreSession Modifier and Type Method Description protected 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)
static void
FileSystemItemHelper. versionIfNeeded(VersioningFileSystemItemFactory factory, DocumentModel doc, CoreSession session)
Deprecated.since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at drive level, this method is not used anymore -
Uses of CoreSession in org.nuxeo.drive.elasticsearch
Methods in org.nuxeo.drive.elasticsearch with parameters of type CoreSession Modifier and Type Method Description protected org.elasticsearch.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)
protected List<LogEntry>
ESAuditChangeFinder. queryAuditEntries(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit)
protected List<LogEntry>
ESAuditChangeFinder. queryESAuditEntries(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit)
-
Uses of CoreSession in org.nuxeo.drive.listener
Methods in org.nuxeo.drive.listener with parameters of type CoreSession Modifier and Type Method Description protected void
NuxeoDriveFileSystemDeletionListener. fireVirtualEventLogEntries(DocumentModel doc, String eventName, NuxeoPrincipal principal, String impactedUserName, CoreSession session)
protected List<DocumentModel>
NuxeoDriveFileSystemDeletionListener. getChildSyncRoots(DocumentModel doc, CoreSession session)
protected DocumentModelList
NuxeoDriveSyncRootCopyListener. getSyncRoots(DocumentModel doc, CoreSession session)
-
Uses of CoreSession in org.nuxeo.drive.mongodb
Methods in org.nuxeo.drive.mongodb with parameters of type CoreSession Modifier and Type Method Description protected List<LogEntry>
MongoDBAuditChangeFinder. queryAuditEntries(CoreSession session, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit)
-
Uses of CoreSession in org.nuxeo.drive.operations
Fields in org.nuxeo.drive.operations declared as CoreSession Modifier and Type Field Description protected 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
Fields in org.nuxeo.drive.operations.test declared as CoreSession Modifier and Type Field Description protected CoreSession
NuxeoDriveCreateTestDocuments. session
protected CoreSession
NuxeoDriveSetupIntegrationTests. session
protected CoreSession
NuxeoDriveTearDownIntegrationTests. session
Methods in org.nuxeo.drive.operations.test with parameters of type CoreSession Modifier and Type Method Description static void
NuxeoDriveIntegrationTestsHelper. cleanUp(CoreSession session)
static String
NuxeoDriveIntegrationTestsHelper. getDefaultDomainPath(CoreSession session)
-
Uses of CoreSession in org.nuxeo.drive.service
Methods in org.nuxeo.drive.service with parameters of type CoreSession Modifier and Type Method Description void
NuxeoDriveManager. addToLocallyEditedCollection(CoreSession session, DocumentModel doc)
Adds the givenDocumentModel
to theLOCALLY_EDITED_COLLECTION_NAME
collection.List<FileSystemItemChange>
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.Set<IdRef>
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
Methods in org.nuxeo.drive.service.impl with parameters of type CoreSession Modifier and Type Method Description void
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)
List<FileSystemItemChange>
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)
Set<IdRef>
NuxeoDriveManagerImpl. getSynchronizationRootReferences(CoreSession session)
protected Map<String,SynchronizationRoots>
NuxeoDriveManagerImpl. queryAndFetchSynchronizationRoots(CoreSession session, String query)
protected List<LogEntry>
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.easyshare
Fields in org.nuxeo.easyshare declared as CoreSession Modifier and Type Field Description protected CoreSession
EasyShareUnrestrictedRunner. session
Methods in org.nuxeo.easyshare with parameters of type CoreSession Modifier and Type Method Description abstract Object
EasyShareUnrestrictedRunner. run(CoreSession coreSession, IdRef docId)
-
Uses of CoreSession in org.nuxeo.ecm.admin.operation
Fields in org.nuxeo.ecm.admin.operation declared as CoreSession Modifier and Type Field Description protected CoreSession
HotReloadStudioSnapshot. session
protected CoreSession
PermissionsPurge. session
-
Uses of CoreSession in org.nuxeo.ecm.automation
Fields in org.nuxeo.ecm.automation declared as CoreSession Modifier and Type Field Description protected CoreSession
LoginStack. currentSession
protected CoreSession
LoginStack. originalSession
CoreSession
LoginStack.Entry. session
Methods in org.nuxeo.ecm.automation that return CoreSession Modifier and Type Method Description CoreSession
OperationContext. getCoreSession()
CoreSession
LoginStack. getSession()
Get the current sessionMethods in org.nuxeo.ecm.automation with parameters of type CoreSession Modifier and Type Method Description void
OperationContext. setCoreSession(CoreSession session)
void
LoginStack. setSession(CoreSession session)
Constructors in org.nuxeo.ecm.automation with parameters of type CoreSession Constructor Description LoginStack(CoreSession session)
OperationContext(CoreSession session)
OperationContext(CoreSession session, Map<String,Object> bindings)
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.blob
Fields in org.nuxeo.ecm.automation.core.operations.blob declared as CoreSession Modifier and Type Field Description protected CoreSession
AttachBlob. session
protected CoreSession
BulkDownload. session
protected CoreSession
SetBlobFileName. session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.business
Fields in org.nuxeo.ecm.automation.core.operations.business declared as CoreSession Modifier and Type Field Description protected CoreSession
BusinessCreateOperation. session
protected CoreSession
BusinessFetchOperation. session
protected CoreSession
BusinessUpdateOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.business.adapter
Methods in org.nuxeo.ecm.automation.core.operations.business.adapter with parameters of type CoreSession Modifier and Type Method Description void
BusinessAdapter. save(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.collections
Fields in org.nuxeo.ecm.automation.core.operations.collections declared as CoreSession Modifier and Type Field Description protected 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
Fields in org.nuxeo.ecm.automation.core.operations.document declared as CoreSession Modifier and Type Field Description protected 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
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
Fields in org.nuxeo.ecm.automation.core.operations.execution declared as CoreSession Modifier and Type Field Description protected CoreSession
RunDocumentChain. session
protected CoreSession
RunFileChain. session
protected CoreSession
RunInNewTransaction. session
Deprecated.protected CoreSession
RunOperationOnList. session
protected CoreSession
RunOperationOnListInNewTransaction. session
Deprecated.protected CoreSession
SaveSession. session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.operations.services
Fields in org.nuxeo.ecm.automation.core.operations.services declared as CoreSession Modifier and Type Field Description protected 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
Fields in org.nuxeo.ecm.automation.core.operations.services.bulk declared as CoreSession Modifier and Type Field Description protected CoreSession
BulkWaitForAction. repo
protected CoreSession
BulkRunAction. session
Methods in org.nuxeo.ecm.automation.core.operations.services.bulk with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.automation.core.operations.services.query declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentPaginatedQuery. session
protected CoreSession
ResultSetPaginatedQuery. session
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.scripting
Fields in org.nuxeo.ecm.automation.core.scripting declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentWrapper. session
Methods in org.nuxeo.ecm.automation.core.scripting that return CoreSession Modifier and Type Method Description CoreSession
DocumentWrapper. getSession()
Constructors in org.nuxeo.ecm.automation.core.scripting with parameters of type CoreSession Constructor Description DocumentWrapper(CoreSession session, DocumentModel doc)
-
Uses of CoreSession in org.nuxeo.ecm.automation.core.util
Methods in org.nuxeo.ecm.automation.core.util with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.automation.elasticsearch declared as CoreSession Modifier and Type Field Description protected CoreSession
ElasticsearchIndexOperation. repo
protected CoreSession
ElasticsearchWaitForIndexingOperation. repo
protected CoreSession
ElasticsearchBulkIndexOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.automation.features
Methods in org.nuxeo.ecm.automation.features with parameters of type CoreSession Modifier and Type Method Description boolean
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
Methods in org.nuxeo.ecm.automation.io.services.codec with parameters of type CoreSession Modifier and Type Method Description EntityType
AbstractMarshallingRegistryCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
T
ObjectCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
When the object codec is called the stream is positioned on the first value.Boolean
ObjectCodecService.BooleanCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
Calendar
ObjectCodecService.CalendarCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
Date
ObjectCodecService.DateCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
BusinessAdapter
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.Number
ObjectCodecService.NumberCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
Object
ObjectCodecService. read(com.fasterxml.jackson.core.JsonParser jp, ClassLoader cl, CoreSession session)
Object
ObjectCodecService. read(InputStream in, ClassLoader cl, CoreSession session)
Object
ObjectCodecService. read(InputStream in, CoreSession session)
Object
ObjectCodecService. read(String json, ClassLoader cl, CoreSession session)
Object
ObjectCodecService. read(String json, CoreSession session)
String
ObjectCodecService.StringCodec. read(com.fasterxml.jackson.core.JsonParser jp, CoreSession session)
Object
ObjectCodecService. readNode(com.fasterxml.jackson.databind.JsonNode node, ClassLoader cl, CoreSession session)
Object
ObjectCodecService. readNode(com.fasterxml.jackson.databind.JsonNode node, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.automation.jaxrs.io.operations
Methods in org.nuxeo.ecm.automation.jaxrs.io.operations that return CoreSession Modifier and Type Method Description CoreSession
JsonRequestReader. getCoreSession()
CoreSession
MultiPartFormRequestReader. getCoreSession()
CoreSession
MultiPartRequestReader. getCoreSession()
Deprecated.CoreSession
UrlEncodedFormRequestReader. getCoreSession()
Methods in org.nuxeo.ecm.automation.jaxrs.io.operations with parameters of type CoreSession Modifier and Type Method Description OperationContext
ExecutionRequest. 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)
ExecutionRequest
JsonRequestReader. readRequest(InputStream in, javax.ws.rs.core.MultivaluedMap<String,String> headers, CoreSession session)
ExecutionRequest
JsonRequestReader. readRequest(String content, javax.ws.rs.core.MultivaluedMap<String,String> headers, CoreSession session)
ExecutionRequest
JsonRequestReader. readRequest0(String content, javax.ws.rs.core.MultivaluedMap<String,String> headers, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.automation.server.jaxrs
Fields in org.nuxeo.ecm.automation.server.jaxrs declared as CoreSession Modifier and Type Field Description protected CoreSession
ExecutableResource. session
Methods in org.nuxeo.ecm.automation.server.jaxrs that return CoreSession Modifier and Type Method Description CoreSession
CoreSessionProvider. getValue()
Methods in org.nuxeo.ecm.automation.server.jaxrs that return types with arguments of type CoreSession Modifier and Type Method Description com.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
Fields in org.nuxeo.ecm.automation.server.jaxrs.adapters declared as CoreSession Modifier and Type Field Description protected CoreSession
AsyncOperationAdapter. session
-
Uses of CoreSession in org.nuxeo.ecm.automation.server.jaxrs.batch
Methods in org.nuxeo.ecm.automation.server.jaxrs.batch with parameters of type CoreSession Modifier and Type Method Description Object
BatchManager. 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
.Object
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)
Object
BatchManagerComponent. execute(String batchId, String fileIndex, String chainOrOperationId, CoreSession session, Map<String,Object> contextParams, Map<String,Object> operationParams)
Object
BatchManagerComponent. execute(String batchId, String chainOrOperationId, CoreSession session, Map<String,Object> contextParams, Map<String,Object> operationParams)
Object
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
.Object
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
Fields in org.nuxeo.ecm.automation.task declared as CoreSession Modifier and Type Field Description protected CoreSession
CreateTask. coreSession
protected CoreSession
GetUserTasks. repo
protected CoreSession
UserTaskPageProviderOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.collections.api
Methods in org.nuxeo.ecm.collections.api with parameters of type CoreSession Modifier and Type Method Description void
CollectionManager. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)
Add a list of document to a collection.void
CollectionManager. addToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)
Add a document to a collection.void
FavoritesManager. addToFavorites(DocumentModel document, CoreSession session)
void
CollectionManager. addToNewCollection(String newTitle, String newDescription, 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.DocumentModel
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)
DocumentModel
FavoritesManager. getFavorites(CoreSession session)
DocumentModel
FavoritesManager. getFavorites(DocumentModel context, CoreSession session)
Deprecated.since 10.3 useFavoritesManager.getFavorites(CoreSession)
insteadDocumentModel
CollectionManager. getUserDefaultCollections(CoreSession session)
Get user collections root document.DocumentModel
CollectionManager. getUserDefaultCollections(DocumentModel context, CoreSession session)
Deprecated.since 10.3 useCollectionManager.getUserDefaultCollections(CoreSession)
insteadDocumentModel
CollectionLocationService. getUserDefaultCollectionsRoot(CoreSession session)
Provide the default document where will be stored collections.DocumentModel
CollectionLocationService. getUserFavorites(CoreSession session)
Provide the default favorites document.List<DocumentModel>
CollectionManager. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)
Get the list of collection of a document.List<DocumentModel>
CollectionManager. getVisibleCollection(DocumentModel collectionMember, CoreSession session)
Get the list of collection of a document.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
Methods in org.nuxeo.ecm.collections.core with parameters of type CoreSession Modifier and Type Method Description void
CollectionManagerImpl. addToCollection(DocumentModel collection, List<DocumentModel> documentListToBeAdded, CoreSession session)
void
CollectionManagerImpl. addToCollection(DocumentModel collection, DocumentModel documentToBeAdded, CoreSession session)
void
FavoritesManagerImpl. addToFavorites(DocumentModel document, CoreSession session)
void
CollectionManagerImpl. addToNewCollection(String newTitle, String newDescription, 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)
DocumentModel
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)
DocumentModel
FavoritesManagerImpl. getFavorites(CoreSession session)
DocumentModel
FavoritesManagerImpl. getFavorites(DocumentModel context, CoreSession session)
Deprecated.DocumentModel
CollectionManagerImpl. getUserDefaultCollections(CoreSession session)
DocumentModel
CollectionManagerImpl. getUserDefaultCollections(DocumentModel context, CoreSession session)
Deprecated.List<DocumentModel>
CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, int maxResult, CoreSession session)
List<DocumentModel>
CollectionManagerImpl. getVisibleCollection(DocumentModel collectionMember, CoreSession session)
boolean
CollectionManagerImpl. hasVisibleCollection(DocumentModel collectionMember, CoreSession session)
boolean
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
Methods in org.nuxeo.ecm.core with parameters of type CoreSession Modifier and Type Method Description protected long
CoreService. doCleanupOrphanVersions(CoreSession session, long commitSize)
-
Uses of CoreSession in org.nuxeo.ecm.core.action
Methods in org.nuxeo.ecm.core.action with parameters of type CoreSession Modifier and Type Method Description protected 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
Subinterfaces of CoreSession in org.nuxeo.ecm.core.api Modifier and Type Interface Description interface
CloseableCoreSession
Deprecated.since 11.1, use justCoreSession
insteadClasses in org.nuxeo.ecm.core.api that implement CoreSession Modifier and Type Class Description class
AbstractSession
Abstract implementation of the client interface.Fields in org.nuxeo.ecm.core.api declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentTreeIterator. session
The document manager session.protected CoreSession
UnrestrictedSessionRunner. session
Methods in org.nuxeo.ecm.core.api that return CoreSession Modifier and Type Method Description static 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.CoreSession
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.Methods in org.nuxeo.ecm.core.api with parameters of type CoreSession Modifier and Type Method Description void
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.Method parameters in org.nuxeo.ecm.core.api with type arguments of type CoreSession Modifier and Type Method Description static 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.Constructors in org.nuxeo.ecm.core.api with parameters of type CoreSession Constructor Description DocumentTreeIterator(CoreSession session, DocumentModel root)
Creates the iterator given the tree root.DocumentTreeIterator(CoreSession session, DocumentModel root, boolean excludeRoot)
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
Fields in org.nuxeo.ecm.core.api.impl declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentModelImpl. coreSession
Methods in org.nuxeo.ecm.core.api.impl that return CoreSession Modifier and Type Method Description CoreSession
DocumentModelImpl. getCoreSession()
CoreSession
SimpleDocumentModel. getCoreSession()
protected CoreSession
DocumentModelImpl. getSession()
Gets the CoreSession, or fails if it's not available.Methods in org.nuxeo.ecm.core.api.impl with parameters of type CoreSession Modifier and Type Method Description void
DocumentModelImpl. attach(CoreSession coreSession)
void
SimpleDocumentModel. attach(CoreSession coreSession)
protected boolean
PermissionFilter. hasPermission(CoreSession session, DocumentModel doc, Set<String> permissions, boolean required)
Constructors in org.nuxeo.ecm.core.api.impl with parameters of type CoreSession Constructor Description DocumentModelChildrenIterator(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
Classes in org.nuxeo.ecm.core.api.local that implement CoreSession Modifier and Type Class Description class
LocalSession
Local Session: implementation ofCoreSession
beyondAbstractSession
, dealing with low-level stuff. -
Uses of CoreSession in org.nuxeo.ecm.core.api.localconfiguration
Methods in org.nuxeo.ecm.core.api.localconfiguration with parameters of type CoreSession Modifier and Type Method Description void
AbstractLocalConfiguration. save(CoreSession session)
void
LocalConfiguration. save(CoreSession session)
Save this LocalConfiguration. -
Uses of CoreSession in org.nuxeo.ecm.core.api.propertiesmapping
Methods in org.nuxeo.ecm.core.api.propertiesmapping with parameters of type CoreSession Modifier and Type Method Description void
PropertiesMappingService. mapProperties(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mappingName)
Copies the properties defined by the given xpaths in the mapping from the target to the source document. -
Uses of CoreSession in org.nuxeo.ecm.core.api.propertiesmapping.impl
Methods in org.nuxeo.ecm.core.api.propertiesmapping.impl with parameters of type CoreSession Modifier and Type Method Description void
PropertiesMappingComponent. mapProperties(CoreSession session, DocumentModel sourceDoc, DocumentModel targetDoc, String mapping)
-
Uses of CoreSession in org.nuxeo.ecm.core.api.thumbnail
Methods in org.nuxeo.ecm.core.api.thumbnail with parameters of type CoreSession Modifier and Type Method Description Blob
Thumbnail. computeThumbnail(CoreSession session)
Blob
ThumbnailAdapter. computeThumbnail(CoreSession session)
Blob
ThumbnailFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailService. computeThumbnail(DocumentModel doc, CoreSession session)
Compute the thumbnail (related to the document type/facet)Blob
ThumbnailServiceImpl. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
Thumbnail. getThumbnail(CoreSession session)
Blob
ThumbnailAdapter. getThumbnail(CoreSession session)
Blob
ThumbnailFactory. getThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailService. getThumbnail(DocumentModel doc, CoreSession session)
Get the document thumbnail (related to the doc type/facet)Blob
ThumbnailServiceImpl. getThumbnail(DocumentModel doc, CoreSession session)
ThumbnailFactory
ThumbnailServiceImpl. getThumbnailFactory(DocumentModel doc, CoreSession session)
void
ThumbnailAdapter. save(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.core.api.trash
Methods in org.nuxeo.ecm.core.api.trash with parameters of type CoreSession Modifier and Type Method Description boolean
TrashService. isTrashed(CoreSession session, DocumentRef doc)
void
TrashService. purgeDocuments(CoreSession session, List<DocumentRef> docRefs)
Purges (completely deletes) documents.String
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
Methods in org.nuxeo.ecm.core.api.versioning with parameters of type CoreSession Modifier and Type Method Description Document
VersioningService. doPostSave(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String,Serializable> options)
Applies versioning options after document save.VersioningOption
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
Methods in org.nuxeo.ecm.core.blob with parameters of type CoreSession Modifier and Type Method Description protected void
ComputeDigestHelper. replaceDigest(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.core.bulk
Methods in org.nuxeo.ecm.core.bulk with parameters of type CoreSession Modifier and Type Method Description protected void
S3SetBlobLengthAction.SetBlobLengthComputation. compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
-
Uses of CoreSession in org.nuxeo.ecm.core.bulk.action
Methods in org.nuxeo.ecm.core.bulk.action with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.core.bulk.action.computation with parameters of type CoreSession Modifier and Type Method Description protected abstract void
AbstractBulkComputation. compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
DocumentModelList
AbstractBulkComputation. loadDocuments(CoreSession session, List<String> documentIds)
Helper to load a list of documents.DocumentModelList
AbstractBulkComputation. loadDocumentsOneByOne(CoreSession session, List<String> documentIds)
-
Uses of CoreSession in org.nuxeo.ecm.core.event
Methods in org.nuxeo.ecm.core.event that return CoreSession Modifier and Type Method Description CoreSession
EventContext. getCoreSession()
Gets the current core session if any.Methods in org.nuxeo.ecm.core.event with parameters of type CoreSession Modifier and Type Method Description void
EventContext. setCoreSession(CoreSession session)
Sets the core session. -
Uses of CoreSession in org.nuxeo.ecm.core.event.impl
Fields in org.nuxeo.ecm.core.event.impl declared as CoreSession Modifier and Type Field Description protected CoreSession
ReconnectedEventBundleImpl. reconnectedCoreSession
protected CoreSession
EventContextImpl. session
Methods in org.nuxeo.ecm.core.event.impl that return CoreSession Modifier and Type Method Description CoreSession
EventContextImpl. getCoreSession()
CoreSession
ShallowDocumentModel. getCoreSession()
protected CoreSession
ReconnectedEventBundleImpl. getReconnectedCoreSession(String repoName, String originatingUsername)
Methods in org.nuxeo.ecm.core.event.impl with parameters of type CoreSession Modifier and Type Method Description void
ShallowDocumentModel. attach(CoreSession coreSession)
protected boolean
ReconnectedEventBundleImpl. refetchDocumentModel(CoreSession session, Object eventProperty)
void
EventContextImpl. setCoreSession(CoreSession session)
Constructors in org.nuxeo.ecm.core.event.impl with parameters of type CoreSession Constructor Description DocumentEventContext(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
Methods in org.nuxeo.ecm.core.io with parameters of type CoreSession Modifier and Type Method Description InputStream
DocumentXMLExporter. exportXML(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputStream
.byte[]
DocumentXMLExporter. exportXMLAsByteArray(DocumentModel doc, CoreSession session)
Exports a document to XML as a byte array.InputSource
DocumentXMLExporter. exportXMLAsInputSource(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputSource
.void
ImportExtension. updateImport(CoreSession session, DocumentModel docModel, ExportedDocument result)
-
Uses of CoreSession in org.nuxeo.ecm.core.io.impl
Fields in org.nuxeo.ecm.core.io.impl declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractDocumentModelWriter. session
Methods in org.nuxeo.ecm.core.io.impl with parameters of type CoreSession Modifier and Type Method Description InputStream
DocumentXMLExporterImpl. exportXML(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputStream
.byte[]
DocumentXMLExporterImpl. exportXMLAsByteArray(DocumentModel doc, CoreSession session)
Exports a document to XML as a byte array.InputSource
DocumentXMLExporterImpl. exportXMLAsInputSource(DocumentModel doc, CoreSession session)
Exports a document to XML as anInputSource
.Constructors in org.nuxeo.ecm.core.io.impl with parameters of type CoreSession Constructor Description AbstractDocumentModelWriter(CoreSession session, String parentPath)
AbstractDocumentModelWriter(CoreSession session, String parentPath, int saveInterval)
-
Uses of CoreSession in org.nuxeo.ecm.core.io.impl.extensions
Methods in org.nuxeo.ecm.core.io.impl.extensions with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.core.io.impl.plugins declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentModelReader. session
Methods in org.nuxeo.ecm.core.io.impl.plugins with parameters of type CoreSession Modifier and Type Method Description static DocumentsListReader
DocumentsListReader. createDocumentsListReader(CoreSession session, Collection<DocumentRef> docRefsList)
-
Uses of CoreSession in org.nuxeo.ecm.core.io.registry.context
Methods in org.nuxeo.ecm.core.io.registry.context that return CoreSession Modifier and Type Method Description CoreSession
RenderingContext.SessionWrapper. getSession()
Methods in org.nuxeo.ecm.core.io.registry.context with parameters of type CoreSession Modifier and Type Method Description static RenderingContextImpl.RenderingContextBuilder
RenderingContext.CtxBuilder. session(CoreSession session)
RenderingContextImpl.RenderingContextBuilder
RenderingContextImpl.RenderingContextBuilder. session(CoreSession session)
void
RenderingContext. setExistingSession(CoreSession session)
Provides aCoreSession
to marshallers.void
RenderingContextImpl. setExistingSession(CoreSession session)
void
ThreadSafeRenderingContext. setExistingSession(CoreSession session)
Constructors in org.nuxeo.ecm.core.io.registry.context with parameters of type CoreSession Constructor Description SessionWrapper(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.core.lifecycle.event
Methods in org.nuxeo.ecm.core.lifecycle.event with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.core.management.storage with parameters of type CoreSession Modifier and Type Method Description protected DocumentModel
DocumentStoreManager. createRootlet(CoreSession session)
void
DocumentStoreManager. doInitializeRepository(CoreSession session)
void
DocumentStoreHandler. onStorageInitialization(CoreSession session, DocumentRef rootletRef)
protected DocumentRef
DocumentStoreManager. setupRootlet(CoreSession session)
Constructors in org.nuxeo.ecm.core.management.storage with parameters of type CoreSession Constructor Description DocumentStoreSessionRunner(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.core.migrator
Methods in org.nuxeo.ecm.core.migrator with parameters of type CoreSession Modifier and Type Method Description abstract 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
Methods in org.nuxeo.ecm.core.model with parameters of type CoreSession Modifier and Type Method Description protected boolean
DocumentModelResolver. hasReadPermission(CoreSession session, DocumentRef docRef)
Checks directly the Read permission asexists(DocumentRef)
relies on the Browse permission only.Method parameters in org.nuxeo.ecm.core.model with type arguments of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.core.opencmis.impl.client that return CoreSession Modifier and Type Method Description CoreSession
NuxeoBinding. getCoreSession()
protected CoreSession
NuxeoSession. getCoreSession()
-
Uses of CoreSession in org.nuxeo.ecm.core.opencmis.impl.server
Fields in org.nuxeo.ecm.core.opencmis.impl.server declared as CoreSession Modifier and Type Field Description protected CoreSession
CMISQLtoNXQL. coreSession
protected CoreSession
NuxeoCmisService. coreSession
Methods in org.nuxeo.ecm.core.opencmis.impl.server that return CoreSession Modifier and Type Method Description CoreSession
NuxeoCmisService. getCoreSession()
protected static CoreSession
NuxeoCmisService. openCoreSession(String repositoryName, String username)
Constructors in org.nuxeo.ecm.core.opencmis.impl.server with parameters of type CoreSession Constructor Description NuxeoCmisService(CoreSession coreSession)
Constructs a Nuxeo CMIS Service from an existingCoreSession
.NuxeoCmisService(CoreSession coreSession, String repositoryName)
-
Uses of CoreSession in org.nuxeo.ecm.core.opencmis.tests
Methods in org.nuxeo.ecm.core.opencmis.tests with parameters of type CoreSession Modifier and Type Method Description static DocumentModel
Helper. createDocument(CoreSession session, DocumentModel doc)
static String
Helper. createUserWorkspace(CoreSession repo, String username)
static Map<String,String>
Helper. makeNuxeoRepository(CoreSession session)
static Map<String,String>
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
Methods in org.nuxeo.ecm.core.repository with parameters of type CoreSession Modifier and Type Method Description abstract 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
Methods in org.nuxeo.ecm.core.rest that return CoreSession Modifier and Type Method Description CoreSession
DocumentObject. getCoreSession()
Methods in org.nuxeo.ecm.core.rest with parameters of type CoreSession Modifier and Type Method Description protected void
CommentService. approveComent(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow workflow.protected DocumentModel
CommentService. createCommentDocument(CoreSession session, DocumentModel target, DocumentModel comment)
Deprecated.Can be overwritten to allow creation of localized comment.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
Fields in org.nuxeo.ecm.core.scroll declared as CoreSession Modifier and Type Field Description protected CoreSession
RepositoryScroll. session
-
Uses of CoreSession in org.nuxeo.ecm.core.search.api.client.search.results.impl
Fields in org.nuxeo.ecm.core.search.api.client.search.results.impl declared as CoreSession Modifier and Type Field Description protected CoreSession
ResultSetImpl. session
Constructors in org.nuxeo.ecm.core.search.api.client.search.results.impl with parameters of type CoreSession Constructor Description ResultSetImpl(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
Methods in org.nuxeo.ecm.core.security with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.core.storage with parameters of type CoreSession Modifier and Type Method Description void
FulltextExtractorWork. extractBinaryFulltext(CoreSession session, DocumentModel doc)
-
Uses of CoreSession in org.nuxeo.ecm.core.storage.action
Methods in org.nuxeo.ecm.core.storage.action with parameters of type CoreSession Modifier and Type Method Description protected void
ExtractBinaryFulltextAction.ExtractBinaryFulltextComputation. compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
-
Uses of CoreSession in org.nuxeo.ecm.core.storage.dbs
Methods in org.nuxeo.ecm.core.storage.dbs with parameters of type CoreSession Modifier and Type Method Description void
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
Methods in org.nuxeo.ecm.core.storage.dbs.action with parameters of type CoreSession Modifier and Type Method Description protected void
UpdateReadAclsAction.UpdateReadAclsComputation. compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
-
Uses of CoreSession in org.nuxeo.ecm.core.trash
Methods in org.nuxeo.ecm.core.trash with parameters of type CoreSession Modifier and Type Method Description boolean
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.String
AbstractTrashService. unmangleName(CoreSession session, DocumentRef parentRef, String docName)
-
Uses of CoreSession in org.nuxeo.ecm.core.versioning
Methods in org.nuxeo.ecm.core.versioning with parameters of type CoreSession Modifier and Type Method Description Document
CompatVersioningService. doPostSave(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String,Serializable> options)
Deprecated.Document
StandardVersioningService. doPostSave(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String,Serializable> options)
Document
VersioningComponent. doPostSave(CoreSession session, Document doc, VersioningOption option, String checkinComment, Map<String,Serializable> options)
VersioningOption
CompatVersioningService. doPreSave(CoreSession session, Document doc, boolean isDirty, VersioningOption option, String checkinComment, Map<String,Serializable> options)
Deprecated.VersioningOption
StandardVersioningService. doPreSave(CoreSession session, Document doc, boolean isDirty, VersioningOption option, String checkinComment, Map<String,Serializable> options)
VersioningOption
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)
List<String>
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
Fields in org.nuxeo.ecm.core.work declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractWork. session
Methods in org.nuxeo.ecm.core.work that return CoreSession Modifier and Type Method Description CoreSession
AbstractWork. initSession()
Deprecated.since 8.1.CoreSession
AbstractWork. initSession(String repositoryName)
Deprecated.since 8.1. -
Uses of CoreSession in org.nuxeo.ecm.csv.core
Methods in org.nuxeo.ecm.csv.core with parameters of type CoreSession Modifier and Type Method Description void
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, String type, Map<String,Serializable> values)
Deprecated.since 8.2boolean
CSVImporterDocumentFactory. exists(CoreSession session, String parentPath, String name, Map<String,Serializable> values)
boolean
DefaultCSVImporterDocumentFactory. exists(CoreSession session, String parentPath, String name, String type, Map<String,Serializable> values)
Deprecated.boolean
DefaultCSVImporterDocumentFactory. exists(CoreSession session, String parentPath, String name, Map<String,Serializable> values)
String
CSVImporter. launchImport(CoreSession session, String parentPath, File csvFile, String csvFileName, CSVImporterOptions options)
Deprecated.since 9.1 useCSVImporter.launchImport(CoreSession, String, Blob, CSVImporterOptions)
instead.String
CSVImporter. launchImport(CoreSession session, String parentPath, Blob blob, CSVImporterOptions options)
String
CSVImporterImpl. launchImport(CoreSession session, String parentPath, File csvFile, String csvFileName, CSVImporterOptions options)
Deprecated.String
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
Fields in org.nuxeo.ecm.csv.core.operation declared as CoreSession Modifier and Type Field Description protected CoreSession
CSVImportLogOperation. mSession
protected CoreSession
CSVImportOperation. mSession
protected CoreSession
CSVImportResultOperation. mSession
protected CoreSession
CSVImportStatusOperation. mSession
-
Uses of CoreSession in org.nuxeo.ecm.directory.core
Fields in org.nuxeo.ecm.directory.core declared as CoreSession Modifier and Type Field Description protected CoreSession
CoreDirectorySession. coreSession
-
Uses of CoreSession in org.nuxeo.ecm.localconf
Fields in org.nuxeo.ecm.localconf declared as CoreSession Modifier and Type Field Description protected CoreSession
PutSimpleConfParam. session
protected CoreSession
PutSimpleConfParams. session
Methods in org.nuxeo.ecm.localconf with parameters of type CoreSession Modifier and Type Method Description void
SimpleConfigurationAdapter. save(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.multi.tenant
Methods in org.nuxeo.ecm.multi.tenant with parameters of type CoreSession Modifier and Type Method Description void
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
Methods in org.nuxeo.ecm.multi.tenant.userworkspace with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.permissions with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.permissions.operations declared as CoreSession Modifier and Type Field Description protected CoreSession
SendNotificationEmailForPermission. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.actions
Fields in org.nuxeo.ecm.platform.actions declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractActionContext. docMgr
Methods in org.nuxeo.ecm.platform.actions that return CoreSession Modifier and Type Method Description CoreSession
AbstractActionContext. getDocumentManager()
CoreSession
ActionContext. getDocumentManager()
Returns the core session to use for filter evaluationMethods in org.nuxeo.ecm.platform.actions with parameters of type CoreSession Modifier and Type Method Description 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
Methods in org.nuxeo.ecm.platform.audio.extension with parameters of type CoreSession Modifier and Type Method Description Blob
ThumbnailAudioFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailAudioFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.audit.api.comment
Fields in org.nuxeo.ecm.platform.audit.api.comment declared as CoreSession Modifier and Type Field Description protected CoreSession
CommentProcessorHelper. documentManager
Constructors in org.nuxeo.ecm.platform.audit.api.comment with parameters of type CoreSession Constructor Description CommentProcessorHelper(CoreSession documentManager)
-
Uses of CoreSession in org.nuxeo.ecm.platform.audit.api.document
Methods in org.nuxeo.ecm.platform.audit.api.document with parameters of type CoreSession Modifier and Type Method Description static AdditionalDocumentAuditParams
DocumentAuditHelper. getAuditParamsForUUID(String uuid, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.audit.service
Methods in org.nuxeo.ecm.platform.audit.service with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.comment.api with parameters of type CoreSession Modifier and Type Method Description Annotation
AnnotationService. createAnnotation(CoreSession session, Annotation annotation)
Creates an annotation on a document.Comment
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
.Annotation
AnnotationService. getAnnotation(CoreSession session, String annotationId)
Gets an annotation.List<Annotation>
AnnotationService. getAnnotations(CoreSession session, String documentId, String xpath)
Gets all annotations for a document.Comment
CommentManager. getComment(CoreSession session, String commentId)
Gets a comment.List<Comment>
CommentManager. getComments(CoreSession session, String documentId)
Gets all comments for a document.List<Comment>
CommentManager. getComments(CoreSession session, String documentId, boolean sortAscending)
Gets all comments for a document.PartialList<Comment>
CommentManager. getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex)
Gets all comments for a document.PartialList<Comment>
CommentManager. getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)
Gets all comments for a document.List<Comment>
CommentManager. getComments(CoreSession session, Collection<String> documentIds)
Gets all comments for a collection of documents.List<DocumentModel>
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)
insteadAnnotation
AnnotationService. 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)
insteadComment
CommentManager. getExternalComment(CoreSession session, String documentId, String entityId)
Gets an external comment by itsentityId
under the document withdocumentId
.DocumentRef
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.Comment
CommentManager. updateComment(CoreSession session, String commentId, Comment comment)
Updates a comment.Annotation
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)
insteadComment
CommentManager. 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
Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type CoreSession Modifier and Type Method Description protected 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)
Annotation
AnnotationServiceImpl. createAnnotation(CoreSession session, Annotation annotation)
Comment
BridgeCommentManager. createComment(CoreSession session, Comment comment)
Comment
CommentManagerImpl. createComment(CoreSession session, Comment comment)
Deprecated.Comment
PropertyCommentManager. createComment(CoreSession session, Comment comment)
Deprecated.Comment
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.Annotation
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.List<Annotation>
AnnotationServiceImpl. getAnnotations(CoreSession session, String documentId, String xpath)
Comment
BridgeCommentManager. getComment(CoreSession session, String commentId)
Comment
CommentManagerImpl. getComment(CoreSession session, String commentId)
Deprecated.Comment
PropertyCommentManager. getComment(CoreSession session, String commentId)
Deprecated.Comment
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)
protected List<String>
CommentsMigrator. getCommentFolders(CoreSession session)
List<Comment>
AbstractCommentManager. getComments(CoreSession session, String documentId)
List<Comment>
AbstractCommentManager. getComments(CoreSession session, String documentId, boolean sortAscending)
PartialList<Comment>
AbstractCommentManager. getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex)
List<Comment>
BridgeCommentManager. getComments(CoreSession session, String documentId)
PartialList<Comment>
BridgeCommentManager. getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)
List<Comment>
BridgeCommentManager. getComments(CoreSession session, Collection<String> documentIds)
List<DocumentModel>
BridgeCommentManager. getComments(CoreSession session, DocumentModel docModel)
PartialList<Comment>
CommentManagerImpl. getComments(CoreSession s, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)
Deprecated.List<Comment>
CommentManagerImpl. getComments(CoreSession session, Collection<String> documentIds)
Deprecated.List<DocumentModel>
CommentManagerImpl. getComments(CoreSession s, DocumentModel docModel)
Deprecated.PartialList<Comment>
PropertyCommentManager. getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)
Deprecated.List<Comment>
PropertyCommentManager. getComments(CoreSession session, Collection<String> documentIds)
Deprecated.List<DocumentModel>
PropertyCommentManager. getComments(CoreSession session, DocumentModel docModel)
Deprecated.PartialList<Comment>
TreeCommentManager. getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending)
List<Comment>
TreeCommentManager. getComments(CoreSession session, Collection<String> documentIds)
List<DocumentModel>
TreeCommentManager. getComments(CoreSession session, DocumentModel doc)
Annotation
AnnotationServiceImpl. getExternalAnnotation(CoreSession session, String documentId, String entityId)
Comment
BridgeCommentManager. getExternalComment(CoreSession session, String documentId, String entityId)
Comment
CommentManagerImpl. getExternalComment(CoreSession session, String documentId, String entityId)
Deprecated.Comment
PropertyCommentManager. getExternalComment(CoreSession session, String documentId, String entityId)
Deprecated.Comment
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)
DocumentRef
AbstractCommentManager. getTopLevelDocumentRef(CoreSession session, DocumentRef commentRef)
DocumentRef
BridgeCommentManager. getTopLevelDocumentRef(CoreSession session, DocumentRef commentIdRef)
protected List<String>
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)
protected Stream<Comment>
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)
Comment
BridgeCommentManager. updateComment(CoreSession session, String commentId, Comment comment)
Comment
CommentManagerImpl. updateComment(CoreSession session, String commentId, Comment comment)
Deprecated.Comment
PropertyCommentManager. updateComment(CoreSession session, String commentId, Comment comment)
Deprecated.Comment
TreeCommentManager. updateComment(CoreSession session, String commentId, Comment comment)
Annotation
AnnotationServiceImpl. updateExternalAnnotation(CoreSession session, String documentId, String entityId, Annotation annotation)
Comment
BridgeCommentManager. updateExternalComment(CoreSession session, String documentId, String entityId, Comment comment)
Comment
CommentManagerImpl. updateExternalComment(CoreSession session, String documentId, String entityId, Comment comment)
Deprecated.Comment
PropertyCommentManager. updateExternalComment(CoreSession session, String documentId, String entityId, Comment comment)
Deprecated.Comment
TreeCommentManager. updateExternalComment(CoreSession session, String documentId, String entityId, Comment comment)
protected void
CommentJsonWriter. writeRepliesSummary(CoreSession session, Comment entity, com.fasterxml.jackson.core.JsonGenerator jg)
Method parameters in org.nuxeo.ecm.platform.comment.impl with type arguments of type CoreSession Modifier and Type Method Description protected List<DocumentModel>
CommentManagerImpl. doPrivileged(CoreSession session, String repositoryName, Function<CoreSession,List<DocumentModel>> function)
Deprecated. -
Uses of CoreSession in org.nuxeo.ecm.platform.comment.listener
Methods in org.nuxeo.ecm.platform.comment.listener with parameters of type CoreSession Modifier and Type Method Description protected void
AbstractCommentListener. deleteCommentChildren(CoreSession coreSession, CommentManager commentManager, DocumentModel documentModel)
protected abstract void
AbstractCommentListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)
protected void
CommentRemovedEventListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)
protected void
DocumentRemovedCommentEventListener. doProcess(CoreSession coreSession, RelationManager relationManager, CommentServiceConfig config, DocumentModel docMessage)
protected void
CheckedInCommentListener. updateCommentProperties(CoreSession session, String ecmParentId, String commentParentId, String... parentCommentAncestorIds)
-
Uses of CoreSession in org.nuxeo.ecm.platform.comment.workflow
Fields in org.nuxeo.ecm.platform.comment.workflow declared as CoreSession Modifier and Type Field Description protected CoreSession
ModerateCommentOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.comment.workflow.services
Methods in org.nuxeo.ecm.platform.comment.workflow.services with parameters of type CoreSession Modifier and Type Method Description void
CommentsModerationService. approveComent(CoreSession session, DocumentModel document, String commentId)
Approve the comment with the given commentId.void
CommentsModerationServiceImpl. approveComent(CoreSession session, DocumentModel doc, String commentId)
Task
CommentsModerationServiceImpl. getModerationTask(TaskService taskService, CoreSession session, DocumentModel doc, String commentId)
protected void
CommentsModerationServiceImpl. notifyEvent(CoreSession session, String eventId, Map<String,Serializable> properties, String comment, String category, DocumentModel dm)
void
CommentsModerationService. publishComment(CoreSession session, DocumentModel comment)
Publish the given comment.void
CommentsModerationServiceImpl. publishComment(CoreSession session, DocumentModel comment)
void
CommentsModerationService. rejectComment(CoreSession session, DocumentModel document, String commentId)
Reject the comment with the given commentId.void
CommentsModerationServiceImpl. rejectComment(CoreSession session, DocumentModel doc, String commentId)
void
CommentsModerationService. startModeration(CoreSession session, DocumentModel document, String commentId, ArrayList<String> moderators)
Starts the moderation process on given Comment posted on a documentModel.void
CommentsModerationServiceImpl. startModeration(CoreSession session, DocumentModel doc, String commentID, ArrayList<String> moderators)
-
Uses of CoreSession in org.nuxeo.ecm.platform.comment.workflow.utils
Constructors in org.nuxeo.ecm.platform.comment.workflow.utils with parameters of type CoreSession Constructor Description FollowTransitionUnrestricted(CoreSession session, DocumentRef docRef, String transition)
-
Uses of CoreSession in org.nuxeo.ecm.platform.content.template.factories
Fields in org.nuxeo.ecm.platform.content.template.factories declared as CoreSession Modifier and Type Field Description protected CoreSession
BaseContentFactory. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.content.template.listener
Methods in org.nuxeo.ecm.platform.content.template.listener with parameters of type CoreSession Modifier and Type Method Description void
RepositoryInitializationListener. doInitializeRepository(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.content.template.service
Methods in org.nuxeo.ecm.platform.content.template.service with parameters of type CoreSession Modifier and Type Method Description void
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
Methods in org.nuxeo.ecm.platform.csv.export.computation with parameters of type CoreSession Modifier and Type Method Description protected void
CSVProjectionComputation. compute(CoreSession session, List<String> ids, Map<String,Serializable> properties)
-
Uses of CoreSession in org.nuxeo.ecm.platform.dublincore.listener
Constructors in org.nuxeo.ecm.platform.dublincore.listener with parameters of type CoreSession Constructor Description UnrestrictedPropertySetter(CoreSession session, DocumentRef docRef, String xpath, Serializable value)
-
Uses of CoreSession in org.nuxeo.ecm.platform.ec.notification.automation
Fields in org.nuxeo.ecm.platform.ec.notification.automation declared as CoreSession Modifier and Type Field Description protected CoreSession
SubscribeOperation. coreSession
protected CoreSession
UnsubscribeOperation. coreSession
-
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.api
Fields in org.nuxeo.ecm.platform.filemanager.api declared as CoreSession Modifier and Type Field Description protected CoreSession
FileImporterContext.Builder. session
protected CoreSession
FileImporterContext. session
Methods in org.nuxeo.ecm.platform.filemanager.api that return CoreSession Modifier and Type Method Description CoreSession
FileImporterContext. getSession()
Methods in org.nuxeo.ecm.platform.filemanager.api with parameters of type CoreSession Modifier and Type Method Description static FileImporterContext.Builder
FileImporterContext. builder(CoreSession session, Blob blob, String parentPath)
DocumentModel
FileManager. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName)
Deprecated.since 10.10.DocumentModel
FileManager. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck)
Deprecated.since 10.10.default DocumentModel
FileManager. createFolder(CoreSession documentManager, String fullname, String path)
Deprecated.since 9.1, useFileManager.createFolder(CoreSession, String, String, boolean)
insteadDocumentModel
FileManager. createFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)
Creates a Folder.List<DocumentLocation>
FileManager. findExistingDocumentWithFile(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal)
DocumentModelList
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.DocumentModel
FileManager. updateDocumentFromBlob(CoreSession documentManager, Blob input, String path, String fullName)
Deprecated.since 10.10.Constructors in org.nuxeo.ecm.platform.filemanager.api with parameters of type CoreSession Constructor Description Builder(CoreSession session, Blob blob, String parentPath)
-
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.core.listener
Methods in org.nuxeo.ecm.platform.filemanager.core.listener with parameters of type CoreSession Modifier and Type Method Description protected void
AbstractUnicityChecker. doUnicityCheck(DocumentModel doc2Check, CoreSession session, Event event)
protected abstract void
AbstractUnicityChecker. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
AsynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
SynchronousUnicityCheckListener. onDuplicatedDoc(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs, Event event)
protected void
AbstractUnicityChecker. raiseDuplicatedFileEvent(CoreSession session, NuxeoPrincipal principal, DocumentModel newDoc, List<DocumentLocation> existingDocs)
-
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.service
Methods in org.nuxeo.ecm.platform.filemanager.service with parameters of type CoreSession Modifier and Type Method Description DocumentModel
FileManagerService. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName)
DocumentModel
FileManagerService. createDocumentFromBlob(CoreSession documentManager, Blob input, String path, boolean overwrite, String fullName, boolean noMimeTypeCheck)
DocumentModel
FileManagerService. createFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)
DocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path)
Deprecated.since 9.1, useFileManagerService.defaultCreateFolder(CoreSession, String, String, boolean)
insteadDocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, boolean overwrite)
DocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes)
Deprecated.DocumentModel
FileManagerService. defaultCreateFolder(CoreSession documentManager, String fullname, String path, String containerTypeName, boolean checkAllowedSubTypes, boolean overwrite)
List<DocumentLocation>
FileManagerService. findExistingDocumentWithFile(CoreSession documentManager, String path, String digest, NuxeoPrincipal principal)
DocumentModelList
FileManagerService. getCreationContainers(CoreSession documentManager, String docType)
DocumentModel
FileManagerService. updateDocumentFromBlob(CoreSession documentManager, Blob input, String path, String fullName)
-
Uses of CoreSession in org.nuxeo.ecm.platform.filemanager.service.extension
Methods in org.nuxeo.ecm.platform.filemanager.service.extension with parameters of type CoreSession Modifier and Type Method Description protected void
AbstractFileImporter. checkAllowedSubtypes(CoreSession session, String path, String typeName)
protected void
AbstractFileImporter. checkSecurity(CoreSession session, String path)
DocumentModel
AbstractFileImporter. create(CoreSession session, Blob content, String path, boolean overwrite, String fullname, TypeManager typeService)
DocumentModel
AbstractFolderImporter. create(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager)
DocumentModel
FileImporter. create(CoreSession documentManager, Blob content, String path, boolean overwrite, String filename, TypeManager typeService)
Deprecated.since 10.10.DocumentModel
FolderImporter. create(CoreSession documentManager, String fullname, String path, boolean overwrite, TypeManager typeManager)
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)
insteadDocumentModelList
CreationContainerListProvider. getCreationContainerList(CoreSession documentManager, String docType)
Build the list of candidate containers for the given document type and session.DocumentModelList
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
Methods in org.nuxeo.ecm.platform.filemanager.utils with parameters of type CoreSession Modifier and Type Method Description static DocumentModel
FileManagerUtils. getExistingDocByFileName(CoreSession documentManager, String path, String filename)
Looks if an existing Document with the same filename exists.static DocumentModel
FileManagerUtils. getExistingDocByPropertyName(CoreSession documentManager, String path, String value, String propertyName)
Looks if an existing Document has the same value for a given property.static DocumentModel
FileManagerUtils. getExistingDocByTitle(CoreSession documentManager, String path, String title)
Looks if an existing Document with the same title exists. -
Uses of CoreSession in org.nuxeo.ecm.platform.importer.base
Fields in org.nuxeo.ecm.platform.importer.base declared as CoreSession Modifier and Type Field Description protected CoreSession
GenericMultiThreadedImporter. session
protected CoreSession
GenericThreadedImportTask. session
Methods in org.nuxeo.ecm.platform.importer.base that return CoreSession Modifier and Type Method Description protected CoreSession
GenericThreadedImportTask. getCoreSession()
Constructors in org.nuxeo.ecm.platform.importer.base with parameters of type CoreSession Constructor Description GenericThreadedImportTask(CoreSession session)
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
Methods in org.nuxeo.ecm.platform.importer.factories with parameters of type CoreSession Modifier and Type Method Description DocumentModel
DefaultDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
FileManagerDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ImporterDocumentModelFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
DefaultDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
FileManagerDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ImporterDocumentModelFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
DefaultDocumentModelFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
boolean
AbstractDocumentModelFactory. processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
By default there is no process bound to a folderish node creation error, and the global import task will continue.boolean
ImporterDocumentModelFactory. processFolderishNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
Defines the process to execute when a folderish node creation error occurs.boolean
AbstractDocumentModelFactory. processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
By default there is no process bound to a leaf node creation error, and the global import task will continue.boolean
ImporterDocumentModelFactory. processLeafNodeCreationError(CoreSession session, DocumentModel parent, SourceNode node)
Defines the process to execute when a leaf node creation error occurs.protected DocumentModel
AbstractDocumentModelFactory. setDocumentProperties(CoreSession session, Map<String,Serializable> properties, DocumentModel doc)
Set all the properties to the givendoc
. -
Uses of CoreSession in org.nuxeo.ecm.platform.importer.xml.parser
Fields in org.nuxeo.ecm.platform.importer.xml.parser declared as CoreSession Modifier and Type Field Description protected CoreSession
MVELImporterFunction. session
protected CoreSession
XMLImporterServiceImpl. session
Methods in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type CoreSession Modifier and Type Method Description DocumentModel
AdvancedScannedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
Constructors in org.nuxeo.ecm.platform.importer.xml.parser with parameters of type CoreSession Constructor Description MVELImporterFunction(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
Fields in org.nuxeo.ecm.platform.io.operation declared as CoreSession Modifier and Type Field Description protected CoreSession
ExportDocument. session
Methods in org.nuxeo.ecm.platform.io.operation with parameters of type CoreSession Modifier and Type Method Description protected DocumentReader
ExportDocument. makeDocumentReader(CoreSession session, DocumentModel doc, boolean exportAsTree, boolean exportAsZip)
-
Uses of CoreSession in org.nuxeo.ecm.platform.mail.listener.action
Methods in org.nuxeo.ecm.platform.mail.listener.action that return CoreSession Modifier and Type Method Description protected CoreSession
AbstractMailAction. getCoreSession(ExecutionContext context)
Constructors in org.nuxeo.ecm.platform.mail.listener.action with parameters of type CoreSession Constructor Description UnrestrictedCreateDocument(DocumentModel document, CoreSession session, Map<String,String> names)
-
Uses of CoreSession in org.nuxeo.ecm.platform.mail.operations
Fields in org.nuxeo.ecm.platform.mail.operations declared as CoreSession Modifier and Type Field Description protected CoreSession
MailCheckInboxOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.mail.utils
Methods in org.nuxeo.ecm.platform.mail.utils with parameters of type CoreSession Modifier and Type Method Description static void
MailCoreHelper. checkMail(DocumentModel currentMailFolder, CoreSession coreSession)
Creates MailMessage documents for every unread mail found in the INBOX.protected static void
MailCoreHelper. doCheckMail(DocumentModel currentMailFolder, CoreSession coreSession)
-
Uses of CoreSession in org.nuxeo.ecm.platform.pdf
Methods in org.nuxeo.ecm.platform.pdf with parameters of type CoreSession Modifier and Type Method Description void
PDFMerge. addBlobs(String[] inDocIDs, String inXPath, CoreSession inSession)
DocumentModel
PDFInfo. toFields(DocumentModel inDoc, HashMap<String,String> inMapping, boolean inSave, CoreSession inSession)
TheinMapping
map is an HashMap where the key is the xpath of the destination field, and the value is the exact label of a PDF info as returned bytoHashMap()
.Constructors in org.nuxeo.ecm.platform.pdf with parameters of type CoreSession Constructor Description PDFMerge(String[] inDocIDs, String inXPath, CoreSession inSession)
-
Uses of CoreSession in org.nuxeo.ecm.platform.pdf.operations
Fields in org.nuxeo.ecm.platform.pdf.operations declared as CoreSession Modifier and Type Field Description protected CoreSession
PDFExtractInfoOperation. session
protected CoreSession
PDFExtractPagesOperation. session
protected CoreSession
PDFExtractTextOperation. session
protected CoreSession
PDFMergeDocumentsOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.picture
Methods in org.nuxeo.ecm.platform.picture with parameters of type CoreSession Modifier and Type Method Description void
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
Methods in org.nuxeo.ecm.platform.picture.api.adapters that return CoreSession Modifier and Type Method Description protected CoreSession
AbstractPictureAdapter. getSession()
protected CoreSession
PictureBookBlobHolder. getSession()
-
Uses of CoreSession in org.nuxeo.ecm.platform.picture.listener
Methods in org.nuxeo.ecm.platform.picture.listener with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.platform.picture.operation declared as CoreSession Modifier and Type Field Description protected CoreSession
CreatePicture. session
protected CoreSession
RecomputePictureViews. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.picture.recompute
Methods in org.nuxeo.ecm.platform.picture.recompute with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.picture.thumbnail with parameters of type CoreSession Modifier and Type Method Description Blob
ThumbnailPictureFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailPictureFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.api
Fields in org.nuxeo.ecm.platform.publisher.api declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractBasePublicationTree. coreSession
protected CoreSession
AbstractBasePublishedDocumentFactory. coreSession
Methods in org.nuxeo.ecm.platform.publisher.api with parameters of type CoreSession Modifier and Type Method Description PublicationTree
PublisherService. getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params)
PublicationTree
PublisherService. getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params, DocumentModel currentDocument)
PublicationTree
PublisherService. getPublicationTreeFor(DocumentModel doc, CoreSession coreSession)
RootSectionFinder
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)
PublicationNode
PublisherService. wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession)
-
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.helper
Fields in org.nuxeo.ecm.platform.publisher.helper declared as CoreSession Modifier and Type Field Description protected CoreSession
RootSectionsManager. coreSession
Methods in org.nuxeo.ecm.platform.publisher.helper with parameters of type CoreSession Modifier and Type Method Description static PublicationTree
PublicationRelationHelper. getPublicationTreeUsedForPublishing(DocumentModel documentModel, CoreSession coreSession)
RootSectionFinder
RootSectionFinderFactory. getRootSectionFinder(CoreSession session)
Constructors in org.nuxeo.ecm.platform.publisher.helper with parameters of type CoreSession Constructor Description RootSectionsManager(CoreSession coreSession)
-
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.impl.core
Fields in org.nuxeo.ecm.platform.publisher.impl.core declared as CoreSession Modifier and Type Field Description protected CoreSession
VirtualCoreFolderPublicationNode. coreSession
Methods in org.nuxeo.ecm.platform.publisher.impl.core that return CoreSession Modifier and Type Method Description protected CoreSession
CoreFolderPublicationNode. getCoreSession()
Methods in org.nuxeo.ecm.platform.publisher.impl.core with parameters of type CoreSession Modifier and Type Method Description void
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)
Constructors in org.nuxeo.ecm.platform.publisher.impl.core with parameters of type CoreSession Constructor Description VirtualCoreFolderPublicationNode(CoreSession coreSession, String documentPath, PublicationTree tree, PublishedDocumentFactory factory)
-
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.impl.finder
Fields in org.nuxeo.ecm.platform.publisher.impl.finder declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractRootSectionsFinder. userSession
Methods in org.nuxeo.ecm.platform.publisher.impl.finder with parameters of type CoreSession Modifier and Type Method Description protected 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)
Constructors in org.nuxeo.ecm.platform.publisher.impl.finder with parameters of type CoreSession Constructor Description AbstractRootSectionsFinder(CoreSession userSession)
DefaultRootSectionsFinder(CoreSession userSession)
-
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.impl.service
-
Uses of CoreSession in org.nuxeo.ecm.platform.publisher.task
Methods in org.nuxeo.ecm.platform.publisher.task with parameters of type CoreSession Modifier and Type Method Description protected void
CoreProxyWithWorkflowFactory. createTask(DocumentModel document, CoreSession session, NuxeoPrincipal principal)
protected void
CoreProxyWithWorkflowFactory. endTask(DocumentModel document, NuxeoPrincipal currentUser, CoreSession session, String comment, PublishingEvent event)
protected DocumentModel
CoreProxyWithWorkflowFactory. getLiveDocument(CoreSession session, DocumentModel proxy)
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)
Constructors in org.nuxeo.ecm.platform.publisher.task with parameters of type CoreSession Constructor Description ChangePermissionUnrestricted(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
Methods in org.nuxeo.ecm.platform.query.nxql that return CoreSession Modifier and Type Method Description protected CoreSession
CoreQueryAndFetchPageProvider. getCoreSession()
protected CoreSession
CoreQueryDocumentPageProvider. getCoreSession()
Methods in org.nuxeo.ecm.platform.query.nxql with parameters of type CoreSession Modifier and Type Method Description protected void
CoreQueryDocumentPageProvider. buildQuery(CoreSession coreSession)
Constructors in org.nuxeo.ecm.platform.query.nxql with parameters of type CoreSession Constructor Description CoreQueryAndFetchUnrestrictedSessionRunner(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
Fields in org.nuxeo.ecm.platform.relations declared as CoreSession Modifier and Type Field Description protected CoreSession
CoreGraph. session
Methods in org.nuxeo.ecm.platform.relations with parameters of type CoreSession Modifier and Type Method Description Graph
CoreGraphFactory. createGraph(GraphDescription graphDescription, CoreSession session)
Constructors in org.nuxeo.ecm.platform.relations with parameters of type CoreSession Constructor Description CoreGraph(CoreSession session)
A graph with this base session.ResourceFinder(Resource resource, CoreSession session)
SizeFinder(CoreSession session)
StatementAdder(List<Statement> statements, CoreSession session)
StatementFinder(Statement statement, CoreSession session)
StatementRemover(List<Statement> statements, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.relations.api
Methods in org.nuxeo.ecm.platform.relations.api with parameters of type CoreSession Modifier and Type Method Description void
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents)
Add link between two documentvoid
DocumentRelationManager. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment)
Add link between two documentGraph
GraphFactory. 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)
Graph
RelationManager. getGraph(String name, CoreSession session)
Gets a registered graph by name. -
Uses of CoreSession in org.nuxeo.ecm.platform.relations.api.util
Methods in org.nuxeo.ecm.platform.relations.api.util with parameters of type CoreSession Modifier and Type Method Description static 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
Methods in org.nuxeo.ecm.platform.relations.jena with parameters of type CoreSession Modifier and Type Method Description Graph
JenaOrCoreGraphFactory. createGraph(GraphDescription graphDescription, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.relations.services
Methods in org.nuxeo.ecm.platform.relations.services with parameters of type CoreSession Modifier and Type Method Description void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean inverse)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node to, String predicate, boolean inverse, boolean includeStatementsInEvents)
void
DocumentRelationService. addRelation(CoreSession session, DocumentModel from, Node toResource, String predicate, boolean inverse, boolean includeStatementsInEvents, String comment)
void
DocumentRelationService. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate)
void
DocumentRelationService. deleteRelation(CoreSession session, DocumentModel from, DocumentModel to, String predicate, boolean includeStatementsInEvents)
void
DocumentRelationService. deleteRelation(CoreSession session, Statement stmt)
void
DocumentRelationService. deleteRelation(CoreSession session, Statement stmt, boolean includeStatementsInEvents)
Graph
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
Methods in org.nuxeo.ecm.platform.rendering.fm.adapters that return CoreSession Modifier and Type Method Description CoreSession
DocumentTemplate. getSession()
-
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.extension
Methods in org.nuxeo.ecm.platform.rendition.extension with parameters of type CoreSession Modifier and Type Method Description static List<Blob>
AutomationRenderer. render(DocumentModel doc, RenditionDefinition definition, CoreSession session)
Generate the rendition Blobs for a givenRenditionDefinition
. -
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.lazy
Methods in org.nuxeo.ecm.platform.rendition.lazy with parameters of type CoreSession Modifier and Type Method Description protected abstract List<Blob>
AbstractRenditionBuilderWork. doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)
Does the actual Rendition Computation: this code will be called from inside an Asynchronous Workprotected List<Blob>
AutomationRenditionBuilder. doComputeRendition(CoreSession session, DocumentModel doc, RenditionDefinition def)
-
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.operation
Fields in org.nuxeo.ecm.platform.rendition.operation declared as CoreSession Modifier and Type Field Description protected CoreSession
GetContainerRendition. session
protected CoreSession
PublishRendition. session
protected CoreSession
UnpublishAll. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.publisher
Fields in org.nuxeo.ecm.platform.rendition.publisher declared as CoreSession Modifier and Type Field Description protected CoreSession
RenditionLiveDocFetcher. coreSession
Methods in org.nuxeo.ecm.platform.rendition.publisher with parameters of type CoreSession Modifier and Type Method Description protected DocumentModel
RenditionPublicationFactory. getLiveDocument(CoreSession session, DocumentModel proxy)
Constructors in org.nuxeo.ecm.platform.rendition.publisher with parameters of type CoreSession Constructor Description RemoveACP(CoreSession session, DocumentRef docRef)
RenditionLiveDocFetcher(CoreSession session, DocumentModel source)
-
Uses of CoreSession in org.nuxeo.ecm.platform.rendition.service
Methods in org.nuxeo.ecm.platform.rendition.service with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.routing.api with parameters of type CoreSession Modifier and Type Method Description void
DocumentRoutingService. addRouteElementToRoute(DocumentRef parentDocumentRef, int idx, DocumentRouteElement routeElement, CoreSession session)
Deprecated.since 5.9.2 - Use only routes of type 'graph'void
DocumentRoutingService. addRouteElementToRoute(DocumentRef parentDocumentRef, String sourceName, DocumentRouteElement routeElement, CoreSession session)
Deprecated.since 5.9.2 - Use only routes of type 'graph'void
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.DocumentModel
DocumentRoutingPersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)
Creates a blankDocumentRoute
instance from a model.String
DocumentRoutingService. createNewInstance(String routeModelId, List<String> docIds, Map<String,Serializable> map, CoreSession session, boolean startInstance)
Creates a new route instance and optionally starts it.String
DocumentRoutingService. createNewInstance(String routeModelId, List<String> docIds, CoreSession session, boolean startInstance)
Creates a new route instance and optionally starts it.DocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)
Deprecated.since 5.6, use other APIsDocumentRoute
DocumentRoutingService. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)
Deprecated.since 5.6, use other APIsDocumentRoute
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
RoutingTaskService. endTask(CoreSession session, Task task, Map<String,Object> data, String status)
Deprecated.since 5.6, use DocumentRoutingService insteadvoid
DocumentRoutingService. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)
Deprecated.// will be removed in 5.8, use completeTask insteadvoid
DocumentRouteElement. followTransition(DocumentRouteElement.ElementLifeCycleTransistion transition, CoreSession session, boolean recursive)
make this element follow a transition.DocumentModelList
ActionableObject. getAttachedDocuments(CoreSession session)
Deprecated.The documents processed by the action.DocumentModelList
DocumentRouteElement. getAttachedDocuments(CoreSession session)
Return the list of documents that this route processes.List<DocumentRoute>
DocumentRoutingService. getAvailableDocumentRoute(CoreSession session)
Return the list of availableDocumentRoute
document route.List<DocumentRoute>
DocumentRoutingService. getAvailableDocumentRouteModel(CoreSession session)
Return the list of availableDocumentRoute
model the user can start.List<DocumentRoute>
DocumentRoutingService. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)
DocumentRoute
DocumentRouteElement. getDocumentRoute(CoreSession session)
Return the DocumentRoute this element is part of.List<DocumentRoute>
DocumentRoutingService. getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId)
List<DocumentRoute>
DocumentRoutingService. getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId, List<DocumentRouteElement.ElementLifeCycleState> states)
Return the list of relatedDocumentRoute
in a state for a given attached document.DocumentRouteStep
ActionableObject. getDocumentRouteStep(CoreSession session)
Deprecated.The step that represent the action.String
LockableDocumentRoute. getLockOwner(CoreSession session)
DocumentModel
DocumentRoutingPersister. getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)
Will get, and create if it does not exists the root document in whichDocumentRoute
structure will be created.DocumentModelList
DocumentRoutingService. getOrderedRouteElement(String routeElementId, CoreSession session)
Deprecated.since 5.9.2 - Use only routes of type 'graph'DocumentModel
DocumentRoutingPersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)
Get or create the parent folder for aDocumentRoute
route instance.DocumentModel
DocumentRoutingPersister. getParentFolderForDocumentRouteModels(CoreSession session)
Gets or creates the parent folder for aDocumentRoute
route instance.DocumentModel
DocumentRoutingPersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)
Returns a folder in which new model, created from an instance of route will be stored.List<DocumentRouteTableElement>
DocumentRoutingService. getRouteElements(DocumentRoute route, CoreSession session)
Computes the list of elementsDocumentRouteTableElement
for thisDocumentRoute
.String
DocumentRoutingService. getRouteModelDocIdWithId(CoreSession session, String id)
Returns the doc id of the route model with the given idDocumentRoute
DocumentRoutingService. getRouteModelWithId(CoreSession session, String id)
Returns the route model with the given idList<DocumentRoute>
DocumentRoutingService. getRunnableWorkflows(CoreSession session, List<String> documentIds)
Returns a list of runnable document routes for the input document IDs.List<DocumentRoute>
DocumentRoutingService. getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session)
List<DocumentRoute>
DocumentRoutingService. getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session, String worflowModelName)
List<Task>
DocumentRoutingService. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String workflowModelName, CoreSession session)
Deprecated.since 11.1 this method does not scale as it does not paginate results.List<DocumentModel>
DocumentRoutingService. getWorkflowInputDocuments(CoreSession session, Task task)
Gets the documents following the workflow to which the given task belongsList<DocumentModel>
RoutingTaskService. getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.since 5.6, use DocumentRoutingService insteadvoid
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.DocumentRoute
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.1void
RoutingTaskService. makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated.since 5.6, use DocumentRoutingService insteadboolean
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
DocumentRoutingService. removeRouteElement(DocumentRouteElement routeElement, CoreSession session)
Deprecated.since 5.9.2 - Use only routes of type 'graph'void
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.DocumentModel
DocumentRoutingPersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)
DocumentRoute
DocumentRoutingService. saveRouteAsNewModel(DocumentRoute route, CoreSession session)
Save a route instance as a new model of route.List<DocumentModel>
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
.DocumentRouteStep
DocumentRouteStep. undo(CoreSession session)
Undo this step.void
LockableDocumentRoute. unlockDocument(CoreSession session)
void
DocumentRoutingService. unlockDocumentRoute(DocumentRoute routeModel, CoreSession session)
Unlocks thisDocumentRoute
.If the document is not locked throws aDocumentRouteNotLockedException
DocumentRoute
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.DocumentRoute
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.helper
Fields in org.nuxeo.ecm.platform.routing.api.helper declared as CoreSession Modifier and Type Field Description protected CoreSession
ActionableValidator. session
Deprecated.Methods in org.nuxeo.ecm.platform.routing.api.helper with parameters of type CoreSession Modifier and Type Method Description void
StepResumeRunner. resumeStep(CoreSession session)
Deprecated.void
ConditionalFolderUpdateRunner. setStepToBeExecutedNext(CoreSession session, String nextStepPos)
Deprecated.Constructors in org.nuxeo.ecm.platform.routing.api.helper with parameters of type CoreSession Constructor Description ActionableValidator(ActionableObject actionnable, CoreSession session)
Deprecated.ActionableValidator(ActionableObject actionnable, CoreSession session, Map<String,Serializable> additionalProperties)
Deprecated. -
Uses of CoreSession in org.nuxeo.ecm.platform.routing.api.operation
Fields in org.nuxeo.ecm.platform.routing.api.operation declared as CoreSession Modifier and Type Field Description protected CoreSession
MapPropertiesOnTaskOperation. session
protected CoreSession
SetNextStepOnConditionalFolderOperation. session
Deprecated.protected CoreSession
UpdateCommentsInfoOnDocumentOperation. session
Methods in org.nuxeo.ecm.platform.routing.api.operation with parameters of type CoreSession Modifier and Type Method Description protected void
BulkRestartWorkflow. reinitLifecycle(List<String> docIds, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.api
Methods in org.nuxeo.ecm.platform.routing.core.api with parameters of type CoreSession Modifier and Type Method Description void
DocumentRoutingEngineService. cancel(DocumentRoute routeInstance, CoreSession session)
Cancels a route using an unrestricted session.List<String>
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
Fields in org.nuxeo.ecm.platform.routing.core.api.operation declared as CoreSession Modifier and Type Field Description protected 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
Methods in org.nuxeo.ecm.platform.routing.core.api.operation with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.routing.core.audit.es with parameters of type CoreSession Modifier and Type Method Description void
RoutingAuditRequestFilter. init(CoreSession session, String indices, String types, String rawQuery, String payload)
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.bulk
Methods in org.nuxeo.ecm.platform.routing.core.bulk with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.platform.routing.core.impl declared as CoreSession Modifier and Type Field Description protected CoreSession
GetGraphOperation. session
Methods in org.nuxeo.ecm.platform.routing.core.impl that return CoreSession Modifier and Type Method Description protected CoreSession
GraphNodeImpl. getSession()
Methods in org.nuxeo.ecm.platform.routing.core.impl with parameters of type CoreSession Modifier and Type Method Description void
DocumentRoutingServiceImpl. addRouteElementToRoute(DocumentRef parentDocumentRef, int idx, DocumentRouteElement routeElement, CoreSession session)
Deprecated.void
DocumentRoutingServiceImpl. addRouteElementToRoute(DocumentRef parentDocumentRef, String sourceName, DocumentRouteElement routeElement, CoreSession session)
Deprecated.void
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
StepElementRunner. cancel(CoreSession session, DocumentRouteElement element)
Deprecated.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)
DocumentModel
DocumentRoutingTreePersister. createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model, CoreSession session)
protected DocumentModel
DocumentRoutingTreePersister. createDocumentRoutesStructure(String routeStructureDocType, String id, CoreSession session)
Finds the first domain by name, and creates under it the root container for the structure containing the route instances.protected DocumentModel
DocumentRoutingTreePersister. createModelsRoutesStructure(String routeStructureDocType, String id, CoreSession session)
Create the rootModels under to root document.String
DocumentRoutingServiceImpl. createNewInstance(String routeModelId, List<String> docIds, Map<String,Serializable> map, CoreSession s, boolean startInstance)
String
DocumentRoutingServiceImpl. createNewInstance(String routeModelId, List<String> docIds, CoreSession session, boolean startInstance)
DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, String documentId, CoreSession session, boolean startInstance)
Deprecated.DocumentRoute
DocumentRoutingServiceImpl. createNewInstance(DocumentRoute model, List<String> documentIds, CoreSession session)
Deprecated.DocumentRoute
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)
void
RoutingTaskServiceImpl. endTask(CoreSession session, Task task, Map<String,Object> data, String status)
Deprecated.void
DocumentRoutingServiceImpl. finishTask(CoreSession session, DocumentRoute route, Task task, boolean delete)
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)
DocumentModelList
DocumentRouteElementImpl. getAttachedDocuments(CoreSession session)
List<DocumentRoute>
DocumentRoutingServiceImpl. getAvailableDocumentRoute(CoreSession session)
List<DocumentRoute>
DocumentRoutingServiceImpl. getAvailableDocumentRouteModel(CoreSession session)
protected List<DocumentRouteElement>
AbstractRunner. getChildrenElement(CoreSession session, DocumentRouteElement element)
List<DocumentRoute>
DocumentRoutingServiceImpl. getDocumentRelatedWorkflows(DocumentModel document, CoreSession session)
DocumentRoute
DocumentRouteElementImpl. getDocumentRoute(CoreSession session)
List<DocumentRoute>
DocumentRoutingServiceImpl. getDocumentRoutesForAttachedDocument(CoreSession session, String attachedDocId)
List<DocumentRoute>
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 queueString
LockableDocumentRouteImpl. getLockOwner(CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)
DocumentModelList
DocumentRoutingServiceImpl. getOrderedRouteElement(String routeElementId, CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForDocumentRouteInstance(DocumentModel document, CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForDocumentRouteModels(CoreSession session)
DocumentModel
DocumentRoutingTreePersister. getParentFolderForNewModel(CoreSession session, DocumentModel instance)
protected List<DocumentRouteTableElement>
DocumentRoutingServiceImpl. getRouteElements(DocumentRouteElement routeElementDocument, CoreSession session, List<DocumentRouteTableElement> routeElements, int depth)
Deprecated.List<DocumentRouteTableElement>
DocumentRoutingServiceImpl. getRouteElements(DocumentRoute route, CoreSession session)
Deprecated.since 5.9.2 - Use only routes of type 'graph'String
DocumentRoutingServiceImpl. getRouteModelDocIdWithId(CoreSession session, String id)
DocumentRoute
DocumentRoutingServiceImpl. getRouteModelWithId(CoreSession session, String id)
List<DocumentRoute>
DocumentRoutingServiceImpl. getRunnableWorkflows(CoreSession session, List<String> documentIds)
List<DocumentRoute>
DocumentRoutingServiceImpl. getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session)
List<DocumentRoute>
DocumentRoutingServiceImpl. getRunningWorkflowInstancesLaunchedByCurrentUser(CoreSession session, String worflowModelName)
List<Task>
DocumentRoutingServiceImpl. getTasks(DocumentModel document, String actorId, String workflowInstanceId, String worflowModelName, CoreSession s)
Deprecated.since 11.1 this method does not scale as it does not paginate results.protected Map<String,Serializable>
DocumentRoutingServiceImpl. getWorkflowContextualInfo(CoreSession session, Task item)
Map<String,Serializable>
GraphNode. getWorkflowContextualInfo(CoreSession session, boolean detached)
Gets a map containing the workflow and node variables and workflow documents.Map<String,Serializable>
GraphNodeImpl. getWorkflowContextualInfo(CoreSession session, boolean detached)
List<DocumentModel>
DocumentRoutingServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)
List<DocumentModel>
RoutingTaskServiceImpl. getWorkflowInputDocuments(CoreSession session, Task task)
Deprecated.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)
DocumentRoute
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.void
RoutingTaskServiceImpl. makeRoutingTasks(CoreSession session, List<Task> tasks)
Deprecated.protected void
DocumentRoutingServiceImpl. prepareAndFireEvent(Serializable actors, DocumentRoutingConstants.Events event, String comment, CoreSession session, Task task, GraphRoute routeInstance)
protected void
DocumentRoutingServiceImpl. processElementsInFolder(DocumentModel doc, List<DocumentRouteTableElement> elements, RouteTable table, CoreSession session, int depth, RouteFolderElement folder)
Deprecated.since 5.9.2 - Use only routes of type 'graph'boolean
DocumentRoutingServiceImpl. purgeDocumentRoute(CoreSession session, DocumentRoute route)
List<String>
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
DocumentRoutingServiceImpl. removeRouteElement(DocumentRouteElement routeElement, CoreSession session)
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
StepElementRunner. resume(CoreSession session, DocumentRouteElement element, String nodeId, String taskId, Map<String,Object> data, String status)
Deprecated.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
ConditionalRunner. run(CoreSession session, DocumentRouteElement element)
Deprecated.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)
void
ParallelRunner. run(CoreSession session, DocumentRouteElement element)
Deprecated.void
SerialRunner. run(CoreSession session, DocumentRouteElement element)
Deprecated.void
StepElementRunner. run(CoreSession session, DocumentRouteElement element)
Deprecated.void
StepElementRunner. run(CoreSession session, DocumentRouteElement element, Map<String,Serializable> map)
Deprecated.protected void
GraphRunner. runGraph(CoreSession session, DocumentRouteElement element, GraphNode initialNode)
Runs the graph starting with the given node.void
DocumentRouteElementImpl. save(CoreSession session)
DocumentModel
DocumentRoutingTreePersister. saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance, DocumentModel parentFolder, String newName, CoreSession session)
DocumentRoute
DocumentRoutingServiceImpl. saveRouteAsNewModel(DocumentRoute instance, CoreSession session)
void
DocumentRoutingEscalationServiceImpl. scheduleExecution(GraphNode.EscalationRule rule, CoreSession session)
Deprecated.List<DocumentModel>
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)
void
AbstractRunner. undo(CoreSession session, DocumentRouteElement element)
Deprecated.DocumentRouteStep
DocumentRouteElementImpl. undo(CoreSession session)
void
ElementRunner. undo(CoreSession session, DocumentRouteElement element)
Deprecated.since 5.9.2 - Use only routes of type 'graph'void
StepElementRunner. undo(CoreSession session, DocumentRouteElement element)
Deprecated.protected DocumentModel
DocumentRoutingTreePersister. undoReadOnlySecurityPolicy(DocumentModel instance, CoreSession session)
void
LockableDocumentRouteImpl. unlockDocument(CoreSession session)
void
DocumentRoutingServiceImpl. unlockDocumentRoute(DocumentRoute routeModel, CoreSession session)
DocumentRoute
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)
DocumentRoute
DocumentRoutingServiceImpl. validateRouteModel(DocumentRoute routeModel, CoreSession userSession)
Constructors in org.nuxeo.ecm.platform.routing.core.impl with parameters of type CoreSession Constructor Description AttachedDocumentsChecker(CoreSession session, String workflowInstanceId)
GetIsParentRunningUnrestricted(CoreSession session)
SetDocumentOnReadOnlyUnrestrictedSessionRunner(CoreSession session, DocumentRef ref)
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.impl.jsongraph
Constructors in org.nuxeo.ecm.platform.routing.core.impl.jsongraph with parameters of type CoreSession Constructor Description JsonGraphRoute(CoreSession session, String docId, Locale locale)
JsonGraphRoute(CoreSession session, GraphRoute graphRoute, Locale locale)
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.io
Methods in org.nuxeo.ecm.platform.routing.core.io with parameters of type CoreSession Modifier and Type Method Description protected static ActionContext
TaskWriter. createActionContext(CoreSession session)
Deprecated.since 11.1 useTaskWriter.createActionContext(CoreSession, GraphNode)
insteadprotected static ActionContext
TaskWriter. createActionContext(CoreSession session, GraphNode node)
static Map<String,Serializable>
JsonEncodeDecodeUtils. decodeVariables(com.fasterxml.jackson.databind.JsonNode jsnode, Map<String,Serializable> originalVariables, CoreSession session)
Deprecated.Constructors in org.nuxeo.ecm.platform.routing.core.io with parameters of type CoreSession Constructor Description NodeAccessRunner(CoreSession session, String workflowInstanceId, String nodeId)
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.listener
Methods in org.nuxeo.ecm.platform.routing.core.listener with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.routing.core.persistence with parameters of type CoreSession Modifier and Type Method Description static DocumentModel
TreeHelper. getOrCreate(CoreSession session, String rootPath, String id, String folderType)
static DocumentModel
TreeHelper. getOrCreateDateTreeFolder(CoreSession session, DocumentModel root, Date date, String folderType)
Find or create a set of folders representing the date hierarchystatic DocumentModel
TreeHelper. getOrCreatePath(CoreSession session, DocumentModel root, String subPath, String folderType)
-
Uses of CoreSession in org.nuxeo.ecm.platform.routing.core.provider
Methods in org.nuxeo.ecm.platform.routing.core.provider that return CoreSession Modifier and Type Method Description protected CoreSession
RoutingTaskPageProvider. getCoreSession()
-
Uses of CoreSession in org.nuxeo.ecm.platform.scanimporter.processor
Methods in org.nuxeo.ecm.platform.scanimporter.processor with parameters of type CoreSession Modifier and Type Method Description DocumentModel
ScanedFileFactory. createFolderishNode(CoreSession session, DocumentModel parent, SourceNode node)
DocumentModel
ScanedFileFactory. createLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
protected DocumentModel
ScanedFileFactory. defaultCreateLeafNode(CoreSession session, DocumentModel parent, SourceNode node)
-
Uses of CoreSession in org.nuxeo.ecm.platform.search.core
Methods in org.nuxeo.ecm.platform.search.core with parameters of type CoreSession Modifier and Type Method Description SavedSearch
SavedSearchService. 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)
SavedSearch
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)
SavedSearch
SavedSearchService. getSavedSearch(CoreSession session, String id)
SavedSearch
SavedSearchServiceImpl. getSavedSearch(CoreSession session, String id)
SavedSearch
SavedSearchService. saveSavedSearch(CoreSession session, SavedSearch search)
SavedSearch
SavedSearchServiceImpl. saveSavedSearch(CoreSession session, SavedSearch search)
-
Uses of CoreSession in org.nuxeo.ecm.platform.shibboleth
Methods in org.nuxeo.ecm.platform.shibboleth with parameters of type CoreSession Modifier and Type Method Description static DocumentModel
ShibbolethGroupHelper. getBareGroupModel(CoreSession core)
-
Uses of CoreSession in org.nuxeo.ecm.platform.suggestbox.automation
Fields in org.nuxeo.ecm.platform.suggestbox.automation declared as CoreSession Modifier and Type Field Description protected CoreSession
SuggestOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.suggestbox.service
Fields in org.nuxeo.ecm.platform.suggestbox.service declared as CoreSession Modifier and Type Field Description CoreSession
SuggestionContext. session
Methods in org.nuxeo.ecm.platform.suggestbox.service with parameters of type CoreSession Modifier and Type Method Description SuggestionContext
SuggestionContext. withSession(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.tag
Methods in org.nuxeo.ecm.platform.tag with parameters of type CoreSession Modifier and Type Method Description protected void
TagsMigrator. addTags(CoreSession session, String docId, Set<TagsMigrator.Tag> tags)
boolean
AbstractTagService. canUntag(CoreSession session, String docId, String label)
boolean
BridgeTagService. canUntag(CoreSession session, String docId, String label)
boolean
FacetedTagService. canUntag(CoreSession session, String docId, String label)
boolean
RelationTagService. canUntag(CoreSession session, String docId, String label)
Deprecated.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
BridgeTagService. doCopyTags(CoreSession session, String srcDocId, String dstDocId, boolean removeExistingTags)
void
FacetedTagService. doCopyTags(CoreSession session, String srcDocId, String dstDocId, boolean removeExistingTags)
void
RelationTagService. doCopyTags(CoreSession session, String srcDocId, String dstDocId, boolean removeExistingTags)
Deprecated.abstract List<String>
AbstractTagService. doGetTagDocumentIds(CoreSession session, String label)
List<String>
BridgeTagService. doGetTagDocumentIds(CoreSession session, String label)
List<String>
FacetedTagService. doGetTagDocumentIds(CoreSession session, String label)
List<String>
RelationTagService. doGetTagDocumentIds(CoreSession session, String label)
Deprecated.abstract Set<String>
AbstractTagService. doGetTags(CoreSession session, String docId)
Set<String>
BridgeTagService. doGetTags(CoreSession session, String docId)
Set<String>
FacetedTagService. doGetTags(CoreSession session, String docId)
Set<String>
RelationTagService. doGetTags(CoreSession session, String docId)
Deprecated.abstract Set<String>
AbstractTagService. doGetTagSuggestions(CoreSession session, String label)
Set<String>
BridgeTagService. doGetTagSuggestions(CoreSession session, String label)
Set<String>
FacetedTagService. doGetTagSuggestions(CoreSession session, String label)
Set<String>
RelationTagService. doGetTagSuggestions(CoreSession session, String label)
Deprecated.abstract void
AbstractTagService. doTag(CoreSession session, String docId, String label, String username)
void
BridgeTagService. doTag(CoreSession session, String docId, String label, String username)
void
FacetedTagService. doTag(CoreSession session, String docId, String label, String username)
void
RelationTagService. doTag(CoreSession session, String docId, String label, String username)
Deprecated.abstract void
AbstractTagService. doUntag(CoreSession session, String docId, String label)
void
BridgeTagService. doUntag(CoreSession session, String docId, String label)
void
FacetedTagService. doUntag(CoreSession session, String docId, String label)
void
RelationTagService. doUntag(CoreSession session, String docId, String label)
Deprecated.protected void
AbstractTagService. fireUpdateEvent(CoreSession session, String docId)
List<Tag>
AbstractTagService. getDocumentTags(CoreSession session, String docId, String username)
List<Tag>
AbstractTagService. getDocumentTags(CoreSession session, String docId, String username, boolean useCore)
List<Tag>
TagService. getDocumentTags(CoreSession session, String docId, String username)
Deprecated.since 9.3, username is not needed anymoreList<Tag>
TagService. getDocumentTags(CoreSession session, String docId, String username, boolean useCore)
Deprecated.since 9.3, username and useCore are not needed anymoreprotected static List<Map<String,Serializable>>
AbstractTagService. getItems(String pageProviderName, CoreSession session, Object... params)
Returns results from calls toqueryAndFetch(String, String, Object...)
using page providers.Set<String>
AbstractTagService. getSuggestions(CoreSession session, String label)
List<Tag>
AbstractTagService. getSuggestions(CoreSession session, String label, String username)
Set<String>
TagService. getSuggestions(CoreSession session, String label)
Gets suggestions for a given tag label prefix.List<Tag>
TagService. getSuggestions(CoreSession session, String label, String username)
Deprecated.since 9.3, username is not needed anymoreList<Tag>
BridgeTagService. getTagCloud(CoreSession session, String docId, String username, Boolean normalize)
List<Tag>
FacetedTagService. getTagCloud(CoreSession session, String docId, String username, Boolean normalize)
List<Tag>
RelationTagService. getTagCloud(CoreSession session, String docId, String username, Boolean normalize)
Deprecated.List<Tag>
TagService. getTagCloud(CoreSession session, String docId, String username, Boolean normalize)
Deprecated.since 9.3, seems unusedList<String>
AbstractTagService. getTagDocumentIds(CoreSession session, String label)
List<String>
AbstractTagService. getTagDocumentIds(CoreSession session, String label, String username)
List<String>
TagService. getTagDocumentIds(CoreSession session, String label)
Gets the documents to which a tag is applied.List<String>
TagService. getTagDocumentIds(CoreSession session, String label, String username)
Deprecated.since 9.3, username is not needed anymoreSet<String>
AbstractTagService. getTags(CoreSession session, String docId)
Set<String>
TagService. getTags(CoreSession session, String docId)
Gets the tags applied to a document.protected void
TagsMigrator. migrateSession(String step, MigrationService.MigrationContext migrationContext, CoreSession session)
protected String
TagsMigrator. probeSession(CoreSession session)
protected void
TagsMigrator. removeDocument(CoreSession session, String docId)
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
BridgeTagService. supportsTag(CoreSession session, String docId)
boolean
FacetedTagService. supportsTag(CoreSession session, String docId)
boolean
RelationTagService. supportsTag(CoreSession session, String docId)
Deprecated.boolean
TagService. supportsTag(CoreSession session, String docId)
Checks if document support tag.void
AbstractTagService. tag(CoreSession session, String docId, String label)
void
AbstractTagService. tag(CoreSession session, String docId, String label, String username)
void
TagService. tag(CoreSession session, String docId, String label)
Tags a document with a given tag.void
TagService. tag(CoreSession session, String docId, String label, String username)
Deprecated.since 9.3, username is not needed anymorevoid
AbstractTagService. untag(CoreSession session, String docId, String label)
void
AbstractTagService. untag(CoreSession session, String docId, String label, String username)
void
TagService. untag(CoreSession session, String docId, String label)
Untags a document of the given tagvoid
TagService. untag(CoreSession session, String docId, String label, String username)
Deprecated.since 9.3, username is not needed anymoreConstructors in org.nuxeo.ecm.platform.tag with parameters of type CoreSession Constructor Description UnrestrictedCanRemoveTagging(CoreSession session, String docId, String label)
UnrestrictedGetDocumentCloud(CoreSession session, String docId, String username, Boolean normalize)
-
Uses of CoreSession in org.nuxeo.ecm.platform.tag.automation
Fields in org.nuxeo.ecm.platform.tag.automation declared as CoreSession Modifier and Type Field Description protected CoreSession
SuggestTagEntry. documentManager
-
Uses of CoreSession in org.nuxeo.ecm.platform.tag.operations
Fields in org.nuxeo.ecm.platform.tag.operations declared as CoreSession Modifier and Type Field Description protected CoreSession
RemoveDocumentTags. session
protected CoreSession
TagDocument. session
protected CoreSession
UntagDocument. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.task
Methods in org.nuxeo.ecm.platform.task with parameters of type CoreSession Modifier and Type Method Description String
TaskService. 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)
List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
Creates a task of the given document type and starts it.List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Creates a task and starts it.List<Task>
TaskService. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
Creates a task and starts it.List<Task>
TaskService. createTaskForProcess(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
Creates a task of the given documents type and starts it.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)
String
TaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Ends the taskString
TaskService. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
Ends the taskprotected void
TaskImpl. followTransition(CoreSession coreSession, String transition)
List<Task>
TaskProvider. getAllCurrentTaskInstances(CoreSession session, List<SortInfo> sortInfos)
Returns the list of task instances associated assigned to the current user.List<Task>
TaskProvider. getAllTaskInstances(String processId, String nodeId, CoreSession session)
Returns all the tasks instances for the givenprocessId
originating from the givennodeId
.List<Task>
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.List<Task>
TaskProvider. getAllTaskInstances(String processId, CoreSession session)
Returns all the tasks instances for the givenprocessId
.List<Task>
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.List<Task>
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.List<Task>
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)
)List<Task>
TaskProvider. getCurrentTaskInstances(CoreSession coreSession)
List<Task>
TaskProvider. getCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)DocumentModel
TaskService. getTargetDocumentModel(Task ti, CoreSession coreSession)
Task
TaskService. getTask(CoreSession coreSession, String taskId)
List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
Returns the list of task instances associated with this document assigned to one of the actor in the list or its pool.List<Task>
TaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
Returns the list of task instances associated with this document for which the user is the actor or belongs to the pooled actor list.String
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)
String
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
Methods in org.nuxeo.ecm.platform.task.core.service with parameters of type CoreSession Modifier and Type Method Description String
TaskServiceImpl. 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)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskDocumentType, String taskName, String taskType, String processId, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath, Map<String,Serializable> eventInfo)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
TaskServiceImpl. createTask(CoreSession coreSession, NuxeoPrincipal principal, DocumentModel document, String taskName, List<String> actorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
List<Task>
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)
String
DocumentTaskProvider. endTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment, String eventName, boolean isValidated)
String
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
.List<Task>
DocumentTaskProvider. getAllCurrentTaskInstances(CoreSession session, List<SortInfo> sortInfos)
List<Task>
TaskServiceImpl. getAllCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, String nodeId, CoreSession session)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, List<String> actors, CoreSession session)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, CoreSession session)
List<Task>
DocumentTaskProvider. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, String nodeId, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, List<String> actors, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, CoreSession session)
List<Task>
TaskServiceImpl. getAllTaskInstances(String processId, NuxeoPrincipal user, CoreSession session)
List<Task>
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.List<Task>
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)
)List<Task>
DocumentTaskProvider. getCurrentTaskInstances(CoreSession coreSession)
List<Task>
DocumentTaskProvider. getCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeDocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)List<Task>
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.List<Task>
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)
)List<Task>
TaskServiceImpl. getCurrentTaskInstances(CoreSession coreSession)
List<Task>
TaskServiceImpl. getCurrentTaskInstances(CoreSession coreSession, List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (seeTaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession)
)DocumentModel
TaskServiceImpl. getTargetDocumentModel(Task task, CoreSession coreSession)
Task
TaskServiceImpl. getTask(CoreSession coreSession, String taskId)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
List<Task>
DocumentTaskProvider. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, boolean includeDelegatedTasks, CoreSession session)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, List<String> actors, CoreSession coreSession)
List<Task>
TaskServiceImpl. getTaskInstances(DocumentModel dm, NuxeoPrincipal user, CoreSession coreSession)
String
TaskServiceImpl. getTaskRootParentPath(CoreSession coreSession)
static List<Task>
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)
String
TaskServiceImpl. rejectTask(CoreSession coreSession, NuxeoPrincipal principal, Task task, String comment)
Constructors in org.nuxeo.ecm.platform.task.core.service with parameters of type CoreSession Constructor Description CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, String processName, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
CreateTaskUnrestricted(CoreSession session, NuxeoPrincipal principal, List<DocumentModel> documents, String taskDocumentType, String taskName, String taskType, String processId, List<String> prefixedActorIds, boolean createOneTaskPerActor, String directive, String comment, Date dueDate, Map<String,String> taskVariables, String parentPath)
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)
GetTaskRootParentPathUnrestricted(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.task.providers
Methods in org.nuxeo.ecm.platform.task.providers that return CoreSession Modifier and Type Method Description protected CoreSession
UserTaskPageProvider. getCoreSession()
-
Uses of CoreSession in org.nuxeo.ecm.platform.threed.adapter
Methods in org.nuxeo.ecm.platform.threed.adapter with parameters of type CoreSession Modifier and Type Method Description Blob
ThumbnailThreeDFactory. computeThumbnail(DocumentModel documentModel, CoreSession coreSession)
Blob
ThumbnailThreeDFactory. getThumbnail(DocumentModel documentModel, CoreSession coreSession)
-
Uses of CoreSession in org.nuxeo.ecm.platform.thumbnail.action
Methods in org.nuxeo.ecm.platform.thumbnail.action with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.thumbnail.factories with parameters of type CoreSession Modifier and Type Method Description Blob
ThumbnailDocumentFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailDocumentFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.thumbnail.listener
Methods in org.nuxeo.ecm.platform.thumbnail.listener with parameters of type CoreSession Modifier and Type Method Description void
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
Methods in org.nuxeo.ecm.platform.userpreferences with parameters of type CoreSession Modifier and Type Method Description SimpleUserPreferences
UserPreferencesService. getSimpleUserPreferences(CoreSession session)
SimpleUserPreferences
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
Methods in org.nuxeo.ecm.platform.userworkspace.api with parameters of type CoreSession Modifier and Type Method Description DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession)
Gets the current user personal workspace.DocumentModel
UserWorkspaceService. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)
Deprecated.since 9.3. -
Uses of CoreSession in org.nuxeo.ecm.platform.userworkspace.core.service
Methods in org.nuxeo.ecm.platform.userworkspace.core.service with parameters of type CoreSession Modifier and Type Method Description protected 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)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession)
DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(CoreSession userCoreSession, DocumentModel context)
Deprecated.since 9.3protected DocumentModel
AbstractUserWorkspaceImpl. getCurrentUserPersonalWorkspace(NuxeoPrincipal principal, String userName, CoreSession userCoreSession)
This method handles the UserWorkspace creation with a Principal or a username.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)
DocumentModel
AbstractUserWorkspaceImpl. getUserDefaultCollectionsRoot(CoreSession session)
DocumentModel
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
Fields in org.nuxeo.ecm.platform.userworkspace.operations declared as CoreSession Modifier and Type Field Description protected CoreSession
UserWorkspaceCreateFromBlob. session
-
Uses of CoreSession in org.nuxeo.ecm.platform.video.adapter
Methods in org.nuxeo.ecm.platform.video.adapter with parameters of type CoreSession Modifier and Type Method Description Blob
ThumbnailVideoFactory. computeThumbnail(DocumentModel doc, CoreSession session)
Blob
ThumbnailVideoFactory. getThumbnail(DocumentModel doc, CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.platform.video.computation
Methods in org.nuxeo.ecm.platform.video.computation with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.web.common.locale with parameters of type CoreSession Modifier and Type Method Description Locale
DefaultLocaleProvider. getLocale(CoreSession repo)
Locale
LocaleProvider. getLocale(CoreSession session)
Locale
DefaultLocaleProvider. getLocaleWithDefault(CoreSession session)
Locale
LocaleProvider. getLocaleWithDefault(CoreSession session)
TimeZone
DefaultLocaleProvider. getTimeZone(CoreSession repo)
TimeZone
LocaleProvider. getTimeZone(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.quota
Methods in org.nuxeo.ecm.quota with parameters of type CoreSession Modifier and Type Method Description void
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)
String
QuotaStatsServiceImpl. getUserWorkspaceRootId(DocumentModel context, CoreSession session)
void
QuotaStatsService. launchSetMaxQuotaOnUserWorkspaces(long maxQuota, DocumentModel context, CoreSession session)
Sets this maxQuota on all user workspacesvoid
QuotaStatsServiceImpl. launchSetMaxQuotaOnUserWorkspaces(long maxSize, DocumentModel context, CoreSession session)
protected abstract 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
Fields in org.nuxeo.ecm.quota.automation declared as CoreSession Modifier and Type Field Description protected CoreSession
GetQuotaInfoOperation. session
protected CoreSession
GetQuotaStatisticsOperation. session
protected CoreSession
RecomputeQuotaStatistics. session
protected CoreSession
SetQuotaInfoOperation. session
-
Uses of CoreSession in org.nuxeo.ecm.quota.count
Methods in org.nuxeo.ecm.quota.count with parameters of type CoreSession Modifier and Type Method Description protected Map<String,org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count>
DocumentsCountUpdater. computeDocumentsCountByFolder(CoreSession session, Map<String,String> folders)
void
DocumentsCountUpdater. computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker, String path)
protected Map<String,String>
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
Methods in org.nuxeo.ecm.quota.size with parameters of type CoreSession Modifier and Type Method Description protected void
DocumentsSizeUpdater. checkQuota(CoreSession session, DocumentModel doc, long delta)
Checks the size delta against the maximum quota specified for this document or an ancestor.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
Methods in org.nuxeo.ecm.restapi.server.jaxrs with parameters of type CoreSession Modifier and Type Method Description protected 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
Fields in org.nuxeo.ecm.restapi.test declared as CoreSession Modifier and Type Field Description CoreSession
BaseTest. session
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.nuxeo.ecm.restapi.test with parameters of type CoreSession Modifier and Type Method Description static DocumentModel
RestServerInit. getFile(int index, CoreSession session)
static DocumentModel
RestServerInit. getFolder(int index, CoreSession session)
static DocumentModel
RestServerInit. getNote(int index, CoreSession session)
void
RestServerInit. populate(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.user.center.profile
Methods in org.nuxeo.ecm.user.center.profile with parameters of type CoreSession Modifier and Type Method Description void
UserProfileImporter. doImport(CoreSession session)
void
UserProfileImporter. doImport(CoreSession session, org.apache.commons.csv.CSVParser parser, UserProfileService userProfileService)
DocumentModel
UserProfileService. getUserProfile(DocumentModel userModel, CoreSession session)
Get a DocumentModel containing both user and user profile schemasDocumentModel
UserProfileServiceImpl. getUserProfile(DocumentModel userModel, CoreSession session)
DocumentModel
UserProfileService. getUserProfileDocument(String userName, CoreSession session)
Get the profile of a specific user.DocumentModel
UserProfileService. getUserProfileDocument(CoreSession session)
Get the current user profile.DocumentModel
UserProfileServiceImpl. getUserProfileDocument(String userName, CoreSession session)
DocumentModel
UserProfileServiceImpl. getUserProfileDocument(CoreSession session)
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
Methods in org.nuxeo.ecm.user.center.profile.localeProvider with parameters of type CoreSession Modifier and Type Method Description Locale
UserLocaleProvider. getLocale(CoreSession repo)
Locale
UserLocaleProvider. getLocaleWithDefault(CoreSession session)
TimeZone
UserLocaleProvider. getTimeZone(CoreSession repo)
-
Uses of CoreSession in org.nuxeo.ecm.user.invite
Methods in org.nuxeo.ecm.user.invite with parameters of type CoreSession Modifier and Type Method Description NuxeoPrincipal
UserInvitationComponent. createUser(CoreSession session, DocumentModel registrationDoc)
NuxeoPrincipal
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 documentNuxeoPrincipal
DefaultInvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)
NuxeoPrincipal
InvitationUserFactory. doCreateUser(CoreSession session, DocumentModel registrationDoc, UserRegistrationConfiguration configuration)
Handle user creationvoid
DefaultInvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)
void
InvitationUserFactory. doPostUserCreation(CoreSession session, DocumentModel registrationDoc, NuxeoPrincipal user)
Called just after the user is createdDocumentModel
UserInvitationComponent. getOrCreateRootDocument(CoreSession session, String configurationName)
DocumentModel
UserInvitationComponent. getRegistrationRulesDocument(CoreSession session, String configurationName)
DocumentModel
UserInvitationService. getRegistrationRulesDocument(CoreSession session, String configurationName)
Get documentmodel that stores request configuration using RegistrationConfiguration facet.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
Fields in org.nuxeo.ecm.webdav.backend declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractCoreBackend. session
Methods in org.nuxeo.ecm.webdav.backend that return CoreSession Modifier and Type Method Description CoreSession
AbstractCoreBackend. getSession()
CoreSession
AbstractCoreBackend. getSession(boolean synchronize)
CoreSession
Backend. getSession()
CoreSession
Backend. getSession(boolean synchronize)
Methods in org.nuxeo.ecm.webdav.backend with parameters of type CoreSession Modifier and Type Method Description Backend
RealBackendFactory. createBackend(String backendDisplayName, String rootPath, String rootUrl, CoreSession session)
Backend
SimpleRealBackendFactory. createBackend(String backendDisplayName, String rootPath, String rootUrl, CoreSession session)
abstract Backend
AbstractBackendFactory. createRootBackend(CoreSession session)
Backend
SearchBackendFactory. createRootBackend(CoreSession session)
Backend
SimpleBackendFactory. createRootBackend(CoreSession session)
Constructors in org.nuxeo.ecm.webdav.backend with parameters of type CoreSession Constructor Description AbstractCoreBackend(CoreSession session)
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)
SimpleBackend(String backendDisplayName, String rootPath, String rootUrl, CoreSession session)
SimpleRootBackend(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.webengine.jaxrs.session
Methods in org.nuxeo.ecm.webengine.jaxrs.session that return CoreSession Modifier and Type Method Description protected CoreSession
CoreSessionProvider. createSession(javax.servlet.http.HttpServletRequest request, String repoName)
CoreSession
SessionRef. get()
CoreSession
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)
Methods in org.nuxeo.ecm.webengine.jaxrs.session with parameters of type CoreSession Modifier and Type Method Description protected abstract REF
CoreSessionProvider. createSessionRef(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.webengine.jaxrs.session.impl
Fields in org.nuxeo.ecm.webengine.jaxrs.session.impl declared as CoreSession Modifier and Type Field Description protected CoreSession
PerRequestCoreProvider.Ref. session
protected CoreSession
PerSessionCoreProvider.Ref. session
Methods in org.nuxeo.ecm.webengine.jaxrs.session.impl that return CoreSession Modifier and Type Method Description CoreSession
PerRequestCoreProvider.Ref. get()
CoreSession
PerSessionCoreProvider.Ref. get()
Methods in org.nuxeo.ecm.webengine.jaxrs.session.impl with parameters of type CoreSession Modifier and Type Method Description protected PerRequestCoreProvider.Ref
PerRequestCoreProvider. createSessionRef(CoreSession session)
protected PerSessionCoreProvider.Ref
PerSessionCoreProvider. createSessionRef(CoreSession session)
Constructors in org.nuxeo.ecm.webengine.jaxrs.session.impl with parameters of type CoreSession Constructor Description Ref(CoreSession session)
Ref(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.webengine.jaxrs.views
Methods in org.nuxeo.ecm.webengine.jaxrs.views that return CoreSession Modifier and Type Method Description CoreSession
BundleResource. getSession()
CoreSession
ResourceContext. getSession()
-
Uses of CoreSession in org.nuxeo.ecm.webengine.model
Methods in org.nuxeo.ecm.webengine.model that return CoreSession Modifier and Type Method Description CoreSession
WebContext. getCoreSession()
Gets the Core Session (or Repository Session) corresponding to that request. -
Uses of CoreSession in org.nuxeo.ecm.webengine.model.impl
Methods in org.nuxeo.ecm.webengine.model.impl that return CoreSession Modifier and Type Method Description CoreSession
AbstractWebContext. getCoreSession()
-
Uses of CoreSession in org.nuxeo.ecm.webengine.ui.json
Fields in org.nuxeo.ecm.webengine.ui.json declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentTreeBuilder. session
Constructors in org.nuxeo.ecm.webengine.ui.json with parameters of type CoreSession Constructor Description DocumentTreeBuilder(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.webengine.ui.tree.document
Fields in org.nuxeo.ecm.webengine.ui.tree.document declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentContentProvider. session
Methods in org.nuxeo.ecm.webengine.ui.tree.document that return CoreSession Modifier and Type Method Description CoreSession
DocumentContentProvider. getSession()
Methods in org.nuxeo.ecm.webengine.ui.tree.document with parameters of type CoreSession Modifier and Type Method Description void
DocumentContentProvider. setSession(CoreSession session)
Constructors in org.nuxeo.ecm.webengine.ui.tree.document with parameters of type CoreSession Constructor Description DocumentContentProvider(CoreSession session)
-
Uses of CoreSession in org.nuxeo.ecm.webengine.util
Methods in org.nuxeo.ecm.webengine.util with parameters of type CoreSession Modifier and Type Method Description static void
ACLUtils. removePermission(CoreSession session, DocumentRef docRef, String username, String permission)
-
Uses of CoreSession in org.nuxeo.elasticsearch
Methods in org.nuxeo.elasticsearch with parameters of type CoreSession Modifier and Type Method Description DocumentModelList
ElasticSearchComponent. query(CoreSession session, String nxql, int limit, int offset, SortInfo... sortInfos)
Deprecated.DocumentModelList
ElasticSearchComponent. query(CoreSession session, org.elasticsearch.index.query.QueryBuilder queryBuilder, int limit, int offset, SortInfo... sortInfos)
Deprecated. -
Uses of CoreSession in org.nuxeo.elasticsearch.api
Methods in org.nuxeo.elasticsearch.api with parameters of type CoreSession Modifier and Type Method Description DocumentModelList
ElasticSearchService. query(CoreSession session, String nxql, int limit, int offset, SortInfo... sortInfos)
Deprecated.since 6.0, use query with NxQueryBuilderDocumentModelList
ElasticSearchService. query(CoreSession session, org.elasticsearch.index.query.QueryBuilder queryBuilder, int limit, int offset, SortInfo... sortInfos)
Deprecated.since 6.0, use query with NxQueryBuilder -
Uses of CoreSession in org.nuxeo.elasticsearch.audit.pageprovider
Methods in org.nuxeo.elasticsearch.audit.pageprovider that return CoreSession Modifier and Type Method Description protected CoreSession
ESAuditPageProvider. getCoreSession()
-
Uses of CoreSession in org.nuxeo.elasticsearch.bulk
Methods in org.nuxeo.elasticsearch.bulk with parameters of type CoreSession Modifier and Type Method Description protected 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
Methods in org.nuxeo.elasticsearch.commands with parameters of type CoreSession Modifier and Type Method Description void
IndexingCommand. attach(CoreSession session)
-
Uses of CoreSession in org.nuxeo.elasticsearch.core
Methods in org.nuxeo.elasticsearch.core with parameters of type CoreSession Modifier and Type Method Description DocumentModelList
ElasticSearchServiceImpl. query(CoreSession session, String nxql, int limit, int offset, SortInfo... sortInfos)
Deprecated.DocumentModelList
ElasticSearchServiceImpl. query(CoreSession session, org.elasticsearch.index.query.QueryBuilder queryBuilder, int limit, int offset, SortInfo... sortInfos)
Deprecated. -
Uses of CoreSession in org.nuxeo.elasticsearch.fetcher
Methods in org.nuxeo.elasticsearch.fetcher that return CoreSession Modifier and Type Method Description protected CoreSession
Fetcher. getSession()
Constructors in org.nuxeo.elasticsearch.fetcher with parameters of type CoreSession Constructor Description EsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames)
EsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames, EsFetcher.HitDocConsumer consumer)
Fetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames)
VcsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames)
-
Uses of CoreSession in org.nuxeo.elasticsearch.http.readonly
Methods in org.nuxeo.elasticsearch.http.readonly with parameters of type CoreSession Modifier and Type Method Description void
AbstractSearchRequestFilterImpl. init(CoreSession session, String indices, String rawQuery, String payload)
-
Uses of CoreSession in org.nuxeo.elasticsearch.http.readonly.filter
Methods in org.nuxeo.elasticsearch.http.readonly.filter with parameters of type CoreSession Modifier and Type Method Description void
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
Methods in org.nuxeo.elasticsearch.io with parameters of type CoreSession Modifier and Type Method Description JsonDocumentModelReader
JsonDocumentModelReader. session(CoreSession session)
-
Uses of CoreSession in org.nuxeo.elasticsearch.provider
Methods in org.nuxeo.elasticsearch.provider that return CoreSession Modifier and Type Method Description protected CoreSession
ElasticSearchNativePageProvider. getCoreSession()
protected CoreSession
ElasticSearchNxqlPageProvider. getCoreSession()
Methods in org.nuxeo.elasticsearch.provider with parameters of type CoreSession Modifier and Type Method Description protected NxQueryBuilder
ElasticSearchNxqlPageProvider. getQueryBuilder(CoreSession session)
-
Uses of CoreSession in org.nuxeo.elasticsearch.query
Fields in org.nuxeo.elasticsearch.query declared as CoreSession Modifier and Type Field Description protected CoreSession
NxQueryBuilder. session
Methods in org.nuxeo.elasticsearch.query that return CoreSession Modifier and Type Method Description CoreSession
NxQueryBuilder. getSession()
Methods in org.nuxeo.elasticsearch.query with parameters of type CoreSession Modifier and Type Method Description protected static SQLQuery
NxqlQueryConverter. addSecurityPolicy(CoreSession session, SQLQuery query)
protected Fetcher
NxQueryBuilder. getFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames)
protected static org.elasticsearch.index.query.QueryBuilder
NxqlQueryConverter. makeAncestorIdFilter(String value, CoreSession session)
static NxqlQueryConverter.QueryAndFilter
NxqlQueryConverter. makeQueryFromSimpleExpression(String op, String nxqlName, Object value, Object[] values, EsHint hint, CoreSession session)
static org.elasticsearch.index.query.QueryBuilder
NxqlQueryConverter. toESQueryBuilder(String nxql, CoreSession session)
Constructors in org.nuxeo.elasticsearch.query with parameters of type CoreSession Constructor Description NxQueryBuilder(CoreSession coreSession)
-
Uses of CoreSession in org.nuxeo.elasticsearch.work
Methods in org.nuxeo.elasticsearch.work with parameters of type CoreSession Modifier and Type Method Description protected List<DocumentModel>
BucketIndexingWorker. loadDocumentsOneByOne(CoreSession session, List<String> documentIds)
-
Uses of CoreSession in org.nuxeo.importer.stream.consumer
Fields in org.nuxeo.importer.stream.consumer declared as CoreSession Modifier and Type Field Description protected CoreSession
DocumentMessageConsumer. session
-
Uses of CoreSession in org.nuxeo.io.fsexporter
Fields in org.nuxeo.io.fsexporter declared as CoreSession Modifier and Type Field Description protected CoreSession
ExportStructureToFS. session
Methods in org.nuxeo.io.fsexporter with parameters of type CoreSession Modifier and Type Method Description void
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)
DocumentModelList
DefaultExporterPlugin. getChildren(CoreSession session, DocumentModel doc, String customQuery)
DocumentModelList
FSExporterPlugin. getChildren(CoreSession session, DocumentModel doc, String PageProvider)
File
CustomExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
File
DefaultExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
File
DriveLikeExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
File
FSExporterPlugin. serialize(CoreSession session, DocumentModel docfrom, String fsPath)
-
Uses of CoreSession in org.nuxeo.mongodb.audit.pageprovider
Methods in org.nuxeo.mongodb.audit.pageprovider that return CoreSession Modifier and Type Method Description protected CoreSession
MongoDBAuditPageProvider. getCoreSession()
-
Uses of CoreSession in org.nuxeo.snapshot
Methods in org.nuxeo.snapshot with parameters of type CoreSession Modifier and Type Method Description protected boolean
SnapshotRemovalPolicy. canRemoveVersions(CoreSession session, DocumentModel doc, List<String> uuids)
List<String>
SnapshotRemovalPolicy. getRemovableVersionIds(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs)
-
Uses of CoreSession in org.nuxeo.snapshot.pub
Methods in org.nuxeo.snapshot.pub with parameters of type CoreSession Modifier and Type Method Description protected DocumentModel
FolderishProxyFactory. subPublish(CoreSession session, DocumentModel parentProxy, Snapshot tree, boolean skipParent)
-
Uses of CoreSession in org.nuxeo.template.adapters
Methods in org.nuxeo.template.adapters that return CoreSession Modifier and Type Method Description protected CoreSession
AbstractTemplateDocument. getSession()
-
Uses of CoreSession in org.nuxeo.template.api
Methods in org.nuxeo.template.api with parameters of type CoreSession Modifier and Type Method Description List<TemplateSourceDocument>
TemplateProcessorService. 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)List<DocumentModel>
TemplateProcessorService. getAvailableTemplateDocs(CoreSession session, String targetType)
FindTemplateSourceDocument
s that can be bound to a given doc type.List<TemplateSourceDocument>
TemplateProcessorService. getAvailableTemplates(CoreSession session, String targetType)
FindTemplateSourceDocument
s that can be bound to a given doc type.DocumentModel
TemplateProcessorService. getTemplateDoc(CoreSession session, String name)
Returns a template with a given templateName. -
Uses of CoreSession in org.nuxeo.template.context.extensions
Methods in org.nuxeo.template.context.extensions with parameters of type CoreSession Modifier and Type Method Description protected List<LogEntry>
AuditExtensionFactory. preprocessAuditEntries(List<LogEntry> auditEntries, CoreSession session, String lang)
-
Uses of CoreSession in org.nuxeo.template.jaxrs
Fields in org.nuxeo.template.jaxrs declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractResourceService. session
Methods in org.nuxeo.template.jaxrs that return CoreSession Modifier and Type Method Description protected CoreSession
AbstractResourceService. getCoreSession()
protected CoreSession
RootResource. getCoreSession()
Constructors in org.nuxeo.template.jaxrs with parameters of type CoreSession Constructor Description AbstractResourceService(CoreSession session)
ResourceService(CoreSession session)
-
Uses of CoreSession in org.nuxeo.template.service
Methods in org.nuxeo.template.service with parameters of type CoreSession Modifier and Type Method Description List<TemplateSourceDocument>
TemplateProcessorComponent. getAvailableOfficeTemplates(CoreSession session, String targetType)
List<DocumentModel>
TemplateProcessorComponent. getAvailableTemplateDocs(CoreSession session, String targetType)
List<TemplateSourceDocument>
TemplateProcessorComponent. getAvailableTemplates(CoreSession session, String targetType)
DocumentModel
TemplateProcessorComponent. getTemplateDoc(CoreSession session, String name)
Constructors in org.nuxeo.template.service with parameters of type CoreSession Constructor Description TemplateMappingRemover(CoreSession session, String uid, String type2Remove)
TemplateMappingRemover(CoreSession session, DocumentModel doc, String type2Remove)
-
Uses of CoreSession in org.nuxeo.template.xdocreport.jaxrs
Fields in org.nuxeo.template.xdocreport.jaxrs declared as CoreSession Modifier and Type Field Description protected CoreSession
AbstractResourceService. session
Methods in org.nuxeo.template.xdocreport.jaxrs that return CoreSession Modifier and Type Method Description protected CoreSession
AbstractResourceService. getCoreSession()
protected CoreSession
RootResource. getCoreSession()
Constructors in org.nuxeo.template.xdocreport.jaxrs with parameters of type CoreSession Constructor Description AbstractResourceService(CoreSession session)
ResourceService(CoreSession session)
XDocReportResourceService(CoreSession session)
-
Uses of CoreSession in org.nuxeo.usermapper.extension
Methods in org.nuxeo.usermapper.extension with parameters of type CoreSession Modifier and Type Method Description protected void
AbstractUserMapper. updateProfile(CoreSession session, Map<String,Serializable> attributes, DocumentModel userProfile)
-
Uses of CoreSession in org.nuxeo.wopi.jaxrs
Fields in org.nuxeo.wopi.jaxrs declared as CoreSession Modifier and Type Field Description protected CoreSession
FilesEndpoint. session
Methods in org.nuxeo.wopi.jaxrs with parameters of type CoreSession Modifier and Type Method Description protected DocumentModel
WOPIRoot. getDocument(CoreSession session, String fileId)
-
Uses of CoreSession in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock with parameters of type CoreSession Modifier and Type Method Description protected void
LockExpirationListener. handleExpiredLock(CoreSession session, Session directorySession, DocumentModel entry)
-