mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
124826 gjames: Updated the comments git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23 lines
565 B
Java
Executable File
23 lines
565 B
Java
Executable File
package org.alfresco.rest.framework;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* An Operation as on an entity in the Rest API
|
|
*
|
|
* Your method signature should have 4 parameters (uniqueId, typePassedin, Parameters, WithResponse),
|
|
" use Void if you are not interested in the second argument.
|
|
|
|
* @author Gethin James
|
|
*/
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface Operation
|
|
{
|
|
String value();
|
|
}
|
|
|