Class OdfAttributeRestrictionRule
java.lang.Object
org.ametys.plugins.odfweb.restrictions.rules.OdfAttributeRestrictionRule
- All Implemented Interfaces:
- OdfRestrictionRule
Attribute restriction rule
- 
Constructor SummaryConstructorsConstructorDescriptionOdfAttributeRestrictionRule(String attributePath, String untypedValue) Constructor for rule relating to the value of an attribute
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDetermines if this program is part of this restrictionTranslate the restriction into an expression that can be used for repository query.booleanIndicate if this restriction is related to orgunit
- 
Constructor Details- 
OdfAttributeRestrictionRuleConstructor for rule relating to the value of an attribute- Parameters:
- attributePath- The path of the attribute
- untypedValue- The attribute untyped value
 
 
- 
- 
Method Details- 
getExpressionDescription copied from interface:OdfRestrictionRuleTranslate the restriction into an expression that can be used for repository query.- Specified by:
- getExpressionin interface- OdfRestrictionRule
- Returns:
- The restriction expression
 
- 
containsDescription copied from interface:OdfRestrictionRuleDetermines if this program is part of this restriction- Specified by:
- containsin interface- OdfRestrictionRule
- Parameters:
- program- The program
- Returns:
- trueIf the program is part of this restriction
 
- 
hasOrgunitRestrictionsDescription copied from interface:OdfRestrictionRuleIndicate if this restriction is related to orgunit- Specified by:
- hasOrgunitRestrictionsin interface- OdfRestrictionRule
- Returns:
- true if it is the case
 
 
-