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) |
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) |
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) |
List<NuxeoArtifact> |
ArtifactSearcherImpl.searchArtifact(CoreSession session,
String fulltext) |
List<NuxeoArtifact> |
ArtifactSearcher.searchArtifact(CoreSession session,
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) |
Modifier and Type | Method and Description |
---|---|
AssociatedDocuments |
VirtualNode.getAssociatedDocuments(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AutomationScriptingService.getInterface(Class<T> scriptingOperationInterface,
String script,
CoreSession session) |
void |
AutomationScriptingService.run(InputStream in,
CoreSession session)
Run Automation Scripting with given 'JavaScript' InputStream and CoreSession.
|
void |
AutomationScriptingService.run(String script,
CoreSession session)
Run Automation Scripting for a given 'JavaScript' script and CoreSession.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AutomationScriptingServiceImpl.getInterface(Class<T> scriptingOperationInterface,
String script,
CoreSession session) |
void |
AutomationScriptingServiceImpl.run(InputStream in,
CoreSession session) |
void |
AutomationScriptingServiceImpl.run(String script,
CoreSession session) |
Constructor and Description |
---|
AutomationMapper(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
BinaryMetadataService.writeMetadata(DocumentModel doc,
CoreSession session)
Write metadata (from a binary) into a given Nuxeo Document according to the metadata mapping and rules
contributions.
|
void |
BinaryMetadataService.writeMetadata(DocumentModel doc,
CoreSession session,
String mappingDescriptorId)
Apply metadata mapping and override document properties according to the contribution.
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryMetadataServiceImpl.writeMetadata(DocumentModel doc,
CoreSession session) |
void |
BinaryMetadataServiceImpl.writeMetadata(DocumentModel doc,
CoreSession session,
String mappingDescriptorId) |
Modifier and Type | Method and Description |
---|---|
void |
BoxAdapter.save(CoreSession session)
Update the document (nx/box sides) thanks to a box item
|
Modifier and Type | Method and Description |
---|---|
void |
BoxCommentAdapter.save(CoreSession session)
Update the comment (nx/box sides)
|
Modifier and Type | Method and Description |
---|---|
BoxCollection |
BoxFolderAdapter.getItemCollection(CoreSession session,
String limit,
String offset,
String fields)
Fill item collection entries box object
|
Modifier and Type | Method and Description |
---|---|
BoxCollection |
BoxService.searchBox(String term,
CoreSession session,
String limit,
String offset) |
BoxCollection |
BoxServiceImpl.searchBox(String term,
CoreSession session,
String limit,
String offset) |
Modifier and Type | Method and Description |
---|---|
void |
AssetLibraryHandler.execute(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
NuxeoDriveIntegrationTestsHelper.cleanUp(CoreSession session) |
static String |
NuxeoDriveIntegrationTestsHelper.getDefaultDomainPath(CoreSession session) |
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 | Method and Description |
---|---|
CoreSession |
FileSystemItemManagerImpl.getSession(String repositoryName,
Principal principal)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveManagerImpl.addToLocallyEditedCollection(CoreSession session,
DocumentModel doc) |
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. |
List<FileSystemItemChange> |
AuditChangeFinder.getFileSystemChangesIntegerBounds(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
int limit) |
Set<IdRef> |
NuxeoDriveManagerImpl.getSynchronizationRootReferences(CoreSession session) |
void |
NuxeoDriveManagerImpl.registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer,
CoreSession session) |
void |
NuxeoDriveManagerImpl.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession 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 . |
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 | Method and Description |
---|---|
DocumentModel |
AgendaComponent.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties) |
DocumentModel |
AgendaService.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties)
Create a new Event document to the specific path.
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd) |
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,
int limit) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
int limit)
List incoming user readable agendum with a limit
|
Modifier and Type | Field and Description |
---|---|
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 |
---|
LoginStack.Entry(LoginContext lc,
CoreSession session) |
LoginStack(CoreSession session) |
OperationContext(CoreSession session) |
OperationContext(CoreSession session,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
void |
BusinessAdapter.save(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DocumentPageProviderOperation.getSearchDocumentModel(CoreSession session,
PageProviderService pps,
String providerName,
Properties namedParameters) |
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).
|
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 | 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.
|
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() |
CoreSession |
MultiPartFormRequestReader.getCoreSession() |
CoreSession |
JsonRequestReader.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
OperationContext |
ExecutionRequest.createContext(javax.servlet.http.HttpServletRequest request,
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 | Method and Description |
---|---|
CoreSession |
ExecutableResource.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
BatchResource.getCoreSession(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
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 fileIdx,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams) |
Object |
BatchManager.execute(String batchId,
String fileIdx,
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 fileIdx . |
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 | 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.
|
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) |
DocumentModel |
CollectionManagerImpl.createCollection(CoreSession session,
String title,
String description,
String path) |
void |
CollectionManagerImpl.doRemoveFromCollection(DocumentModel documentToBeRemoved,
String collectionId,
CoreSession session) |
DocumentModel |
FavoritesManagerImpl.getFavorites(DocumentModel context,
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) |
boolean |
FavoritesManagerImpl.isFavorite(DocumentModel document,
CoreSession session) |
boolean |
CollectionManagerImpl.isInCollection(DocumentModel collection,
DocumentModel document,
CoreSession session) |
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 | Class and Description |
---|---|
class |
AbstractSession
Abstract implementation of the client interface.
|
Modifier and Type | Field and Description |
---|---|
CoreSession |
CoreInstance.RegistrationInfo.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentModel.getCoreSession()
Gets the core session to which this document is tied.
|
CoreSession |
CoreInstance.getSession(String sessionId)
Gets an existing open session for the given session id.
|
CoreSession |
CoreInstance.open(String repositoryName,
Map<String,Serializable> context)
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
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)
Opens a
CoreSession for the given principal. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
Principal principal)
Opens a
CoreSession for the given principal. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
String username)
Opens a
CoreSession for the given user. |
static CoreSession |
CoreInstance.openCoreSessionSystem(String repositoryName)
Opens a
CoreSession for a system user. |
Modifier and Type | Method and Description |
---|---|
void |
CoreInstance.close(CoreSession session)
Deprecated.
since 5.9.3, use
close() instead. |
static void |
CoreInstance.closeCoreSession(CoreSession session)
Use
close() instead. |
Constructor and Description |
---|
CoreInstance.RegistrationInfo(CoreSession session) |
DocumentTreeIterator(CoreSession session,
DocumentModel root)
Creates the iterator given the tree root.
|
DocumentTreeIterator(CoreSession session,
DocumentModel root,
boolean excludeRoot) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
SimpleDocumentModel.getCoreSession() |
CoreSession |
DocumentModelImpl.getCoreSession() |
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 |
---|---|
static CoreSession |
LocalSession.createInstance() |
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 | Method and Description |
---|---|
CoreSession |
ShallowDocumentModel.getCoreSession() |
CoreSession |
EventContextImpl.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
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 . |
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 . |
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 |
---|
RenderingContext.SessionWrapper(CoreSession session,
boolean shouldBeClosed) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentStoreManager.doInitializeRepository(CoreSession session) |
void |
DocumentStoreHandler.onStorageInitialization(CoreSession session,
DocumentRef rootletRef) |
Constructor and Description |
---|
DocumentStoreSessionRunner(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NuxeoBinding.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NuxeoCmisService.getCoreSession() |
Constructor and Description |
---|
NuxeoCmisService(CoreSession coreSession)
Constructs a Nuxeo CMIS Service from an existing
CoreSession . |
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)
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() |
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 | Field and Description |
---|---|
CoreSession |
SQLRepositoryTestCase.session |
Modifier and Type | Method and Description |
---|---|
CoreSession |
SQLRepositoryTestCase.openSessionAs(NuxeoPrincipal principal) |
CoreSession |
SQLRepositoryTestCase.openSessionAs(String username) |
Modifier and Type | Method and Description |
---|---|
void |
SQLRepositoryTestCase.closeSession(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
RepositorySettings.createSession() |
CoreSession |
RepositorySettings.get() |
CoreSession |
RepositorySettings.getSession() |
CoreSession |
RepositorySettings.openSession()
Opens a
CoreSession for the currently logged-in user. |
CoreSession |
RepositorySettings.openSessionAs(Principal principal)
Opens a
CoreSession for the given principal. |
CoreSession |
RepositorySettings.openSessionAs(String username)
Opens a
CoreSession for the given user. |
CoreSession |
RepositorySettings.openSessionAs(String username,
boolean isAdmin,
boolean isAnonymous) |
CoreSession |
RepositorySettings.openSessionAsAdminUser(String username) |
CoreSession |
RepositorySettings.openSessionAsAnonymousUser(String username) |
CoreSession |
RepositorySettings.openSessionAsSystemUser() |
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 |
---|---|
void |
TrashServiceImpl.purgeDocuments(CoreSession session,
List<DocumentRef> docRefs) |
void |
TrashService.purgeDocuments(CoreSession session,
List<DocumentRef> docRefs)
Purges (completely deletes) documents .
|
Modifier and Type | Method and Description |
---|---|
List<String> |
OrphanVersionRemovalFilter.getRemovableVersionIds(CoreSession session,
ShallowDocumentModel deletedLiveDoc,
List<String> versionUUIDs)
This method will be called by the
OrphanVersionRemoverListener . |
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) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
AbstractWork.initSession()
May be called by implementing classes to open a session on the repository.
|
CoreSession |
AbstractWork.initSession(String repositoryName)
May be called by implementing classes to open a session on the given repository.
|
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,
String type,
Map<String,Serializable> values) |
boolean |
CSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
String |
CSVImporterImpl.launchImport(CoreSession session,
String parentPath,
File csvFile,
String csvFileName,
CSVImporterOptions options) |
String |
CSVImporter.launchImport(CoreSession session,
String parentPath,
File csvFile,
String csvFileName,
CSVImporterOptions options) |
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 | 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.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentDiffRepositoryInit.populate(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleConfigurationAdapter.save(CoreSession session) |
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 |
---|---|
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 |
---|---|
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) |
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 |
---|---|
List<DocumentModel> |
DocumentCategorizationServiceImpl.updateCategories(CoreSession session,
List<DocumentRef> docRefs) |
List<DocumentModel> |
DocumentCategorizationService.updateCategories(CoreSession session,
List<DocumentRef> docRefs)
Run all registered document categorizers on the given documents fetched using the provided session.
|
Modifier and Type | Method and Description |
---|---|
void |
CommentsModerationServiceImpl.approveComent(CoreSession session,
DocumentModel doc,
String commentId) |
void |
CommentsModerationService.approveComent(CoreSession session,
DocumentModel document,
String commentId)
Approve the comment with the given commentId.
|
Task |
CommentsModerationServiceImpl.getModerationTask(TaskService taskService,
CoreSession session,
DocumentModel doc,
String commentId) |
void |
CommentsModerationServiceImpl.publishComment(CoreSession session,
DocumentModel comment) |
void |
CommentsModerationService.publishComment(CoreSession session,
DocumentModel comment)
Publish the given comment.
|
void |
CommentsModerationServiceImpl.rejectComment(CoreSession session,
DocumentModel doc,
String commentId) |
void |
CommentsModerationService.rejectComment(CoreSession session,
DocumentModel document,
String commentId)
Reject the comment with the given commentId.
|
void |
CommentsModerationServiceImpl.startModeration(CoreSession session,
DocumentModel doc,
String commentID,
ArrayList<String> moderators) |
void |
CommentsModerationService.startModeration(CoreSession session,
DocumentModel document,
String commentId,
ArrayList<String> moderators)
Starts the moderation process on given Comment posted on a documentModel.
|
Constructor and Description |
---|
FollowTransitionUnrestricted(CoreSession session,
DocumentRef docRef,
String transition) |
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. |
Modifier and Type | Method and Description |
---|---|
DocumentBlob[] |
NoteBlobAdapter.adaptDocumentBlobs(CoreSession session,
String uuid,
DocumentBlob[] blobs) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
FacetedSearchService.getCurrentUserSavedSearches(CoreSession session)
Returns the current user saved Faceted Searches, located into its own user workspace.
|
List<DocumentModel> |
FacetedSearchService.getOtherUsersSavedSearches(CoreSession session)
Returns all the accessible saved Faceted Searches except the ones for the current user.
|
DocumentModel |
FacetedSearchService.saveSearch(CoreSession session,
ContentView facetedSearchContentView,
String title)
Save the current Faceted search in the user workspace with the given title.
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
FacetedSearchServiceImpl.getCurrentUserSavedSearches(CoreSession session) |
List<DocumentModel> |
FacetedSearchServiceImpl.getOtherUsersSavedSearches(CoreSession session) |
DocumentModel |
FacetedSearchServiceImpl.saveSearch(CoreSession session,
ContentView facetedSearchContentView,
String title) |
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.createFolder(CoreSession documentManager,
String fullname,
String path)
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 |
---|---|
DocumentModel |
FileManagerService.createDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
boolean overwrite,
String fullName) |
DocumentModel |
FileManagerService.createFolder(CoreSession documentManager,
String fullname,
String path) |
DocumentModel |
FileManagerService.defaultCreateFolder(CoreSession documentManager,
String fullname,
String path) |
DocumentModel |
FileManagerService.defaultCreateFolder(CoreSession documentManager,
String fullname,
String path,
String containerTypeName,
boolean checkAllowedSubTypes) |
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) |
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.
|
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 | Method and Description |
---|---|
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session)
Analyze and render an ACL audit for the complete repository in unrestricted mode.
|
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session) |
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc)
Analyze and render an ACL audit for the complete document tree in unrestricted mode.
|
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc) |
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted)
Analyze and render an ACL audit for the input document and its children.
|
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted) |
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted,
int timeout) |
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted,
int timeout) |
Modifier and Type | Method and Description |
---|---|
void |
DataProcessor.analyze(CoreSession session) |
void |
IDataProcessor.analyze(CoreSession session) |
void |
DataProcessor.analyze(CoreSession session,
DocumentModel doc,
int timeout) |
void |
DataProcessorRecursive.analyze(CoreSession session,
DocumentModel doc,
int timeout)
.
|
void |
IDataProcessor.analyze(CoreSession session,
DocumentModel doc,
int timeout) |
DocumentModelList |
DataFetch.getAllChildren(CoreSession session,
DocumentModel doc) |
PageProvider<DocumentModel> |
DataFetch.getAllChildrenPaginated(CoreSession session,
DocumentModel doc) |
CoreQueryDocumentPageProvider |
DataFetch.getAllChildrenPaginated(CoreSession session,
DocumentModel doc,
long pageSize,
boolean orderByPath) |
Modifier and Type | Method and Description |
---|---|
static String |
MessageAccessor.get(CoreSession session,
String key) |
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) |
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.
|
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 | Method and Description |
---|---|
static void |
MailCoreHelper.checkMail(DocumentModel currentMailFolder,
CoreSession coreSession)
Creates MailMessage documents for every unread mail found in the INBOX.
|
Modifier and Type | Method and Description |
---|---|
void |
PictureMigrationHandler.doInitializeRepository(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailPictureFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailPictureFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
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(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
void |
AbstractBasePublicationTree.initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
PublicationNode |
PublisherService.wrapToPublicationNode(DocumentModel documentModel,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
static PublicationTree |
PublicationRelationHelper.getPublicationTreeUsedForPublishing(DocumentModel documentModel,
CoreSession coreSession) |
RootSectionFinder |
RootSectionFinderFactory.getRootSectionFinder(CoreSession session) |
static RootSectionFinder |
RootSectionsFinderHelper.getRootSectionsFinder(CoreSession coreSession)
Deprecated.
|
Constructor and Description |
---|
RootSectionsManager(CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
void |
SectionPublicationTree.initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
void |
RootSectionsPublicationTree.initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
Constructor and Description |
---|
AbstractRootSectionsFinder(CoreSession userSession) |
DefaultRootSectionsFinder(CoreSession userSession) |
Modifier and Type | Method and Description |
---|---|
void |
LocalFSPublicationTree.initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
Modifier and Type | Method and Description |
---|---|
void |
ClientRemotePublicationTree.initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName,
String title) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMarshaler.setAssociatedCoreSession(CoreSession session) |
DocumentModel |
CoreIODocumentModelMarshaler.unMarshalDocument(String data,
CoreSession coreSession) |
Constructor and Description |
---|
DefaultMarshaler(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
RemotePublisherMarshaler.setAssociatedCoreSession(CoreSession session) |
DocumentModel |
DocumentModelMarshaler.unMarshalDocument(String data,
CoreSession coreSession) |
Constructor and Description |
---|
SingleDocumentReaderWithInLineBlobs(CoreSession session,
DocumentModel doc) |
SingleShadowDocumentWriter(CoreSession session,
String parentPath) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSynchonizablePublicationTree.initTree(String sid,
CoreSession coreSession,
Map<String,String> parameters,
PublishedDocumentFactory factory,
String configName) |
Modifier and Type | Method and Description |
---|---|
void |
CoreProxyWithWorkflowFactory.init(CoreSession coreSession,
ValidatorsRule validatorsRule,
Map<String,String> parameters) |
boolean |
LookupState.isPublished(DocumentModel doc,
CoreSession session) |
Constructor and Description |
---|
ChangePermissionUnrestricted(CoreSession session,
DocumentModel document,
String[] validators,
NuxeoPrincipal principal,
String aclName,
ACL acl) |
DeleteDocumentUnrestricted(CoreSession session,
DocumentModel document) |
PublishUnrestricted(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublishTo) |
PublishUnrestricted(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublishTo,
boolean overwriteProxy) |
RemoveACLUnrestricted(CoreSession session,
DocumentModel document,
String aclName,
String oldAclName) |
Modifier and Type | Method and Description |
---|---|
static void |
PublishActionsBean.notifyEvent(CoreSession session,
String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm) |
Constructor and Description |
---|
PublishActionsBean.ApproverWithoutRestriction(PublishedDocument doc,
String comment,
CoreSession session) |
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 | Method and Description |
---|---|
Graph |
CoreGraphFactory.createGraph(GraphDescription graphDescription,
CoreSession session) |
Constructor and Description |
---|
CoreGraph(CoreSession session)
A graph with this base 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) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentTemplate.getSession() |
Modifier and Type | Method and Description |
---|---|
static List<Blob> |
AutomationRenderer.render(DocumentModel doc,
RenditionDefinition definition,
CoreSession session) |
Constructor and Description |
---|
RenditionPublicationFactory.RemoveACP(CoreSession session,
DocumentRef docRef) |
Constructor and Description |
---|
RenditionCreator(CoreSession session,
DocumentModel liveDocument,
DocumentModel versionDocument,
Blob renditionBlob,
String renditionName) |
Modifier and Type | Method and Description |
---|---|
List<String> |
RenditionAwareVersionRemovalPolicy.getRemovableVersionIds(CoreSession session,
ShallowDocumentModel deletedLiveDoc,
List<String> versionUUIDs) |
Modifier and Type | Method and Description |
---|---|
List<ReportModel> |
ReportService.getReportAvailableModels(CoreSession session) |
ReportInstance |
ReportService.getReportInstanceByKey(CoreSession session,
String key) |
List<ReportInstance> |
ReportService.getReportInstanceByModelName(CoreSession session,
String reportModelName) |
ReportModel |
ReportService.getReportModelByName(CoreSession session,
String reportModelName) |
Modifier and Type | Method and Description |
---|---|
List<ReportModel> |
ReportComponent.getReportAvailableModels(CoreSession session) |
ReportInstance |
ReportComponent.getReportInstanceByKey(CoreSession session,
String key) |
List<ReportInstance> |
ReportComponent.getReportInstanceByModelName(CoreSession session,
String reportModelName) |
ReportModel |
ReportComponent.getReportModelByName(CoreSession session,
String reportModelName) |
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.
|
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,
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 | 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 | 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 | 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) |
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) |
DocumentModel |
DocumentRoutingTreePersister.createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model,
CoreSession session) |
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) |
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) |
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
|
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) |
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) |
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'
|
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) |
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.
|
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,
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) |
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) |
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) |
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.
|
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) |
void |
DocumentRouteStepsContainerImpl.validate(CoreSession session) |
void |
DocumentRouteElementImpl.validate(CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.validateRouteModel(DocumentRoute routeModel,
CoreSession userSession) |
Constructor and Description |
---|
JsonGraphRoute(CoreSession session,
GraphRoute graphRoute,
Locale locale) |
JsonGraphRoute(CoreSession session,
String docId,
Locale locale) |
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.
Task#getTargetDocumentsIds() should be used instead |
DocumentRouteStep |
RoutingTaskImpl.getDocumentRouteStep(CoreSession coreSession)
Deprecated.
|
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) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
ShibbolethGroupHelper.getBareGroupModel(CoreSession core) |
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 |
---|---|
void |
TagService.copyTags(CoreSession session,
String srcDocId,
String dstDocId)
Copy all the tags applied to the source document to the destination document.
|
void |
TagServiceImpl.copyTags(CoreSession session,
String srcDocId,
String dstDocId) |
List<Tag> |
TagService.getDocumentTags(CoreSession session,
String docId,
String username)
Gets the tags applied to a document by a given user, or by all users.
|
List<Tag> |
TagServiceImpl.getDocumentTags(CoreSession session,
String docId,
String username) |
List<Tag> |
TagService.getDocumentTags(CoreSession session,
String docId,
String username,
boolean useCore)
Gets the tags applied to a document by a given user, or by all users.
|
List<Tag> |
TagServiceImpl.getDocumentTags(CoreSession session,
String docId,
String username,
boolean useCore) |
List<Tag> |
TagService.getSuggestions(CoreSession session,
String label,
String username)
Gets suggestions for a given tag label prefix.
|
List<Tag> |
TagServiceImpl.getSuggestions(CoreSession session,
String label,
String username) |
List<Tag> |
TagService.getTagCloud(CoreSession session,
String docId,
String username,
Boolean normalize)
Gets the tag cloud for a set of documents (tags with weight corresponding to their popularity).
|
List<Tag> |
TagServiceImpl.getTagCloud(CoreSession session,
String docId,
String username,
Boolean normalize) |
List<String> |
TagService.getTagDocumentIds(CoreSession session,
String label,
String username)
Gets the documents to which a tag is applied.
|
List<String> |
TagServiceImpl.getTagDocumentIds(CoreSession session,
String label,
String username) |
void |
TagService.removeTags(CoreSession session,
String docId)
Removes all the tags applied to a document.
|
void |
TagServiceImpl.removeTags(CoreSession session,
String docId) |
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.
|
void |
TagServiceImpl.replaceTags(CoreSession session,
String srcDocId,
String dstDocId) |
void |
TagService.tag(CoreSession session,
String docId,
String label,
String username)
Tags a document with a given tag.
|
void |
TagServiceImpl.tag(CoreSession session,
String docId,
String label,
String username) |
void |
TagService.untag(CoreSession session,
String docId,
String label,
String username)
Untags a document of the given tag
|
void |
TagServiceImpl.untag(CoreSession session,
String docId,
String label,
String username) |
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)
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
|
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 |
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.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) |
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) |
TaskServiceImpl.GetTaskRootParentPathUnrestricted(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailFolderishFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailDocumentFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailFolderishFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailDocumentFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
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 | 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,
DocumentModel context) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context) |
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) |
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}.
|
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
|
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 | Method and Description |
---|---|
void |
DocumentsCountUpdater.computeInitialStatistics(CoreSession session,
QuotaStatsInitialWork currentWorker) |
Modifier and Type | Method and Description |
---|---|
void |
QuotaSyncListenerChecker.computeInitialStatistics(CoreSession unrestrictedSession,
QuotaStatsInitialWork currentWorker) |
Constructor and Description |
---|
SizeUpdateEventContext(CoreSession session,
BlobSizeInfo bsi,
String sourceEvent,
DocumentModel sourceDocument) |
SizeUpdateEventContext(CoreSession session,
DocumentEventContext evtCtx,
BlobSizeInfo bsi,
String sourceEvent) |
SizeUpdateEventContext(CoreSession session,
DocumentEventContext evtCtx,
DocumentModel sourceDocument,
BlobSizeInfo bsi,
String sourceEvent) |
SizeUpdateEventContext(CoreSession session,
DocumentEventContext evtCtx,
long totalSize,
String sourceEvent) |
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
|
Constructor and Description |
---|
NodeAccessRunner(CoreSession session,
String workflowInstanceId,
String nodeId) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Serializable> |
JsonEncodeDecodeUtils.decodeVariables(org.codehaus.jackson.JsonNode jsnode,
Map<String,Serializable> originalVariables,
CoreSession session) |
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 | Method and Description |
---|---|
static String |
MiniMessageHelper.toJSON(PageProvider<MiniMessage> pageProvider,
Locale locale,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CollaborationHandler.execute(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
DeleteSocialDocumentListener.cleanProxy(CoreSession session,
SocialDocument socialDocument)
Remove social document publication into social workspace if needed.
|
Modifier and Type | Method and Description |
---|---|
List<SocialWorkspace> |
SocialWorkspaceServiceImpl.getDetachedPublicSocialWorkspaces(CoreSession session) |
List<SocialWorkspace> |
SocialWorkspaceService.getDetachedPublicSocialWorkspaces(CoreSession session)
Return all public Social Workspaces.
|
SocialWorkspace |
SocialWorkspaceServiceImpl.getDetachedSocialWorkspace(CoreSession session,
DocumentRef docRef) |
SocialWorkspace |
SocialWorkspaceService.getDetachedSocialWorkspace(CoreSession session,
DocumentRef docRef)
Returns the
SocialWorkspace container of the given document ref if it is in a Social Workspace even if
the user does not have right on it, null otherwise. |
DocumentModel |
SocialWorkspaceServiceImpl.getSocialWorkspaceContainer(CoreSession session) |
DocumentModel |
SocialWorkspaceService.getSocialWorkspaceContainer(CoreSession session)
Returns Social Workspace Container and create it if needed.
|
List<SocialWorkspace> |
SocialWorkspaceServiceImpl.searchDetachedPublicSocialWorkspaces(CoreSession session,
String pattern) |
List<SocialWorkspace> |
SocialWorkspaceService.searchDetachedPublicSocialWorkspaces(CoreSession session,
String pattern)
Return matching public social workspace according the given pattern.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SocialWorkspacePublicSpaceProvider.isReadOnly(CoreSession session) |
boolean |
SocialWorkspacePrivateSpaceProvider.isReadOnly(CoreSession session) |
boolean |
CollaborationDashboardSpaceProvider.isReadOnly(CoreSession session) |
Constructor and Description |
---|
SocialWorkspaceDefaultSpaceCreator(CoreSession session,
Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SocialRegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
UserRegistrationConfiguration configuration) |
void |
SocialRegistrationUserFactory.doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
void |
SpaceProvider.add(Space o,
CoreSession session,
Map<String,String> params) |
void |
AbstractSpaceProvider.add(Space o,
CoreSession session,
Map<String,String> params) |
void |
SpaceProvider.addAll(Collection<? extends Space> c,
CoreSession session) |
void |
AbstractSpaceProvider.addAll(Collection<? extends Space> c,
CoreSession session) |
void |
SpaceProvider.clear(CoreSession session) |
void |
AbstractSpaceProvider.clear(CoreSession session) |
List<Space> |
SpaceProvider.getAll(CoreSession session,
DocumentModel contextDocument) |
List<Space> |
AbstractSpaceProvider.getAll(CoreSession session,
DocumentModel contextDocument) |
Space |
SpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
AbstractSpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
SpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
AbstractSpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
SpaceManager.getSpaceFromId(String spaceId,
CoreSession session) |
List<Space> |
AbstractSpaceProvider.getSpaces(Space space,
CoreSession session) |
boolean |
SpaceProvider.isEmpty(CoreSession session,
DocumentModel contextDocument) |
boolean |
AbstractSpaceProvider.isEmpty(CoreSession session,
DocumentModel contextDocument) |
boolean |
SpaceProvider.isReadOnly(CoreSession session) |
boolean |
SpaceProvider.remove(Space space,
CoreSession session) |
boolean |
AbstractSpaceProvider.remove(Space space,
CoreSession session) |
long |
SpaceProvider.size(CoreSession session,
DocumentModel contextDocument) |
long |
AbstractSpaceProvider.size(CoreSession session,
DocumentModel contextDocument) |
Modifier and Type | Method and Description |
---|---|
static void |
WebContentHelper.createOpenSocialGadget(Space space,
CoreSession session,
Locale currentLocale,
String gadgetName,
int zoneIndex,
int unitIndex,
int position)
Creates an OpenSocial gadget in the given
space at the given position. |
static void |
WebContentHelper.createOpenSocialGadget(Space space,
CoreSession session,
Locale currentLocale,
String gadgetName,
int zoneIndex,
int unitIndex,
int position,
Map<String,String> additionalPreferences)
Creates an OpenSocial gadget in the given
space at the given position. |
Modifier and Type | Method and Description |
---|---|
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
SpaceManagerImpl.getSpaceFromId(String spaceId,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserDashboardSpaceProvider.isReadOnly(CoreSession session) |
boolean |
DefaultDashboardSpaceProvider.isReadOnly(CoreSession session) |
boolean |
AnonymousDashboardSpaceProvider.isReadOnly(CoreSession session) |
Constructor and Description |
---|
AnonymousDashboardSpaceCreator(CoreSession session,
Map<String,String> parameters) |
DefaultDashboardSpaceCreator(CoreSession session,
Map<String,String> parameters) |
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.
|
Modifier and Type | Method and Description |
---|---|
Locale |
UserLocaleProvider.getLocale(CoreSession repo) |
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) |
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) |
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 | Method and Description |
---|---|
static void |
BulkEditHelper.copyMetadata(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Deprecated.
since 5.7.3. Now in
BulkEditService . |
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 | Method and Description |
---|---|
File |
DocumentListZipExporter.exportWorklistAsZip(List<DocumentModel> documents,
CoreSession documentManager,
boolean exportAllBlobs) |
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 | Method and Description |
---|---|
CoreSession |
DocumentManagerBusinessDelegate.getDocumentManager() |
CoreSession |
DocumentManagerBusinessDelegate.getDocumentManager(RepositoryLocation serverLocation) |
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 | 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 | 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 |
---|
PathCache(CoreSession session,
int maxSize) |
SearchRootBackend(CoreSession session) |
SearchVirtualBackend(String name,
String rootUrl,
String query,
CoreSession session,
RealBackendFactory realBackendFactory) |
SimpleRootBackend(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
CoreSession |
PerSessionCoreProvider.Ref.get() |
CoreSession |
PerRequestCoreProvider.Ref.get() |
Constructor and Description |
---|
PerRequestCoreProvider.Ref(CoreSession session) |
PerSessionCoreProvider.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() |
Constructor and Description |
---|
DocumentTreeBuilder(CoreSession 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 |
---|---|
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.
|
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 |
---|---|
JsonDocumentModelReader |
JsonDocumentModelReader.session(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NxQueryBuilder.getSession() |
Constructor and Description |
---|
NxQueryBuilder(CoreSession coreSession) |
Constructor and Description |
---|
FoldersListGson(Collection<DocumentModel> children,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
WebContentData |
WebContentSaverServiceImpl.create(WebContentData data,
String parentId,
CoreSession session) |
WebContentData |
WebContentSaverService.create(WebContentData data,
String parentId,
CoreSession session) |
void |
WebContentSaverServiceImpl.delete(WebContentData data,
CoreSession session) |
void |
WebContentSaverService.delete(WebContentData data,
CoreSession session) |
WebContentData |
WebContentSaverServiceImpl.read(DocumentModel doc,
CoreSession session) |
WebContentData |
WebContentSaverService.read(DocumentModel doc,
CoreSession session) |
WebContentData |
WebContentSaverServiceImpl.update(WebContentData data,
CoreSession session) |
WebContentData |
WebContentSaverService.update(WebContentData data,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractWebContentDAO.create(T data,
String parentId,
CoreSession session) |
void |
AbstractWebContentDAO.delete(T webContent,
CoreSession session) |
T |
AbstractWebContentDAO.read(DocumentModel doc,
CoreSession session) |
T |
AbstractWebContentDAO.update(T webContent,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
T |
WebContentDAO.create(T webContent,
String parentId,
CoreSession session) |
void |
WebContentDAO.delete(T webContent,
CoreSession session) |
T |
WebContentDAO.read(DocumentModel doc,
CoreSession session) |
T |
WebContentDAO.update(T webContent,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
OpenSocialData |
OpenSocialDAO.create(OpenSocialData data,
String parentId,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BookFileManagerPlugin.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
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.
|
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,
ContentView searchContentView,
String title) |
DocumentModel |
SearchUIService.saveSearch(CoreSession session,
ContentView searchContentView,
String title)
Save the current search in the user workspace with the given title.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
SnapshotRemovalPolicy.getRemovableVersionIds(CoreSession session,
ShallowDocumentModel deletedLiveDoc,
List<String> versionUUIDs) |
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. |
Modifier and Type | Method and Description |
---|---|
void |
InitListener.execute(CoreSession session) |
Constructor and Description |
---|
ModelImporter(CoreSession session) |
Constructor and Description |
---|
AbstractResourceService(CoreSession session) |
ResourceService(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) |
Constructor and Description |
---|
AbstractResourceService(CoreSession session) |
ResourceService(CoreSession session) |
XDocReportResourceService(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static DocumentModelList |
BlogQueriesCollection.getAllBlogPosts(CoreSession session,
String parent)
Queries all blog posts within a blog site.
|
Constructor and Description |
---|
SiteContentProvider(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SiteQueriesCollection.checkUnrestrictedSiteExistenceByUrlAndDocType(CoreSession session,
String url,
String documentType)
Queries sites unrestricted by URL and document type.
|
static DocumentModel |
SiteUtils.createDocument(javax.servlet.http.HttpServletRequest request,
CoreSession session,
String parentPath,
String documentType)
Creates a document type that is received as parameter, as document model.
|
static DocumentModel |
SiteUtils.getFirstWebSiteParent(CoreSession session,
DocumentModel doc)
Gets the first mini-site parent.
|
static String |
SiteUtils.getModerationType(CoreSession session,
DocumentModel doc) |
static ArrayList<String> |
SiteUtils.getModerators(CoreSession session,
DocumentModel doc) |
static int |
SiteUtils.getNumberCommentsForPage(CoreSession session,
DocumentModel page)
Gets the number of comments added on a page (published actually, if the moderation is on).
|
static ArrayList<String> |
SiteUtils.getUsersWithPermission(CoreSession session,
DocumentModel doc,
Set<String> permissions) |
static boolean |
SiteUtils.isCurrentModerated(CoreSession session,
DocumentModel doc) |
static boolean |
SiteUtils.isModeratedByCurrentUser(CoreSession session,
DocumentModel doc) |
static DocumentModelList |
SiteQueriesCollection.queryAllSites(CoreSession session,
String documentType)
Queries all sites of the given document type.
|
static DocumentModelList |
SiteQueriesCollection.queryLastComments(CoreSession session,
String parent,
int numberLimit,
boolean isModerated)
Queries the added comments within a limit.
|
static DocumentModelList |
SiteQueriesCollection.queryLastModifiedPages(CoreSession session,
String parent,
String documentType,
int numberLimit)
Queries the modified pages within a limit.
|
static DocumentModelList |
SiteQueriesCollection.querySearchPages(CoreSession session,
String query,
String parent,
String documentType,
String dateAfter,
String dateBefore)
Queries the pages based on a search string.
|
static DocumentModelList |
SiteQueriesCollection.querySitesByUrlAndDocType(CoreSession session,
String url,
String documentType)
Queries sites by URL and document type.
|
Copyright © 2015 Nuxeo SA. All rights reserved.