|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Permission
defines the Permission (
Permission) that shall be created to
allow access to the annotated method.
@Permission is only effective in conjunction with
@Action.
The actual name of the Permission will be as follows:
~bundle:controller:name, whereas bundle is
the name of the Bundle the Controller is configured
in, controller is the simple class name of the
Controller and name is the value of the
annotation.
Permission, Action| Required Element Summary | |
|---|---|
java.lang.String |
value
the name of the automatically generated Permission. |
| Optional Element Summary | |
|---|---|
java.lang.String |
description
the description of the Permission, default
"auto-generated permission". |
| Element Detail |
|---|
public abstract java.lang.String value
Permission.
AbstractNamedEntity.getName()public abstract java.lang.String description
Permission, default
"auto-generated permission".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||