Class GuardedPath
java.lang.Object
org.dlese.dpc.schemedit.security.access.GuardedPath
Wrapper for ActionMapping
- Author:
- ostwald
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.dom4j.DocumentFactoryprotected UrlPatternMatcherprotected Roles.Role -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the GuardedPath objectGuardedPath(String path) GuardedPath(UrlPatternMatcher matcher) -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.ElementGets the description attribute of the GuardedPath objectprotected StringbooleanReturns true if this GuardedPath is aligned with a single actionMappinggetName()getPath()Gets the path attribute of the GuardedPath objectgetRole()Gets the role attribute of the GuardedPath objectbooleanprotected static voidvoidsetActions(List actions) voidSets the description attribute of the GuardedPath objectvoidsetIsActionMapping(boolean b) voidsetMatcher(UrlPatternMatcher matcher) voidsetRole(Roles.Role role) Sets the role attribute of the GuardedPath object
-
Field Details
-
description
-
matcher
-
role
-
df
protected org.dom4j.DocumentFactory df
-
-
Constructor Details
-
GuardedPath
public GuardedPath()Constructor for the GuardedPath object- Parameters:
mapping- Description of the Parameterdescription- Description of the Parameterrole- Description of the Parameter
-
GuardedPath
-
GuardedPath
-
-
Method Details
-
setMatcher
-
match
-
getElementName
-
getPath
Gets the path attribute of the GuardedPath object- Returns:
- The path value
-
getActions
-
setActions
-
getRole
Gets the role attribute of the GuardedPath object- Returns:
- The role value
-
setRole
Sets the role attribute of the GuardedPath object- Parameters:
role- The new role value
-
getName
-
getIsActionMapping
public boolean getIsActionMapping()Returns true if this GuardedPath is aligned with a single actionMapping -
setIsActionMapping
public void setIsActionMapping(boolean b) -
getDescription
Gets the description attribute of the GuardedPath object- Returns:
- The description value
-
setDescription
Sets the description attribute of the GuardedPath object- Parameters:
d- The new description value
-
asElement
public org.dom4j.Element asElement() -
prtln
-