public interface EmailTemplateService
| Modifier and Type | Method and Description |
|---|---|
org.duracloud.account.db.model.EmailTemplate |
getTemplate(org.duracloud.account.db.model.EmailTemplate.Templates template)
Returns the template by enum value
|
org.duracloud.account.db.model.EmailTemplate |
getTemplate(Long templateId)
Returns the template by id
|
List<org.duracloud.account.db.model.EmailTemplate> |
list()
Lists all the email templates
|
org.duracloud.account.db.model.EmailTemplate |
update(Long templateId,
String subject,
String body)
Updates the template and returns the updated object.
|
@Secured(value="role:ROLE_ROOT, scope:ANY") org.duracloud.account.db.model.EmailTemplate getTemplate(Long templateId)
templateId - @Secured(value="role:ROLE_ROOT, scope:ANY") org.duracloud.account.db.model.EmailTemplate getTemplate(org.duracloud.account.db.model.EmailTemplate.Templates template)
template - @Secured(value="role:ROLE_ROOT, scope:ANY") org.duracloud.account.db.model.EmailTemplate update(Long templateId, String subject, String body)
templateId - subject - body - @Secured(value="role:ROLE_ROOT, scope:ANY") List<org.duracloud.account.db.model.EmailTemplate> list()
Copyright © 2009–2019 DuraSpace. All rights reserved.