|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CaseItem
Mail envelope item.
Represents a document placed in an envelope.
Method Summary | |
---|---|
Case |
createMailCase(org.nuxeo.ecm.core.api.CoreSession documentManager,
String parentPath,
String initialLifeCycleState)
Creates a mail envelope with this item inside. |
Case |
getCase()
Gets the envelope this document is in. |
org.nuxeo.ecm.core.api.DocumentModelList |
getCases(org.nuxeo.ecm.core.api.CoreSession coreSession)
|
String |
getConfidentiality()
Gets the confidentiality of the document. |
String |
getDefaultCaseId()
Gets the envelope in which this item should be shown if not associated with an envelope. |
org.nuxeo.ecm.core.api.DocumentModel |
getDocument()
Returns the mail document. |
Calendar |
getDocumentDate()
Gets the date on the item. |
Calendar |
getImportDate()
Sets the item the item was imported into Nuxeo. |
String |
getOrigin()
Gets the origin of the document (email, scan ...). |
Calendar |
getReceiveDate()
Gets the date item was received. |
Calendar |
getSendingDate()
Gets the date the item was sent. |
String |
getTitle()
Gets the title of this item. |
String |
getType()
Get the type of document. |
boolean |
hasSeveralCases(org.nuxeo.ecm.core.api.CoreSession coreSession)
|
void |
save(org.nuxeo.ecm.core.api.CoreSession session)
Persists the item. |
void |
setCase(Case theCase)
|
void |
setConfidentiality(String cdf)
|
void |
setDefaultCase(String mailEnvelopeId)
|
void |
setDocumentDate(Calendar date)
|
void |
setImportDate(Calendar date)
|
void |
setOrigin(String origin)
|
void |
setReceiveDate(Calendar date)
|
void |
setSendingDate(Calendar date)
|
void |
setTitle(String title)
|
void |
setType(String type)
|
Methods inherited from interface org.nuxeo.cm.cases.HasParticipants |
---|
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipants |
Method Detail |
---|
String getTitle()
void setTitle(String title)
Calendar getSendingDate()
void setSendingDate(Calendar date)
Calendar getReceiveDate()
void setReceiveDate(Calendar date)
Calendar getImportDate()
void setImportDate(Calendar date)
Calendar getDocumentDate()
void setDocumentDate(Calendar date)
String getConfidentiality()
void setConfidentiality(String cdf)
String getOrigin()
void setOrigin(String origin)
String getType()
void setType(String type)
Case getCase()
void setCase(Case theCase)
String getDefaultCaseId()
If you find this item from a search, we still have to show it in an envelope. This method tell us in which envelope to put it.
void setDefaultCase(String mailEnvelopeId)
org.nuxeo.ecm.core.api.DocumentModel getDocument()
Case createMailCase(org.nuxeo.ecm.core.api.CoreSession documentManager, String parentPath, String initialLifeCycleState)
documentManager
- an open session.parentPath
- the path to the folder in which the envelope will be
created.
void save(org.nuxeo.ecm.core.api.CoreSession session)
org.nuxeo.ecm.core.api.DocumentModelList getCases(org.nuxeo.ecm.core.api.CoreSession coreSession)
coreSession
-
boolean hasSeveralCases(org.nuxeo.ecm.core.api.CoreSession coreSession)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |