Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tonbeller.wcf.component
Interface RoleExprHolder

All Known Implementing Classes:
  ComponentSupport

public interface RoleExprHolder

Author:
  av

Method Summary
`java.lang.String` | `getRoleExpr()` name of a role, optionally prefixed by "!".
`void` | `setRoleExpr(java.lang.String expr)`

Method Detail

### getRoleExpr

    public java.lang.String getRoleExpr()

  name of a role, optionally prefixed by "!". If the name of a role is returned, then members of that role may access this component. If the role name is prefixed with "!", then everybody except members of that role may access this component.

  Returns:
    "tomcat" to allow members of the role tomcat to access this component, "!tomcat" to allow everybody except tomcat members access.

### setRoleExpr

    public void setRoleExpr(java.lang.String expr)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD