public class VisibilityService extends Object implements LicenseChangedListener
| Constructor and Description |
|---|
VisibilityService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(String conditionType,
VisibilityConditionRule instance) |
Map<JCRNodeWrapper,Boolean> |
getConditionMatchesDetails(JCRNodeWrapper node) |
Map<String,VisibilityConditionRule> |
getConditions() |
static VisibilityService |
getInstance() |
boolean |
matchesConditions(JCRNodeWrapper node) |
void |
onLicenseChanged()
Called by the Digital Factory license checker service when the license has bean reloaded/changed.
|
void |
removeCondition(String conditionType) |
void |
setConditions(Map<String,VisibilityConditionRule> conditions) |
public static final String NODE_NAME
public static VisibilityService getInstance()
public Map<String,VisibilityConditionRule> getConditions()
public void setConditions(Map<String,VisibilityConditionRule> conditions)
public void addCondition(String conditionType, VisibilityConditionRule instance)
public void removeCondition(String conditionType)
public boolean matchesConditions(JCRNodeWrapper node)
public Map<JCRNodeWrapper,Boolean> getConditionMatchesDetails(JCRNodeWrapper node)
public void onLicenseChanged()
LicenseChangedListeneronLicenseChanged in interface LicenseChangedListenerCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.