Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.caselink
Interface CaseLink

All Superinterfaces:
HasParticipants, Serializable
All Known Subinterfaces:
ActionableCaseLink
All Known Implementing Classes:
ActionableCaseLinkImpl, CaseLinkImpl, CaseLinkRequestImpl

public interface CaseLink
extends HasParticipants, Serializable

A CorrespondencePost represent a sent Case in a Mailbox.

When a Mailbox send a MailEnvelope, a CorrespondencePost is created in its Mailbox and a CorrespondenceMessage is created in each of the recipients Mailbox.

Author:
Alexandre Russel

Nested Class Summary
static class CaseLink.CaseLinkState
           
static class CaseLink.CaseLinkTransistion
           
 
Method Summary
 Case getCase(org.nuxeo.ecm.core.api.CoreSession session)
          The mail envelope sent.
 String getComment()
          Gets the comment.
 Date getDate()
          Gets the date.
 org.nuxeo.ecm.core.api.DocumentModel getDocument()
          Gets the document model.
 String getId()
          Gets the id of the post.
 String getSender()
          Gets the sender.
 String getSenderMailboxId()
          Gets the sender mailbox id.
 Date getSentDate()
          Gets the send date of the post.
 String getSubject()
          Gets the subject.
 String getType()
          Gets the type of the message.
 boolean isActionnable()
           
 boolean isDraft()
          Is it a draft?
 boolean isRead()
          Returns true if this message has been read.
 void save(org.nuxeo.ecm.core.api.CoreSession session)
          Persists the post.
 void setActionnable(boolean actionnable)
           
 
Methods inherited from interface org.nuxeo.cm.cases.HasParticipants
addInitialExternalParticipants, addInitialInternalParticipants, addParticipants, getAllParticipants, getInitialExternalParticipants, getInitialInternalParticipants
 

Method Detail

getDocument

org.nuxeo.ecm.core.api.DocumentModel getDocument()
Gets the document model.


getId

String getId()
Gets the id of the post.


getSubject

String getSubject()
Gets the subject.


getComment

String getComment()
Gets the comment.


getDate

Date getDate()
Gets the date.


getSender

String getSender()
Gets the sender.


getSenderMailboxId

String getSenderMailboxId()
Gets the sender mailbox id.


getCase

Case getCase(org.nuxeo.ecm.core.api.CoreSession session)
The mail envelope sent.


getSentDate

Date getSentDate()
Gets the send date of the post.


getType

String getType()
Gets the type of the message.


isRead

boolean isRead()
Returns true if this message has been read.


save

void save(org.nuxeo.ecm.core.api.CoreSession session)
Persists the post.


isDraft

boolean isDraft()
Is it a draft?


setActionnable

void setActionnable(boolean actionnable)

isActionnable

boolean isActionnable()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.