Package org.nuxeo.ecm.webengine.security
Class GuardDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.webengine.security.GuardDescriptor
-
public class GuardDescriptor extends Object
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description GuardDescriptor()
GuardDescriptor(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpression()
Guard
getGuard()
Map<String,Guard>
getGuards()
String
getId()
Permission
getPermission()
void
setExpression(String expression)
protected void
setGuards(DocumentFragment content)
-
-
-
Constructor Detail
-
GuardDescriptor
public GuardDescriptor()
-
GuardDescriptor
public GuardDescriptor(String name)
-
-
Method Detail
-
setExpression
public void setExpression(String expression)
- Parameters:
expression
- the expression to set.
-
getExpression
public String getExpression()
- Returns:
- the expression.
-
setGuards
protected void setGuards(DocumentFragment content)
-
getGuard
public Guard getGuard() throws ParseException
- Throws:
ParseException
-
getId
public String getId()
-
getPermission
public Permission getPermission() throws ParseException
- Throws:
ParseException
-
-