Class LocalRestriction
java.lang.Object
org.apache.sling.jcr.jackrabbit.accessmanager.LocalRestriction
Use to holds details of a restriction
-
Constructor Summary
ConstructorDescriptionLocalRestriction
(@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 Summary
Modifier and TypeMethodDescriptionstatic @NotNull LocalRestriction
cloneWithNewValues
(@NotNull LocalRestriction lr, @NotNull javax.jcr.Value[] newValues) Clone from an existing object and then assign the new valuesboolean
getName()
javax.jcr.Value
getValue()
javax.jcr.Value[]
int
hashCode()
boolean
toString()
-
Constructor Details
-
LocalRestriction
public LocalRestriction(@NotNull @NotNull org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition rd, @Nullable @Nullable javax.jcr.Value value) -
LocalRestriction
public LocalRestriction(@NotNull @NotNull org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition rd, @Nullable @Nullable javax.jcr.Value[] values)
-
-
Method Details
-
getName
-
isMultiValue
public boolean isMultiValue() -
getValue
public javax.jcr.Value getValue() -
getValues
public javax.jcr.Value[] getValues() -
toString
-
hashCode
public 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
-