KIE Remote Services :: Services 6.2.0.Beta2

org.kie.remote.services.rest
Class DeployResourceBase

java.lang.Object
  extended by org.kie.remote.services.rest.ResourceBase
      extended by org.kie.remote.services.rest.DeployResourceBase

@Singleton
public class DeployResourceBase
extends ResourceBase


Field Summary
 
Fields inherited from class org.kie.remote.services.rest.ResourceBase
PROC_INST_ID_PARAM_NAME, processRequestBean
 
Constructor Summary
DeployResourceBase()
           
 
Method Summary
 JaxbDeploymentUnit determineStatus(String deploymentId, boolean checkDeploymentService)
          Determines the status of a deployment
 void fillProcessDefinitionList(String deploymentId, int[] pageInfo, int maxNumResults, List<JaxbProcessDefinition> procDefList)
           
 JaxbDeploymentUnitList getDeploymentList(int[] pageInfo, int maxNumResults)
           
 JaxbProcessDefinitionList getProcessDefinitionList(int[] pageInfo, int maxNumResults)
           
 JaxbDeploymentJobResult submitDeployJob(String deploymentId, String strategy, String mergeMode, JaxbDeploymentDescriptor deployDescriptor)
           
 JaxbDeploymentJobResult submitUndeployJob(String deploymentId)
           
 
Methods inherited from class org.kie.remote.services.rest.ResourceBase
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, extractMapFromParams, getBaseUri, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getRequestUri, getStringListParam, getStringListParamAsList, getStringParam, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest, setHttpServletRequest, setUriInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployResourceBase

public DeployResourceBase()
Method Detail

determineStatus

public JaxbDeploymentUnit determineStatus(String deploymentId,
                                          boolean checkDeploymentService)
Determines the status of a deployment

Parameters:
checkDeploymentService - Whether or not to use the DeploymentService when checking the status
Returns:
A JaxbDeploymentUnit representing the status

submitDeployJob

public JaxbDeploymentJobResult submitDeployJob(String deploymentId,
                                               String strategy,
                                               String mergeMode,
                                               JaxbDeploymentDescriptor deployDescriptor)

submitUndeployJob

public JaxbDeploymentJobResult submitUndeployJob(String deploymentId)

getDeploymentList

public JaxbDeploymentUnitList getDeploymentList(int[] pageInfo,
                                                int maxNumResults)

getProcessDefinitionList

public JaxbProcessDefinitionList getProcessDefinitionList(int[] pageInfo,
                                                          int maxNumResults)

fillProcessDefinitionList

public void fillProcessDefinitionList(String deploymentId,
                                      int[] pageInfo,
                                      int maxNumResults,
                                      List<JaxbProcessDefinition> procDefList)

KIE Remote Services :: Services 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.