public interface TemplateManager extends Sharable<Long,TemplateDescription,NoSuchTemplateException>
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
TaskInfo |
apply(long templateId,
long tabularResourceId) |
TemplateDescription |
getTemplate(long id) |
List<TemplateDescription> |
getTemplates() |
TemplateDescription |
removeTemplate(long id) |
long |
saveTemplate(String name,
String description,
String agency,
Template template) |
TemplateDescription |
updateTemplate(long id,
Template template) |
static final String SERVICE_NAME
long saveTemplate(String name, String description, String agency, Template template) throws InternalSecurityException
InternalSecurityExceptionList<TemplateDescription> getTemplates() throws InternalSecurityException
InternalSecurityExceptionTemplateDescription getTemplate(long id) throws NoSuchTemplateException, InternalSecurityException
TaskInfo apply(long templateId, long tabularResourceId) throws NoSuchTemplateException, NoSuchTabularResourceException, TemplateNotCompatibleException, InternalSecurityException
TemplateDescription removeTemplate(long id) throws NoSuchTemplateException, InternalSecurityException
TemplateDescription updateTemplate(long id, Template template) throws NoSuchTemplateException, InternalSecurityException
Copyright © 2017. All Rights Reserved.