DeploymentPersistence deploymentPersistence = ProcessObjectFactory.FACTORYINSTANCE.createDeploymentPersistence(connection);
deploymentPersistence.insertDeployment(persistentObject);
}
if (insertStatement.equals("insertResource")) {
ResourcePersistence resourceManager = ProcessObjectFactory.FACTORYINSTANCE.createResourcePersistence(connection);
resourceManager.insertResource(persistentObject);
}
if (insertStatement.equals("insertProcessDefinition")) {
ProcessDefinitionPersistence processDefinitionPersistence = ProcessObjectFactory.FACTORYINSTANCE.createProcessDefinitionPersistence(connection);
processDefinitionPersistence.insertProcessDefinition(persistentObject);
}