public abstract class AccessControlParser extends Object
Creates an AccessControl instance by parsing a set of name/value parameters.
| Modifier and Type | Field and Description |
|---|---|
static String |
ParameterAccess |
| Constructor and Description |
|---|
AccessControlParser() |
| Modifier and Type | Method and Description |
|---|---|
abstract AccessControl |
createAccessControl(org.springframework.extensions.config.ConfigElement params)
Create an AccessControl instance by parsing the set of name/value parameters
|
abstract String |
getType()
Return the access control type name that uniquely identifies this type of access control.
|
protected int |
parseAccessType(org.springframework.extensions.config.ConfigElement params)
Find the access parameter and parse the value
|
static int |
parseAccessTypeString(String accessType)
Parse the access level type and validate
|
String |
toString()
Return the parser details as a string
|
public static final String ParameterAccess
public abstract String getType()
public abstract AccessControl createAccessControl(org.springframework.extensions.config.ConfigElement params) throws ACLParseException
params - ConfigElementACLParseExceptionprotected final int parseAccessType(org.springframework.extensions.config.ConfigElement params)
throws ACLParseException
params - ConfigElementACLParseExceptionpublic static final int parseAccessTypeString(String accessType) throws ACLParseException
accessType - StringACLParseExceptionCopyright © 2005–2020 Alfresco Software. All rights reserved.