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) |
AssociatedDocuments |
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 |
---|---|
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 |
---|---|
DocumentModelList |
ActionableCaseLinkImpl.getAttachedDocuments(CoreSession session) |
Case |
CaseLinkRequestImpl.getCase(CoreSession session) |
Case |
CaseLinkImpl.getCase(CoreSession session) |
Case |
CaseLink.getCase(CoreSession session)
The mail envelope sent.
|
DocumentRouteStep |
ActionableCaseLinkImpl.getDocumentRouteStep(CoreSession session) |
void |
ActionableCaseLinkImpl.refuse(CoreSession session) |
void |
ActionableCaseLink.refuse(CoreSession session) |
void |
CaseLinkRequestImpl.save(CoreSession session) |
void |
CaseLinkImpl.save(CoreSession session) |
void |
CaseLink.save(CoreSession session)
Persists the post.
|
void |
ActionableCaseLinkImpl.setDone(CoreSession session) |
void |
ActionableCaseLink.setDone(CoreSession session) |
void |
ActionableCaseLinkImpl.validate(CoreSession session) |
void |
ActionableCaseLink.validate(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
CaseImpl.addCaseItem(CaseItem item,
CoreSession session) |
boolean |
Case.addCaseItem(CaseItem item,
CoreSession session)
Adds given item to the envelope.
|
Case |
CaseItemImpl.createMailCase(CoreSession session,
String parentPath,
String initialLifeCycleState) |
Case |
CaseItem.createMailCase(CoreSession documentManager,
String parentPath,
String initialLifeCycleState)
Creates a mail envelope with this item inside.
|
List<CaseItem> |
CaseImpl.getCaseItems(CoreSession session) |
List<CaseItem> |
Case.getCaseItems(CoreSession session)
Returns unmodifiable list of items.
|
DocumentModelList |
CaseItemImpl.getCases(CoreSession session) |
DocumentModelList |
CaseItem.getCases(CoreSession coreSession) |
List<DocumentModel> |
CaseImpl.getDocuments(CoreSession session) |
List<DocumentModel> |
Case.getDocuments(CoreSession session)
Gets the items as document
|
CaseItem |
CaseImpl.getFirstItem(CoreSession session) |
CaseItem |
Case.getFirstItem(CoreSession session)
Gets the first document within this envelope
|
static DocumentModel |
CaseTreeHelper.getOrCreate(CoreSession session,
String rootPath,
String id,
String folderType) |
static DocumentModel |
CaseTreeHelper.getOrCreateDateTreeFolder(CoreSession session,
DocumentModel root,
Date date,
String folderType)
Find or create a set of folders representing the date hierarchy
|
static DocumentModel |
CaseTreeHelper.getOrCreatePath(CoreSession session,
DocumentModel root,
String subPath,
String folderType) |
boolean |
CaseItemImpl.hasSeveralCases(CoreSession coreSession) |
boolean |
CaseItem.hasSeveralCases(CoreSession coreSession) |
boolean |
LockableAdapterImpl.isLocked(CoreSession documentManager)
Returns true if doc is not locked or current user is locker
|
boolean |
LockableAdapter.isLocked(CoreSession documentManager) |
boolean |
LockableAdapterImpl.isLockedByCurrentUser(CoreSession documentManager) |
boolean |
LockableAdapter.isLockedByCurrentUser(CoreSession documentManager)
Returns true if doc is locked by current user.
|
Lock |
LockableAdapterImpl.lockDocument(CoreSession documentManager) |
Lock |
LockableAdapter.lockDocument(CoreSession documentManager) |
boolean |
CaseImpl.moveDownEmailsInCase(List<CaseItem> selected,
CoreSession session) |
boolean |
Case.moveDownEmailsInCase(List<CaseItem> selected,
CoreSession session)
Moves down given selected items in the envelope.
|
boolean |
CaseImpl.moveUpEmailsInCase(List<CaseItem> selected,
CoreSession session) |
boolean |
Case.moveUpEmailsInCase(List<CaseItem> selected,
CoreSession session)
Moves up given selected items in the envelope.
|
boolean |
CaseImpl.removeCaseItem(CaseItem item,
CoreSession session) |
boolean |
Case.removeCaseItem(CaseItem item,
CoreSession session)
Removes given item from the envelope.
|
void |
CaseItemImpl.save(CoreSession session) |
void |
CaseItem.save(CoreSession session)
Persists the item.
|
void |
CaseImpl.save(CoreSession session) |
void |
Case.save(CoreSession session)
Persists the envelope.
|
void |
LockableAdapterImpl.unlockDocument(CoreSession documentManager) |
void |
LockableAdapter.unlockDocument(CoreSession documentManager) |
Constructor and Description |
---|
CreateCaseLink(CaseLink draft,
CoreSession session,
String subject,
String comment,
Case envelope,
Mailbox sender,
String recipientId,
Map<String,List<String>> internalRecipients,
Map<String,List<String>> externalRecipients,
boolean isSent,
boolean isInitial) |
UpdateCaseLinkUnrestricted(CoreSession session,
String subject,
String comment,
Case envelope,
Mailbox sender,
String recipientId,
Map<String,List<String>> internalRecipients,
Map<String,List<String>> externalRecipients,
boolean isSent,
boolean isInitial,
CaseLink post) |
ValidateDueCaseLinkUnrestricted(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CaseManagementStructureHandler.execute(CoreSession session)
This handler execute commands to create CMF content structure if doesn't
exist
|
Constructor and Description |
---|
CaseProcessedListener.RemoveWritePermissionUnrestricted(CoreSession session,
Case kase) |
CreateMailboxFilingRootUnrestricted(CoreSession session,
DocumentModel doc) |
CreateMailboxRouteRootUnrestricted(CoreSession session,
DocumentModel doc) |
DistributionListener.SetEnvelopeAclUnrestricted(CoreSession session,
Case envelope,
Map<String,List<String>> recipients) |
Modifier and Type | Method and Description |
---|---|
Case |
SeparateCaseCaseItemPersister.createCaseFromExistingCaseItem(CaseItem item,
CoreSession session) |
Case |
CaseItemInCasePersister.createCaseFromExistingCaseItem(CaseItem item,
CoreSession session) |
DocumentModel |
CaseManagementAbstractPersister.getParentDocumentForCase(CoreSession session) |
DocumentModel |
CaseManagementAbstractPersister.getParentDocumentForCase(CoreSession session,
Date date) |
String |
CaseManagementAbstractPersister.getParentDocumentPathForCase(CoreSession session) |
String |
CaseManagementAbstractPersister.getParentDocumentPathForCase(CoreSession session,
Date date) |
String |
SeparateCaseCaseItemPersister.getParentDocumentPathForCaseItem(CoreSession session,
Case kase) |
String |
CaseManagementAbstractPersister.getParentDocumentPathForCaseItem(CoreSession session,
Case kase) |
String |
CaseItemInCasePersister.getParentDocumentPathForCaseItem(CoreSession session,
Case kase) |
DocumentModel |
CaseManagementDocRoutingTreePersister.getParentFolderForNewModel(CoreSession session,
DocumentModel instance) |
Constructor and Description |
---|
CaseManagementAbstractPersister.GetParentPathUnrestricted(CoreSession session,
Date date) |
Modifier and Type | Method and Description |
---|---|
CaseItem |
CaseDistributionServiceImpl.addCaseItemToCase(CoreSession session,
Case kase,
DocumentModel emailDoc) |
Case |
CaseDistributionServiceImpl.createCase(CoreSession session,
DocumentModel emailDoc) |
Case |
CaseDistributionServiceImpl.createCase(CoreSession session,
DocumentModel emailDoc,
List<Mailbox> mailboxes) |
Case |
CaseDistributionServiceImpl.createCaseFromExistingCaseItem(CaseItem item,
CoreSession session) |
CaseLink |
CaseDistributionServiceImpl.createDraftCaseLink(CoreSession session,
Mailbox mailbox,
Case envelope) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
DocumentModel caseDoc,
Date date,
List<Mailbox> mailboxes) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
DocumentModel caseDoc,
List<Mailbox> mailboxes) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
DocumentModel caseDoc,
Mailbox mailbox) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
String title,
String id,
List<Mailbox> mailboxes) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
String title,
String id,
Mailbox mailbox) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
String title,
String id,
String type,
Date date,
List<Mailbox> mailboxes) |
Case |
CaseDistributionServiceImpl.createEmptyCase(CoreSession session,
String title,
String id,
String type,
List<Mailbox> mailboxes) |
List<Mailbox> |
DefaultMailboxCreator.createMailboxes(CoreSession session,
String user) |
List<Mailbox> |
MailboxManagementServiceImpl.createPersonalMailboxes(CoreSession session,
String user) |
List<CaseLink> |
CaseDistributionServiceImpl.getCaseLinks(CoreSession session,
Mailbox mailbox,
Case kase) |
CaseLink |
CaseDistributionServiceImpl.getDraftCaseLink(CoreSession coreSession,
Mailbox mailbox,
String envelopeId) |
List<CaseLink> |
CaseDistributionServiceImpl.getDraftCaseLinks(CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit) |
Mailbox |
MailboxManagementServiceImpl.getMailbox(CoreSession session,
String muid) |
List<Mailbox> |
MailboxManagementServiceImpl.getMailboxes(CoreSession session,
List<String> muids) |
List<MailboxHeader> |
MailboxManagementServiceImpl.getMailboxesHeaders(CoreSession session,
List<String> muids) |
MailboxHeader |
MailboxManagementServiceImpl.getMailboxHeader(CoreSession session,
String muid) |
static String |
DefaultMailboxCreator.getNewMailboxParentPath(CoreSession session) |
DocumentModel |
CaseDistributionServiceImpl.getParentDocumentForCase(CoreSession session) |
DocumentModel |
CaseDistributionServiceImpl.getParentDocumentForCase(CoreSession session,
Date date) |
String |
CaseDistributionServiceImpl.getParentDocumentPathForCase(CoreSession session) |
String |
CaseDistributionServiceImpl.getParentDocumentPathForCase(CoreSession session,
Date date) |
String |
CaseDistributionServiceImpl.getParentDocumentPathForCaseItem(CoreSession session,
Case kase) |
List<CaseLink> |
CaseDistributionServiceImpl.getReceivedCaseLinks(CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit) |
List<CaseLink> |
CaseDistributionServiceImpl.getSentCaseLinks(CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit) |
List<Mailbox> |
MailboxManagementServiceImpl.getUserMailboxes(CoreSession session,
String user) |
Mailbox |
MailboxManagementServiceImpl.getUserPersonalMailbox(CoreSession session,
String user) |
Mailbox |
MailboxManagementServiceImpl.getUserPersonalMailboxForEmail(CoreSession session,
String userEmail) |
boolean |
MailboxManagementServiceImpl.hasMailbox(CoreSession session,
String muid) |
boolean |
MailboxManagementServiceImpl.hasUserPersonalMailbox(CoreSession session,
String userId) |
void |
CaseDistributionServiceImpl.notify(CoreSession session,
String name,
DocumentModel document,
Map<String,Serializable> eventProperties) |
void |
CaseDistributionServiceImpl.removeCaseLink(CaseLink link,
CoreSession session) |
List<MailboxHeader> |
MailboxManagementServiceImpl.searchMailboxes(CoreSession session,
String pattern,
String type) |
CaseLink |
CaseDistributionServiceImpl.sendCase(CoreSession session,
CaseLink postRequest,
boolean isInitial) |
CaseLink |
CaseDistributionServiceImpl.sendCase(CoreSession session,
CaseLink postRequest,
boolean isInitial,
boolean actionable) |
CaseLink |
CaseDistributionServiceImpl.sendCase(CoreSession session,
String origin,
Case kase,
DistributionInfo initialDistribution) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CaseManagementCaseImporterDocumentsFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
CaseManagementCaseImporterDocumentsFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
Constructor and Description |
---|
CaseImporterThreadedTask(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CaseManagementCaseItemDocumentFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
CaseManagementCaseItemDocumentFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
Modifier and Type | Method and Description |
---|---|
void |
MailboxSynchronizationServiceImpl.notify(String name,
DocumentModel document,
Map<String,Serializable> eventProperties,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
List<String> |
MailboxImpl.getChildrenIds(CoreSession session) |
List<String> |
Mailbox.getChildrenIds(CoreSession session)
Returns the children ids of this mailbox
|
String |
MailboxImpl.getParentId(CoreSession session) |
String |
Mailbox.getParentId(CoreSession session)
Returns the parentId of this mailbox
|
void |
MailboxImpl.save(CoreSession session) |
void |
Mailbox.save(CoreSession session)
Persist the Mailbox
|
Modifier and Type | Method and Description |
---|---|
CaseItem |
CaseDistributionService.addCaseItemToCase(CoreSession session,
Case kase,
DocumentModel emailDoc)
Add a CaseItem to a Case
|
Case |
CaseDistributionService.createCase(CoreSession session,
DocumentModel emailDoc) |
Case |
CaseDistributionService.createCase(CoreSession session,
DocumentModel emailDoc,
List<Mailbox> mailboxes) |
Case |
CaseManagementPersister.createCaseFromExistingCaseItem(CaseItem item,
CoreSession session) |
Case |
CaseDistributionService.createCaseFromExistingCaseItem(CaseItem adapter,
CoreSession documentManager)
|
CaseLink |
CaseDistributionService.createDraftCaseLink(CoreSession session,
Mailbox mailbox,
Case envelope)
Create a draft post for an envelope in given mailbox.
|
Case |
CaseDistributionService.createEmptyCase(CoreSession session,
DocumentModel caseDoc,
List<Mailbox> mailboxes) |
Case |
CaseDistributionService.createEmptyCase(CoreSession session,
DocumentModel caseDoc,
Mailbox mailbox) |
Case |
CaseDistributionService.createEmptyCase(CoreSession session,
String title,
String id,
List<Mailbox> mailboxes) |
Case |
CaseDistributionService.createEmptyCase(CoreSession session,
String title,
String id,
Mailbox mailbox) |
Case |
CaseDistributionService.createEmptyCase(CoreSession session,
String title,
String id,
String type,
Date date,
List<Mailbox> mailboxes) |
Case |
CaseDistributionService.createEmptyCase(CoreSession session,
String title,
String id,
String type,
List<Mailbox> mailboxes) |
List<Mailbox> |
MailboxCreator.createMailboxes(CoreSession session,
String user) |
List<Mailbox> |
MailboxManagementService.createPersonalMailboxes(CoreSession session,
String userId)
Create the personal Mailbox with the registered
|
List<CaseLink> |
CaseDistributionService.getCaseLinks(CoreSession session,
Mailbox mailbox,
Case kase)
Returns all the case links for this kase in this mailbox.
|
CaseLink |
CaseDistributionService.getDraftCaseLink(CoreSession session,
Mailbox mailbox,
String envelopeId)
Returns the draft post of an envelope in given mailbox.
|
List<CaseLink> |
CaseDistributionService.getDraftCaseLinks(CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit)
Returns the draft posts for given mailbox
|
Mailbox |
MailboxManagementService.getMailbox(CoreSession session,
String muid)
Returns the mailbox with given unique identifier.
|
List<Mailbox> |
MailboxManagementService.getMailboxes(CoreSession session,
List<String> muids)
Returns the mailboxes with given unique identifiers.
|
List<MailboxHeader> |
MailboxManagementService.getMailboxesHeaders(CoreSession session,
List<String> muids)
Returns the mailboxes with given unique identifiers and a session.
|
MailboxHeader |
MailboxManagementService.getMailboxHeader(CoreSession documentManager,
String fav) |
DocumentModel |
CaseManagementPersister.getParentDocumentForCase(CoreSession session) |
DocumentModel |
CaseDistributionService.getParentDocumentForCase(CoreSession session)
This method calls
CaseManagementPersister to find the parent document of
a case to be created. |
DocumentModel |
CaseManagementPersister.getParentDocumentForCase(CoreSession session,
Date date)
Default implementation uses date to find or create a set of folders
representing the given date hierarchy.
|
DocumentModel |
CaseDistributionService.getParentDocumentForCase(CoreSession session,
Date date)
This method calls
CaseManagementPersister to find the parent document of
a case to be created. |
String |
CaseManagementPersister.getParentDocumentPathForCase(CoreSession session) |
String |
CaseDistributionService.getParentDocumentPathForCase(CoreSession session)
This method calls
CaseManagementPersister to find the parent document path of
a case to be created. |
String |
CaseManagementPersister.getParentDocumentPathForCase(CoreSession session,
Date date)
Default implementation uses date to find or create a set of folders
representing the given date hierarchy.
|
String |
CaseDistributionService.getParentDocumentPathForCase(CoreSession session,
Date date)
This method calls
CaseManagementPersister to find the parent document path of
a case to be created. |
String |
CaseManagementPersister.getParentDocumentPathForCaseItem(CoreSession session,
Case kase) |
String |
CaseDistributionService.getParentDocumentPathForCaseItem(CoreSession session,
Case kase)
This method calls
CaseManagementPersister to find the parent document path of
a CaseItem to be created. |
List<CaseLink> |
CaseDistributionService.getReceivedCaseLinks(CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit)
Returns the received posts for given mailbox
|
List<CaseLink> |
CaseDistributionService.getSentCaseLinks(CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit)
Returns the sent posts for given mailbox
|
List<Mailbox> |
MailboxManagementService.getUserMailboxes(CoreSession session,
String userId)
Returns all mailboxes for given user.
|
Mailbox |
MailboxManagementService.getUserPersonalMailbox(CoreSession session,
String userId)
Returns the personal mailbox of the given user.
|
Mailbox |
MailboxManagementService.getUserPersonalMailboxForEmail(CoreSession session,
String email)
Returns a mailbox for given email
|
boolean |
MailboxManagementService.hasMailbox(CoreSession session,
String muid)
Returns true if a mailbox with given id exists
|
boolean |
MailboxManagementService.hasUserPersonalMailbox(CoreSession session,
String userId)
Test if the user has a personal mailbox created
|
void |
CaseDistributionService.notify(CoreSession session,
String name,
DocumentModel document,
Map<String,Serializable> eventProperties)
Throw a core event.
|
void |
CaseDistributionService.removeCaseLink(CaseLink link,
CoreSession sessiion)
Remove a case link from the mailbox.
|
List<MailboxHeader> |
MailboxManagementService.searchMailboxes(CoreSession session,
String pattern,
String type)
Search mailboxes with given pattern
|
CaseLink |
CaseDistributionService.sendCase(CoreSession session,
CaseLink postRequest,
boolean initial)
Send an envelope to a mailbox.
|
CaseLink |
CaseDistributionService.sendCase(CoreSession session,
CaseLink postRequest,
boolean initial,
boolean actionable)
Send an case to a mailbox.
|
CaseLink |
CaseDistributionService.sendCase(CoreSession session,
String sender,
Case kase,
DistributionInfo initialDistribution)
Distributes a case to a mailbox.
|
Modifier and Type | Method and Description |
---|---|
DocumentRoute |
CaseManagementRepositoryTestCase.createComplexRoute(CoreSession session) |
DocumentModel |
CaseManagementRepositoryTestCase.createDocumentModel(CoreSession session,
String name,
String type,
String path) |
Modifier and Type | Method and Description |
---|---|
static Mailbox |
DistributionFunctions.getMailbox(CoreSession session,
String mailboxId) |
static List<Mailbox> |
DistributionFunctions.getMailboxes(CoreSession session,
List<String> mailboxIds) |
static MailboxHeader |
DistributionFunctions.getMailboxHeader(CoreSession session,
String mailboxId) |
static List<MailboxHeader> |
DistributionFunctions.getMailboxHeaders(CoreSession session,
List<String> mailboxIds) |
static String |
DistributionFunctions.getMailboxTitle(CoreSession session,
String mailboxId) |
static String |
DistributionFunctions.getMailboxTitles(CoreSession session,
List<String> mailboxIds,
String separator,
Boolean sorted) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLink.save(CoreSession session) |
Constructor and Description |
---|
CreateMailboxFilingRootUnrestricted(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
CommonLink.save(CoreSession session)
Save the adapter's document.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CorrespondenceDocumentActionsBean.getReplyDocument(CoreSession session,
Mailbox mailbox,
DocumentModel receivedMail) |
Modifier and Type | Method and Description |
---|---|
void |
AssetLibraryHandler.execute(CoreSession session) |
Constructor and Description |
---|
CommentActions.FollowTransitionUnrestricted(CoreSession session,
DocumentRef docRef,
String transition) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ArchiveImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
Modifier and Type | Method and Description |
---|---|
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 |
AgendaService.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties)
Create a new Event document to the specific path.
|
DocumentModel |
AgendaComponent.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd)
List user readable agendum between both date
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
int limit)
List incoming user readable agendum with a limit
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
int limit) |
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
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.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.setProperty(CoreSession session,
DocumentModel doc,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
ExecutableResource.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
OperationContext |
ExecutionRequest.createContext(HttpServletRequest request,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
BatchResource.getCoreSession(HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
static DocumentModelList |
ClassificationHelper.getClassifiedDocuments(DocumentModel container,
CoreSession session)
Returns resolved classified documents using given 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 |
CoreSessionFactory.getSession() |
CoreSession |
CoreInstance.getSession(String sid)
Gets the client bound to the given session.
|
CoreSession[] |
CoreInstance.getSessions() |
CoreSession |
CoreInstance.open(String repositoryName,
Map<String,Serializable> context) |
CoreSession |
CoreInstance.unregisterSession(String sid) |
static CoreSession |
TransactionalCoreSessionWrapper.wrap(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CoreInstance.close(CoreSession client) |
void |
CoreInstance.registerSession(String sid,
CoreSession session) |
static CoreSession |
TransactionalCoreSessionWrapper.wrap(CoreSession session) |
Constructor and Description |
---|
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 |
---|---|
abstract T |
SessionAdapterFactory.getAdapter(CoreSession session) |
static <T> T |
SessionAdapterFactory.getAdapter(CoreSession session,
Class<T> itf) |
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<HashMap<String,CoreSession>> |
DocumentModelImpl.reentrantCoreSession |
Modifier and Type | Method and Description |
---|---|
CoreSession |
SimpleDocumentModel.getCoreSession() |
CoreSession |
DocumentModelImpl.getCoreSession() |
Constructor and Description |
---|
DocumentModelIteratorImpl(CoreSession coreSession,
int chunkSize,
DocsQueryProviderDef def,
String type,
String perm,
Filter filter)
This constructor is to be called only from the server side from a
CoreSession (AbstractSession).
|
Modifier and Type | Class and Description |
---|---|
class |
LocalSession
Local Session: a CoreSession not tied to an EJB container.
|
Modifier and Type | Method and Description |
---|---|
static CoreSession |
LocalSession.createInstance() |
CoreSession |
LocalSessionFactory.getSession() |
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 |
---|---|
CoreSession |
Operation.getSession() |
Modifier and Type | Method and Description |
---|---|
T |
Operation.run(CoreSession session,
OperationHandler handler,
ProgressMonitor monitor) |
Constructor and Description |
---|
DefaultOperationEvent(CoreSession session,
String id,
ModificationSet modifs) |
DefaultOperationEvent(CoreSession session,
String id,
ModificationSet modifs,
Serializable details) |
Modifier and Type | Interface and Description |
---|---|
interface |
RepositoryInstance |
Modifier and Type | Method and Description |
---|---|
CoreSession |
RepositoryInstanceHandler.getSession() |
CoreSession |
RepositoryConnection.getSession() |
CoreSession |
RepositoryExceptionHandler.handleAuthenticationFailure(Repository repository,
Throwable t)
When a session open fails this method is invoked by passing the current
repository instance and the exception that occured.
|
CoreSession |
Repository.open() |
CoreSession |
Repository.open(Map<String,Serializable> context) |
Modifier and Type | Method and Description |
---|---|
static void |
Repository.close(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 |
---|---|
void |
DocumentStoreManager.doInitializeRepository(CoreSession session) |
void |
DocumentStoreHandler.onStorageInitialization(CoreSession session,
DocumentRef rootletRef) |
Constructor and Description |
---|
DocumentStoreSessionRunner(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
FakeDocumentStoreHandler.onStorageInitialization(CoreSession session,
DocumentRef rootletRef) |
Constructor and Description |
---|
NuxeoSession(CoreSession coreSession,
NuxeoRepository repository,
org.apache.chemistry.opencmis.commons.server.CallContext context) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
NuxeoCmisService.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
static List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
NuxeoObjectData.getRelationships(String id,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
CoreSession coreSession,
NuxeoCmisService service) |
Constructor and Description |
---|
NuxeoCmisService(NuxeoRepository repository,
org.apache.chemistry.opencmis.commons.server.CallContext callContext,
CoreSession coreSession)
Constructor called by high-level session from existing core session.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
RepositoryOSGITestCase.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentObject.getCoreSession() |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
QueryModel.getDocuments(CoreSession session)
Deprecated.
|
DocumentModelList |
QueryModel.getDocuments(CoreSession session,
Object[] params)
Deprecated.
|
PagedDocumentsProvider |
QueryModel.getResultsProvider(CoreSession session,
Object[] params)
Deprecated.
|
PagedDocumentsProvider |
QueryModel.getResultsProvider(CoreSession session,
Object[] params,
SortInfo sortInfo)
Deprecated.
|
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 |
TestRepositoryHandler.openSession(Map<String,Serializable> ctx) |
CoreSession |
TestRepositoryHandler.openSessionAs(String userName) |
CoreSession |
RepositorySettings.openSessionAs(String userName) |
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) |
void |
TestRepositoryHandler.releaseSession(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 |
---|---|
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 |
MultiTenantService.disableTenantIsolation(CoreSession session) |
void |
MultiTenantServiceImpl.disableTenantIsolation(CoreSession session) |
void |
MultiTenantService.disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantServiceImpl.disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantService.enableTenantIsolation(CoreSession session) |
void |
MultiTenantServiceImpl.enableTenantIsolation(CoreSession session) |
void |
MultiTenantService.enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantServiceImpl.enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
static String |
MultiTenantHelper.getTenantDocumentPath(CoreSession session,
String tenantId)
Returns the path of the tenant document matching the
tenantId , or
null if there is no document matching. |
boolean |
MultiTenantService.isTenantIsolationEnabled(CoreSession session) |
boolean |
MultiTenantServiceImpl.isTenantIsolationEnabled(CoreSession session) |
Constructor and Description |
---|
MultiTenantDefaultDashboardSpaceCreator(CoreSession session,
Map<String,String> parameters,
String tenantId,
String tenantDashboardManagementPath) |
Modifier and Type | Method and Description |
---|---|
void |
JBPMTaskWrapper.cancel(CoreSession coreSession) |
void |
JBPMTaskWrapper.end(CoreSession coreSession) |
String |
JBPMDocTaskProvider.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
Task task,
String comment,
String eventName,
boolean isValidated) |
List<Task> |
JBPMDocTaskProvider.getAllTaskInstances(String processId,
CoreSession session) |
List<Task> |
JBPMDocTaskProvider.getAllTaskInstances(String processId,
List<String> actors,
CoreSession session) |
List<Task> |
JBPMDocTaskProvider.getAllTaskInstances(String processId,
NuxeoPrincipal user,
CoreSession session) |
List<Task> |
JBPMDocTaskProvider.getCurrentTaskInstances(CoreSession coreSession) |
List<Task> |
JBPMDocTaskProvider.getCurrentTaskInstances(List<String> actors,
CoreSession coreSession) |
List<Task> |
JBPMDocTaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
CoreSession coreSession) |
List<Task> |
JBPMDocTaskProvider.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
ActionContext.getDocumentManager() |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.setDocumentManager(CoreSession docMgr) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
RepositoryConnector.connect(RepositoryDescriptor rd)
Deprecated.
|
CoreSession |
DefaultRepositoryConnector.connect(RepositoryDescriptor rd)
Deprecated.
|
CoreSession |
Server.openRepository(RepositoryDescriptor rd,
Map<String,Serializable> ctx)
Deprecated.
|
CoreSession |
Platform.openRepository(String repositoryName)
Deprecated.
|
CoreSession |
Platform.openRepository(String repositoryName,
Map<String,Serializable> ctx)
Deprecated.
|
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 |
---|---|
DocumentModel |
AudioImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
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 |
NoteImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
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 |
DefaultFileImporter.create(CoreSession documentManager,
Blob input,
String path,
boolean overwrite,
String fullname,
TypeManager typeService)
Creates a file in nearest container.
|
DocumentModel |
CSVZipImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
DocumentModel |
AbstractFileImporter.create(CoreSession documentManager,
File file,
String path,
boolean overwrite,
String mimeType,
TypeManager typService) |
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.
|
Constructor and Description |
---|
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy) |
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy,
String jobName) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
JbpmTaskService.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment)
Ends the task using event name
JbpmEventNames.WORKFLOW_TASK_COMPLETED and marking the task as
validated. |
void |
JbpmTaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,Serializable> taskVariables)
Creates a task and starts it.
|
TaskList |
JbpmTaskListService.createTaskList(CoreSession session,
String listName)
Creates a new task list.
|
void |
JbpmTaskListService.deleteTaskList(CoreSession session,
String listUUId)
Delete a list of participant.
|
void |
JbpmTaskService.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment,
String eventName,
boolean isValidated)
Ends the task
|
TaskList |
JbpmTaskListService.getTaskList(CoreSession session,
String listUUId)
Retrieves a task list from it name.
|
List<TaskList> |
JbpmTaskListService.getTaskLists(CoreSession documentManager)
Retrieve all the task lists of the current user
|
void |
JbpmService.notifyEventListeners(String name,
String comment,
String[] recipients,
CoreSession session,
NuxeoPrincipal principal,
DocumentModel doc)
Notify the event producer on the machine the jbpm service is.
|
void |
JbpmTaskService.rejectTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment)
Ends the task using event name
JbpmEventNames.WORKFLOW_TASK_REJECTED and marking the task as
not validated. |
void |
JbpmTaskListService.saveTaskList(CoreSession session,
TaskList list)
Saves the list.
|
Modifier and Type | Method and Description |
---|---|
void |
PublicationHelper.publishDocument(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublish) |
Constructor and Description |
---|
AbandonProcessUnrestricted(CoreSession session,
DocumentRef ref,
Long processId) |
AddRightUnrestricted(CoreSession session,
DocumentRef docRef,
ACP acp) |
EndProcessUnrestricted(CoreSession session,
List<TaskInstance> tis) |
RemoveRightsUnrestricted(CoreSession session,
DocumentRef docRef,
String aclName) |
Modifier and Type | Method and Description |
---|---|
void |
JbpmTaskServiceImpl.acceptTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment) |
void |
JbpmTaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,Serializable> taskVariables) |
TaskList |
JbpmTaskListServiceImpl.createTaskList(CoreSession session,
String listName) |
void |
JbpmTaskListServiceImpl.deleteTaskList(CoreSession session,
String listUUId) |
void |
JbpmTaskServiceImpl.endTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment,
String eventName,
boolean isValidated) |
TaskList |
JbpmTaskListServiceImpl.getTaskList(CoreSession session,
String listUUId) |
List<TaskList> |
JbpmTaskListServiceImpl.getTaskLists(CoreSession session) |
void |
JbpmServiceImpl.notifyEventListeners(String name,
String comment,
String[] recipients,
CoreSession session,
NuxeoPrincipal principal,
DocumentModel doc) |
void |
JbpmTaskServiceImpl.rejectTask(CoreSession coreSession,
NuxeoPrincipal principal,
TaskInstance task,
String comment) |
void |
JbpmTaskListServiceImpl.saveTaskList(CoreSession session,
TaskList list) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleConfigurationAdapter.save(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
MailCoreHelper.checkMail(DocumentModel currentMailFolder,
CoreSession coreSession)
Creates MailMessage documents for every unread mail found in the INBOX.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ImagePlugin.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
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) |
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 |
---|---|
Graph |
GraphFactory.createGraph(GraphDescription graphDescription,
CoreSession session)
Creates an instance of the graph.
|
Graph |
RelationManager.getGraph(String name,
CoreSession session)
Gets a registered graph by name.
|
Modifier and Type | Method and Description |
---|---|
Graph |
JenaOrCoreGraphFactory.createGraph(GraphDescription graphDescription,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Graph |
RelationService.getGraph(String name,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
DocumentTemplate.getSession() |
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 |
---|---|
static Properties |
ReplicationWriter.getDocumentMetadata(CoreSession documentManager,
DocumentModel document,
String documentLocation) |
Constructor and Description |
---|
ReplicationWriter(File file,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ReplicationDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
ReplicationDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
static DocumentModel |
ImporterDocumentCreator.importDocument(CoreSession session,
String type,
String id,
String name,
String parentPath,
Properties properties)
Imports a document through core session.Depending on what properties are
received, a proxy or version or normal document is further imported.
|
static DocumentModel |
ImporterDocumentCreator.importProxyDocument(CoreSession session,
String id,
String name,
String parentPath,
Properties properties)
Import a proxy document through the core session.The proxy documents will
have the type ecm:proxy
|
static DocumentModel |
ImporterDocumentCreator.importUsualDocument(CoreSession session,
String type,
String id,
String name,
String parentPath,
Properties properties)
Imports an usual document through core session.
|
static DocumentModel |
ImporterDocumentCreator.importVersionDocument(CoreSession session,
String type,
String id,
String name,
Properties properties)
Import a version document through the core session
|
Constructor and Description |
---|
ReplicationDocumentModelWriter(CoreSession session,
DocumentModel document,
int saveInterval) |
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)
Add a route element in another route element.
|
void |
DocumentRoutingService.addRouteElementToRoute(DocumentRef parentDocumentRef,
String sourceName,
DocumentRouteElement routeElement,
CoreSession session)
Add a route element in another route element.
|
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.
|
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.
|
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) |
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) |
DocumentRoute |
DocumentRoutingService.createNewInstance(DocumentRoute model,
String documentId,
CoreSession session,
boolean startInstance) |
void |
RoutingTaskService.endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status)
Ends a task
|
void |
DocumentRouteElement.followTransition(DocumentRouteElement.ElementLifeCycleTransistion transition,
CoreSession session,
boolean recursive)
make this element follow a transition.
|
DocumentModelList |
DocumentRouteElement.getAttachedDocuments(CoreSession session)
Return the list of documents that this route processes.
|
DocumentModelList |
ActionableObject.getAttachedDocuments(CoreSession session)
The documents processed by the action.
|
List<DocumentRoute> |
DocumentRoutingService.getAvailableDocumentRouteModel(CoreSession session)
Return the list of available
DocumentRoute model the user can
start. |
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)
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)
Get the children of the given stepFolder ordered by the ecm:pos metadata.
|
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 . |
void |
RoutingTaskService.grantPermissionToTaskAssignees(CoreSession session,
String permission,
DocumentModel doc,
Task task)
Grants the specified assignees permissions to the actors on this task
|
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)
Marks the tasks as Routing tasks.
|
void |
DocumentRoutingService.removeRouteElement(DocumentRouteElement routeElement,
CoreSession session)
Remove the given route element
|
void |
DocumentRouteElement.resume(CoreSession session,
String nodeId,
Map<String,Object> data,
String status)
Resumes execution on a route node.
|
void |
DocumentRoutingService.resumeInstance(DocumentRef routeRef,
CoreSession session,
String nodeId,
Map<String,Object> data)
Resumes a route instance.
|
void |
DocumentRouteElement.run(CoreSession session)
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.
|
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) |
void |
ConditionalFolderUpdateRunner.setStepToBeExecutedNext(CoreSession session,
String nextStepPos) |
Constructor and Description |
---|
ActionableValidator(ActionableObject actionnable,
CoreSession session) |
ActionableValidator(ActionableObject actionnable,
CoreSession session,
Map<String,Serializable> additionalProperties) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRoutingEngineService.resume(DocumentRoute routeInstance,
CoreSession session,
String nodeId,
Map<String,Object> data,
String status)
Resumes a route.
|
void |
DocumentRoutingEngineService.start(DocumentRoute routeInstance,
CoreSession session)
Starts a route.
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentRoutingServiceImpl.addRouteElementToRoute(DocumentRef parentDocumentRef,
int idx,
DocumentRouteElement routeElement,
CoreSession session) |
void |
DocumentRoutingServiceImpl.addRouteElementToRoute(DocumentRef parentDocumentRef,
String sourceName,
DocumentRouteElement routeElement,
CoreSession session) |
void |
DocumentRouteElementImpl.backToReady(CoreSession session) |
void |
DocumentRouteElementImpl.cancel(CoreSession session) |
void |
StepElementRunner.cancel(CoreSession session,
DocumentRouteElement element) |
void |
ElementRunner.cancel(CoreSession session,
DocumentRouteElement element)
Cancel this element.
|
void |
AbstractRunner.cancel(CoreSession session,
DocumentRouteElement element) |
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) |
DocumentModel |
DocumentRoutingTreePersister.createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model,
CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model,
List<String> documentIds,
CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model,
List<String> docIds,
CoreSession session,
boolean startInstance) |
DocumentRoute |
DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model,
String documentId,
CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.createNewInstance(DocumentRoute model,
String documentId,
CoreSession session,
boolean startInstance) |
void |
RoutingTaskServiceImpl.endTask(CoreSession session,
Task task,
Map<String,Object> data,
String status) |
static void |
EventFirer.fireEvent(CoreSession coreSession,
DocumentRouteElement element,
Map<String,Serializable> eventProperties,
String eventName) |
static void |
AuditEventFirer.fireEvent(CoreSession coreSession,
DocumentRouteElement element,
Map<String,Serializable> eventProperties,
String eventName,
DocumentModel doc) |
void |
DocumentRouteElementImpl.followTransition(DocumentRouteElement.ElementLifeCycleTransistion transition,
CoreSession session,
boolean recursive) |
DocumentModelList |
DocumentRouteElementImpl.getAttachedDocuments(CoreSession session) |
List<DocumentRoute> |
DocumentRoutingServiceImpl.getAvailableDocumentRouteModel(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) |
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) |
void |
RoutingTaskServiceImpl.grantPermissionToTaskAssignees(CoreSession session,
String permission,
DocumentModel doc,
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 coreSession,
List<Task> tasks) |
void |
DocumentRoutingServiceImpl.removeRouteElement(DocumentRouteElement routeElement,
CoreSession session) |
void |
StepElementRunner.resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
Map<String,Object> data,
String status) |
void |
GraphRunner.resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
Map<String,Object> varData,
String status) |
void |
ElementRunner.resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
Map<String,Object> data,
String status)
Resumes this graph route on a given node.
|
void |
AbstractRunner.resume(CoreSession session,
DocumentRouteElement element,
String nodeId,
Map<String,Object> data,
String status) |
void |
DocumentRouteElementImpl.resume(CoreSession session,
String nodeId,
Map<String,Object> data,
String status) |
void |
DocumentRoutingEngineServiceImpl.resume(DocumentRoute routeInstance,
CoreSession session,
String nodeId,
Map<String,Object> data,
String status) |
void |
DocumentRoutingServiceImpl.resumeInstance(DocumentRef routeRef,
CoreSession session,
String nodeId,
Map<String,Object> data) |
void |
DocumentRouteElementImpl.run(CoreSession session) |
void |
StepElementRunner.run(CoreSession session,
DocumentRouteElement element) |
void |
SerialRunner.run(CoreSession session,
DocumentRouteElement element) |
void |
ParallelRunner.run(CoreSession session,
DocumentRouteElement element) |
void |
GraphRunner.run(CoreSession session,
DocumentRouteElement element) |
void |
ElementRunner.run(CoreSession session,
DocumentRouteElement element)
Run this element.
|
void |
ConditionalRunner.run(CoreSession session,
DocumentRouteElement element) |
void |
DocumentRouteElementImpl.save(CoreSession session) |
DocumentModel |
DocumentRoutingTreePersister.saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance,
DocumentModel parentFolder,
String newName,
CoreSession session) |
DocumentRoute |
DocumentRoutingServiceImpl.saveRouteAsNewModel(DocumentRoute instance,
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,
CoreSession session) |
DocumentRouteStep |
DocumentRouteElementImpl.undo(CoreSession session) |
void |
StepElementRunner.undo(CoreSession session,
DocumentRouteElement element) |
void |
ElementRunner.undo(CoreSession session,
DocumentRouteElement element)
Run the undo chain on this element.
|
void |
AbstractRunner.undo(CoreSession session,
DocumentRouteElement element) |
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 |
---|
DocumentRoutingServiceImpl.ResumeRouteInstanceRunner(DocumentRef routeRef,
CoreSession session,
String nodeId,
Map<String,Object> data) |
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) |
Constructor and Description |
---|
CreateNewRouteInstanceUnrestricted(CoreSession session,
DocumentRoute model,
List<String> docIds,
boolean startInstance,
DocumentRoutingPersister persister) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
RoutingTaskImpl.getAttachedDocuments(CoreSession coreSession) |
DocumentRouteStep |
RoutingTaskImpl.getDocumentRouteStep(CoreSession coreSession) |
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 |
---|---|
OccurrenceRelation |
LocalEntityService.addOccurrence(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
String quoteContext,
int startPosInContext,
int endPosInContext)
Assert that an entity is referred to in the text content of a document.
|
OccurrenceRelation |
LocalEntityService.addOccurrences(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
List<OccurrenceInfo> occurrences)
Add several occurrences of the same entity in to a given document
(occurring in several text snippets).
|
void |
LocalEntityService.addOccurrences(CoreSession session,
DocumentRef ref,
EntitySuggestion entitySuggestion,
List<OccurrenceInfo> occurrences)
Add several occurrences of the same entity in to a given document
(occurring in several text snippets).
|
List<OccurrenceGroup> |
SemanticAnalysisService.analyze(CoreSession session,
DocumentModel doc)
Synchronous analysis of a document (without linking).
|
List<OccurrenceGroup> |
SemanticAnalysisService.analyze(CoreSession session,
String textContent)
Synchronous analysis of pre-extracted text content (without linking).
|
DocumentModel |
LocalEntityService.asLocalEntity(CoreSession session,
EntitySuggestion suggestion)
Ensure that the suggestion is local.
|
void |
SemanticAnalysisService.createLinks(DocumentModel document,
CoreSession session,
List<OccurrenceGroup> occurrenceGroups)
Save semantic links in the repository to materialize the occurrence
relationships between documents and entities
|
DocumentModel |
LocalEntityService.getEntityContainer(CoreSession session)
The entity container is a singleton container document where to create
the entities.
|
DocumentModel |
LocalEntityService.getLinkedLocalEntity(CoreSession session,
URI remoteEntityURI)
Lookup the local repo to find a local entity that is linked to the given
remote entity URI through a owl:sameAs relationship.
|
OccurrenceRelation |
LocalEntityService.getOccurrenceRelation(CoreSession session,
DocumentRef documentRef,
DocumentRef entityRef)
Find the occurrence relation instance linking a document to an entity.
|
PageProvider<DocumentModel> |
LocalEntityService.getRelatedDocuments(CoreSession session,
DocumentRef entityRef,
String documentType)
Find entities of a given type related to a given document.
|
PageProvider<DocumentModel> |
LocalEntityService.getRelatedEntities(CoreSession session,
DocumentRef docRef,
String entityType)
Find entities of a given type related to a given document.
|
void |
SemanticAnalysisService.launchSynchronousAnalysis(DocumentModel doc,
CoreSession session)
Launch a analysis of a document and wait for the result before returning.
|
void |
LocalEntityService.removeOccurrences(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
boolean forcePhysicalDelete)
Remove any occurrence information of an entity on the specified
documents.
|
List<DocumentModel> |
LocalEntityService.suggestDocument(CoreSession session,
String keywords,
String type,
int maxSuggestions)
Helper method to suggest documents by keyword match on fulltext content.
|
List<EntitySuggestion> |
LocalEntityService.suggestEntity(CoreSession session,
OccurrenceGroup group,
int maxSuggestions)
Helper method to suggest entities by keyword match on names.
|
List<EntitySuggestion> |
LocalEntityService.suggestEntity(CoreSession session,
String keywords,
String type,
int maxSuggestions)
Helper method to suggest entities by keyword match on names.
|
List<EntitySuggestion> |
LocalEntityService.suggestLocalEntity(CoreSession session,
String keywords,
String type,
int maxSuggestions)
Helper method to suggest local entities by keyword match on names.
|
Constructor and Description |
---|
OccurrenceExtractionOperation(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
OccurrenceRelation |
LocalEntityServiceImpl.addOccurrence(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
String quoteContext,
int startPosInContext,
int endPosInContext) |
OccurrenceRelation |
LocalEntityServiceImpl.addOccurrences(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
List<OccurrenceInfo> occurrences) |
void |
LocalEntityServiceImpl.addOccurrences(CoreSession session,
DocumentRef docRef,
EntitySuggestion entitySuggestion,
List<OccurrenceInfo> occurrences) |
List<OccurrenceGroup> |
SemanticAnalysisServiceImpl.analyze(CoreSession session,
DocumentModel doc) |
List<OccurrenceGroup> |
SemanticAnalysisServiceImpl.analyze(CoreSession session,
String textContent) |
DocumentModel |
LocalEntityServiceImpl.asLocalEntity(CoreSession session,
EntitySuggestion suggestion) |
void |
SemanticAnalysisServiceImpl.createLinks(DocumentModel doc,
CoreSession session,
List<OccurrenceGroup> groups) |
List<OccurrenceGroup> |
SemanticAnalysisServiceImpl.findStanbolEntityOccurrences(CoreSession session,
com.hp.hpl.jena.rdf.model.Model model) |
DocumentModel |
LocalEntityServiceImpl.getEntityContainer(CoreSession session) |
DocumentModel |
LocalEntityServiceImpl.getLinkedLocalEntity(CoreSession session,
URI remoteEntityURI) |
DocumentModel |
LocalEntityServiceImpl.getOccurrenceContainer(CoreSession session) |
OccurrenceRelation |
LocalEntityServiceImpl.getOccurrenceRelation(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef) |
OccurrenceRelation |
LocalEntityServiceImpl.getOccurrenceRelation(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
boolean createIfMissing) |
PageProvider<DocumentModel> |
LocalEntityServiceImpl.getRelatedDocuments(CoreSession session,
DocumentRef entityRef,
String documentType) |
PageProvider<DocumentModel> |
LocalEntityServiceImpl.getRelatedEntities(CoreSession session,
DocumentRef docRef,
String entityType) |
void |
SemanticAnalysisServiceImpl.launchSynchronousAnalysis(DocumentModel doc,
CoreSession session) |
void |
LocalEntityServiceImpl.removeOccurrences(CoreSession session,
DocumentRef docRef,
DocumentRef entityRef,
boolean forcePhysicalDelete) |
List<DocumentModel> |
LocalEntityServiceImpl.suggestDocument(CoreSession session,
String keywords,
String type,
int maxSuggestions) |
List<EntitySuggestion> |
LocalEntityServiceImpl.suggestEntity(CoreSession session,
OccurrenceGroup group,
int maxSuggestions) |
List<EntitySuggestion> |
LocalEntityServiceImpl.suggestEntity(CoreSession session,
String keywords,
String type,
int maxSuggestions) |
List<EntitySuggestion> |
LocalEntityServiceImpl.suggestLocalEntity(CoreSession session,
String keywords,
String type,
int maxSuggestions) |
Constructor and Description |
---|
CMISQLDocumentPageProvider(CoreSession session,
String query,
String docIdColumnName,
String providerName) |
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 |
SynchronizeService.doSynchronize(CoreSession session)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations using the default
synchronization details.
|
void |
SynchronizeService.doSynchronize(CoreSession session,
String queryName)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations using the default
synchronization details.
|
void |
SynchronizeService.doSynchronize(CoreSession session,
SynchronizeDetails details)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations.
|
void |
SynchronizeService.doSynchronize(CoreSession session,
SynchronizeDetails details,
String queryName)
Performs the whole synchronization process including the documents
relations and vocabularies synchronizations.
|
void |
SynchronizeService.doSynchronizeDocuments(CoreSession session)
Synchronizes all the documents by using the default synchronization
details.
|
void |
SynchronizeService.doSynchronizeDocuments(CoreSession session,
String queryName)
Synchronizes all the documents by using the default synchronization
details.
|
void |
SynchronizeService.doSynchronizeDocuments(CoreSession session,
SynchronizeDetails details)
Synchronizes all the documents by using the synchronization details.
|
void |
SynchronizeService.doSynchronizeDocuments(CoreSession session,
SynchronizeDetails details,
String queryName)
Synchronizes all the documents by using the synchronization details.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronizeServiceImpl.doSynchronize(CoreSession session) |
void |
SynchronizeServiceImpl.doSynchronize(CoreSession session,
String queryName) |
void |
SynchronizeServiceImpl.doSynchronize(CoreSession session,
SynchronizeDetails details) |
void |
SynchronizeServiceImpl.doSynchronize(CoreSession session,
SynchronizeDetails details,
String queryName) |
void |
SynchronizeServiceImpl.doSynchronizeDocuments(CoreSession session) |
void |
SynchronizeServiceImpl.doSynchronizeDocuments(CoreSession session,
String queryName) |
void |
SynchronizeServiceImpl.doSynchronizeDocuments(CoreSession session,
SynchronizeDetails details) |
void |
SynchronizeServiceImpl.doSynchronizeDocuments(CoreSession session,
SynchronizeDetails details,
String queryName) |
Constructor and Description |
---|
DocumentsSynchronizeManager(CoreSession session,
SynchronizeDetails synchronizeDetails,
String queryName,
ImportConfiguration importConfiguration,
DocumentDifferencesPolicy documentDifferencesPolicy) |
Modifier and Type | Method and Description |
---|---|
static TupleProcessor |
TupleProcessor.createProcessor(CoreSession session,
NuxeoSynchroTuple tuple,
WSSynchroServerModule wsSyncro,
boolean isNew,
SynchronizeDetails synchronizeDetails) |
static TupleProcessor |
TupleProcessor.createProcessor(CoreSession session,
NuxeoSynchroTuple tuple,
WSSynchroServerModule wsSyncro,
boolean isNew,
SynchronizeDetails synchronizeDetails,
ImportConfiguration importConfiguration)
Creates the right instance: method factory.
|
Constructor and Description |
---|
TupleProcessorAdd(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorAddDocument(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorAddProxy(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorAddVersion(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorUpdate(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorUpdateDocument(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorUpdateProxy(CoreSession session,
NuxeoSynchroTuple tuple) |
TupleProcessorUpdateVersion(CoreSession session,
NuxeoSynchroTuple tuple) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
BasicSession.getDocumentManager() |
Constructor and Description |
---|
BasicSession(CoreSession docMgr,
LoginContext loginCtx,
Repository repo) |
Modifier and Type | Method and Description |
---|---|
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.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.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.
|
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.getCurrentTaskInstances(CoreSession 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.
|
DocumentModel |
TaskService.getTargetDocumentModel(Task ti,
CoreSession coreSession) |
Task |
TaskService.getTask(CoreSession coreSession,
String taskId) |
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
|
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> 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,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
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) |