org.jbpm.pvm.internal.repository
Class RepositoryServiceImpl

java.lang.Object
  extended by org.jbpm.pvm.internal.svc.AbstractServiceImpl
      extended by org.jbpm.pvm.internal.repository.RepositoryServiceImpl
All Implemented Interfaces:
RepositoryService

public class RepositoryServiceImpl
extends AbstractServiceImpl
implements RepositoryService

Author:
Tom Baeyens

Field Summary
 
Fields inherited from class org.jbpm.pvm.internal.svc.AbstractServiceImpl
commandService
 
Constructor Summary
RepositoryServiceImpl()
           
 
Method Summary
 NewDeployment createDeployment()
           
 DeploymentQuery createDeploymentQuery()
           
 ProcessDefinitionQuery createProcessDefinitionQuery()
           
 void deleteDeployment(java.lang.String deploymentId)
           
 void deleteDeploymentCascade(java.lang.String deploymentId)
           
 ActivityCoordinates getActivityCoordinates(java.lang.String processDefinitionId, java.lang.String activityName)
           
 java.io.InputStream getResourceAsStream(java.lang.String deploymentId, java.lang.String resource)
           
 java.util.Set<java.lang.String> getResourceNames(java.lang.String deploymentId)
           
 java.util.List<java.lang.String> getStartActivityNames(java.lang.String processDefinitionId)
           
 java.lang.String getStartFormResourceName(java.lang.String processDefinitionId, java.lang.String activityName)
           
 void resumeDeployment(java.lang.String deploymentId)
           
 void suspendDeployment(java.lang.String deploymentId)
           
 void updateDeploymentResource(java.lang.String deploymentId, java.lang.String resourceName, java.io.InputStream inputStream)
           
 
Methods inherited from class org.jbpm.pvm.internal.svc.AbstractServiceImpl
getCommandService, setCommandService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServiceImpl

public RepositoryServiceImpl()
Method Detail

createDeployment

public NewDeployment createDeployment()
Specified by:
createDeployment in interface RepositoryService

suspendDeployment

public void suspendDeployment(java.lang.String deploymentId)
Specified by:
suspendDeployment in interface RepositoryService

resumeDeployment

public void resumeDeployment(java.lang.String deploymentId)
Specified by:
resumeDeployment in interface RepositoryService

deleteDeployment

public void deleteDeployment(java.lang.String deploymentId)
Specified by:
deleteDeployment in interface RepositoryService

deleteDeploymentCascade

public void deleteDeploymentCascade(java.lang.String deploymentId)
Specified by:
deleteDeploymentCascade in interface RepositoryService

getResourceNames

public java.util.Set<java.lang.String> getResourceNames(java.lang.String deploymentId)
Specified by:
getResourceNames in interface RepositoryService

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String deploymentId,
                                               java.lang.String resource)
Specified by:
getResourceAsStream in interface RepositoryService

createProcessDefinitionQuery

public ProcessDefinitionQuery createProcessDefinitionQuery()
Specified by:
createProcessDefinitionQuery in interface RepositoryService

createDeploymentQuery

public DeploymentQuery createDeploymentQuery()
Specified by:
createDeploymentQuery in interface RepositoryService

getActivityCoordinates

public ActivityCoordinates getActivityCoordinates(java.lang.String processDefinitionId,
                                                  java.lang.String activityName)
Specified by:
getActivityCoordinates in interface RepositoryService

getStartActivityNames

public java.util.List<java.lang.String> getStartActivityNames(java.lang.String processDefinitionId)
Specified by:
getStartActivityNames in interface RepositoryService

getStartFormResourceName

public java.lang.String getStartFormResourceName(java.lang.String processDefinitionId,
                                                 java.lang.String activityName)
Specified by:
getStartFormResourceName in interface RepositoryService

updateDeploymentResource

public void updateDeploymentResource(java.lang.String deploymentId,
                                     java.lang.String resourceName,
                                     java.io.InputStream inputStream)


Copyright © 2010 JBoss Community. All Rights Reserved.