Class AclLine
java.lang.Object
org.apache.sling.repoinit.parser.operations.AclLine
@ProviderType
public class AclLine
extends java.lang.Object
A single "set ACL" line
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAclLine.Action -
Field Summary
Fields Modifier and Type Field Description static charID_DELIMINATORstatic java.lang.StringPATH_HOMEstatic java.lang.StringPATH_REPOSITORYstatic java.lang.StringPROP_NODETYPESstatic java.lang.StringPROP_PATHSstatic java.lang.StringPROP_PRINCIPALSstatic java.lang.StringPROP_PRIVILEGESstatic charSUBTREE_DELIMINATOR -
Constructor Summary
Constructors Constructor Description AclLine(AclLine.Action a) -
Method Summary
Modifier and Type Method Description AclLine.ActiongetAction()java.util.List<java.lang.String>getProperty(java.lang.String name)Return the named multi-value property, or an empty list if not found.java.util.List<RestrictionClause>getRestrictions()voidsetProperty(java.lang.String name, java.util.List<java.lang.String> values)voidsetRestrictions(java.util.List<RestrictionClause> restrictions)java.lang.StringtoString()
-
Field Details
-
PROP_PATHS
public static final java.lang.String PROP_PATHS- See Also:
- Constant Field Values
-
PROP_PRINCIPALS
public static final java.lang.String PROP_PRINCIPALS- See Also:
- Constant Field Values
-
PROP_PRIVILEGES
public static final java.lang.String PROP_PRIVILEGES- See Also:
- Constant Field Values
-
PROP_NODETYPES
public static final java.lang.String PROP_NODETYPES- See Also:
- Constant Field Values
-
PATH_REPOSITORY
public static final java.lang.String PATH_REPOSITORY- See Also:
- Constant Field Values
-
PATH_HOME
public static final java.lang.String PATH_HOME- See Also:
- Constant Field Values
-
ID_DELIMINATOR
public static final char ID_DELIMINATOR- See Also:
- Constant Field Values
-
SUBTREE_DELIMINATOR
public static final char SUBTREE_DELIMINATOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getAction
-
getProperty
public java.util.List<java.lang.String> getProperty(java.lang.String name)Return the named multi-value property, or an empty list if not found.- Parameters:
name- the property to get the value of- Returns:
- the value of the property.
-
setProperty
public void setProperty(java.lang.String name, java.util.List<java.lang.String> values) -
setRestrictions
-
getRestrictions
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-