Package org.alfresco.rest.requests
Class Deployments
- java.lang.Object
-
- org.alfresco.rest.requests.ModelRequest<Deployments>
-
- org.alfresco.rest.requests.Deployments
-
public class Deployments extends ModelRequest<Deployments>
Created by Claudia Agache on 10/4/2016.
-
-
Field Summary
-
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper
-
-
Constructor Summary
Constructors Constructor Description Deployments(RestWrapper restWrapper)Deployments(RestDeploymentModel deployment, RestWrapper restWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteDeployment()Delete the specified deployment from Alfresco using DELETE call on "/deployments/{deploymentId}"RestDeploymentModelgetDeployment()Retrieve the specified deployment from Alfresco using GET call on "/deployments/{deploymentId}"RestDeploymentModelsCollectiongetDeployments()Retrieve 100 deployments (this is the default size when maxItems is not specified) from Alfresco using GET call on "/deployments"-
Methods inherited from class org.alfresco.rest.requests.ModelRequest
includePath, usingParams
-
-
-
-
Constructor Detail
-
Deployments
public Deployments(RestWrapper restWrapper)
-
Deployments
public Deployments(RestDeploymentModel deployment, RestWrapper restWrapper)
-
-
Method Detail
-
getDeployments
public RestDeploymentModelsCollection getDeployments() throws java.lang.Exception
Retrieve 100 deployments (this is the default size when maxItems is not specified) from Alfresco using GET call on "/deployments"- Returns:
- Throws:
JsonToModelConversionExceptionjava.lang.Exception
-
deleteDeployment
public void deleteDeployment() throws java.lang.ExceptionDelete the specified deployment from Alfresco using DELETE call on "/deployments/{deploymentId}"- Throws:
JsonToModelConversionExceptionjava.lang.Exception
-
getDeployment
public RestDeploymentModel getDeployment() throws java.lang.Exception
Retrieve the specified deployment from Alfresco using GET call on "/deployments/{deploymentId}"- Returns:
- Throws:
JsonToModelConversionExceptionjava.lang.Exception
-
-