pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.annotations
Annotation Type Permission


@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.

Version:
$Revision: 1933 $
Author:
Thomas Weber
See Also:
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

value

public abstract java.lang.String value
the name of the automatically generated Permission.

See Also:
AbstractNamedEntity.getName()

description

public abstract java.lang.String description
the description of the Permission, default "auto-generated permission".

Default:
"auto-generated permission"