org.nuxeo.correspondence.core.link
Class EnvelopeToMailLinkImpl
java.lang.Object
org.nuxeo.correspondence.core.link.AbstractLink
org.nuxeo.correspondence.core.link.EnvelopeToMailLinkImpl
- All Implemented Interfaces:
- CommonLink, EnvelopeToMailLink
public class EnvelopeToMailLinkImpl
- extends AbstractLink
- implements EnvelopeToMailLink
- Author:
- ldoguin
Methods inherited from interface org.nuxeo.correspondence.link.CommonLink |
save |
EnvelopeToMailLinkImpl
public EnvelopeToMailLinkImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
getEnvelopeToMailLink
public List<CorrespondenceLink> getEnvelopeToMailLink()
- Specified by:
getEnvelopeToMailLink
in interface EnvelopeToMailLink
- Returns:
- the list of envelope to mail CorrespondenceLink.
resetEnvelopeToMailLink
public void resetEnvelopeToMailLink()
- Description copied from interface:
EnvelopeToMailLink
- Remove all envelope to mail links.
- Specified by:
resetEnvelopeToMailLink
in interface EnvelopeToMailLink
addEnvelopeToMailLink
public void addEnvelopeToMailLink(CorrespondenceLink link)
- Description copied from interface:
EnvelopeToMailLink
- Add the given envelope to mail link.
- Specified by:
addEnvelopeToMailLink
in interface EnvelopeToMailLink
addAllEnvelopeToMailLink
public void addAllEnvelopeToMailLink(List<CorrespondenceLink> links)
- Description copied from interface:
EnvelopeToMailLink
- Add the list of given envelope to mail links.
- Specified by:
addAllEnvelopeToMailLink
in interface EnvelopeToMailLink
getLink
public CorrespondenceLink getLink(String targetDocId)
- Specified by:
getLink
in interface CommonLink
- Parameters:
targetDocId
- is the linked mail doc id.
- Returns:
- the existing link or null if it doesn't exist.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.