public class DefaultTemplateManagerProxy extends Object implements TemplateManagerProxy
| Constructor and Description |
|---|
DefaultTemplateManagerProxy(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManager> config) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo |
apply(long templateId,
long tabularResourceId) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription |
getTemplate(long id) |
List<org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription> |
getTemplates() |
org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription |
removeTemplate(long id) |
long |
saveTemplate(String name,
String description,
String agency,
org.gcube.data.analysis.tabulardata.commons.templates.model.Template template) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription |
share(Long entityId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription |
unshare(Long entityId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) |
public DefaultTemplateManagerProxy(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManager> config)
public long saveTemplate(String name, String description, String agency, org.gcube.data.analysis.tabulardata.commons.templates.model.Template template)
saveTemplate in interface org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManagerpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription removeTemplate(long id)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException
removeTemplate in interface org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManagerorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateExceptionpublic List<org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription> getTemplates()
getTemplates in interface org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManagerpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription getTemplate(long id)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException
getTemplate in interface org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManagerorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription share(Long entityId, org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException
share in interface org.gcube.data.analysis.tabulardata.commons.webservice.Sharable<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription,org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException>org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription unshare(Long entityId, org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException
unshare in interface org.gcube.data.analysis.tabulardata.commons.webservice.Sharable<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.TemplateDescription,org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException>org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.TaskInfo apply(long templateId,
long tabularResourceId)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateException,
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException,
org.gcube.data.analysis.tabulardata.commons.webservice.exception.TemplateNotCompatibleException
apply in interface org.gcube.data.analysis.tabulardata.commons.webservice.TemplateManagerorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTemplateExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.TemplateNotCompatibleExceptionCopyright © 2014. All Rights Reserved.