All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.prodevelop.pui9.annotations.PuiApiKey Maven / Gradle / Ivy

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