|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Case
Mail envelope
| Method Summary | |
|---|---|
boolean |
addCaseItem(CaseItem item,
org.nuxeo.ecm.core.api.CoreSession session)
Adds given item to the envelope. |
boolean |
canFollowTransition(String transition)
|
void |
followTransition(String transition)
Follow the given transition. |
List<CaseItem> |
getCaseItems(org.nuxeo.ecm.core.api.CoreSession session)
Returns unmodifiable list of items. |
org.nuxeo.ecm.core.api.DocumentModel |
getDocument()
Gets the document model describing the envelope. |
List<org.nuxeo.ecm.core.api.DocumentModel> |
getDocuments()
Gets the items as document with the session of the envelope. |
List<org.nuxeo.ecm.core.api.DocumentModel> |
getDocuments(org.nuxeo.ecm.core.api.CoreSession session)
Gets the items as document |
CaseItem |
getFirstItem(org.nuxeo.ecm.core.api.CoreSession session)
Gets the first document within this envelope |
boolean |
isDraft()
Is this a draft envelope? |
boolean |
isEmpty()
Is this an empty envelope? |
boolean |
moveDownEmailsInCase(List<CaseItem> selected,
org.nuxeo.ecm.core.api.CoreSession session)
Moves down given selected items in the envelope. |
boolean |
moveUpEmailsInCase(List<CaseItem> selected,
org.nuxeo.ecm.core.api.CoreSession session)
Moves up given selected items in the envelope. |
boolean |
removeCaseItem(CaseItem item,
org.nuxeo.ecm.core.api.CoreSession session)
Removes given item from the envelope. |
void |
save(org.nuxeo.ecm.core.api.CoreSession session)
Persists the envelope. |
| Methods inherited from interface org.nuxeo.cm.cases.HasParticipants |
|---|
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipants |
| Method Detail |
|---|
org.nuxeo.ecm.core.api.DocumentModel getDocument()
List<org.nuxeo.ecm.core.api.DocumentModel> getDocuments()
List<org.nuxeo.ecm.core.api.DocumentModel> getDocuments(org.nuxeo.ecm.core.api.CoreSession session)
List<CaseItem> getCaseItems(org.nuxeo.ecm.core.api.CoreSession session)
CaseItem getFirstItem(org.nuxeo.ecm.core.api.CoreSession session)
boolean addCaseItem(CaseItem item,
org.nuxeo.ecm.core.api.CoreSession session)
boolean removeCaseItem(CaseItem item,
org.nuxeo.ecm.core.api.CoreSession session)
boolean moveUpEmailsInCase(List<CaseItem> selected,
org.nuxeo.ecm.core.api.CoreSession session)
boolean moveDownEmailsInCase(List<CaseItem> selected,
org.nuxeo.ecm.core.api.CoreSession session)
void save(org.nuxeo.ecm.core.api.CoreSession session)
boolean isDraft()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
boolean isEmpty()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionboolean canFollowTransition(String transition)
life - cycle transition
void followTransition(String transition)
life - cycle transition
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||