public class EnvelopeToMailLinkImpl extends AbstractLink implements EnvelopeToMailLink
Constructor and Description |
---|
EnvelopeToMailLinkImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
addAllEnvelopeToMailLink(List<CorrespondenceLink> links)
Add the list of given envelope to mail links.
|
void |
addEnvelopeToMailLink(CorrespondenceLink link)
Add the given envelope to mail link.
|
List<CorrespondenceLink> |
getEnvelopeToMailLink() |
CorrespondenceLink |
getLink(String targetDocId) |
void |
resetEnvelopeToMailLink()
Remove all envelope to mail links.
|
removeCorrespondenceLink, save
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
public EnvelopeToMailLinkImpl(DocumentModel doc)
public List<CorrespondenceLink> getEnvelopeToMailLink()
getEnvelopeToMailLink
in interface EnvelopeToMailLink
public void resetEnvelopeToMailLink()
EnvelopeToMailLink
resetEnvelopeToMailLink
in interface EnvelopeToMailLink
public void addEnvelopeToMailLink(CorrespondenceLink link)
EnvelopeToMailLink
addEnvelopeToMailLink
in interface EnvelopeToMailLink
public void addAllEnvelopeToMailLink(List<CorrespondenceLink> links)
EnvelopeToMailLink
addAllEnvelopeToMailLink
in interface EnvelopeToMailLink
public CorrespondenceLink getLink(String targetDocId)
getLink
in interface CommonLink
targetDocId
- is the linked mail doc id.Copyright © 2011 Nuxeo SA. All Rights Reserved.