public class RuleInterfaceImpl extends Object implements org.gcube.data.analysis.tabulardata.service.rules.RuleInterface
| Constructor and Description |
|---|
RuleInterfaceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.data.analysis.tabulardata.service.operation.Task |
applyColumnRule(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId,
List<org.gcube.data.analysis.tabulardata.service.rules.RuleId> ruleIds) |
org.gcube.data.analysis.tabulardata.service.operation.Task |
applyTableRule(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
Map<String,String> mappingPlacelhoderIdColumnId,
org.gcube.data.analysis.tabulardata.service.rules.RuleId ruleId) |
void |
detachColumnRules(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId,
List<org.gcube.data.analysis.tabulardata.service.rules.RuleId> ruleIds) |
void |
detachTableRules(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
List<org.gcube.data.analysis.tabulardata.service.rules.RuleId> 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(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId 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 |
removeRuleById(org.gcube.data.analysis.tabulardata.service.rules.RuleId id) |
org.gcube.data.analysis.tabulardata.service.rules.RuleId |
saveRule(String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType type) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription |
share(org.gcube.data.analysis.tabulardata.service.rules.RuleId ruleId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... tokens) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription |
unshare(org.gcube.data.analysis.tabulardata.service.rules.RuleId ruleId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... tokens) |
void |
updateColumnRule(org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription descriptor) |
public org.gcube.data.analysis.tabulardata.service.rules.RuleId saveRule(String name, String description, org.gcube.data.analysis.tabulardata.expression.Expression rule, org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType type)
saveRule in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfacepublic List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> getRules()
getRules in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfacepublic List<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> getRulesByScope(org.gcube.data.analysis.tabulardata.commons.rules.RuleScope scope)
getRulesByScope in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfacepublic void removeRuleById(org.gcube.data.analysis.tabulardata.service.rules.RuleId id)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException
removeRuleById in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionpublic void updateColumnRule(org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription descriptor)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException
updateColumnRule in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.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 org.gcube.data.analysis.tabulardata.service.rules.RuleInterfacepublic org.gcube.data.analysis.tabulardata.service.operation.Task applyColumnRule(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId,
List<org.gcube.data.analysis.tabulardata.service.rules.RuleId> ruleIds)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException,
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
applyColumnRule in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionpublic void detachColumnRules(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId,
List<org.gcube.data.analysis.tabulardata.service.rules.RuleId> ruleIds)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
detachColumnRules in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.AppliedRulesResponse getAppliedRulesByTabularResourceId(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId id)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
getAppliedRulesByTabularResourceId in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription share(org.gcube.data.analysis.tabulardata.service.rules.RuleId ruleId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... tokens)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException,
SecurityException
share in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionSecurityExceptionpublic org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription unshare(org.gcube.data.analysis.tabulardata.service.rules.RuleId ruleId,
org.gcube.data.analysis.tabulardata.commons.utils.AuthorizationToken... tokens)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException,
SecurityException
unshare in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionSecurityExceptionpublic void detachTableRules(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
List<org.gcube.data.analysis.tabulardata.service.rules.RuleId> ruleIds)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
detachTableRules in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionpublic org.gcube.data.analysis.tabulardata.service.operation.Task applyTableRule(org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId tabularResourceId,
Map<String,String> mappingPlacelhoderIdColumnId,
org.gcube.data.analysis.tabulardata.service.rules.RuleId ruleId)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException,
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
applyTableRule in interface org.gcube.data.analysis.tabulardata.service.rules.RuleInterfaceorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionCopyright © 2015. All Rights Reserved.