Package com.axemble.vdoc.sdk.utils
Interface IMailUtils
public interface IMailUtils
IMailUtils
 Use this utils to manipulate mails and mails' templates through Process
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionBuild a Mail template object form a given resource and pa map parameter The template is translated in the current user language, and all the bookmarks are replaced from the map parametersretrieveMailTemplateContent(String language, IResource template) Retrieve the content of a mail template Choose the default value if it is not overrideretrieveMailTemplateFromReference(IContext context, String templateRef) Retrieve a mailTemplate resource in the data universe of the Platform management application from its referenceretrieveMailTemplateSubject(String language, IResource template) Retrieve the subject of a mail template Choose the default value if it is not overridesvoidupdateMailTemplateContent(String language, IResource template, String newValue) Update the content of a mail template Choose the default value if it is not overridevoidupdateMailTemplateSubject(String language, IResource template, String newValue) Update the subject of a mail template Choose the default value if it is not override
- 
Field Details- 
BOOKMARK_USER- See Also:
 
- 
BOOKMARK_LOGO- See Also:
 
- 
BOOKMARK_SUBJECT- See Also:
 
- 
BOOKMARK_CONTENT- See Also:
 
- 
BOOKMARK_DETAILS- See Also:
 
- 
BOOKMARK_LINK_LABEL- See Also:
 
- 
BOOKMARK_LINK- See Also:
 
- 
BOOKMARK_PRIMARY_COLOR- See Also:
 
- 
BOOKMARK_BASE_LINK_COLOR- See Also:
 
- 
BOOKMARK_DIRECT_LINK_LABEL- See Also:
 
- 
BOOKMARK_SERVER_BASE_URL- See Also:
 
- 
BOOKMARK_FOOTER_TEXT- See Also:
 
 
- 
- 
Method Details- 
retrieveMailTemplateFromReferenceRetrieve a mailTemplate resource in the data universe of the Platform management application from its reference- Parameters:
- context- the current context
- templateRef- the template's reference
- Returns:
- the mailTemplate resource
 
- 
buildMailTemplateBuild a Mail template object form a given resource and pa map parameter The template is translated in the current user language, and all the bookmarks are replaced from the map parameters- Parameters:
- language- the given language
- resource- the given resource
- parameters- the parameters to replace the bookmarks
- Returns:
- the template
 
- 
retrieveMailTemplateSubjectRetrieve the subject of a mail template Choose the default value if it is not overrides- Parameters:
- language- the language to display
- template- the mail template resource
- Returns:
- the subject translated
 
- 
retrieveMailTemplateContentRetrieve the content of a mail template Choose the default value if it is not override- Parameters:
- language- the language to display
- template- the mail template resource
- Returns:
- the content translated
 
- 
updateMailTemplateSubjectUpdate the subject of a mail template Choose the default value if it is not override- Parameters:
- language- the language to update
- template- the mail template resource
- newValue- the new value
 
- 
updateMailTemplateContentUpdate the content of a mail template Choose the default value if it is not override- Parameters:
- language- the language to update
- template- the mail template resource
- newValue- the new value
 
 
-