public interface RuleInterface
| Modifier and Type | Method and Description |
|---|---|
Task |
applyColumnRule(TabularResourceId tabularResourceId,
org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId,
List<RuleId> ruleIds) |
Task |
applyTableRule(TabularResourceId tabularResourceId,
Map<String,String> mappingPlacelhoderIdColumnId,
RuleId ruleId) |
void |
detachColumnRules(TabularResourceId tabularResourceId,
org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId,
List<RuleId> ruleIds) |
void |
detachTableRules(TabularResourceId tabularResourceId,
List<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(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(RuleId id) |
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(RuleId ruleId,
org.gcube.data.analysis.tabulardata.commons.utils.SharingEntity... entities) |
org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription |
unshare(RuleId ruleId,
org.gcube.data.analysis.tabulardata.commons.utils.SharingEntity... entities) |
void |
updateColumnRule(org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription descriptor) |
RuleId saveRule(String name, String description, org.gcube.data.analysis.tabulardata.expression.Expression rule, org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType type)
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(RuleId id) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionvoid updateColumnRule(org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription descriptor)
throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionList<org.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription> getApplicableBaseColumnRules(Class<? extends org.gcube.data.analysis.tabulardata.model.datatype.DataType> dataTypeClass)
Task applyColumnRule(TabularResourceId tabularResourceId, org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId, List<RuleId> ruleIds) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.types.AppliedRulesResponse getAppliedRulesByTabularResourceId(TabularResourceId id) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription share(RuleId ruleId, org.gcube.data.analysis.tabulardata.commons.utils.SharingEntity... entities) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, SecurityException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionSecurityExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.types.RuleDescription unshare(RuleId ruleId, org.gcube.data.analysis.tabulardata.commons.utils.SharingEntity... entities) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, SecurityException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionSecurityExceptionvoid detachColumnRules(TabularResourceId tabularResourceId, org.gcube.data.analysis.tabulardata.model.column.ColumnLocalId columnId, List<RuleId> ruleIds) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionvoid detachTableRules(TabularResourceId tabularResourceId, List<RuleId> ruleIds) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionTask applyTableRule(TabularResourceId tabularResourceId, Map<String,String> mappingPlacelhoderIdColumnId, RuleId ruleId) throws org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleException, org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceException
org.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchRuleExceptionorg.gcube.data.analysis.tabulardata.commons.webservice.exception.NoSuchTabularResourceExceptionCopyright © 2018. All Rights Reserved.