|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CaseDistributionService
Correspondence service.
Distributes an email to users/groups/mailboxes and manages mailboxes.
Method Summary | |
---|---|
CaseItem |
addCaseItemToCase(org.nuxeo.ecm.core.api.CoreSession session,
Case kase,
org.nuxeo.ecm.core.api.DocumentModel emailDoc)
Add a CaseItem to a Case |
Case |
createCase(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel emailDoc)
|
Case |
createCase(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel emailDoc,
List<Mailbox> mailboxes)
|
Case |
createCaseFromExistingCaseItem(CaseItem adapter,
org.nuxeo.ecm.core.api.CoreSession documentManager)
This method calls CaseManagementPersister to create a
Case from the given CaseItem |
CaseLink |
createDraftCaseLink(org.nuxeo.ecm.core.api.CoreSession session,
Mailbox mailbox,
Case envelope)
Create a draft post for an envelope in given mailbox. |
Case |
createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel caseDoc,
List<Mailbox> mailboxes)
|
Case |
createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel caseDoc,
Mailbox mailbox)
|
Case |
createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session,
String title,
String id,
List<Mailbox> mailboxes)
|
Case |
createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session,
String title,
String id,
Mailbox mailbox)
|
Case |
createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session,
String title,
String id,
String type,
Date date,
List<Mailbox> mailboxes)
|
Case |
createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session,
String title,
String id,
String type,
List<Mailbox> mailboxes)
|
List<CaseLink> |
getCaseLinks(org.nuxeo.ecm.core.api.CoreSession session,
Mailbox mailbox,
Case kase)
Returns all the case links for this kase in this mailbox. |
CaseLink |
getDraftCaseLink(org.nuxeo.ecm.core.api.CoreSession session,
Mailbox mailbox,
String envelopeId)
Returns the draft post of an envelope in given mailbox. |
List<CaseLink> |
getDraftCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit)
Returns the draft posts for given mailbox |
org.nuxeo.ecm.core.api.DocumentModel |
getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session)
This method calls CaseManagementPersister to find the parent document of
a case to be created. |
org.nuxeo.ecm.core.api.DocumentModel |
getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session,
Date date)
This method calls CaseManagementPersister to find the parent document of
a case to be created. |
String |
getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session)
This method calls CaseManagementPersister to find the parent document path of
a case to be created. |
String |
getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session,
Date date)
This method calls CaseManagementPersister to find the parent document path of
a case to be created. |
String |
getParentDocumentPathForCaseItem(org.nuxeo.ecm.core.api.CoreSession session,
Case kase)
This method calls CaseManagementPersister to find the parent document path of
a CaseItem to be created. |
List<CaseLink> |
getReceivedCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit)
Returns the received posts for given mailbox |
List<CaseLink> |
getSentCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession,
Mailbox mailbox,
long offset,
long limit)
Returns the sent posts for given mailbox |
void |
notify(org.nuxeo.ecm.core.api.CoreSession session,
String name,
org.nuxeo.ecm.core.api.DocumentModel document,
Map<String,Serializable> eventProperties)
Throw a core event. |
void |
removeCaseLink(CaseLink link,
org.nuxeo.ecm.core.api.CoreSession sessiion)
Remove a case link from the mailbox. |
CaseLink |
sendCase(org.nuxeo.ecm.core.api.CoreSession session,
CaseLink postRequest,
boolean initial)
Send an envelope to a mailbox. |
CaseLink |
sendCase(org.nuxeo.ecm.core.api.CoreSession session,
CaseLink postRequest,
boolean initial,
boolean actionable)
Send an case to a mailbox. |
CaseLink |
sendCase(org.nuxeo.ecm.core.api.CoreSession session,
String sender,
Case kase,
DistributionInfo initialDistribution)
Distributes a case to a mailbox. |
Method Detail |
---|
CaseLink sendCase(org.nuxeo.ecm.core.api.CoreSession session, CaseLink postRequest, boolean initial)
CaseLink sendCase(org.nuxeo.ecm.core.api.CoreSession session, String sender, Case kase, DistributionInfo initialDistribution)
void removeCaseLink(CaseLink link, org.nuxeo.ecm.core.api.CoreSession sessiion)
link
- List<CaseLink> getSentCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession, Mailbox mailbox, long offset, long limit)
List<CaseLink> getReceivedCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession, Mailbox mailbox, long offset, long limit)
List<CaseLink> getCaseLinks(org.nuxeo.ecm.core.api.CoreSession session, Mailbox mailbox, Case kase)
session
- mailbox
- if null
returns the links of all mailboxes.kase
-
List<CaseLink> getDraftCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession, Mailbox mailbox, long offset, long limit)
CaseLink getDraftCaseLink(org.nuxeo.ecm.core.api.CoreSession session, Mailbox mailbox, String envelopeId)
CaseItem addCaseItemToCase(org.nuxeo.ecm.core.api.CoreSession session, Case kase, org.nuxeo.ecm.core.api.DocumentModel emailDoc)
session
- The core sessionkase
- The case in which the CaseItem will be addedparentPath
- The path in which the CaseItem will be createdemailDoc
- The document model for the CaseItem
Case createCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel emailDoc)
session
- changeableDocument
- parentPath
- the path where the document and its envelope are
created
Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel caseDoc, Mailbox mailbox)
session
- changeableDocument
- the
- mailbox in which this case is createdparentPath
- the path where the document and its envelope are
created
Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel caseDoc, List<Mailbox> mailboxes)
Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, List<Mailbox> mailboxes)
Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, Mailbox mailbox)
Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, String type, List<Mailbox> mailboxes)
Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, String type, Date date, List<Mailbox> mailboxes)
Case createCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel emailDoc, List<Mailbox> mailboxes)
mailboxes
- The list of mailboxes in which the document will be
seen.session
- changeableDocument
- parentPath
- the path where the document and its envelope are
created
CaseLink createDraftCaseLink(org.nuxeo.ecm.core.api.CoreSession session, Mailbox mailbox, Case envelope)
void notify(org.nuxeo.ecm.core.api.CoreSession session, String name, org.nuxeo.ecm.core.api.DocumentModel document, Map<String,Serializable> eventProperties)
session
- The session use in the event context and to get the
principal.name
- the name of the eventdocument
- The document use for DocumentEventContexteventProperties
- The properties used in the event context.CaseLink sendCase(org.nuxeo.ecm.core.api.CoreSession session, CaseLink postRequest, boolean initial, boolean actionable)
org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session)
CaseManagementPersister
to find the parent document of
a case to be created.
session
-
org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session, Date date)
CaseManagementPersister
to find the parent document of
a case to be created.
session
- date
-
String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session)
CaseManagementPersister
to find the parent document path of
a case to be created.
session
-
String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session, Date date)
CaseManagementPersister
to find the parent document path of
a case to be created.
session
- date
-
Case createCaseFromExistingCaseItem(CaseItem adapter, org.nuxeo.ecm.core.api.CoreSession documentManager)
CaseManagementPersister
to create a
Case
from the given CaseItem
{@link
- CaseItem}documentManager
-
String getParentDocumentPathForCaseItem(org.nuxeo.ecm.core.api.CoreSession session, Case kase)
CaseManagementPersister
to find the parent document path of
a CaseItem
to be created.
coreSession
- the
- parent Case
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |