public interface RuleManager extends Sharable<Long,RuleDescription,NoSuchRuleException>
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
TaskInfo |
applyColumnRule(Long tabularResourceId,
String columnId,
List<Long> ruleIds) |
void |
detachColumnRules(Long tabularResourceId,
String columnId,
List<Long> ruleIds) |
List<RuleDescription> |
getApplicableBaseColumnRules(Class<? extends org.gcube.data.analysis.tabulardata.model.datatype.DataType> dataTypeClass) |
AppliedRulesResponse |
getAppliedRulesByTabularResourceId(Long id) |
List<RuleDescription> |
getRules() |
List<RuleDescription> |
getRulesByScope(RuleScope scope) |
void |
remove(Long id) |
long |
saveColumnRule(String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
RuleColumnType columnType) |
void |
updateColumnRule(RuleDescription descriptor) |
static final String SERVICE_NAME
long saveColumnRule(String name, String description, org.gcube.data.analysis.tabulardata.expression.Expression rule, RuleColumnType columnType) throws InternalSecurityException
InternalSecurityExceptionList<RuleDescription> getRules() throws InternalSecurityException
InternalSecurityExceptionList<RuleDescription> getRulesByScope(RuleScope scope) throws InternalSecurityException
InternalSecurityExceptionvoid remove(Long id) throws InternalSecurityException, NoSuchRuleException
void updateColumnRule(RuleDescription descriptor) throws InternalSecurityException, NoSuchRuleException
List<RuleDescription> getApplicableBaseColumnRules(Class<? extends org.gcube.data.analysis.tabulardata.model.datatype.DataType> dataTypeClass) throws InternalSecurityException
InternalSecurityExceptionTaskInfo applyColumnRule(Long tabularResourceId, String columnId, List<Long> ruleIds) throws InternalSecurityException, NoSuchRuleException, NoSuchTabularResourceException
AppliedRulesResponse getAppliedRulesByTabularResourceId(Long id) throws NoSuchTabularResourceException, InternalSecurityException
void detachColumnRules(Long tabularResourceId, String columnId, List<Long> ruleIds) throws InternalSecurityException, NoSuchTabularResourceException
Copyright © 2015. All Rights Reserved.