Class LocalRestriction
java.lang.Object
org.apache.sling.jcr.jackrabbit.accessmanager.LocalRestriction
Use to holds details of a restriction
- 
Constructor SummaryConstructorsConstructorDescriptionLocalRestriction(@NotNull org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition rd, @Nullable javax.jcr.Value value) LocalRestriction(@NotNull org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition rd, @Nullable javax.jcr.Value[] values) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NotNull LocalRestrictioncloneWithNewValues(@NotNull LocalRestriction lr, @NotNull javax.jcr.Value[] newValues) Clone from an existing object and then assign the new valuesbooleangetName()javax.jcr.ValuegetValue()javax.jcr.Value[]inthashCode()booleantoString()
- 
Constructor Details- 
LocalRestrictionpublic LocalRestriction(@NotNull @NotNull org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition rd, @Nullable @Nullable javax.jcr.Value value) 
- 
LocalRestrictionpublic LocalRestriction(@NotNull @NotNull org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition rd, @Nullable @Nullable javax.jcr.Value[] values) 
 
- 
- 
Method Details- 
getName
- 
isMultiValuepublic boolean isMultiValue()
- 
getValuepublic javax.jcr.Value getValue()
- 
getValuespublic javax.jcr.Value[] getValues()
- 
toString
- 
hashCodepublic int hashCode()
- 
equals
- 
cloneWithNewValues@NotNull public static @NotNull LocalRestriction cloneWithNewValues(@NotNull @NotNull LocalRestriction lr, @NotNull @NotNull javax.jcr.Value[] newValues) Clone from an existing object and then assign the new values
 
-