public class PermissionEvaluator extends BaseEvaluator
s_logger
Constructor and Description |
---|
PermissionEvaluator() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate()
Evaluate against the component attributes.
|
String |
getAllow()
Get the allow permissions to match value against
|
String |
getDeny()
Get the deny permissions to match value against
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setAllow(String allow)
Set the allow permissions to match value against
|
void |
setDeny(String deny)
Set the deny permissions to match value against
|
encodeBegin, encodeChildren, encodeEnd, getFamily, getRendersChildren, getValue, setValue
outputAttribute
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
public boolean evaluate()
evaluate
in class BaseEvaluator
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class BaseEvaluator
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class BaseEvaluator
StateHolder.saveState(javax.faces.context.FacesContext)
public String getAllow()
public void setAllow(String allow)
allow
- allow permissions to match value againstpublic String getDeny()
public void setDeny(String deny)
deny
- deny permissions to match value againstCopyright © 2005–2017 Alfresco Software. All rights reserved.