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) |
TaskInfo |
applyTableRule(Long tabularResourceId,
MapObject<String,String> mappingPlaceholderIDToColumnId,
Long ruleId) |
void |
detachColumnRules(Long tabularResourceId,
String columnId,
List<Long> ruleIds) |
void |
detachTableRules(Long tabularResourceId,
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 |
saveRule(String name,
String description,
org.gcube.data.analysis.tabulardata.expression.Expression rule,
RuleType type) |
void |
updateColumnRule(RuleDescription descriptor) |
static final String SERVICE_NAME
long saveRule(String name, String description, org.gcube.data.analysis.tabulardata.expression.Expression rule, RuleType type) 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
TaskInfo applyTableRule(Long tabularResourceId, MapObject<String,String> mappingPlaceholderIDToColumnId, Long ruleId) throws InternalSecurityException, NoSuchRuleException, NoSuchTabularResourceException
void detachTableRules(Long tabularResourceId, List<Long> ruleIds) throws InternalSecurityException, NoSuchTabularResourceException
Copyright © 2015. All Rights Reserved.