Class LocalRestriction
- java.lang.Object
-
- org.apache.sling.jcr.jackrabbit.accessmanager.LocalRestriction
-
public class LocalRestriction extends Object
Use to holds details of a restriction
-
-
Constructor Summary
Constructors Constructor Description LocalRestriction(@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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull LocalRestriction
cloneWithNewValues(@NotNull LocalRestriction lr, @NotNull javax.jcr.Value[] newValues)
Clone from an existing object and then assign the new valuesboolean
equals(Object obj)
String
getName()
javax.jcr.Value
getValue()
javax.jcr.Value[]
getValues()
int
hashCode()
boolean
isMultiValue()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
getName
public String getName()
-
isMultiValue
public boolean isMultiValue()
-
getValue
public javax.jcr.Value getValue()
-
getValues
public javax.jcr.Value[] getValues()
-
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
-
-