public class DefaultRuleManagerProxy extends Object implements RuleManagerProxy
| Constructor and Description |
|---|
DefaultRuleManagerProxy(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.data.analysis.tabulardata.commons.webservice.RuleManager> config) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.data.analysis.tabulardata.commons.webservice.types.tasks.TaskInfo |
applyColumnRule(Long tabularResourceId,
String columnId,
List<Long> ruleIds) |
List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> |
getApplicableBaseColumnRules(Class<? extends org.gcube.data.analysis.tabulardata.model.datatype.DataType> dataTypeClass) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.AppliedRulesResponse |
getAppliedRulesByTabularResourceId(Long id) |
List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> |
getRules() |
List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> |
getRulesByScope(org.gcube.data.analysis.tabulardata.commons.rules.RuleScope scope) |
void |
remove(Long id) |
long |
saveColumnRule(String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleColumnType columnType) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription |
share(Long entityId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription |
unshare(Long entityId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) |
void |
updateColumnRule(long id,
String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleColumnType columnType) |
public DefaultRuleManagerProxy(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.data.analysis.tabulardata.commons.webservice.RuleManager> config)
public long saveColumnRule(String name, String description, org.gcube.data.analysis.tabulardata.expression.Expression rule, org.gcube.data.analysis.tabulardata.commons.rules.types.RuleColumnType columnType)
saveColumnRule in interface RuleManagerProxypublic List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> getRules()
getRules in interface RuleManagerProxypublic List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> getRulesByScope(org.gcube.data.analysis.tabulardata.commons.rules.RuleScope scope)
getRulesByScope in interface RuleManagerProxypublic void remove(Long id) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException
remove in interface RuleManagerProxyorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionpublic void updateColumnRule(long id,
String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleColumnType columnType)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException
updateColumnRule in interface RuleManagerProxyorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionpublic List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> getApplicableBaseColumnRules(Class<? extends org.gcube.data.analysis.tabulardata.model.datatype.DataType> dataTypeClass)
getApplicableBaseColumnRules in interface RuleManagerProxypublic org.gcube.data.analysis.tabulardata.commons.webservice.types.tasks.TaskInfo applyColumnRule(Long tabularResourceId, String columnId, List<Long> ruleIds) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
applyColumnRule in interface RuleManagerProxyorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.AppliedRulesResponse getAppliedRulesByTabularResourceId(Long id) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
getAppliedRulesByTabularResourceId in interface RuleManagerProxyorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription share(Long entityId, org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, org.gcube.data.analysis.tabulardata.commons.webservice.exception.InternalSecurityException
share in interface org.gcube.data.analysis.tabulardata.commons.webservice.Sharable<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription,org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException>org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.InternalSecurityExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription unshare(Long entityId, org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... authTokens) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, org.gcube.data.analysis.tabulardata.commons.webservice.exception.InternalSecurityException
unshare in interface org.gcube.data.analysis.tabulardata.commons.webservice.Sharable<Long,org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription,org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException>org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.InternalSecurityExceptionCopyright © 2015. All Rights Reserved.