Class DefaultContextSearchRestriction
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.model.DefaultContextSearchRestriction
-
- All Implemented Interfaces:
ContextSearchRestriction
public class DefaultContextSearchRestriction extends java.lang.Object implements ContextSearchRestriction
-
-
Field Summary
-
Fields inherited from interface com.hybris.cockpitng.core.config.impl.model.ContextSearchRestriction
EMPTY
-
-
Constructor Summary
Constructors Constructor Description DefaultContextSearchRestriction(java.lang.String... attributes)DefaultContextSearchRestriction(java.util.List<java.lang.String> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()booleanisAttributeRestricted(java.lang.String name)Checks whether specified attribute may be changed
-
-
-
Method Detail
-
isAttributeRestricted
public boolean isAttributeRestricted(java.lang.String name)
Description copied from interface:ContextSearchRestrictionChecks whether specified attribute may be changed- Specified by:
isAttributeRestrictedin interfaceContextSearchRestriction- Parameters:
name- name of attribute to check- Returns:
trueif value of attribute cannot be changed
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-