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) |
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) |
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 |
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(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.service.rules.RuleId id,
String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleColumnType columnType) |
public org.gcube.data.analysis.tabulardata.service.rules.RuleId 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 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.service.rules.RuleId 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 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.NoSuchRuleExceptionSecurityExceptionCopyright © 2015. All Rights Reserved.