Modifier and Type | Field and Description |
---|---|
protected static ThreadLocal<CoreSession> |
BaseNuxeoArtifactDocAdapter.localCoreSession |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
BaseNuxeoArtifactDocAdapter.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
static BundleGroupDocAdapter |
BundleGroupDocAdapter.create(BundleGroup bundleGroup,
CoreSession session,
String containerPath) |
static BundleInfoDocAdapter |
BundleInfoDocAdapter.create(BundleInfo bundleInfo,
CoreSession session,
String containerPath) |
static ComponentInfoDocAdapter |
ComponentInfoDocAdapter.create(ComponentInfo componentInfo,
CoreSession session,
String containerPath) |
static ExtensionInfoDocAdapter |
ExtensionInfoDocAdapter.create(ExtensionInfo xi,
CoreSession session,
String containerPath) |
static ExtensionPointInfoDocAdapter |
ExtensionPointInfoDocAdapter.create(ExtensionPointInfo xpi,
CoreSession session,
String containerPath) |
static OperationInfo |
OperationInfoDocAdapter.create(OperationInfo oi,
CoreSession session,
String containerPath)
Creates an actual document from the
OperationInfo . |
static SeamComponentInfo |
SeamComponentInfoDocAdapter.create(SeamComponentInfo sci,
CoreSession session,
String containerPath) |
static ServiceInfoDocAdapter |
ServiceInfoDocAdapter.create(ServiceInfo si,
CoreSession session,
String containerPath) |
protected static String |
BaseNuxeoArtifactDocAdapter.getRootPath(CoreSession session,
String basePath,
String suffix) |
static void |
BaseNuxeoArtifactDocAdapter.setLocalCoreSession(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
AssociatedDocuments |
NuxeoArtifact.getAssociatedDocuments(CoreSession session) |
AssociatedDocumentsImpl |
BaseNuxeoArtifact.getAssociatedDocuments(CoreSession session) |
DocumentationItem |
AssociatedDocuments.getDescription(CoreSession session) |
Map<String,List<DocumentationItem>> |
AssociatedDocuments.getDocumentationItems(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AssociatedDocumentsImpl.session |
Constructor and Description |
---|
AssociatedDocumentsImpl(NuxeoArtifact item,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
AssociatedDocumentsImpl |
BundleInfoImpl.getAssociatedDocuments(CoreSession session) |
AssociatedDocumentsImpl |
BundleGroupImpl.getAssociatedDocuments(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
List<NuxeoArtifact> |
ArtifactSearcherImpl.filterArtifact(CoreSession session,
String distribId,
String type,
String fulltext) |
List<NuxeoArtifact> |
ArtifactSearcher.filterArtifact(CoreSession session,
String distribId,
String type,
String fulltext) |
protected NuxeoArtifact |
ArtifactSearcherImpl.resolveInTree(CoreSession session,
String distribId,
DocumentationItem matchingDocumentationItem,
String searchedType) |
protected NuxeoArtifact |
ArtifactSearcherImpl.resolveInTree(CoreSession session,
String distribId,
NuxeoArtifact matchingArtifact,
String searchedType) |
List<NuxeoArtifact> |
ArtifactSearcherImpl.searchArtifact(CoreSession session,
String distribId,
String fulltext) |
List<NuxeoArtifact> |
ArtifactSearcher.searchArtifact(CoreSession session,
String distribId,
String fulltext) |
List<DocumentationItem> |
ArtifactSearcherImpl.searchDocumentation(CoreSession session,
String distribId,
String fulltext,
String targetType) |
List<DocumentationItem> |
ArtifactSearcher.searchDocumentation(CoreSession session,
String distribId,
String fulltext,
String targetType) |
Constructor and Description |
---|
SnapshotWriter(CoreSession session,
String parentPath) |
Modifier and Type | Method and Description |
---|---|
AssociatedDocuments |
VirtualNode.getAssociatedDocuments(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
AutomationScriptingService.Session |
AutomationScriptingService.get(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentScriptingWrapper.getSession() |
Modifier and Type | Method and Description |
---|---|
AutomationScriptingService.Session |
AutomationScriptingServiceImpl.get(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
WriteMetadataToBinaryFromDocument.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DiffPicturesWithDocsOp.session |
protected CoreSession |
DiffPicturesWithBlobsOp.session |
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
protected org.elasticsearch.index.query.QueryBuilder |
ESAuditChangeFinder.buildFilterClauses(CoreSession session,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
boolean integerBounds,
int limit) |
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,
boolean integerBounds,
int limit) |
protected List<LogEntry> |
ESAuditChangeFinder.queryESAuditEntries(CoreSession session,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
boolean integerBounds,
int limit) |
Modifier and Type | Method and Description |
---|---|
protected void |
NuxeoDriveGroupUpdateListener.fireGroupUpdatedEvent(CoreSession session,
DocumentModel source) |
protected void |
NuxeoDriveFileSystemDeletionListener.fireVirtualEventLogEntries(DocumentModel doc,
String eventName,
Principal principal,
String impactedUserName,
CoreSession session) |
protected List<DocumentModel> |
NuxeoDriveFileSystemDeletionListener.getChildSyncRoots(DocumentModel doc,
CoreSession session) |
protected DocumentModelList |
NuxeoDriveGroupUpdateListener.getImpactedDocuments(CoreSession session,
List<String> groupNames)
Returns the list of documents carrying an ACL impacted by one of the given group names.
|
protected DocumentModelList |
NuxeoDriveSyncRootCopyListener.getSyncRoots(DocumentModel doc,
CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
NuxeoDriveSetSynchronizationOperation.session |
protected CoreSession |
NuxeoDriveGetRootsOperation.session |
protected CoreSession |
NuxeoDriveAttachBlob.session |
protected CoreSession |
NuxeoDriveAddToLocallyEditedCollection.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
NuxeoDriveTearDownIntegrationTests.session |
protected CoreSession |
NuxeoDriveSetupIntegrationTests.session |
protected CoreSession |
NuxeoDriveCreateTestDocuments.session |
Modifier and Type | Method and Description |
---|---|
static void |
NuxeoDriveIntegrationTestsHelper.cleanUp(CoreSession session) |
static String |
NuxeoDriveIntegrationTestsHelper.getDefaultDomainPath(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
NuxeoDriveActions.documentManager |
Modifier and Type | Method and Description |
---|---|
CoreSession |
FileSystemItemManager.getSession(String repositoryName,
Principal principal)
Deprecated.
since 7.2, use
CoreInstance.openCoreSession(String, Principal) instead. |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveManager.addToLocallyEditedCollection(CoreSession session,
DocumentModel doc)
Adds the given
DocumentModel to the NuxeoDriveManager.LOCALLY_EDITED_COLLECTION_NAME collection. |
List<FileSystemItemChange> |
FileSystemChangeFinder.getFileSystemChanges(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
long lastSuccessfulSyncDate,
long syncDate,
int limit)
Gets the changes in the repository against which the given session is bound for the given synchronization root
paths, since the given last successful synchronization date and without exceeding the given limit.
|
List<FileSystemItemChange> |
FileSystemChangeFinder.getFileSystemChangesIntegerBounds(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(Principal principal,
DocumentModel newRootContainer,
CoreSession session) |
void |
NuxeoDriveManager.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
FileSystemItemManagerImpl.SessionCloser.session |
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<Map<String,CoreSession>> |
FileSystemItemManagerImpl.openedSessions |
Modifier and Type | Method and Description |
---|---|
CoreSession |
FileSystemItemManagerImpl.getSession(String repositoryName,
Principal principal)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveManagerImpl.addToLocallyEditedCollection(CoreSession session,
DocumentModel doc) |
protected void |
NuxeoDriveManagerImpl.checkCanUpdateSynchronizationRoot(DocumentModel newRootContainer,
CoreSession session) |
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,
long lastSuccessfulSyncDate,
long syncDate,
int limit)
To be deprecated (in fact make throw
UnsupportedOperationException ), keeping old method based on log date
for backward compatibility. |
protected List<FileSystemItemChange> |
AuditChangeFinder.getFileSystemChanges(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
boolean integerBounds,
int limit) |
List<FileSystemItemChange> |
AuditChangeFinder.getFileSystemChangesIntegerBounds(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,
boolean integerBounds,
int limit) |
void |
NuxeoDriveManagerImpl.registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer,
CoreSession session) |
void |
NuxeoDriveManagerImpl.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession session) |
Constructor and Description |
---|
SessionCloser(CoreSession session,
String sessionKey) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
EasyShareUnrestrictedRunner.session |
Modifier and Type | Method and Description |
---|---|
abstract Object |
EasyShareUnrestrictedRunner.run(CoreSession coreSession,
IdRef docId) |
Modifier and Type | Method and Description |
---|---|
void |
ActivityRepositoryInitializationHandler.doInitializeRepository(CoreSession session) |
ActivitiesList |
ActivitiesListImpl.filterActivities(CoreSession session) |
ActivitiesList |
ActivitiesList.filterActivities(CoreSession session)
Returns a filtered
ActivitiesList based on the given session . |
protected List<String> |
ActivitiesListImpl.filterAuthorizedDocuments(Set<String> allDocuments,
CoreSession session) |
protected String |
ActivityStreamListener.getDocumentTitle(CoreSession session,
DocumentRef docRef) |
protected List<DocumentRef> |
ActivityStreamListener.getParentSuperSpaceRefs(CoreSession session,
DocumentModel doc) |
String |
DefaultActivityLinkBuilder.getUserAvatarURL(CoreSession session,
String username) |
static String |
ActivityMessageHelper.getUserAvatarURL(CoreSession session,
String username) |
String |
ActivityLinkBuilder.getUserAvatarURL(CoreSession session,
String username) |
Map<String,Object> |
ActivityReplyMessage.toMap(CoreSession session,
Locale locale) |
Map<String,Object> |
ActivityMessage.toMap(CoreSession session,
Locale locale) |
Map<String,Object> |
ActivityReplyMessage.toMap(CoreSession session,
Locale locale,
String activityLinkBuilderName) |
Map<String,Object> |
ActivityMessage.toMap(CoreSession session,
Locale locale,
String activityLinkBuilderName) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AddActivityReply.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DirectoryBasedEditor.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
PermissionsPurge.session |
protected CoreSession |
HotReloadStudioSnapshot.session |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AgendaService.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties)
Create a new Event document to the specific path.
|
DocumentModel |
AgendaComponent.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties) |
protected String |
AgendaComponent.getCurrentUserWorkspacePath(CoreSession session) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd)
List user readable agendum between both date
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
int limit)
List incoming user readable agendum with a limit
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
int limit) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ListAgendaEvents.session |
protected CoreSession |
CreateAgendaEvent.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AddToEventAction.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
LoginStack.currentSession |
protected CoreSession |
LoginStack.originalSession |
CoreSession |
LoginStack.Entry.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
OperationContext.getCoreSession() |
CoreSession |
LoginStack.getSession()
Get the current session
|
Modifier and Type | Method and Description |
---|---|
void |
OperationContext.setCoreSession(CoreSession session) |
void |
LoginStack.setSession(CoreSession session) |
Constructor and Description |
---|
Entry(LoginContext lc,
CoreSession session) |
LoginStack(CoreSession session) |
OperationContext(CoreSession session) |
OperationContext(CoreSession session,
Map<String,Object> bindings) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SetBlobFileName.session |
protected CoreSession |
BulkDownload.session |
protected CoreSession |
AttachBlob.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
BusinessUpdateOperation.session |
protected CoreSession |
BusinessFetchOperation.session |
protected CoreSession |
BusinessCreateOperation.session |
Modifier and Type | Method and Description |
---|---|
void |
BusinessAdapter.save(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UpdateDocument.session |
protected CoreSession |
UnlockDocument.session |
protected CoreSession |
UnblockPermissionInheritance.session |
protected CoreSession |
SetDocumentProperty.session |
protected CoreSession |
SetDocumentLifeCycle.session |
protected CoreSession |
SetDocumentBlob.session |
protected CoreSession |
SetDocumentACE.session |
protected CoreSession |
SaveDocument.session |
protected CoreSession |
RestoreVersion.session |
protected CoreSession |
ResetSchema.session |
protected CoreSession |
ReplacePermission.session |
protected CoreSession |
RemoveProxies.session |
protected CoreSession |
RemoveProperty.session |
protected CoreSession |
RemovePermission.session |
protected CoreSession |
RemoveItemFromListProperty.session |
protected CoreSession |
RemoveFacet.session |
protected CoreSession |
RemoveEntryOfMultiValuedProperty.session |
protected CoreSession |
RemoveDocumentBlob.session |
protected CoreSession |
RemoveDocumentACL.session |
protected CoreSession |
Query.session
Deprecated.
|
protected CoreSession |
PublishDocument.session |
protected CoreSession |
MultiPublishDocument.session |
protected CoreSession |
MoveDocument.session |
protected CoreSession |
LockDocument.session |
protected CoreSession |
GetLiveDocument.session |
protected CoreSession |
GetLastDocumentVersion.session |
protected CoreSession |
GetDocumentVersions.session |
protected CoreSession |
GetDocumentParent.session |
protected CoreSession |
GetDocumentChildren.session |
protected CoreSession |
GetDocumentChild.session |
protected CoreSession |
FetchByProperty.session |
protected CoreSession |
DeleteDocument.session |
protected CoreSession |
CreateVersion.session |
protected CoreSession |
CreateProxyLive.session |
protected CoreSession |
CreateDocument.session |
protected CoreSession |
CopySchema.session |
protected CoreSession |
CopyDocument.session |
protected CoreSession |
CheckOutDocument.session |
protected CoreSession |
CheckInDocument.session |
protected CoreSession |
BlockPermissionInheritance.session |
protected CoreSession |
AddPermission.session |
protected CoreSession |
AddItemToListProperty.session |
protected CoreSession |
AddFacet.session |
protected CoreSession |
AddEntryToMultiValuedProperty.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SaveSession.session |
protected CoreSession |
RunOperationOnListInNewTransaction.session
Deprecated.
|
protected CoreSession |
RunOperationOnList.session |
protected CoreSession |
RunInNewTransaction.session
Deprecated.
|
protected CoreSession |
RunFileChain.session |
protected CoreSession |
RunDocumentChain.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UserWorkspace.session |
protected CoreSession |
ResultSetPageProviderOperation.session |
protected CoreSession |
GetRelations.session |
protected CoreSession |
GetActions.session |
protected CoreSession |
FileManagerImport.session |
protected CoreSession |
DocumentPageProviderOperation.session |
protected CoreSession |
DeleteRelation.session |
protected CoreSession |
CreateRelation.session |
protected CoreSession |
BlobHolderAttach.session |
protected CoreSession |
AuditPageProviderOperation.session |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DocumentPageProviderOperation.getSearchDocumentModel(CoreSession session,
PageProviderService pps,
String providerName,
Properties namedParameters) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ResultSetPaginatedQuery.session |
protected CoreSession |
DocumentPaginatedQuery.session |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DocumentPaginatedQuery.getSearchDocumentModel(CoreSession session,
Properties namedParameters) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DocumentWrapper.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentWrapper.getSession() |
Constructor and Description |
---|
DocumentWrapper(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
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.setProperty(CoreSession session,
DocumentModel doc,
String key,
String value) |
static void |
DocumentHelper.setProperty(CoreSession session,
DocumentModel doc,
String key,
String value,
boolean decodeStringListAsJSON) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ElasticsearchWaitForIndexingOperation.repo |
protected CoreSession |
ElasticsearchIndexOperation.repo |
Modifier and Type | Method and Description |
---|---|
boolean |
PlatformFunctions.documentExists(CoreSession session,
String idOrPath)
Checks if a document with the supplied id (or path) exists.
|
Modifier and Type | Method and Description |
---|---|
Object |
ObjectCodecService.read(InputStream in,
ClassLoader cl,
CoreSession session) |
Object |
ObjectCodecService.read(InputStream in,
CoreSession session) |
Object |
ObjectCodecService.read(org.codehaus.jackson.JsonParser jp,
ClassLoader cl,
CoreSession session) |
String |
ObjectCodecService.StringCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session) |
Date |
ObjectCodecService.DateCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session) |
Calendar |
ObjectCodecService.CalendarCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session) |
Boolean |
ObjectCodecService.BooleanCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session) |
Number |
ObjectCodecService.NumberCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session) |
BusinessAdapter |
ObjectCodecService.DocumentAdapterCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session)
When the object codec is called the stream is positioned on the first value.
|
T |
ObjectCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session)
When the object codec is called the stream is positioned on the first value.
|
EntityType |
AbstractMarshallingRegistryCodec.read(org.codehaus.jackson.JsonParser jp,
CoreSession session) |
Object |
ObjectCodecService.read(String json,
ClassLoader cl,
CoreSession session) |
Object |
ObjectCodecService.read(String json,
CoreSession session) |
Object |
ObjectCodecService.readNode(org.codehaus.jackson.JsonNode node,
ClassLoader cl,
CoreSession session) |
Object |
ObjectCodecService.readNode(org.codehaus.jackson.JsonNode node,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
UrlEncodedFormRequestReader.getCoreSession() |
CoreSession |
MultiPartRequestReader.getCoreSession()
Deprecated.
|
CoreSession |
MultiPartFormRequestReader.getCoreSession() |
CoreSession |
JsonRequestReader.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
OperationContext |
ExecutionRequest.createContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CoreSession session) |
ExecutionRequest |
JsonRequestReader.readRequest(InputStream in,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
CoreSession session) |
static ExecutionRequest |
JsonRequestReader.readRequest(org.codehaus.jackson.JsonParser jp,
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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
OperationActionBean.documentManager |
Modifier and Type | Method and Description |
---|---|
protected static void |
SeamOperationFilter.initializeSeamContext(OperationContext context,
String conversationId,
CoreSession session) |
protected static void |
SeamOperationFilter.setSeamActionContext(OperationContext context,
CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ExecutableResource.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
CoreSessionProvider.getValue() |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BatchManagerComponent.execute(Object blobInput,
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.execute(String batchId,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams)
Executes the chain or operation on the
Blobs from the given batchId . |
Object |
BatchManagerComponent.execute(String batchId,
String fileIndex,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams) |
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 the
Blob from the given batchId and fileIndex . |
Object |
BatchManagerComponent.executeAndClean(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 the
Blobs from the given batchId . |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CreateTask.coreSession |
protected CoreSession |
GetUserTasks.repo |
protected CoreSession |
UserTaskPageProviderOperation.session |
Modifier and Type | Method and Description |
---|---|
void |
AutomationRepositoryInit.populate(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionManager.addToCollection(DocumentModel collection,
DocumentModel documentToBeAdded,
CoreSession session)
Add a document to a collection.
|
void |
CollectionManager.addToCollection(DocumentModel collection,
List<DocumentModel> documentListToBeAdded,
CoreSession session)
Add a list of document to a collection.
|
void |
FavoritesManager.addToFavorites(DocumentModel document,
CoreSession session) |
void |
CollectionManager.addToNewCollection(String newTitle,
String newDescription,
DocumentModel documentToBeAdded,
CoreSession session)
Add a document to a new collection.
|
void |
CollectionManager.addToNewCollection(String newTitle,
String newDescription,
List<DocumentModel> documentListToBeAdded,
CoreSession documentManager)
Add a list of 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(DocumentModel context,
CoreSession session) |
DocumentModel |
CollectionManager.getUserDefaultCollections(DocumentModel context,
CoreSession session)
Get user collections root document.
|
List<DocumentModel> |
CollectionManager.getVisibleCollection(DocumentModel collectionMember,
CoreSession session)
Get the list of collection of a document.
|
List<DocumentModel> |
CollectionManager.getVisibleCollection(DocumentModel collectionMember,
int maxResult,
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) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionManagerImpl.addToCollection(DocumentModel collection,
DocumentModel documentToBeAdded,
CoreSession session) |
void |
CollectionManagerImpl.addToCollection(DocumentModel collection,
List<DocumentModel> documentListToBeAdded,
CoreSession session) |
void |
FavoritesManagerImpl.addToFavorites(DocumentModel document,
CoreSession session) |
void |
CollectionManagerImpl.addToNewCollection(String newTitle,
String newDescription,
DocumentModel documentToBeAdded,
CoreSession session) |
void |
CollectionManagerImpl.addToNewCollection(String newTitle,
String newDescription,
List<DocumentModel> documentListToBeAdded,
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) |
DocumentModel |
CollectionManagerImpl.createCollection(CoreSession session,
String title,
String description,
String path) |
protected DocumentModel |
CollectionManagerImpl.createCollection(String newTitle,
String newDescription,
DocumentModel context,
CoreSession session) |
protected DocumentModel |
CollectionManagerImpl.createDefaultCollectionsRoot(CoreSession session,
DocumentModel userWorkspace) |
protected DocumentModel |
FavoritesManagerImpl.createFavorites(CoreSession session,
DocumentModel userWorkspace) |
void |
CollectionManagerImpl.doRemoveFromCollection(DocumentModel documentToBeRemoved,
String collectionId,
CoreSession session) |
protected void |
CollectionManagerImpl.fireEvent(DocumentModel doc,
CoreSession session,
String eventName,
Map<String,Serializable> props) |
DocumentModel |
FavoritesManagerImpl.getFavorites(DocumentModel context,
CoreSession session) |
protected Locale |
FavoritesManagerImpl.getLocale(CoreSession session) |
protected Locale |
CollectionManagerImpl.getLocale(CoreSession session) |
DocumentModel |
CollectionManagerImpl.getUserDefaultCollections(DocumentModel context,
CoreSession session) |
List<DocumentModel> |
CollectionManagerImpl.getVisibleCollection(DocumentModel collectionMember,
CoreSession session) |
List<DocumentModel> |
CollectionManagerImpl.getVisibleCollection(DocumentModel collectionMember,
int maxResult,
CoreSession session) |
boolean |
CollectionManagerImpl.hasVisibleCollection(DocumentModel collectionMember,
CoreSession session) |
protected DocumentModel |
FavoritesManagerImpl.initCreateFavorites(CoreSession session,
DocumentModel favorites) |
protected DocumentModel |
CollectionManagerImpl.initDefaultCollectionsRoot(CoreSession session,
DocumentModel collectionsRoot) |
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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SuggestCollectionEntry.session |
protected CoreSession |
RemoveFromFavoritesOperation.session |
protected CoreSession |
RemoveFromCollectionOperation.session |
protected CoreSession |
MoveCollectionMemberOperation.session |
protected CoreSession |
GetDocumentsFromFavoritesOperation.session |
protected CoreSession |
FetchFavorites.session |
protected CoreSession |
CreateCollectionOperation.session |
protected CoreSession |
AddToFavoritesOperation.session |
protected CoreSession |
AddToCollectionOperation.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CollectionBulkEditActions.documentManager |
Modifier and Type | Method and Description |
---|---|
protected long |
CoreService.doCleanupOrphanVersions(CoreSession session,
long commitSize) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession
Abstract implementation of the client interface.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UnrestrictedSessionRunner.session |
protected CoreSession |
DocumentTreeIterator.session
The document manager session.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
CoreSessionServiceImpl.createCoreSession(String repositoryName,
NuxeoPrincipal principal) |
CoreSession |
CoreSessionService.createCoreSession(String repositoryName,
NuxeoPrincipal principal)
Instantiates a
CoreSession . |
CoreSession |
DocumentModel.getCoreSession()
Gets the core session to which this document is tied.
|
CoreSession |
CoreSessionService.CoreSessionRegistrationInfo.getCoreSession() |
CoreSession |
CoreSessionServiceImpl.getCoreSession(String sessionId) |
CoreSession |
CoreSessionService.getCoreSession(String sessionId)
Gets an existing open session for the given session id.
|
CoreSession |
CoreInstance.getSession(String sessionId)
Gets an existing open session for the given session id.
|
static CoreSession |
CoreInstance.openCoreSession(String repositoryName)
Opens a
CoreSession for the currently logged-in user. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
Map<String,Serializable> context)
NOT PUBLIC, DO NOT CALL.
|
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
NuxeoPrincipal principal)
MUST ONLY BE USED IN UNIT TESTS to open a
CoreSession for the given principal. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
Principal principal)
MUST ONLY BE USED IN UNIT TESTS to open a
CoreSession for the given principal. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
String username)
MUST ONLY BE USED IN UNIT TESTS to open a
CoreSession for the given user. |
static CoreSession |
CoreInstance.openCoreSessionSystem(String repositoryName)
Opens a
CoreSession for a system user. |
static CoreSession |
CoreInstance.openCoreSessionSystem(String repositoryName,
String originatingUsername)
Opens a
CoreSession for a system user with an optional originating username. |
Modifier and Type | Method and Description |
---|---|
static void |
CoreInstance.closeCoreSession(CoreSession session)
Use
close() instead. |
static void |
CoreInstance.doPrivileged(CoreSession session,
Consumer<CoreSession> consumer)
Runs the given
Consumer with a system CoreSession while logged in as a system user. |
static <R> R |
CoreInstance.doPrivileged(CoreSession session,
Function<CoreSession,R> function)
Runs the given
Function with a system CoreSession while logged in as a system user. |
protected boolean |
UnrestrictedSessionRunner.isUnrestricted(CoreSession session) |
void |
CoreSessionServiceImpl.releaseCoreSession(CoreSession session) |
void |
CoreSessionService.releaseCoreSession(CoreSession session)
Releases (closes) a
CoreSession acquired by CoreSessionService.createCoreSession(java.lang.String, org.nuxeo.ecm.core.api.NuxeoPrincipal) . |
Modifier and Type | Method and Description |
---|---|
static void |
CoreInstance.doPrivileged(CoreSession session,
Consumer<CoreSession> consumer)
Runs the given
Consumer with a system CoreSession while logged in as a system user. |
static <R> R |
CoreInstance.doPrivileged(CoreSession session,
Function<CoreSession,R> function)
Runs the given
Function with a system CoreSession while logged in as a system user. |
static void |
CoreInstance.doPrivileged(String repositoryName,
Consumer<CoreSession> consumer)
Runs the given
Consumer with a system CoreSession while logged in as a system user. |
static <R> R |
CoreInstance.doPrivileged(String repositoryName,
Function<CoreSession,R> function)
Runs the given
Function with a system CoreSession while logged in as a system user. |
Constructor and Description |
---|
CoreSessionRegistrationInfo(CoreSession session) |
DocumentTreeIterator(CoreSession session,
DocumentModel root)
Creates the iterator given the tree root.
|
DocumentTreeIterator(CoreSession session,
DocumentModel root,
boolean excludeRoot) |
UnrestrictedSessionRunner(CoreSession session)
Constructs a
UnrestrictedSessionRunner given an existing session (which may or may not be already
unrestricted). |
Modifier and Type | Method and Description |
---|---|
CoreSession |
SimpleDocumentModel.getCoreSession() |
CoreSession |
DocumentModelImpl.getCoreSession() |
protected CoreSession |
DocumentModelImpl.getSession()
Gets the CoreSession, or fails if it's not available.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PermissionFilter.hasPermission(CoreSession session,
DocumentModel doc,
Set<String> permissions,
boolean required) |
Constructor and Description |
---|
DocumentModelChildrenIterator(CoreSession session,
DocumentRef parentRef,
String type,
Filter filter) |
Modifier and Type | Class and Description |
---|---|
class |
LocalSession
Local Session: implementation of
CoreSession beyond AbstractSession , dealing with low-level stuff. |
Modifier and Type | Method and Description |
---|---|
void |
LocalConfiguration.save(CoreSession session)
Save this LocalConfiguration.
|
void |
AbstractLocalConfiguration.save(CoreSession session) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertiesMappingComponent.mapProperties(CoreSession session,
DocumentModel sourceDoc,
DocumentModel targetDoc,
String mapping) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
Repository.open()
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
CoreSession |
Repository.open(Map<String,Serializable> context)
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
Modifier and Type | Method and Description |
---|---|
static void |
Repository.close(CoreSession session)
Deprecated.
since 5.9.3, use
close() instead. |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailAdapter.computeThumbnail(CoreSession session) |
Blob |
Thumbnail.computeThumbnail(CoreSession session) |
Blob |
ThumbnailServiceImpl.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailService.computeThumbnail(DocumentModel doc,
CoreSession session)
Compute the thumbnail (related to the document type/facet)
|
Blob |
ThumbnailFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailAdapter.getThumbnail(CoreSession session) |
Blob |
Thumbnail.getThumbnail(CoreSession session) |
Blob |
ThumbnailServiceImpl.getThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailService.getThumbnail(DocumentModel doc,
CoreSession session)
Get the document thumbnail (related to the doc type/facet)
|
Blob |
ThumbnailFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
ThumbnailFactory |
ThumbnailServiceImpl.getThumbnailFactory(DocumentModel doc,
CoreSession session) |
void |
ThumbnailAdapter.save(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
EventContext.getCoreSession()
Gets the current core session if any.
|
Modifier and Type | Method and Description |
---|---|
void |
EventContext.setCoreSession(CoreSession session)
Sets the core session.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ReconnectedEventBundleImpl.reconnectedCoreSession |
protected CoreSession |
EventContextImpl.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
ShallowDocumentModel.getCoreSession() |
CoreSession |
EventContextImpl.getCoreSession() |
protected CoreSession |
ReconnectedEventBundleImpl.getReconnectedCoreSession(String repoName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ReconnectedEventBundleImpl.refetchDocumentModel(CoreSession session,
Object eventProperty) |
void |
EventContextImpl.setCoreSession(CoreSession session) |
Constructor and Description |
---|
DocumentEventContext(CoreSession session,
Principal principal,
DocumentModel source) |
DocumentEventContext(CoreSession session,
Principal principal,
DocumentModel source,
DocumentRef destDoc) |
EventContextImpl(CoreSession session,
Principal principal) |
EventContextImpl(CoreSession session,
Principal principal,
Object... args) |
InlineEventContext(CoreSession session,
Principal principal,
Map<String,Serializable> properties) |
UnboundEventContext(CoreSession session,
Principal principal,
Map<String,Serializable> properties) |
Modifier and Type | Method and Description |
---|---|
EventBundle |
SerializableEventBundle.reconstructEventBundle(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
InputStream |
DocumentXMLExporter.exportXML(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputStream . |
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 an
InputSource . |
void |
ImportExtension.updateImport(CoreSession session,
DocumentModel docModel,
ExportedDocument result) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractDocumentModelWriter.session |
Modifier and Type | Method and Description |
---|---|
InputStream |
DocumentXMLExporterImpl.exportXML(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputStream . |
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 an
InputSource . |
Constructor and Description |
---|
AbstractDocumentModelWriter(CoreSession session,
String parentPath) |
AbstractDocumentModelWriter(CoreSession session,
String parentPath,
int saveInterval) |
Modifier and Type | Method and Description |
---|---|
protected LockManager |
DocumentLockImporter.getLockManager(CoreSession session) |
void |
DocumentLockImporter.updateImport(CoreSession session,
DocumentModel docModel,
ExportedDocument xdoc) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DocumentModelReader.session |
Modifier and Type | Method and Description |
---|---|
static DocumentsListReader |
DocumentsListReader.createDocumentsListReader(CoreSession session,
Collection<DocumentRef> docRefsList) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
RenderingContext.SessionWrapper.getSession() |
Modifier and Type | Method and Description |
---|---|
RenderingContextImpl.RenderingContextBuilder |
RenderingContextImpl.RenderingContextBuilder.session(CoreSession session) |
static RenderingContextImpl.RenderingContextBuilder |
RenderingContext.CtxBuilder.session(CoreSession session) |
void |
ThreadSafeRenderingContext.setExistingSession(CoreSession session) |
void |
RenderingContextImpl.setExistingSession(CoreSession session) |
void |
RenderingContext.setExistingSession(CoreSession session)
Provides a
CoreSession to marshallers. |
Constructor and Description |
---|
SessionWrapper(CoreSession session,
boolean shouldBeClosed) |
Modifier and Type | Method and Description |
---|---|
protected void |
BulkLifeCycleChangeListener.changeChildrenState(CoreSession session,
String transition,
String targetState,
DocumentModel doc) |
protected void |
BulkLifeCycleChangeListener.changeDocumentsState(CoreSession session,
DocumentModelList docs,
String transition,
String targetState)
Deprecated.
|
protected void |
BulkLifeCycleChangeListener.changeDocumentsState(CoreSession session,
String transition,
String targetState,
DocumentModelList docs)
Change doc state.
|
protected void |
BulkLifeCycleChangeListener.reinitDocumentsLifeCyle(CoreSession documentManager,
DocumentModelList docs) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
DocumentStoreSessionRunner(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
NuxeoSession.getCoreSession() |
CoreSession |
NuxeoBinding.getCoreSession() |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
NuxeoCmisService.coreSession |
protected CoreSession |
CMISQLtoNXQL.coreSession |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NuxeoCmisService.getCoreSession() |
protected static CoreSession |
NuxeoCmisService.openCoreSession(String repositoryName,
String username) |
Constructor and Description |
---|
NuxeoCmisService(CoreSession coreSession)
Constructs a Nuxeo CMIS Service from an existing
CoreSession . |
NuxeoCmisService(CoreSession coreSession,
String repositoryName) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
abstract void |
RepositoryInitializationHandler.doInitializeRepository(CoreSession session) |
void |
RepositoryInitializationHandler.initializeRepository(CoreSession session)
Must be implemented by custom initializers.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentObject.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
protected void |
CommentService.approveComent(CoreSession session,
DocumentModel target,
DocumentModel comment)
Can be overwritten to allow workflow.
|
protected DocumentModel |
CommentService.createCommentDocument(CoreSession session,
DocumentModel target,
DocumentModel comment)
Can be overwritten to allow creation of localized comment.
|
protected void |
CommentService.publishComment(CoreSession session,
DocumentModel target,
DocumentModel comment)
Can be overwritten to allow workflow.
|
protected void |
CommentService.rejectComment(CoreSession session,
DocumentModel target,
DocumentModel comment)
Can be overwritten to allow workflow.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ResultSetImpl.session |
Constructor and Description |
---|
ResultSetImpl(String query,
CoreSession session,
int offset,
int range,
List<ResultItem> resultItems,
int totalHits,
int pageHits)
Constructor used when a CoreSession is available.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FulltextUpdaterWork.updateWithSession(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CoreFeature.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
CoreFeature.createCoreSession() |
CoreSession |
CoreFeature.getCoreSession() |
CoreSession |
CoreFeature.openCoreSession() |
CoreSession |
CoreFeature.openCoreSession(NuxeoPrincipal principal) |
CoreSession |
CoreFeature.openCoreSession(String username) |
CoreSession |
CoreFeature.openCoreSessionSystem() |
CoreSession |
CoreFeature.reopenCoreSession() |
Modifier and Type | Method and Description |
---|---|
void |
NoopRepositoryInit.populate(CoreSession session) |
void |
DefaultRepositoryInit.populate(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryInit.populate(CoreSession session)
Creates the default objects in an empty repository.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TrashServiceImpl.notifyEvent(CoreSession session,
String eventId,
DocumentModel doc) |
void |
TrashServiceImpl.purgeDocuments(CoreSession session,
List<DocumentRef> docRefs) |
void |
TrashService.purgeDocuments(CoreSession session,
List<DocumentRef> docRefs)
Purges (completely deletes) documents .
|
protected void |
TrashServiceImpl.trashDocument(CoreSession session,
DocumentModel doc) |
protected void |
TrashServiceImpl.undeleteAncestors(CoreSession session,
DocumentRef docRef,
Set<DocumentRef> undeleted)
Undeletes ancestors of a document.
|
protected void |
TrashServiceImpl.undeleteDocument(CoreSession session,
DocumentModel doc) |
protected Set<DocumentRef> |
TrashServiceImpl.undeleteDocumentList(CoreSession session,
List<DocumentModel> docs)
Undeletes a list of documents.
|
Modifier and Type | Method and Description |
---|---|
Document |
VersioningService.doPostSave(CoreSession session,
Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options)
Applies versioning options after document save.
|
Document |
VersioningComponent.doPostSave(CoreSession session,
Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Document |
StandardVersioningService.doPostSave(CoreSession session,
Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
Document |
CompatVersioningService.doPostSave(CoreSession session,
Document doc,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options)
Deprecated.
|
VersioningOption |
VersioningService.doPreSave(CoreSession session,
Document doc,
boolean isDirty,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options)
Applies versioning options before document save.
|
VersioningOption |
VersioningComponent.doPreSave(CoreSession session,
Document doc,
boolean isDirty,
VersioningOption option,
String checkinComment,
Map<String,Serializable> options) |
VersioningOption |
StandardVersioningService.doPreSave(CoreSession session,
Document doc,
boolean isDirty,
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.
|
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 the
OrphanVersionRemoverListener . |
protected void |
OrphanVersionRemoverListener.removeIfPossible(CoreSession session,
ShallowDocumentModel deletedLiveDoc,
List<String> versionUUIDs) |
void |
VersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession)
Removes the versions when a given working document is about to be removed.
|
void |
NullVersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession) |
void |
DefaultVersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession) |
protected void |
StandardVersioningService.sendEvent(CoreSession session,
Document doc,
String previousLifecycleState,
Map<String,Serializable> options) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractWork.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
AbstractWork.initSession()
Deprecated.
since 8.1. Use
AbstractWork.openSystemSession() . |
CoreSession |
AbstractWork.initSession(String repositoryName)
Deprecated.
since 8.1. Use
AbstractWork.openSystemSession() to open a session on the configured repository name,
otherwise use CoreInstance.openCoreSessionSystem(String) . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCSVImporterDocumentFactory.createDocument(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
void |
CSVImporterDocumentFactory.createDocument(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
boolean |
DefaultCSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
Map<String,Serializable> values) |
boolean |
CSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
Map<String,Serializable> values) |
boolean |
DefaultCSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values)
Deprecated.
|
boolean |
CSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values)
Deprecated.
since 8.2
|
String |
CSVImporterImpl.launchImport(CoreSession session,
String parentPath,
Blob blob,
CSVImporterOptions options) |
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 |
CSVImporter.launchImport(CoreSession session,
String parentPath,
File csvFile,
String csvFileName,
CSVImporterOptions options)
Deprecated.
since 9.1 use
CSVImporter.launchImport(CoreSession, String, Blob, CSVImporterOptions) instead. |
void |
DefaultCSVImporterDocumentFactory.updateDocument(CoreSession session,
DocumentRef docRef,
Map<String,Serializable> values) |
void |
CSVImporterDocumentFactory.updateDocument(CoreSession session,
DocumentRef docRef,
Map<String,Serializable> values) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CSVImportStatusOperation.mSession |
protected CoreSession |
CSVImportResultOperation.mSession |
protected CoreSession |
CSVImportOperation.mSession |
protected CoreSession |
CSVImportLogOperation.mSession |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CSVImportActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ContentDiffRestlet.documentManager |
Modifier and Type | Method and Description |
---|---|
DocumentDiff |
DocumentDiffService.diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
Modifier and Type | Method and Description |
---|---|
DocumentDiff |
DocumentDiffServiceImpl.diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
protected void |
DocumentDiffServiceImpl.exportXML(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc,
InputSource leftDocXMLInputSource,
InputSource rightDocXMLInputSource)
Exports leftDoc and rightDoc to XML.
|
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
DocumentDiffRepositoryInit.createLeftDoc(CoreSession session)
Creates the left doc.
|
protected DocumentModel |
DocumentDiffNotSameTypeRepositoryInit.createLeftDoc(CoreSession session)
Creates the left doc.
|
protected DocumentModel |
DocumentDiffRepositoryInit.createRightDoc(CoreSession session)
Creates the right doc.
|
protected DocumentModel |
DocumentDiffNotSameTypeRepositoryInit.createRightDoc(CoreSession session)
Creates the right doc.
|
void |
DocumentDiffRepositoryInit.populate(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DiffActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CoreDirectorySession.coreSession |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UITypesConfigurationActions.documentManager |
protected CoreSession |
PutSimpleConfParams.session |
protected CoreSession |
PutSimpleConfParam.session |
Modifier and Type | Method and Description |
---|---|
void |
SimpleConfigurationAdapter.save(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
MediaPublishingActions.documentManager |
Constructor and Description |
---|
MediaPublishingUploadWork(String serviceId,
MediaPublishingProvider service,
String repositoryName,
String docId,
CoreSession loginSession,
String account,
Map<String,String> options) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
MultiTenantActions.documentManager |
Modifier and Type | Method and Description |
---|---|
void |
MultiTenantServiceImpl.disableTenantIsolation(CoreSession session) |
void |
MultiTenantService.disableTenantIsolation(CoreSession session) |
void |
MultiTenantServiceImpl.disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantService.disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantServiceImpl.enableTenantIsolation(CoreSession session) |
void |
MultiTenantService.enableTenantIsolation(CoreSession session) |
void |
MultiTenantServiceImpl.enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantService.enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
static String |
MultiTenantHelper.getTenantDocumentPath(CoreSession session,
String tenantId)
Returns the path of the tenant document matching the
tenantId , or null if there is no document
matching. |
boolean |
MultiTenantServiceImpl.isTenantIsolationEnabled(CoreSession session) |
boolean |
MultiTenantService.isTenantIsolationEnabled(CoreSession session) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
ACEStatusUpdatedListener.checkForEffectiveACE(CoreSession session,
DocumentModel doc,
List<ACE> aces) |
static void |
PermissionHelper.firePermissionNotificationEvent(CoreSession session,
DocumentModel doc,
String aclName,
ACE ace) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SendNotificationEmailForPermission.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractActionContext.docMgr |
Modifier and Type | Method and Description |
---|---|
CoreSession |
ActionContext.getDocumentManager()
Returns the core session to use for filter evaluation
|
CoreSession |
AbstractActionContext.getDocumentManager() |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.setDocumentManager(CoreSession docMgr)
Sets the core session to use for filter evaluation
|
void |
AbstractActionContext.setDocumentManager(CoreSession docMgr) |
Modifier and Type | Method and Description |
---|---|
protected void |
ResetCheckedoutGraphListener.removeGraphFor(CoreSession session,
String repositoryName,
DocumentModel doc,
NuxeoPrincipal user) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
WSRemotingSession.getDocumentManager()
Returns the document manager bound to the session.
|
Modifier and Type | Method and Description |
---|---|
WSRemotingSession |
WSRemotingSessionManager.createSession(String username,
String password,
String repository,
UserManager um,
CoreSession session)
Creates a new remoting session.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
WSRemotingSessionImpl.getDocumentManager() |
Constructor and Description |
---|
WSRemotingSessionImpl(CoreSession session,
UserManager um,
String repository,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailAudioFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
DocumentModel |
AudioImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
Blob |
ThumbnailAudioFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CommentProcessorHelper.documentManager |
Constructor and Description |
---|
CommentProcessorHelper(CoreSession documentManager) |
Modifier and Type | Method and Description |
---|---|
static AdditionalDocumentAuditParams |
DocumentAuditHelper.getAuditParamsForUUID(String uuid,
CoreSession session) |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ContentHistoryActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
CommentManagerImpl.internalCreateComment(CoreSession session,
DocumentModel docModel,
DocumentModel comment,
String path) |
Modifier and Type | Method and Description |
---|---|
protected void |
DocumentRemovedCommentEventListener.doProcess(CoreSession coreSession,
RelationManager relationManager,
CommentServiceConfig config,
DocumentModel docMessage) |
protected void |
CommentRemovedEventListener.doProcess(CoreSession coreSession,
RelationManager relationManager,
CommentServiceConfig config,
DocumentModel docMessage) |
protected abstract void |
AbstractCommentListener.doProcess(CoreSession coreSession,
RelationManager relationManager,
CommentServiceConfig config,
DocumentModel docMessage) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractCommentManagerActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ModerateCommentOperation.session |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
FollowTransitionUnrestricted(CoreSession session,
DocumentRef docRef,
String transition) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
BaseContentFactory.session |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryInitializationListener.doInitializeRepository(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
PostContentCreationHandler.execute(CoreSession session)
Executes this handler with a system
session . |
void |
ContentTemplateServiceImpl.executePostContentCreationHandlers(CoreSession session) |
void |
ContentTemplateService.executePostContentCreationHandlers(CoreSession session)
Executes all the registered
PostContentCreationHandler s. |
Constructor and Description |
---|
UnrestrictedPropertySetter(CoreSession session,
DocumentRef docRef,
String xpath,
Serializable value) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UnsubscribeOperation.coreSession |
protected CoreSession |
SubscribeOperation.coreSession |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SeamErrorComponent.documentManager |
Modifier and Type | Method and Description |
---|---|
DocumentBlob[] |
NoteBlobAdapter.adaptDocumentBlobs(CoreSession session,
String uuid,
DocumentBlob[] blobs) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileManager.createDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
boolean overwrite,
String fullName)
Returns an initialized doc based on a given blob.
|
DocumentModel |
FileManager.createDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
boolean overwrite,
String fullName,
boolean noMimeTypeCheck)
Returns an initialized doc based on a given blob.
|
default DocumentModel |
FileManager.createFolder(CoreSession documentManager,
String fullname,
String path)
Deprecated.
since 9.1, use
FileManager.createFolder(CoreSession, String, String, boolean) instead |
DocumentModel |
FileManager.createFolder(CoreSession documentManager,
String fullname,
String path,
boolean overwrite)
Creates a Folder.
|
List<DocumentLocation> |
FileManager.findExistingDocumentWithFile(CoreSession documentManager,
String path,
String digest,
Principal 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)
Just applies the same actions as creation but does not changes the doc type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractUnicityChecker.doUnicityCheck(DocumentModel doc2Check,
CoreSession session,
Event event) |
protected void |
SynchronousUnicityCheckListener.onDuplicatedDoc(CoreSession session,
Principal principal,
DocumentModel newDoc,
List<DocumentLocation> existingDocs,
Event event) |
protected void |
AsynchronousUnicityCheckListener.onDuplicatedDoc(CoreSession session,
Principal principal,
DocumentModel newDoc,
List<DocumentLocation> existingDocs,
Event event) |
protected abstract void |
AbstractUnicityChecker.onDuplicatedDoc(CoreSession session,
Principal principal,
DocumentModel newDoc,
List<DocumentLocation> existingDocs,
Event event) |
protected void |
AbstractUnicityChecker.raiseDuplicatedFileEvent(CoreSession session,
Principal principal,
DocumentModel newDoc,
List<DocumentLocation> existingDocs) |
Modifier and Type | Method and 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, use
FileManagerService.defaultCreateFolder(CoreSession, String, String, boolean) instead |
DocumentModel |
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,
Principal principal) |
DocumentModelList |
FileManagerService.getCreationContainers(CoreSession documentManager,
String docType) |
DocumentModel |
FileManagerService.updateDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
String fullName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService)
Creates the document.
|
DocumentModel |
ExportedZipImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
DocumentModel |
CSVZipImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
DocumentModel |
AbstractFileImporter.create(CoreSession session,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
DocumentModel |
FolderImporter.create(CoreSession documentManager,
String fullname,
String path,
boolean overwrite,
TypeManager typeManager) |
DocumentModel |
AbstractFolderImporter.create(CoreSession documentManager,
String fullname,
String path,
boolean overwrite,
TypeManager typeManager) |
protected void |
AbstractFileImporter.doSecurityCheck(CoreSession documentManager,
String path,
String typeName,
TypeManager typeService) |
DocumentModelList |
DefaultCreationContainerListProvider.getCreationContainerList(CoreSession documentManager,
String docType) |
DocumentModelList |
CreationContainerListProvider.getCreationContainerList(CoreSession documentManager,
String docType)
Build the list of candidate containers for the given document type and session.
|
protected String |
AbstractFileImporter.getNearestContainerPath(CoreSession documentManager,
String path)
Returns nearest container path
|
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
LayoutDemoContext.demoCoreSession |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
GenericThreadedImportTask.session |
protected CoreSession |
GenericMultiThreadedImporter.session |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
GenericThreadedImportTask.getCoreSession() |
Constructor and Description |
---|
GenericThreadedImportTask(CoreSession session) |
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ImporterDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
FileManagerDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
DefaultDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
ImporterDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
FileManagerDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
DefaultDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
protected DocumentModel |
DefaultDocumentModelFactory.defaultCreateLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
boolean |
ImporterDocumentModelFactory.processFolderishNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
Defines the process to execute when a folderish node creation error occurs.
|
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.processLeafNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
Defines the process to execute when a leaf 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.
|
protected DocumentModel |
AbstractDocumentModelFactory.setDocumentProperties(CoreSession session,
Map<String,Serializable> properties,
DocumentModel doc)
Set all the properties to the given
doc . |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
XMLImporterServiceImpl.session |
protected CoreSession |
MVELImporterFunction.session |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AdvancedScannedFileFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
Constructor and Description |
---|
MVELImporterFunction(CoreSession session,
Stack<DocumentModel> docsStack,
Map<org.dom4j.Element,DocumentModel> elToDoc,
org.dom4j.Element el) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ExportDocument.session |
Modifier and Type | Method and Description |
---|---|
protected DocumentReader |
ExportDocument.makeDocumentReader(CoreSession session,
DocumentModel doc,
boolean exportAsTree,
boolean exportAsZip) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
AbstractMailAction.getCoreSession(ExecutionContext context) |
Constructor and Description |
---|
UnrestrictedCreateDocument(DocumentModel document,
CoreSession session) |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
MailActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
void |
PDFMerge.addBlobs(String[] inDocIDs,
String inXPath,
CoreSession inSession) |
DocumentModel |
PDFInfo.toFields(DocumentModel inDoc,
HashMap<String,String> inMapping,
boolean inSave,
CoreSession inSession)
The
inMapping 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 by toHashMap() . |
Constructor and Description |
---|
PDFMerge(String[] inDocIDs,
String inXPath,
CoreSession inSession) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
PDFMergeDocumentsOperation.session |
protected CoreSession |
PDFExtractTextOperation.session |
protected CoreSession |
PDFExtractPagesOperation.session |
protected CoreSession |
PDFExtractInfoOperation.session |
Modifier and Type | Method and Description |
---|---|
void |
PictureMigrationHandler.doInitializeRepository(CoreSession session) |
protected void |
PictureMigrationHandler.doMigration(CoreSession session) |
protected Set<String> |
PictureMigrationHandler.getPictureIdsToMigrate(CoreSession session) |
protected boolean |
PictureMigrationHandler.migratePicture(CoreSession session,
String docId) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
PictureBookBlobHolder.getSession() |
protected CoreSession |
AbstractPictureAdapter.getSession() |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
PictureChangedListener.getParentDocument(CoreSession session,
DocumentModel doc) |
protected void |
PictureChangedListener.preFillPictureViews(CoreSession session,
DocumentModel doc) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CreatePicture.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ImagingRecomputeActions.documentManager |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailPictureFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailPictureFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SlideShowManagerBean.documentManager
Deprecated.
|
protected CoreSession |
PictureManagerBean.documentManager |
protected CoreSession |
PictureBookManagerBean.documentManager
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
PreviewActionBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractBasePublishedDocumentFactory.coreSession |
protected CoreSession |
AbstractBasePublicationTree.coreSession |
Modifier and Type | Method and 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 |
PublishedDocumentFactory.init(CoreSession coreSession,
Map<String,String> parameters) |
void |
AbstractBasePublishedDocumentFactory.init(CoreSession coreSession,
Map<String,String> parameters) |
void |
PublishedDocumentFactory.init(CoreSession coreSession,
ValidatorsRule validatorsRule,
Map<String,String> parameters) |
void |
AbstractBasePublishedDocumentFactory.init(CoreSession coreSession,
ValidatorsRule validatorsRule,
Map<String,String> parameters) |
void |
PublicationTree.initTree(CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
void |
AbstractBasePublicationTree.initTree(CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
protected void |
AbstractBasePublishedDocumentFactory.notifyEvent(PublishingEvent event,
DocumentModel doc,
CoreSession coreSession) |
protected void |
AbstractBasePublishedDocumentFactory.notifyEvent(String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm,
CoreSession coreSession) |
PublicationNode |
PublisherService.wrapToPublicationNode(DocumentModel documentModel,
CoreSession coreSession) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
RootSectionsManager.coreSession |
Modifier and Type | Method and Description |
---|---|
static PublicationTree |
PublicationRelationHelper.getPublicationTreeUsedForPublishing(DocumentModel documentModel,
CoreSession coreSession) |
RootSectionFinder |
RootSectionFinderFactory.getRootSectionFinder(CoreSession session) |
Constructor and Description |
---|
RootSectionsManager(CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
VirtualCoreFolderPublicationNode.getCoreSession() |
protected CoreSession |
SectionPublicationTree.getCoreSession() |
protected CoreSession |
CoreFolderPublicationNode.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
void |
SectionPublicationTree.initTree(CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
void |
RootSectionsPublicationTree.initTree(CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractRootSectionsFinder.userSession |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultRootSectionsFinder.computeUnrestrictedRoots(CoreSession session) |
protected abstract void |
AbstractRootSectionsFinder.computeUnrestrictedRoots(CoreSession session) |
protected DocumentModelList |
AbstractRootSectionsFinder.getDefaultSectionRoots(CoreSession session) |
protected DocumentModelList |
AbstractRootSectionsFinder.getSectionRootsFromWorkspaceConfig(DocumentModel workspace,
CoreSession session) |
Constructor and Description |
---|
AbstractRootSectionsFinder(CoreSession userSession) |
DefaultRootSectionsFinder(CoreSession userSession) |
Modifier and Type | Method and 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) |
boolean |
LookupState.isPublished(DocumentModel doc,
CoreSession session) |
protected boolean |
CoreProxyWithWorkflowFactory.isPublished(PublishedDocument publishedDocument,
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) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractPublishActions.documentManager |
Modifier and Type | Method and Description |
---|---|
static void |
PublishActionsBean.notifyEvent(CoreSession session,
String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm) |
protected void |
PublishActionsBean.ApproverWithoutRestriction.sendApprovalEventToSourceDocument(CoreSession session,
DocumentModel sourceDocument,
DocumentModel liveVersion,
String comment) |
Constructor and Description |
---|
ApproverWithoutRestriction(PublishedDocument doc,
String comment,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
CoreQueryDocumentPageProvider.getCoreSession() |
protected CoreSession |
CoreQueryAndFetchPageProvider.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
protected void |
CoreQueryDocumentPageProvider.buildQuery(CoreSession coreSession) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CoreGraph.session |
Modifier and Type | Method and Description |
---|---|
Graph |
CoreGraphFactory.createGraph(GraphDescription graphDescription,
CoreSession session) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate,
boolean inverse)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse,
boolean includeStatementsInEvents)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse,
boolean includeStatementsInEvents,
String comment)
Add link between two document
|
Graph |
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.
|
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
RelationHelper.getDocumentModel(Node node,
CoreSession session)
Returns the document model corresponding to a relation node.
|
static DocumentModelList |
RelationHelper.getSubjectDocuments(Resource predicat,
String stringObject,
CoreSession session) |
static DocumentModelList |
RelationHelper.getSubjectDocuments(String graphName,
Resource predicat,
String stringObject,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Graph |
JenaOrCoreGraphFactory.createGraph(GraphDescription graphDescription,
CoreSession session) |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
RelationActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentTemplate.getSession() |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
RenditionActionBean.documentManager |
Modifier and Type | Method and Description |
---|---|
static List<Blob> |
AutomationRenderer.render(DocumentModel doc,
RenditionDefinition definition,
CoreSession session)
Generate the rendition Blobs for a given
RenditionDefinition . |
Modifier and Type | Method and Description |
---|---|
protected List<Blob> |
AutomationRenditionBuilder.doComputeRendition(CoreSession session,
DocumentModel doc,
RenditionDefinition def) |
protected abstract List<Blob> |
AbstractRenditionBuilderWork.doComputeRendition(CoreSession session,
DocumentModel doc,
RenditionDefinition def)
Does the actual Rendition Computation : this code will be called from inside an Asynchronous Work
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
GetContainerRendition.session |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
RenditionPublicationFactory.getLiveDocument(CoreSession session,
DocumentModel proxy) |
Constructor and Description |
---|
RemoveACP(CoreSession session,
DocumentRef docRef) |
RenditionLiveDocFetcher(CoreSession session,
DocumentModel source) |
Modifier and Type | Method and Description |
---|---|
protected DocumentRef |
RenditionServiceImpl.createVersionIfNeeded(DocumentModel source,
CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractRenditionRestHelper.documentManager |
Modifier and Type | Method and 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 |
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 route
|
boolean |
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 blank
DocumentRoute instance from a model. |
DocumentRoute |
DocumentRoutingService.createNewInstance(DocumentRoute model,
List<String> documentIds,
CoreSession session)
Deprecated.
since 5.6, use other APIs
|
DocumentRoute |
DocumentRoutingService.createNewInstance(DocumentRoute model,
List<String> documentIds,
CoreSession session,
boolean startInstance)
Create a new
DocumentRoute instance from this DocumentRoute model. |
DocumentRoute |
DocumentRoutingService.createNewInstance(DocumentRoute model,
String documentId,
CoreSession session)
Deprecated.
since 5.6, use other APIs
|
DocumentRoute |
DocumentRoutingService.createNewInstance(DocumentRoute model,
String documentId,
CoreSession session,
boolean startInstance)
Deprecated.
since 5.6, use other APIs
|
String |
DocumentRoutingService.createNewInstance(String routeModelId,
List<String> docIds,
CoreSession session,
boolean startInstance)
Creates a new route instance and optionally starts it.
|
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.
|
void |
DocumentRoutingService.delegateTask(CoreSession session,
String taskId,
List<String> delegatedActors,
String comment)
Reassigns the given task to the list of actors.
|
void |
RoutingTaskService.endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status)
Deprecated.
since 5.6, use DocumentRoutingService instead
|
void |
DocumentRoutingService.endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status)
Ends a task.
|
void |
DocumentRoutingService.finishTask(CoreSession session,
DocumentRoute route,
Task task,
boolean delete)
Deprecated.
// will be removed in 5.8, use completeTask instead
|
void |
DocumentRouteElement.followTransition(DocumentRouteElement.ElementLifeCycleTransistion transition,
CoreSession session,
boolean recursive)
make this element follow a transition.
|
DocumentModelList |
DocumentRouteElement.getAttachedDocuments(CoreSession session)
Return the list of documents that this route processes.
|
DocumentModelList |
ActionableObject.getAttachedDocuments(CoreSession session)
Deprecated.
The documents processed by the action.
|
List<DocumentRoute> |
DocumentRoutingService.getAvailableDocumentRoute(CoreSession session)
Return the list of available
DocumentRoute document route. |
List<DocumentRoute> |
DocumentRoutingService.getAvailableDocumentRouteModel(CoreSession session)
Return the list of available
DocumentRoute 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 related
DocumentRoute 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 which
DocumentRoute 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 a
DocumentRoute route instance. |
DocumentModel |
DocumentRoutingPersister.getParentFolderForDocumentRouteModels(CoreSession session)
Gets or creates the parent folder for a
DocumentRoute 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 elements
DocumentRouteTableElement for this DocumentRoute . |
String |
DocumentRoutingService.getRouteModelDocIdWithId(CoreSession session,
String id)
Returns the doc id of the route model with the given id
|
DocumentRoute |
DocumentRoutingService.getRouteModelWithId(CoreSession session,
String id)
Returns the route model with the given id
|
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) |
List<DocumentModel> |
RoutingTaskService.getWorkflowInputDocuments(CoreSession session,
Task task)
Deprecated.
since 5.6, use DocumentRoutingService instead
|
List<DocumentModel> |
DocumentRoutingService.getWorkflowInputDocuments(CoreSession session,
Task task)
Gets the documents following the workflow to which the given task belongs
|
void |
DocumentRoutingService.grantPermissionToTaskAssignees(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task)
Grants on these documents the specified assignees permissions for this task.
|
void |
DocumentRoutingService.grantPermissionToTaskDelegatedActors(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task)
Grants on these documents the specified assignees permissions for this task to the tasks delegated actors.
|
void |
DocumentRoutingService.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 |
LockableDocumentRoute.isLockedByCurrentUser(CoreSession session) |
boolean |
DocumentRoutingService.isLockedByCurrentUser(DocumentRoute routeModel,
CoreSession session)
Verify is this
DocumentRoute is already locked by the current user. |
void |
LockableDocumentRoute.lockDocument(CoreSession session) |
void |
DocumentRoutingService.lockDocumentRoute(DocumentRoute routeModel,
CoreSession session)
Locks this
DocumentRoute if not already locked by the current user. |
void |
RoutingTaskService.makeRoutingTasks(CoreSession session,
List<Task> tasks)
Deprecated.
since 5.6, use DocumentRoutingService instead
|
void |
DocumentRoutingService.makeRoutingTasks(CoreSession session,
List<Task> tasks)
Deprecated.
The facet RoutingTask is statically attached to the new
RoutingTask Document type since 7.1
|
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 delegated
|
void |
DocumentRoutingService.removePermissionsForTaskActors(CoreSession session,
List<DocumentModel> docs,
Task task)
Removes on these documents the specified assignees permissions for the task actors and also tasks delegated
actors if this task was delegated
|
void |
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 the
searchString . |
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 with
DocumentRoutingService.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 with startInstance = false . |
DocumentRouteStep |
DocumentRouteStep.undo(CoreSession session)
Undo this step.
|
void |
LockableDocumentRoute.unlockDocument(CoreSession session) |
void |
DocumentRoutingService.unlockDocumentRoute(DocumentRoute routeModel,
CoreSession session)
Unlocks this
DocumentRoute .If the document is not locked throws a DocumentRouteNotLockedException |
DocumentRoute |
DocumentRoutingService.unlockDocumentRouteUnrestrictedSession(DocumentRoute routeModel,
CoreSession userSession)
Unlock the given
DocumentRoute model under unrestricted session. |
void |
DocumentRoutingService.updateRouteElement(DocumentRouteElement routeModel,
CoreSession session)
Update the given route element
|
void |
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 given
DocumentRoute model by changing its lifecycle state and setting it and all its
children in ReadOnly. |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ActionableValidator.session
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
StepResumeRunner.resumeStep(CoreSession session)
Deprecated.
|
void |
ConditionalFolderUpdateRunner.setStepToBeExecutedNext(CoreSession session,
String nextStepPos)
Deprecated.
|
Constructor and Description |
---|
ActionableValidator(ActionableObject actionnable,
CoreSession session)
Deprecated.
|
ActionableValidator(ActionableObject actionnable,
CoreSession session,
Map<String,Serializable> additionalProperties)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UpdateCommentsInfoOnDocumentOperation.session |
protected CoreSession |
SetNextStepOnConditionalFolderOperation.session
Deprecated.
|
protected CoreSession |
MapPropertiesOnTaskOperation.session |
Modifier and Type | Method and Description |
---|---|
protected void |
BulkRestartWorkflow.reinitLifecycle(List<String> docIds,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRoutingEngineService.cancel(DocumentRoute routeInstance,
CoreSession session)
Cancels a route using an unrestricted session.
|
List<String> |
DocumentRoutingEscalationService.queryForSuspendedNodesWithEscalation(CoreSession session)
Query all running workflows and returns a list of nodes that are suspended and have escalation rules that can be
inspected.
|
void |
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)
Schedules for execution an escalation rule.
|
void |
DocumentRoutingEngineService.start(DocumentRoute routeInstance,
Map<String,Serializable> map,
CoreSession session)
Starts a route.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
StartWorkflowOperation.session |
protected CoreSession |
SetWorkflowVariablesOperation.session |
protected CoreSession |
SetWorkflowVar.session |
protected CoreSession |
ResumeNodeOperation.session |
protected CoreSession |
GetTaskNamesOperation.session |
protected CoreSession |
GetOpenTasksOperation.session |
protected CoreSession |
CompleteTaskOperation.session |
protected CoreSession |
CancelWorkflowOperation.session |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
RoutingAuditRequestFilter.init(CoreSession session,
String indices,
String types,
String rawQuery,
String payload) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
GetGraphOperation.session |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
GraphNodeImpl.getSession() |
Modifier and Type | Method and 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 |
DocumentRouteElementImpl.cancel(CoreSession session) |
void |
StepElementRunner.cancel(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
void |
GraphRunner.cancel(CoreSession session,
DocumentRouteElement element) |
void |
ElementRunner.cancel(CoreSession session,
DocumentRouteElement element)
Cancel this element.
|
void |
AbstractRunner.cancel(CoreSession session,
DocumentRouteElement element) |
void |
DocumentRoutingEngineServiceImpl.cancel(DocumentRoute routeInstance,
CoreSession session) |
protected void |
GraphNodeImpl.cancelTask(CoreSession session,
String taskId) |
void |
DocumentRoutingServiceImpl.cancelTask(CoreSession session,
String taskId) |
boolean |
DocumentRouteElementImpl.canDeleteStep(CoreSession session) |
boolean |
DocumentRouteImpl.canUndoStep(CoreSession session) |
boolean |
DocumentRouteElementImpl.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.
|
DocumentRoute |
DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model,
List<String> documentIds,
CoreSession session)
Deprecated.
|
DocumentRoute |
DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model,
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.
|
String |
DocumentRoutingServiceImpl.createNewInstance(String routeModelId,
List<String> docIds,
CoreSession session,
boolean startInstance) |
String |
DocumentRoutingServiceImpl.createNewInstance(String routeModelId,
List<String> docIds,
Map<String,Serializable> map,
CoreSession session,
boolean startInstance) |
protected void |
GraphRunner.createTask(CoreSession session,
GraphRoute graph,
GraphNode node) |
void |
DocumentRoutingServiceImpl.delegateTask(CoreSession session,
String taskId,
List<String> delegatedActors,
String comment) |
void |
RoutingTaskServiceImpl.endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status)
Deprecated.
|
void |
DocumentRoutingServiceImpl.endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status) |
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 |
EventFirer.fireEvent(CoreSession coreSession,
DocumentRouteElement element,
Map<String,Serializable> eventProperties,
String eventName) |
static void |
AuditEventFirer.fireEvent(CoreSession coreSession,
DocumentRouteElement element,
Map<String,Serializable> eventProperties,
String eventName,
DocumentModel doc) |
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 list
|
protected static void |
DocumentRoutingServiceImpl.fireEvent(String eventName,
Map<String,Serializable> eventProperties,
DocumentRoute route,
CoreSession session) |
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 |
GraphNodeImpl.getExecutionContext(CoreSession session) |
boolean |
DocumentRoutingEscalationServiceImpl.EscalationRuleWork.getExecutionStatus(GraphNode.EscalationRule rule,
CoreSession session)
Used to check the executed status when the escalationRule is run by a worker in a work queue
|
String |
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) |
List<DocumentRouteTableElement> |
DocumentRoutingServiceImpl.getRouteElements(DocumentRoute route,
CoreSession session)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
protected List<DocumentRouteTableElement> |
DocumentRoutingServiceImpl.getRouteElements(DocumentRouteElement routeElementDocument,
CoreSession session,
List<DocumentRouteTableElement> routeElements,
int depth)
Deprecated.
|
String |
DocumentRoutingServiceImpl.getRouteModelDocIdWithId(CoreSession session,
String id) |
DocumentRoute |
DocumentRoutingServiceImpl.getRouteModelWithId(CoreSession session,
String id) |
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 session) |
Map<String,Serializable> |
GraphNodeImpl.getWorkflowContextualInfo(CoreSession session,
boolean detached) |
Map<String,Serializable> |
GraphNode.getWorkflowContextualInfo(CoreSession session,
boolean detached)
Gets a map containing the workflow and node variables and workflow documents.
|
List<DocumentModel> |
RoutingTaskServiceImpl.getWorkflowInputDocuments(CoreSession session,
Task task)
Deprecated.
|
List<DocumentModel> |
DocumentRoutingServiceImpl.getWorkflowInputDocuments(CoreSession session,
Task task) |
void |
DocumentRoutingServiceImpl.grantPermissionToTaskAssignees(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task) |
void |
DocumentRoutingServiceImpl.grantPermissionToTaskDelegatedActors(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task) |
protected boolean |
DocumentRouteElementImpl.hasPermissionOnDocument(CoreSession session,
String permission) |
void |
DocumentRoutingServiceImpl.importAllRouteModels(CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.importRouteModel(URL modelToImport,
boolean overwrite,
CoreSession session) |
boolean |
LockableDocumentRouteImpl.isLocked(CoreSession session) |
boolean |
LockableDocumentRouteImpl.isLockedByCurrentUser(CoreSession session) |
boolean |
DocumentRoutingServiceImpl.isLockedByCurrentUser(DocumentRoute routeModel,
CoreSession session) |
void |
LockableDocumentRouteImpl.lockDocument(CoreSession session) |
void |
DocumentRoutingServiceImpl.lockDocumentRoute(DocumentRoute routeModel,
CoreSession session) |
void |
RoutingTaskServiceImpl.makeRoutingTasks(CoreSession session,
List<Task> tasks)
Deprecated.
|
void |
DocumentRoutingServiceImpl.makeRoutingTasks(CoreSession coreSession,
List<Task> tasks)
Deprecated.
|
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'
|
List<String> |
DocumentRoutingEscalationServiceImpl.queryForSuspendedNodesWithEscalation(CoreSession session) |
void |
DocumentRoutingServiceImpl.reassignTask(CoreSession session,
String taskId,
List<String> actors,
String comment) |
void |
DocumentRoutingServiceImpl.removePermissionFromTaskAssignees(CoreSession session,
List<DocumentModel> docs,
Task task) |
void |
DocumentRoutingServiceImpl.removePermissionsForTaskActors(CoreSession session,
List<DocumentModel> docs,
String taskId) |
void |
DocumentRoutingServiceImpl.removePermissionsForTaskActors(CoreSession session,
List<DocumentModel> docs,
Task task) |
void |
DocumentRoutingServiceImpl.removeRouteElement(DocumentRouteElement routeElement,
CoreSession session) |
void |
StepElementRunner.resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
String taskId,
Map<String,Object> data,
String status)
Deprecated.
|
void |
GraphRunner.resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
String taskId,
Map<String,Object> varData,
String status) |
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 |
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 |
DocumentRoutingServiceImpl.resumeInstance(String routeId,
String nodeId,
Map<String,Object> data,
String status,
CoreSession session) |
void |
GraphRouteImpl.resumeParentRoute(CoreSession session) |
void |
GraphRoute.resumeParentRoute(CoreSession session)
Resumes execution of the parent route from which this graph was started.
|
void |
DocumentRouteElementImpl.run(CoreSession session) |
void |
StepElementRunner.run(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
void |
SerialRunner.run(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
void |
ParallelRunner.run(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
void |
GraphRunner.run(CoreSession session,
DocumentRouteElement element) |
void |
ElementRunner.run(CoreSession session,
DocumentRouteElement element)
Run this element.
|
void |
ConditionalRunner.run(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
void |
StepElementRunner.run(CoreSession session,
DocumentRouteElement element,
Map<String,Serializable> map)
Deprecated.
|
void |
GraphRunner.run(CoreSession session,
DocumentRouteElement element,
Map<String,Serializable> map) |
void |
ElementRunner.run(CoreSession session,
DocumentRouteElement element,
Map<String,Serializable> map)
Run this element.
|
void |
AbstractRunner.run(CoreSession session,
DocumentRouteElement element,
Map<String,Serializable> map) |
void |
DocumentRouteElementImpl.run(CoreSession session,
Map<String,Serializable> map) |
protected void |
GraphRunner.runGraph(CoreSession session,
DocumentRouteElement element,
GraphNode initialNode)
Runs the graph starting with the given node.
|
void |
DocumentRouteElementImpl.save(CoreSession session) |
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) |
List<DocumentModel> |
DocumentRoutingServiceImpl.searchRouteModels(CoreSession session,
String searchString) |
protected void |
DocumentRoutingServiceImpl.setAclForActors(CoreSession session,
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 |
DocumentRouteStepsContainerImpl.setDone(CoreSession session) |
void |
DocumentRouteImpl.setDone(CoreSession session) |
void |
DocumentRouteElementImpl.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 session) |
DocumentRouteStep |
DocumentRouteElementImpl.undo(CoreSession session) |
void |
StepElementRunner.undo(CoreSession session,
DocumentRouteElement element)
Deprecated.
|
void |
ElementRunner.undo(CoreSession session,
DocumentRouteElement element)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
void |
AbstractRunner.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 |
DocumentRouteStepsContainerImpl.validate(CoreSession session) |
void |
DocumentRouteElementImpl.validate(CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.validateRouteModel(DocumentRoute routeModel,
CoreSession userSession) |
Constructor and Description |
---|
AttachedDocumentsChecker(CoreSession session,
String workflowInstanceId) |
GetIsParentRunningUnrestricted(CoreSession session) |
SetDocumentOnReadOnlyUnrestrictedSessionRunner(CoreSession session,
DocumentRef ref) |
Constructor and Description |
---|
JsonGraphRoute(CoreSession session,
GraphRoute graphRoute,
Locale locale) |
JsonGraphRoute(CoreSession session,
String docId,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
protected static ActionContext |
TaskWriter.createActionContext(CoreSession session) |
static Map<String,Serializable> |
JsonEncodeDecodeUtils.decodeVariables(org.codehaus.jackson.JsonNode jsnode,
Map<String,Serializable> originalVariables,
CoreSession session)
Deprecated.
|
Constructor and Description |
---|
NodeAccessRunner(CoreSession session,
String workflowInstanceId,
String nodeId) |
Modifier and Type | Method and Description |
---|---|
void |
RouteModelsInitializator.doInitializeRepository(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RouteModelsZipImporter.create(CoreSession session,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
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 hierarchy
|
static DocumentModel |
TreeHelper.getOrCreatePath(CoreSession session,
DocumentModel root,
String subPath,
String folderType) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
RoutingTaskImpl.getAttachedDocuments(CoreSession coreSession)
Deprecated.
|
DocumentRouteStep |
RoutingTaskImpl.getDocumentRouteStep(CoreSession coreSession)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
RemoveRoutingTask.coreSession
Deprecated.
|
protected CoreSession |
CreateRoutingTask.coreSession
Deprecated.
|
protected CoreSession |
SetCurrentRunningStepFromTask.session
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SetCurrentRunningStepFromTask.mappCommentsFromTaskToStep(CoreSession session,
DocumentModel docStep)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
RoutingTaskActionsBean.documentManager |
protected CoreSession |
RouteSecurityChecker.documentManager |
protected CoreSession |
RelatedRouteActionBean.documentManager |
protected CoreSession |
DocumentRoutingSuggestionActionsBean.documentManager |
protected CoreSession |
DocumentRoutingActionsBean.documentManager |
Constructor and Description |
---|
DocumentModelConvertor(CoreSession session) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
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) |
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) |
void |
SavedSearchServiceImpl.deleteSavedSearch(CoreSession session,
SavedSearch search) |
void |
SavedSearchService.deleteSavedSearch(CoreSession session,
SavedSearch search) |
SavedSearch |
SavedSearchServiceImpl.getSavedSearch(CoreSession session,
String id) |
SavedSearch |
SavedSearchService.getSavedSearch(CoreSession session,
String id) |
SavedSearch |
SavedSearchServiceImpl.saveSavedSearch(CoreSession session,
SavedSearch search) |
SavedSearch |
SavedSearchService.saveSavedSearch(CoreSession session,
SavedSearch search) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
ShibbolethGroupHelper.getBareGroupModel(CoreSession core) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ShibbolethGroupManagerActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
CertActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SuggestOperation.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SuggestboxActions.documentManager |
Modifier and Type | Field and Description |
---|---|
CoreSession |
SuggestionContext.session |
Modifier and Type | Method and Description |
---|---|
SuggestionContext |
SuggestionContext.withSession(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected void |
TagsRelationsToFacetsMigrator.addTags(CoreSession session,
String docId,
Set<TagsRelationsToFacetsMigrator.Tag> tags) |
boolean |
RelationTagService.canUntag(CoreSession session,
String docId,
String label)
Deprecated.
|
boolean |
FacetedTagService.canUntag(CoreSession session,
String docId,
String label) |
boolean |
BridgeTagService.canUntag(CoreSession session,
String docId,
String label) |
boolean |
AbstractTagService.canUntag(CoreSession session,
String docId,
String label) |
boolean |
TagService.canUntag(CoreSession session,
String docId,
String label)
Returns whether or not the current session can untag tag on provided document.
|
void |
AbstractTagService.copyTags(CoreSession session,
String srcDocId,
String dstDocId) |
void |
TagService.copyTags(CoreSession session,
String srcDocId,
String dstDocId)
Copy all the tags applied to the source document to the destination document.
|
protected void |
AbstractTagService.copyTags(CoreSession session,
String srcDocId,
String dstDocId,
boolean removeExistingTags) |
void |
RelationTagService.doCopyTags(CoreSession session,
String srcDocId,
String dstDocId,
boolean removeExistingTags)
Deprecated.
|
void |
FacetedTagService.doCopyTags(CoreSession session,
String srcDocId,
String dstDocId,
boolean removeExistingTags) |
void |
BridgeTagService.doCopyTags(CoreSession session,
String srcDocId,
String dstDocId,
boolean removeExistingTags) |
abstract void |
AbstractTagService.doCopyTags(CoreSession session,
String srcDocId,
String dstDocId,
boolean removeExistingTags) |
List<String> |
RelationTagService.doGetTagDocumentIds(CoreSession session,
String label)
Deprecated.
|
List<String> |
FacetedTagService.doGetTagDocumentIds(CoreSession session,
String label) |
List<String> |
BridgeTagService.doGetTagDocumentIds(CoreSession session,
String label) |
abstract List<String> |
AbstractTagService.doGetTagDocumentIds(CoreSession session,
String label) |
Set<String> |
RelationTagService.doGetTags(CoreSession session,
String docId)
Deprecated.
|
Set<String> |
FacetedTagService.doGetTags(CoreSession session,
String docId) |
Set<String> |
BridgeTagService.doGetTags(CoreSession session,
String docId) |
abstract Set<String> |
AbstractTagService.doGetTags(CoreSession session,
String docId) |
Set<String> |
RelationTagService.doGetTagSuggestions(CoreSession session,
String label)
Deprecated.
|
Set<String> |
FacetedTagService.doGetTagSuggestions(CoreSession session,
String label) |
Set<String> |
BridgeTagService.doGetTagSuggestions(CoreSession session,
String label) |
abstract Set<String> |
AbstractTagService.doGetTagSuggestions(CoreSession session,
String label) |
void |
RelationTagService.doTag(CoreSession session,
String docId,
String label,
String username)
Deprecated.
|
void |
FacetedTagService.doTag(CoreSession session,
String docId,
String label,
String username) |
void |
BridgeTagService.doTag(CoreSession session,
String docId,
String label,
String username) |
abstract void |
AbstractTagService.doTag(CoreSession session,
String docId,
String label,
String username) |
void |
RelationTagService.doUntag(CoreSession session,
String docId,
String label)
Deprecated.
|
void |
FacetedTagService.doUntag(CoreSession session,
String docId,
String label) |
void |
BridgeTagService.doUntag(CoreSession session,
String docId,
String label) |
abstract void |
AbstractTagService.doUntag(CoreSession session,
String docId,
String label) |
protected void |
AbstractTagService.fireUpdateEvent(CoreSession session,
String docId) |
List<Tag> |
AbstractTagService.getDocumentTags(CoreSession session,
String docId,
String username) |
List<Tag> |
TagService.getDocumentTags(CoreSession session,
String docId,
String username)
Deprecated.
since 9.3, username is not needed anymore
|
List<Tag> |
AbstractTagService.getDocumentTags(CoreSession session,
String docId,
String username,
boolean useCore) |
List<Tag> |
TagService.getDocumentTags(CoreSession session,
String docId,
String username,
boolean useCore)
Deprecated.
since 9.3, username and useCore are not needed anymore
|
protected static List<Map<String,Serializable>> |
AbstractTagService.getItems(String pageProviderName,
CoreSession session,
Object... params)
Returns results from calls to
queryAndFetch(String, String, Object...) using page providers. |
Set<String> |
AbstractTagService.getSuggestions(CoreSession session,
String label) |
Set<String> |
TagService.getSuggestions(CoreSession session,
String label)
Gets suggestions for a given tag label prefix.
|
List<Tag> |
AbstractTagService.getSuggestions(CoreSession session,
String label,
String username) |
List<Tag> |
TagService.getSuggestions(CoreSession session,
String label,
String username)
Deprecated.
since 9.3, username is not needed anymore
|
List<Tag> |
RelationTagService.getTagCloud(CoreSession session,
String docId,
String username,
Boolean normalize)
Deprecated.
|
List<Tag> |
FacetedTagService.getTagCloud(CoreSession session,
String docId,
String username,
Boolean normalize) |
List<Tag> |
BridgeTagService.getTagCloud(CoreSession session,
String docId,
String username,
Boolean normalize) |
List<Tag> |
TagService.getTagCloud(CoreSession session,
String docId,
String username,
Boolean normalize)
Deprecated.
since 9.3, seems unused
|
List<String> |
AbstractTagService.getTagDocumentIds(CoreSession session,
String label) |
List<String> |
TagService.getTagDocumentIds(CoreSession session,
String label)
Gets the documents to which a tag is applied.
|
List<String> |
AbstractTagService.getTagDocumentIds(CoreSession session,
String label,
String username) |
List<String> |
TagService.getTagDocumentIds(CoreSession session,
String label,
String username)
Deprecated.
since 9.3, username is not needed anymore
|
Set<String> |
AbstractTagService.getTags(CoreSession session,
String docId) |
Set<String> |
TagService.getTags(CoreSession session,
String docId)
Gets the tags applied to a document.
|
protected void |
TagsRelationsToFacetsMigrator.migrateSession(CoreSession session) |
protected void |
TagsRelationsToFacetsMigrator.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 |
RelationTagService.supportsTag(CoreSession session,
String docId)
Deprecated.
|
boolean |
FacetedTagService.supportsTag(CoreSession session,
String docId) |
boolean |
BridgeTagService.supportsTag(CoreSession session,
String docId) |
boolean |
TagService.supportsTag(CoreSession session,
String docId)
Checks if document support tag.
|
void |
AbstractTagService.tag(CoreSession session,
String docId,
String label) |
void |
TagService.tag(CoreSession session,
String docId,
String label)
Tags a document with a given tag.
|
void |
AbstractTagService.tag(CoreSession session,
String docId,
String label,
String username) |
void |
TagService.tag(CoreSession session,
String docId,
String label,
String username)
Deprecated.
since 9.3, username is not needed anymore
|
void |
AbstractTagService.untag(CoreSession session,
String docId,
String label) |
void |
TagService.untag(CoreSession session,
String docId,
String label)
Untags a document of the given tag
|
void |
AbstractTagService.untag(CoreSession session,
String docId,
String label,
String username) |
void |
TagService.untag(CoreSession session,
String docId,
String label,
String username)
Deprecated.
since 9.3, username is not needed anymore
|
Constructor and Description |
---|
UnrestrictedCanRemoveTagging(CoreSession session,
String docId,
String label) |
UnrestrictedGetDocumentCloud(CoreSession session,
String docId,
String username,
Boolean normalize) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SuggestTagEntry.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UntagDocument.session |
protected CoreSession |
TagDocument.session |
protected CoreSession |
RemoveDocumentTags.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
TagSelect2Support.documentManager |
protected CoreSession |
TagActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
String |
TaskService.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment)
Ends the task using event name
TaskEventNames.WORKFLOW_TASK_COMPLETED and marking the task as validated. |
void |
TaskImpl.cancel(CoreSession coreSession) |
void |
Task.cancel(CoreSession coreSession) |
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.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 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,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo)
|
List<Task> |
TaskService.createTaskForProcess(CoreSession coreSession,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
String processName,
List<String> actorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo)
Creates a task of the given documents type and starts it.
|
void |
TaskService.delegateTask(CoreSession session,
String taskId,
List<String> actors,
String comment)
Delegates the given task to the list of actors.
|
void |
TaskService.deleteTask(CoreSession coreSession,
String taskId)
Remove the documentTask identified by the given taskId if coreSession's principal has the Remove permission.
|
void |
TaskImpl.end(CoreSession coreSession) |
void |
Task.end(CoreSession coreSession) |
String |
TaskService.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
String |
TaskProvider.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
protected 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,
CoreSession session)
Returns all the tasks instances for the given
processId . |
List<Task> |
TaskProvider.getAllTaskInstances(String processId,
List<String> actors,
CoreSession session)
Returns all the tasks instances for the given
processId which assigned to one of the actor in the list or
its pool. |
List<Task> |
TaskProvider.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session)
Returns all the tasks instances for the given
processId and where the user is the actor or belongs to the
pooled actor list. |
List<Task> |
TaskProvider.getAllTaskInstances(String processId,
String nodeId,
CoreSession session)
Returns all the tasks instances for the given
processId originating from the given nodeId . |
List<Task> |
TaskProvider.getCurrentTaskInstances(CoreSession coreSession) |
List<Task> |
TaskProvider.getCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
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 (see
TaskProvider.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 coreSssion)
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-root
|
void |
TaskService.reassignTask(CoreSession session,
String taskId,
List<String> actors,
String comment)
Reassign the given task to the list of actors.
|
String |
TaskService.rejectTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment)
Ends the task using event name
TaskEventNames.WORKFLOW_TASK_REJECTED and marking the task as not
validated. |
Modifier and Type | Method and Description |
---|---|
String |
TaskServiceImpl.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment) |
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) |
void |
CreateTaskUnrestricted.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
List<Task> |
TaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String 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) |
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) |
void |
CreateTaskUnrestricted.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
List<Task> |
TaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> actorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo)
|
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) |
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) |
void |
TaskServiceImpl.deleteTask(CoreSession coreSession,
String taskId) |
String |
TaskServiceImpl.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated)
Use the task provider held by the
Task.TASK_PROVIDER_KEY task variable to end the task . |
String |
DocumentTaskProvider.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated) |
List<Task> |
TaskServiceImpl.getAllCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos) |
List<Task> |
DocumentTaskProvider.getAllCurrentTaskInstances(CoreSession session,
List<SortInfo> sortInfos) |
List<Task> |
TaskServiceImpl.getAllTaskInstances(String processId,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getAllTaskInstances(String processId,
CoreSession session) |
List<Task> |
TaskServiceImpl.getAllTaskInstances(String processId,
List<String> actors,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getAllTaskInstances(String processId,
List<String> actors,
CoreSession session) |
List<Task> |
TaskServiceImpl.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session) |
List<Task> |
TaskServiceImpl.getAllTaskInstances(String processId,
String nodeId,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getAllTaskInstances(String processId,
String nodeId,
CoreSession session) |
List<Task> |
TaskServiceImpl.getCurrentTaskInstances(CoreSession coreSession) |
List<Task> |
DocumentTaskProvider.getCurrentTaskInstances(CoreSession coreSession) |
List<Task> |
TaskServiceImpl.getCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
List<Task> |
DocumentTaskProvider.getCurrentTaskInstances(CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
DocumentTaskProvider.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> |
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> |
TaskServiceImpl.getCurrentTaskInstances(List<String> actors,
CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
TaskServiceImpl.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
List<Task> |
DocumentTaskProvider.getCurrentTaskInstances(List<String> actors,
CoreSession coreSession,
List<SortInfo> sortInfos)
Provide @param sortInfo to handle sort page-provider contributions (see
DocumentTaskProvider.getCurrentTaskInstances(org.nuxeo.ecm.core.api.CoreSession) ) |
DocumentModel |
TaskServiceImpl.getTargetDocumentModel(Task task,
CoreSession coreSession) |
Task |
TaskServiceImpl.getTask(CoreSession coreSession,
String taskId) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
List<String> actors,
boolean includeDelegatedTasks,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
boolean includeDelegatedTasks,
CoreSession session) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
List<String> actors,
CoreSession coreSession) |
List<Task> |
DocumentTaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
CoreSession coreSession) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSession) |
List<Task> |
DocumentTaskProvider.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) |
String |
TaskServiceImpl.rejectTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment) |
Constructor and Description |
---|
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) |
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 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,
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,
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) |
GetTaskRootParentPathUnrestricted(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
UserTaskPageProvider.getCoreSession() |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
TaskActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailThreeDFactory.computeThumbnail(DocumentModel documentModel,
CoreSession coreSession) |
Blob |
ThumbnailThreeDFactory.getThumbnail(DocumentModel documentModel,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ThreeDImporter.create(CoreSession session,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailDocumentFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailDocumentFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateThumbnailListener.processDoc(CoreSession session,
DocumentModel doc) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
Select2ActionsBean.dedicatedSession |
protected CoreSession |
Select2ActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
Select2ActionsBean.getRepositorySession(String repoName) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
Select2Common.resolveReference(String property,
String value,
CoreSession session)
Finds a document by the given property and value.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
NavigationContext.getOrCreateDocumentManager()
Returns the current documentManager if any or create a new session to the currently selected repository location.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
TreeWidgetActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UploadRestlet.documentManager |
protected CoreSession |
UploadFileRestlet.documentManager |
protected CoreSession |
PluginUploadRestlet.documentManager |
protected CoreSession |
DownloadFileRestlet.documentManager |
protected CoreSession |
CreateDocumentRestlet.documentManager |
protected CoreSession |
BaseStatelessNuxeoRestlet.session |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
UploadFileRestlet.getDocumentManager() |
Modifier and Type | Method and Description |
---|---|
protected abstract DocumentReader |
ExportRepresentation.makeDocumentReader(CoreSession documentManager,
DocumentModel root)
Create a
DocumentReader for the export. |
Constructor and Description |
---|
UnrestrictedVersionExporter(CoreSession session,
String docId) |
Modifier and Type | Method and Description |
---|---|
SimpleUserPreferences |
UserPreferencesServiceImpl.getSimpleUserPreferences(CoreSession session) |
SimpleUserPreferences |
UserPreferencesService.getSimpleUserPreferences(CoreSession session) |
<T extends UserPreferences> |
UserPreferencesServiceImpl.getUserPreferences(CoreSession session,
Class<T> userPrefClass,
String userPrefFacet) |
<T extends UserPreferences> |
UserPreferencesService.getUserPreferences(CoreSession session,
Class<T> configurationClass,
String configurationFacet) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserWorkspaceService.getCurrentUserPersonalWorkspace(CoreSession userCoreSession)
Gets the current user personal workspace.
|
DocumentModel |
UserWorkspaceService.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context)
Deprecated.
since 9.3. User personal workspaces have always been stored in default domain. The context is
useless. Simply use
UserWorkspaceService.getCurrentUserPersonalWorkspace(CoreSession) . |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractUserWorkspaceImpl.computePathUserWorkspaceRoot(CoreSession userCoreSession,
String usedUsername) |
protected DocumentModel |
DefaultUserWorkspaceServiceImpl.doCreateUserWorkspace(CoreSession unrestrictedSession,
PathRef wsRef,
String userName) |
protected abstract DocumentModel |
AbstractUserWorkspaceImpl.doCreateUserWorkspace(CoreSession unrestrictedSession,
PathRef wsRef,
String username) |
protected DocumentModel |
DefaultUserWorkspaceServiceImpl.doCreateUserWorkspacesRoot(CoreSession unrestrictedSession,
PathRef rootRef) |
protected abstract DocumentModel |
AbstractUserWorkspaceImpl.doCreateUserWorkspacesRoot(CoreSession unrestrictedSession,
PathRef rootRef) |
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(CoreSession userCoreSession) |
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context)
Deprecated.
since 9.3
|
protected DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(Principal 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,
Principal principal,
String username) |
protected PathRef |
AbstractUserWorkspaceImpl.getExistingUserWorkspaceRoot(CoreSession session,
String username) |
protected DocumentModel |
DefaultUserWorkspaceServiceImpl.initCreateUserWorkspace(CoreSession unrestrictedSession,
DocumentModel doc,
String username) |
protected abstract DocumentModel |
AbstractUserWorkspaceImpl.initCreateUserWorkspace(CoreSession unrestrictedSession,
DocumentModel doc,
String username) |
protected DocumentModel |
DefaultUserWorkspaceServiceImpl.initCreateUserWorkspacesRoot(CoreSession unrestrictedSession,
DocumentModel doc) |
protected abstract DocumentModel |
AbstractUserWorkspaceImpl.initCreateUserWorkspacesRoot(CoreSession unrestrictedSession,
DocumentModel doc) |
protected void |
AbstractUserWorkspaceImpl.notifyEvent(CoreSession coreSession,
DocumentModel document,
NuxeoPrincipal principal,
String eventId,
Map<String,Serializable> properties) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UserWorkspaceCreateFromBlob.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UserWorkspaceManagerActionsBean.documentManager |
protected CoreSession |
UserWorkspaceCheckerActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailVideoFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailVideoFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Locale |
LocaleProvider.getLocale(CoreSession session) |
Locale |
DefaultLocaleProvider.getLocale(CoreSession repo) |
Locale |
LocaleProvider.getLocaleWithDefault(CoreSession session) |
Locale |
DefaultLocaleProvider.getLocaleWithDefault(CoreSession session) |
TimeZone |
LocaleProvider.getTimeZone(CoreSession session) |
TimeZone |
DefaultLocaleProvider.getTimeZone(CoreSession repo) |
Modifier and Type | Method and Description |
---|---|
WSRemotingSession |
WSRemotingSessionManagerImpl.createSession(String username,
String password,
String repository,
UserManager um,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
QuotaStatsServiceImpl.activateQuotaOnUserWorkspaces(long maxQuota,
CoreSession session) |
void |
QuotaStatsService.activateQuotaOnUserWorkspaces(long maxQuota,
CoreSession session)
Activates the quota on user personal workspaces
|
boolean |
QuotaStatsServiceImpl.canSetMaxQuota(long maxQuota,
DocumentModel doc,
CoreSession session) |
boolean |
QuotaStatsService.canSetMaxQuota(long maxQuota,
DocumentModel doc,
CoreSession session)
Test to see if quota allowed.
|
void |
QuotaStatsUpdater.computeInitialStatistics(CoreSession session,
QuotaStatsInitialWork currentWorker)
Compute the initial statistics on the whole repository for this
QuotaStatsUpdater . |
void |
QuotaStatsServiceImpl.computeInitialStatistics(String updaterName,
CoreSession session,
QuotaStatsInitialWork currentWorker) |
void |
QuotaStatsService.computeInitialStatistics(String updaterName,
CoreSession session,
QuotaStatsInitialWork currentWorker)
Compute the initial statistics for the given @{code updaterName}.
|
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 |
QuotaStatsServiceImpl.getQuotaFromParent(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.getQuotaSetOnUserWorkspaces(CoreSession session) |
long |
QuotaStatsService.getQuotaSetOnUserWorkspaces(CoreSession session) |
String |
QuotaStatsServiceImpl.getUserWorkspaceRootId(DocumentModel context,
CoreSession session) |
void |
QuotaStatsServiceImpl.launchSetMaxQuotaOnUserWorkspaces(long maxSize,
DocumentModel context,
CoreSession session) |
void |
QuotaStatsService.launchSetMaxQuotaOnUserWorkspaces(long maxQuota,
DocumentModel context,
CoreSession session)
Sets this maxQuota on all user workspaces
|
protected abstract void |
AbstractQuotaStatsUpdater.processDocumentAboutToBeRemoved(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,
String transition) |
protected abstract void |
AbstractQuotaStatsUpdater.processDocumentUpdated(CoreSession session,
DocumentModel doc) |
void |
QuotaStatsUpdater.updateStatistics(CoreSession session,
DocumentEventContext docCtx,
Event event)
Update the statistics for the given
docCtx and event . |
void |
AbstractQuotaStatsUpdater.updateStatistics(CoreSession session,
DocumentEventContext docCtx,
Event event) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SetQuotaInfoOperation.session |
protected CoreSession |
GetQuotaStatisticsOperation.session |
protected CoreSession |
GetQuotaInfoOperation.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
QuotaStatsActions.documentManager |
Modifier and Type | Method and 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) |
protected Map<String,String> |
DocumentsCountUpdater.getFolders(CoreSession session) |
protected void |
DocumentsCountUpdater.processDocumentAboutToBeRemoved(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,
String transition) |
protected void |
DocumentsCountUpdater.processDocumentUpdated(CoreSession session,
DocumentModel doc) |
protected void |
DocumentsCountUpdater.saveDocumentsCount(CoreSession session,
DocumentModel folder,
org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count count) |
protected void |
DocumentsCountUpdater.saveDocumentsCount(CoreSession session,
Map<String,org.nuxeo.ecm.quota.count.DocumentsCountUpdater.Count> foldersCount) |
protected void |
DocumentsCountUpdater.updateCountStatistics(CoreSession session,
DocumentModel doc,
List<DocumentModel> ancestors,
long count) |
protected void |
DocumentsCountUpdater.updateParentChildrenCount(CoreSession session,
DocumentModel parent,
long count) |
Modifier and Type | Method and 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.
|
void |
DocumentsSizeUpdater.computeInitialStatistics(CoreSession session,
QuotaStatsInitialWork currentWorker) |
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.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,
String transition) |
protected void |
DocumentsSizeUpdater.processDocumentUpdated(CoreSession session,
DocumentModel doc) |
protected void |
DocumentsSizeUpdater.updateAncestors(CoreSession session,
DocumentModel doc,
long deltaTotal,
long deltaTrash,
long deltaVersions) |
protected void |
DocumentsSizeUpdater.updateDocumentAndAncestors(CoreSession session,
DocumentModel doc,
long deltaInner,
long deltaTotal,
long deltaTrash,
long deltaVersions) |
Modifier and Type | Method and Description |
---|---|
ActivitiesList |
LikeServiceImpl.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source) |
ActivitiesList |
LikeServiceImpl.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source,
Date fromDt,
Date toDt) |
Modifier and Type | Method and Description |
---|---|
ActivitiesList |
LikeService.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source)
An actitivitesList containing a documentActivity or a minimessageActivity as target, the likes count as object,
current user as actor and actor's likes in context.
|
ActivitiesList |
LikeService.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source,
Date fromDt,
Date toDt)
An actitivitesList containing a documentActivity or a minimessageActivity as target, the likes count as object,
current user as actor and actor's likes in context the result will be between two dates
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
GetLikeStatus.session |
protected CoreSession |
CancelLike.session |
protected CoreSession |
MostLiked.session |
protected CoreSession |
Like.session |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
QueryObject.getSearchDocumentModel(CoreSession session,
PageProviderService pps,
String providerName,
Properties namedParameters) |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
QueryExecutor.getSearchDocumentModel(CoreSession session,
PageProviderService pps,
String providerName,
Properties namedParameters) |
Modifier and Type | Field and Description |
---|---|
CoreSession |
BaseTest.session |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ShowcaseContentImporter.session |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
ShowcaseContentImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite) |
void |
InitListener.execute(CoreSession session) |
static void |
ShowcaseContentImporter.run(CoreSession session,
String name,
Blob blob) |
Constructor and Description |
---|
ShowcaseContentImporter(CoreSession session,
String name) |
ShowcaseWriter(CoreSession session,
String parentPath,
int saveInterval) |
Modifier and Type | Method and Description |
---|---|
void |
ShowcaseContentService.triggerImporters(CoreSession session) |
void |
ShowcaseContentServiceImpl.triggerImporters(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
JSFDashboardActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UserNotificationActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UserProfileActions.documentManager |
Modifier and Type | Method and Description |
---|---|
void |
UserProfileImporter.doImport(CoreSession session) |
void |
UserProfileImporter.doImport(CoreSession session,
org.apache.commons.csv.CSVParser parser,
UserProfileService userProfileService) |
DocumentModel |
UserProfileServiceImpl.getUserProfile(DocumentModel userModel,
CoreSession session) |
DocumentModel |
UserProfileService.getUserProfile(DocumentModel userModel,
CoreSession session)
Get a DocumentModel containing both user and user profile schemas
|
DocumentModel |
UserProfileServiceImpl.getUserProfileDocument(CoreSession session) |
DocumentModel |
UserProfileService.getUserProfileDocument(CoreSession session)
Get the current user profile.
|
DocumentModel |
UserProfileServiceImpl.getUserProfileDocument(String userName,
CoreSession session) |
DocumentModel |
UserProfileService.getUserProfileDocument(String userName,
CoreSession session)
Get the profile of a specific user.
|
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) |
Modifier and Type | Method and Description |
---|---|
Locale |
UserLocaleProvider.getLocale(CoreSession repo) |
Locale |
UserLocaleProvider.getLocaleWithDefault(CoreSession session) |
TimeZone |
UserLocaleProvider.getTimeZone(CoreSession repo) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserInvitationService.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
UserInvitationComponent.createUser(CoreSession session,
DocumentModel registrationDoc) |
void |
UserInvitationService.deleteRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDoc)
Delete a registration document
|
void |
UserInvitationComponent.deleteRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDocs) |
NuxeoPrincipal |
InvitationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration)
Handle user creation
|
NuxeoPrincipal |
DefaultInvitationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration) |
void |
InvitationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user)
Called just after the user is created
|
void |
DefaultInvitationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user) |
DocumentModel |
UserInvitationComponent.getOrCreateRootDocument(CoreSession session,
String configurationName) |
DocumentModel |
UserInvitationService.getRegistrationRulesDocument(CoreSession session,
String configurationName)
Get documentmodel that stores request configuration using RegistrationConfiguration facet.
|
DocumentModel |
UserInvitationComponent.getRegistrationRulesDocument(CoreSession session,
String configurationName) |
protected void |
UserInvitationComponent.reviveRegistrationRequest(CoreSession session,
DocumentModel registrationDoc,
Map<String,Serializable> additionalInfos) |
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.
|
void |
UserInvitationComponent.reviveRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDocs) |
protected EventContext |
UserInvitationComponent.sendEvent(CoreSession session,
DocumentModel source,
String evName) |
Modifier and Type | Method and Description |
---|---|
void |
UserRegistrationService.addRightsOnDoc(CoreSession session,
DocumentModel registrationDoc)
Add an ACL with the right specified in the registration Doc or nothing, if no rights needed.
|
void |
UserRegistrationComponent.addRightsOnDoc(CoreSession session,
DocumentModel registrationDoc) |
DocumentModel |
RegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration) |
DocumentModel |
DefaultRegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration) |
void |
RegistrationUserFactory.doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document)
Called just after the right is setted
|
void |
DefaultRegistrationUserFactory.doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
UserRegistrationActions.documentManager |
protected CoreSession |
UserRegistrationConfigurationActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
PopupHelper.documentManager |
protected CoreSession |
ImportActions.documentManager |
protected CoreSession |
DeleteActionsBean.documentManager |
protected CoreSession |
MainTabsActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
BulkEditActions.documentManager |
Modifier and Type | Method and Description |
---|---|
void |
BulkEditServiceImpl.updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs) |
void |
BulkEditService.updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Copy all the marked properties (stored in the ContextData of
sourceDoc ) from sourceDoc to all the
targetDocs . |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ClipboardActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
Blob |
DocumentListZipExporter.exportWorklistAsZip(List<DocumentModel> documents,
CoreSession documentManager,
boolean exportAllBlobs) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
OrderableDocumentActions.documentManager |
protected CoreSession |
DocumentActionsBean.documentManager |
protected CoreSession |
DocumentSuggestionActions.documentManager |
protected CoreSession |
DocumentListingActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
NavigationContextBean.documentManager |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NavigationContextBean.getOrCreateDocumentManager()
Returns the current documentManager if any or create a new session to the current location.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
TaskDashBoardActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected Map<RepositoryLocation,CoreSession> |
DocumentManagerBusinessDelegate.sessions
Map holding the open session for each repository location.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentManagerBusinessDelegate.getDocumentManager() |
CoreSession |
DocumentManagerBusinessDelegate.getDocumentManager(RepositoryLocation serverLocation) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DirectoryTreeManagerBean.documentManager |
Modifier and Type | Method and Description |
---|---|
void |
BaseDocumentsListsManager.createWorkingList(String listName,
DocumentsListDescriptor descriptor,
CoreSession session,
String userName) |
List<DocumentModel> |
DocumentsListsPersistenceManager.loadPersistentDocumentsLists(CoreSession currentSession,
String userName,
String listName) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
LockActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
FileManageActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
StartupHelper.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
LiveEditBootstrapHelper.documentManager |
Modifier and Type | Method and Description |
---|---|
protected static String |
LiveEditBootstrapHelper.getEditId(DocumentModel doc,
CoreSession session,
String userName) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
LocalConfigurationActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
LocaleStartup.documentManager |
Modifier and Type | Method and Description |
---|---|
void |
LocaleStartup.handleUserSessionStarted(CoreSession session) |
void |
LocaleStartup.setupLocale(CoreSession session) |
void |
LocaleStartup.setupTimeZone(CoreSession session)
Getting the timezone from the cookies and initialize Seam timezone.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
BreadcrumbActionsBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
NoteActions.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SubscriptionsAction.documentManager |
protected CoreSession |
GroupsSubscriptionsAction.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SecurityActionsBean.documentManager |
protected CoreSession |
MassSecurityModifierActions.documentManager |
protected CoreSession |
PrincipalListManager.documentManager |
protected CoreSession |
PermissionListManager.documentManager |
protected CoreSession |
PermissionActionListManager.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ThumbnailManagerBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
TreeActionsBean.documentManager |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
DocumentTreeNodeImpl.getCoreSession() |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
VersionedActionsBean.documentManager |
protected CoreSession |
DocumentVersioningBean.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractCoreBackend.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
Backend.getSession() |
CoreSession |
AbstractCoreBackend.getSession() |
CoreSession |
Backend.getSession(boolean synchronize) |
CoreSession |
AbstractCoreBackend.getSession(boolean synchronize) |
Modifier and Type | Method and Description |
---|---|
Backend |
SimpleRealBackendFactory.createBackend(String backendDisplayName,
String rootPath,
String rootUrl,
CoreSession session) |
Backend |
RealBackendFactory.createBackend(String backendDisplayName,
String rootPath,
String rootUrl,
CoreSession session) |
Backend |
SimpleBackendFactory.createRootBackend(CoreSession session) |
Backend |
SearchBackendFactory.createRootBackend(CoreSession session) |
abstract Backend |
AbstractBackendFactory.createRootBackend(CoreSession session) |
Constructor and Description |
---|
AbstractCoreBackend(CoreSession session) |
AbstractVirtualBackend(String name,
String rootUrl,
CoreSession session,
RealBackendFactory realBackendFactory) |
PathCache(CoreSession session,
int maxSize) |
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) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
CoreSessionProvider.createSession(javax.servlet.http.HttpServletRequest request,
String repoName) |
CoreSession |
SessionRef.get() |
static CoreSession |
SessionFactory.getSession() |
static CoreSession |
SessionFactory.getSession(javax.servlet.http.HttpServletRequest request) |
static CoreSession |
SessionFactory.getSession(javax.servlet.http.HttpServletRequest request,
String repositoryName) |
CoreSession |
CoreSessionProvider.getSession(javax.servlet.http.HttpServletRequest request,
String repoName) |
static CoreSession |
SessionFactory.getSession(String repositoryName) |
Modifier and Type | Method and Description |
---|---|
protected abstract REF |
CoreSessionProvider.createSessionRef(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
PerSessionCoreProvider.Ref.session |
protected CoreSession |
PerRequestCoreProvider.Ref.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
PerSessionCoreProvider.Ref.get() |
CoreSession |
PerRequestCoreProvider.Ref.get() |
Modifier and Type | Method and Description |
---|---|
protected PerSessionCoreProvider.Ref |
PerSessionCoreProvider.createSessionRef(CoreSession session) |
protected PerRequestCoreProvider.Ref |
PerRequestCoreProvider.createSessionRef(CoreSession session) |
Constructor and Description |
---|
Ref(CoreSession session) |
Ref(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
ResourceContext.getSession() |
CoreSession |
BundleResource.getSession() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
WebContext.getCoreSession()
Gets the Core Session (or Repository Session) corresponding to that request.
|
Modifier and Type | Method and Description |
---|---|
CoreSession |
AbstractWebContext.getCoreSession() |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DocumentTreeBuilder.session |
Constructor and Description |
---|
DocumentTreeBuilder(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DocumentContentProvider.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentContentProvider.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
DocumentContentProvider.setSession(CoreSession session) |
Constructor and Description |
---|
DocumentContentProvider(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
ACLUtils.removePermission(CoreSession session,
DocumentRef docRef,
String username,
String permission) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
ElasticSearchComponent.query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
DocumentModelList |
ElasticSearchComponent.query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
ElasticSearchService.query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
since 6.0, use query with NxQueryBuilder
|
DocumentModelList |
ElasticSearchService.query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
since 6.0, use query with NxQueryBuilder
|
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
ESAuditPageProvider.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
void |
IndexingCommand.attach(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
ElasticSearchServiceImpl.query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
DocumentModelList |
ElasticSearchServiceImpl.query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
Fetcher.getSession() |
Constructor and Description |
---|
EsFetcher(CoreSession session,
org.elasticsearch.action.search.SearchResponse response,
Map<String,String> repoNames) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSearchRequestFilterImpl.init(CoreSession session,
String indices,
String types,
String rawQuery,
String payload) |
Modifier and Type | Method and Description |
---|---|
void |
SearchRequestFilter.init(CoreSession session,
String indices,
String types,
String rawQuery,
String payload) |
void |
AuditRequestFilter.init(CoreSession session,
String indices,
String types,
String rawQuery,
String payload) |
Modifier and Type | Method and Description |
---|---|
JsonDocumentModelReader |
JsonDocumentModelReader.session(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
ElasticSearchNxqlPageProvider.getCoreSession() |
protected CoreSession |
ElasticSearchNativePageProvider.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NxQueryBuilder.getSession() |
Modifier and Type | Method and Description |
---|---|
protected static SQLQuery |
NxqlQueryConverter.addSecurityPolicy(CoreSession session,
SQLQuery query) |
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) |
Constructor and Description |
---|
NxQueryBuilder(CoreSession coreSession) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ElasticSearchManager.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
DocumentMessageConsumer.session |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ExportStructureToFS.session |
Modifier and Type | Method and Description |
---|---|
void |
FSExporterService.export(CoreSession session,
String rootPath,
String fsPath,
String PageProvider) |
void |
FSExporter.export(CoreSession session,
String rootPath,
String fspath,
String PageProvider) |
protected void |
CustomExporterPlugin.exportFileInXML(CoreSession session,
DocumentModel docfrom,
String pathtoexport) |
void |
FSExporterService.exportXML(CoreSession session,
String rootName,
String fileSystemTarget) |
void |
FSExporter.exportXML(CoreSession session,
String rootName,
String fileSystemTarget) |
DocumentModelList |
FSExporterPlugin.getChildren(CoreSession session,
DocumentModel doc,
String PageProvider) |
DocumentModelList |
DefaultExporterPlugin.getChildren(CoreSession session,
DocumentModel doc,
String customQuery) |
File |
FSExporterPlugin.serialize(CoreSession session,
DocumentModel docfrom,
String fsPath) |
File |
DefaultExporterPlugin.serialize(CoreSession session,
DocumentModel docfrom,
String fsPath) |
File |
CustomExporterPlugin.serialize(CoreSession session,
DocumentModel docfrom,
String fsPath) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
MongoDBAuditPageProvider.getCoreSession() |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SampleOperation.session |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
SearchUIServiceImpl.getCurrentUserSavedSearches(CoreSession session) |
List<DocumentModel> |
SearchUIService.getCurrentUserSavedSearches(CoreSession session)
Returns the current user saved searches, located into its own user workspace.
|
protected List<DocumentModel> |
SearchUIServiceImpl.getDocuments(String pageProviderName,
CoreSession session,
Object... parameters) |
List<DocumentModel> |
SearchUIServiceImpl.getSharedSavedSearches(CoreSession session) |
List<DocumentModel> |
SearchUIService.getSharedSavedSearches(CoreSession session)
Returns all the accessible saved searches except the ones for the current user.
|
DocumentModel |
SearchUIServiceImpl.saveSearch(CoreSession session,
ContentViewState searchContentViewState,
String title) |
DocumentModel |
SearchUIService.saveSearch(CoreSession session,
ContentViewState searchContentViewState,
String title)
Save the current search in the user workspace with the given title.
|
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
SearchUIConfigurationActions.documentManager |
protected CoreSession |
SearchUIActions.documentManager |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SnapshotRemovalPolicy.canRemoveVersions(CoreSession session,
DocumentModel doc,
List<String> uuids) |
List<String> |
SnapshotRemovalPolicy.getRemovableVersionIds(CoreSession session,
ShallowDocumentModel deletedLiveDoc,
List<String> versionUUIDs) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
VFolderActionBean.documentManager |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
FolderishProxyFactory.subPublish(CoreSession session,
DocumentModel parentProxy,
Snapshot tree,
boolean skipParent) |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
AbstractTemplateDocument.getSession() |
Modifier and Type | Method and Description |
---|---|
List<TemplateSourceDocument> |
TemplateProcessorService.getAvailableOfficeTemplates(CoreSession session,
String targetType)
Retrieve the
TemplateSourceDocument 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)
Find
TemplateSourceDocument s that can be bound to a given doc type. |
List<TemplateSourceDocument> |
TemplateProcessorService.getAvailableTemplates(CoreSession session,
String targetType)
Find
TemplateSourceDocument s that can be bound to a given doc type. |
DocumentModel |
TemplateProcessorService.getTemplateDoc(CoreSession session,
String name)
Returns a template with a given templateName.
|
Modifier and Type | Method and Description |
---|---|
protected List<LogEntry> |
AuditExtensionFactory.preprocessAuditEntries(List<LogEntry> auditEntries,
CoreSession session,
String lang) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractResourceService.session |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
RootResource.getCoreSession() |
protected CoreSession |
AbstractResourceService.getCoreSession() |
Constructor and Description |
---|
AbstractResourceService(CoreSession session) |
ResourceService(CoreSession session) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
BaseTemplateAction.documentManager |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
ModelImporter.session |
Modifier and Type | Method and Description |
---|---|
void |
InitListener.execute(CoreSession session) |
Constructor and Description |
---|
ModelImporter(CoreSession session) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
TemplateMappingRemover(CoreSession session,
DocumentModel doc,
String type2Remove) |
TemplateMappingRemover(CoreSession session,
String uid,
String type2Remove) |
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
AbstractResourceService.session |
Modifier and Type | Method and Description |
---|---|
protected CoreSession |
RootResource.getCoreSession() |
protected CoreSession |
AbstractResourceService.getCoreSession() |
Constructor and Description |
---|
AbstractResourceService(CoreSession session) |
ResourceService(CoreSession session) |
XDocReportResourceService(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractUserMapper.updateProfile(CoreSession session,
Map<String,Serializable> attributes,
DocumentModel userProfile) |
Copyright © 2018 Nuxeo. All rights reserved.