public interface Case extends HasParticipants, Serializable
| Modifier and Type | Method and Description | 
|---|---|
| boolean | addCaseItem(CaseItem item,
           CoreSession session)Adds given item to the envelope. | 
| boolean | canFollowTransition(String transition) | 
| void | followTransition(String transition)Follow the given transition. | 
| List<CaseItem> | getCaseItems(CoreSession session)Returns unmodifiable list of items. | 
| DocumentModel | getDocument()Gets the document model describing the envelope. | 
| List<DocumentModel> | getDocuments()Gets the items as document with the session of the envelope. | 
| List<DocumentModel> | getDocuments(CoreSession session)Gets the items as document | 
| CaseItem | getFirstItem(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,
                    CoreSession session)Moves down given selected items in the envelope. | 
| boolean | moveUpEmailsInCase(List<CaseItem> selected,
                  CoreSession session)Moves up given selected items in the envelope. | 
| boolean | removeCaseItem(CaseItem item,
              CoreSession session)Removes given item from the envelope. | 
| void | save(CoreSession session)Persists the envelope. | 
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipantsDocumentModel getDocument()
List<DocumentModel> getDocuments()
List<DocumentModel> getDocuments(CoreSession session)
List<CaseItem> getCaseItems(CoreSession session)
CaseItem getFirstItem(CoreSession session)
boolean addCaseItem(CaseItem item, CoreSession session)
boolean removeCaseItem(CaseItem item, CoreSession session)
boolean moveUpEmailsInCase(List<CaseItem> selected, CoreSession session)
boolean moveDownEmailsInCase(List<CaseItem> selected, CoreSession session)
void save(CoreSession session)
boolean isDraft()
                throws ClientException
ClientExceptionboolean isEmpty()
                throws ClientException
ClientExceptionboolean canFollowTransition(String transition)
life - cycle transitionvoid followTransition(String transition)
life - cycle transitionCopyright © 2011 Nuxeo SA. All Rights Reserved.