|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.cm.ejb.CaseDistributionBean
public class CaseDistributionBean
Constructor Summary | |
---|---|
CaseDistributionBean()
|
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 isActionable)
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CaseDistributionBean()
Method Detail |
---|
public Case createCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel emailDoc)
createCase
in interface CaseDistributionService
public Case createCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel emailDoc, List<Mailbox> mailboxes)
createCase
in interface CaseDistributionService
mailboxes
- The list of mailboxes in which the document will be
seen.
public CaseLink createDraftCaseLink(org.nuxeo.ecm.core.api.CoreSession session, Mailbox mailbox, Case envelope)
CaseDistributionService
createDraftCaseLink
in interface CaseDistributionService
public CaseLink getDraftCaseLink(org.nuxeo.ecm.core.api.CoreSession session, Mailbox mailbox, String envelopeId)
CaseDistributionService
getDraftCaseLink
in interface CaseDistributionService
public List<CaseLink> getDraftCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession, Mailbox mailbox, long offset, long limit)
CaseDistributionService
getDraftCaseLinks
in interface CaseDistributionService
public List<CaseLink> getReceivedCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession, Mailbox mailbox, long offset, long limit)
CaseDistributionService
getReceivedCaseLinks
in interface CaseDistributionService
public List<CaseLink> getSentCaseLinks(org.nuxeo.ecm.core.api.CoreSession coreSession, Mailbox mailbox, long offset, long limit)
CaseDistributionService
getSentCaseLinks
in interface CaseDistributionService
public void notify(org.nuxeo.ecm.core.api.CoreSession session, String name, org.nuxeo.ecm.core.api.DocumentModel document, Map<String,Serializable> eventProperties)
CaseDistributionService
notify
in interface CaseDistributionService
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.public CaseLink sendCase(org.nuxeo.ecm.core.api.CoreSession session, CaseLink postRequest, boolean initial)
CaseDistributionService
sendCase
in interface CaseDistributionService
public CaseLink sendCase(org.nuxeo.ecm.core.api.CoreSession session, CaseLink postRequest, boolean initial, boolean isActionable)
CaseDistributionService
sendCase
in interface CaseDistributionService
public CaseItem addCaseItemToCase(org.nuxeo.ecm.core.api.CoreSession session, Case kase, org.nuxeo.ecm.core.api.DocumentModel emailDoc)
CaseDistributionService
addCaseItemToCase
in interface CaseDistributionService
session
- The core sessionkase
- The case in which the CaseItem will be addedemailDoc
- The document model for the CaseItem
public List<CaseLink> getCaseLinks(org.nuxeo.ecm.core.api.CoreSession session, Mailbox mailbox, Case kase)
CaseDistributionService
getCaseLinks
in interface CaseDistributionService
mailbox
- if null
returns the links of all mailboxes.
public void removeCaseLink(CaseLink link, org.nuxeo.ecm.core.api.CoreSession sessiion)
CaseDistributionService
removeCaseLink
in interface CaseDistributionService
public Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel caseDoc, Mailbox mailbox)
createEmptyCase
in interface CaseDistributionService
public org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session)
CaseDistributionService
CaseManagementPersister
to find the parent document of
a case to be created.
getParentDocumentForCase
in interface CaseDistributionService
public org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session, Date date)
CaseDistributionService
CaseManagementPersister
to find the parent document of
a case to be created.
getParentDocumentForCase
in interface CaseDistributionService
public String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session)
CaseDistributionService
CaseManagementPersister
to find the parent document path of
a case to be created.
getParentDocumentPathForCase
in interface CaseDistributionService
public String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session, Date date)
CaseDistributionService
CaseManagementPersister
to find the parent document path of
a case to be created.
getParentDocumentPathForCase
in interface CaseDistributionService
public Case createCaseFromExistingCaseItem(CaseItem adapter, org.nuxeo.ecm.core.api.CoreSession documentManager)
CaseDistributionService
CaseManagementPersister
to create a
Case
from the given CaseItem
createCaseFromExistingCaseItem
in interface CaseDistributionService
public String getParentDocumentPathForCaseItem(org.nuxeo.ecm.core.api.CoreSession session, Case kase)
CaseDistributionService
CaseManagementPersister
to find the parent document path of
a CaseItem
to be created.
getParentDocumentPathForCaseItem
in interface CaseDistributionService
public Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, org.nuxeo.ecm.core.api.DocumentModel caseDoc, List<Mailbox> mailboxes)
createEmptyCase
in interface CaseDistributionService
public Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, List<Mailbox> mailboxes)
createEmptyCase
in interface CaseDistributionService
public Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, Mailbox mailbox)
createEmptyCase
in interface CaseDistributionService
public Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, String type, List<Mailbox> mailboxes)
createEmptyCase
in interface CaseDistributionService
public Case createEmptyCase(org.nuxeo.ecm.core.api.CoreSession session, String title, String id, String type, Date date, List<Mailbox> mailboxes)
createEmptyCase
in interface CaseDistributionService
public CaseLink sendCase(org.nuxeo.ecm.core.api.CoreSession session, String sender, Case kase, DistributionInfo initialDistribution)
CaseDistributionService
sendCase
in interface CaseDistributionService
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |