|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.security.access.GuardedPath
public class GuardedPath
Wrapper for ActionMapping
Field Summary | |
---|---|
protected String |
description
|
protected DocumentFactory |
df
|
protected UrlPatternMatcher |
matcher
|
protected Roles.Role |
role
|
Constructor Summary | |
---|---|
GuardedPath()
Constructor for the GuardedPath object |
|
GuardedPath(String path)
|
|
GuardedPath(UrlPatternMatcher matcher)
|
Method Summary | |
---|---|
Element |
asElement()
|
List |
getActions()
|
String |
getDescription()
Gets the description attribute of the GuardedPath object |
protected String |
getElementName()
|
boolean |
getIsActionMapping()
Returns true if this GuardedPath is aligned with a single actionMapping |
String |
getName()
|
String |
getPath()
Gets the path attribute of the GuardedPath object |
Roles.Role |
getRole()
Gets the role attribute of the GuardedPath object |
boolean |
match(String path)
|
protected static void |
prtln(String s)
|
void |
setActions(List actions)
|
void |
setDescription(String d)
Sets the description attribute of the GuardedPath object |
void |
setIsActionMapping(boolean b)
|
void |
setMatcher(UrlPatternMatcher matcher)
|
void |
setRole(Roles.Role role)
Sets the role attribute of the GuardedPath object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String description
protected UrlPatternMatcher matcher
protected Roles.Role role
protected DocumentFactory df
Constructor Detail |
---|
public GuardedPath()
mapping
- Description of the Parameterdescription
- Description of the Parameterrole
- Description of the Parameterpublic GuardedPath(String path)
public GuardedPath(UrlPatternMatcher matcher)
Method Detail |
---|
public void setMatcher(UrlPatternMatcher matcher)
public boolean match(String path)
protected String getElementName()
public String getPath()
public List getActions()
public void setActions(List actions)
public Roles.Role getRole()
public void setRole(Roles.Role role)
role
- The new role valuepublic String getName()
public boolean getIsActionMapping()
public void setIsActionMapping(boolean b)
public String getDescription()
public void setDescription(String d)
d
- The new description valuepublic Element asElement()
protected static void prtln(String s)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |