public class MailToMailLinkImpl extends AbstractLink implements MailToMailLink
Constructor and Description |
---|
MailToMailLinkImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
addAllMailToMailLink(List<CorrespondenceLink> links)
Add the list of given mail to mail links.
|
void |
addMailToMailLink(CorrespondenceLink link)
Add the given mail to mail link.
|
CorrespondenceLink |
getLink(String targetDocId) |
List<CorrespondenceLink> |
getMailToMailLink() |
void |
removeMailToMailLink(CorrespondenceLink link)
remove the given link.
|
void |
resetMailToMailLink()
Remove all mail to mail links.
|
removeCorrespondenceLink, save
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
public MailToMailLinkImpl(DocumentModel doc)
public List<CorrespondenceLink> getMailToMailLink()
getMailToMailLink
in interface MailToMailLink
public void resetMailToMailLink()
MailToMailLink
resetMailToMailLink
in interface MailToMailLink
public void addMailToMailLink(CorrespondenceLink link)
MailToMailLink
addMailToMailLink
in interface MailToMailLink
public void addAllMailToMailLink(List<CorrespondenceLink> links)
MailToMailLink
addAllMailToMailLink
in interface MailToMailLink
public CorrespondenceLink getLink(String targetDocId)
getLink
in interface CommonLink
targetDocId
- is the linked mail doc id.public void removeMailToMailLink(CorrespondenceLink link)
MailToMailLink
removeMailToMailLink
in interface MailToMailLink
Copyright © 2013 Nuxeo SA. All Rights Reserved.