es.prodevelop.pui9.annotations.PuiApiKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of es.prodevelop.pui9.controllers Show documentation
Show all versions of es.prodevelop.pui9.controllers Show documentation
Web service layer support (WEB)
The newest version!
package es.prodevelop.pui9.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is useful to indicate the functionality that the user should
* have to be able to consume this web service
*
* @author Marc Gil - [email protected]
*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface PuiApiKey {
/**
* The functionality value. Due to compatibility with the abstract controllers
* of PUI, The value could be intelligent:
*
* - Directly the name of the functionality, or an String constant:
* "my_functionality", "MyOwnClass.MY_EDIT_FUNCTIONALITY_CONST"
* - The name of a method in the same Controller that returns an String
* containing the value of the functionality: "getEditFunctionality"
*
*
* @return
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy