org.jbpm.pvm.internal.repository
Class RepositorySessionImpl
java.lang.Object
org.jbpm.pvm.internal.repository.RepositorySessionImpl
- All Implemented Interfaces:
- RepositorySession
public class RepositorySessionImpl
- extends java.lang.Object
- implements RepositorySession
- Author:
- Tom Baeyens
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected org.hibernate.Session session
repositoryCache
protected RepositoryCache repositoryCache
deployerManager
protected DeployerManager deployerManager
RepositorySessionImpl
public RepositorySessionImpl()
deploy
public java.lang.String deploy(NewDeployment deployment)
- Specified by:
deploy in interface RepositorySession
updateDeploymentResource
public void updateDeploymentResource(java.lang.String deploymentId,
java.lang.String resourceName,
byte[] bytes)
- Specified by:
updateDeploymentResource in interface RepositorySession
cascadeDeploymentSuspend
public void cascadeDeploymentSuspend(DeploymentImpl deployment)
cascadeDeploymentResume
public void cascadeDeploymentResume(DeploymentImpl deployment)
getDeployment
public DeploymentImpl getDeployment(java.lang.String deploymentId)
- Specified by:
getDeployment in interface RepositorySession
getObject
public java.lang.Object getObject(java.lang.String deploymentId,
java.lang.String objectName)
- Specified by:
getObject in interface RepositorySession
getBytes
public byte[] getBytes(java.lang.String deploymentId,
java.lang.String resourceName)
- Specified by:
getBytes in interface RepositorySession
createProcessDefinitionQuery
public ProcessDefinitionQueryImpl createProcessDefinitionQuery()
- Description copied from interface:
RepositorySession
- create a process definition query
- Specified by:
createProcessDefinitionQuery in interface RepositorySession
findProcessDefinitionByKey
public ProcessDefinitionImpl findProcessDefinitionByKey(java.lang.String processDefinitionKey)
- Specified by:
findProcessDefinitionByKey in interface RepositorySession
findProcessDefinitionById
public ProcessDefinitionImpl findProcessDefinitionById(java.lang.String processDefinitionId)
- Specified by:
findProcessDefinitionById in interface RepositorySession
findLatestProcessDefinitionByName
public ProcessDefinitionImpl findLatestProcessDefinitionByName(java.lang.String processDefinitionName)
- Specified by:
findLatestProcessDefinitionByName in interface RepositorySession
findDeploymentPropertyByProcessDefinitionId
public DeploymentProperty findDeploymentPropertyByProcessDefinitionId(java.lang.String processDefinitionId)
Copyright © 2010 JBoss Community. All Rights Reserved.