Package org.alfresco.rest.framework.core
Class ResourceOperation
- java.lang.Object
-
- org.alfresco.rest.framework.core.ResourceOperation
-
public class ResourceOperation extends Object
Operations that can typically take place on a Restful resource- Author:
- Gethin James
-
-
Field Summary
Fields Modifier and Type Field Description static intUNSET_STATUS
-
Constructor Summary
Constructors Constructor Description ResourceOperation(org.springframework.http.HttpMethod httpMethod, String title, String description, List<ResourceParameter> parameters, int successStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()org.springframework.http.HttpMethodgetHttpMethod()List<ResourceParameter>getParameters()intgetSuccessStatus()StringgetTitle()StringtoString()
-
-
-
Field Detail
-
UNSET_STATUS
public static final int UNSET_STATUS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResourceOperation
public ResourceOperation(org.springframework.http.HttpMethod httpMethod, String title, String description, List<ResourceParameter> parameters, int successStatus)- Parameters:
httpMethod- HttpMethodtitle- Stringdescription- StringsuccessStatus- HTTP status
-
-
Method Detail
-
getHttpMethod
public org.springframework.http.HttpMethod getHttpMethod()
-
getTitle
public String getTitle()
-
getDescription
public String getDescription()
-
getParameters
public List<ResourceParameter> getParameters()
-
getSuccessStatus
public int getSuccessStatus()
-
-