Files
alfresco-community-repo/source/java/org/alfresco/rest/framework/Operation.java
Ancuta Morarasu 2bcbe263cf Merged HEAD (5.2) to 5.2.N (5.2.1)
126593 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      124826 gjames: Updated the comments


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126938 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2016-05-11 12:13:57 +00:00

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();
}