Examples of DeploymentPersistence


Examples of com.founder.fix.fixflow.core.impl.persistence.definition.DeploymentPersistence

  }

  public void update(String updateStatement, PersistentObject persistentObject) {
   
    if (updateStatement.equals("updateDeployment")) {
      DeploymentPersistence resourceManager = ProcessObjectFactory.FACTORYINSTANCE.createDeploymentPersistence(connection);
      resourceManager.updateDeployment((DeploymentEntity)persistentObject);
      return;
    }
   
   
    if (updateStatement.equals("updateResource")) {
      ResourcePersistence resourceManager = ProcessObjectFactory.FACTORYINSTANCE.createResourcePersistence(connection);
      resourceManager.updateResource(persistentObject);
      return;
    }
   
   
  }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.definition.DeploymentPersistence

  }

  public void delete(String deleteStatement, Object parameter) {
    if (deleteStatement.equals("deleteDeployment")) {

      DeploymentPersistence deploymentPersistence = ProcessObjectFactory.FACTORYINSTANCE.createDeploymentPersistence(connection);
      deploymentPersistence.deleteDeployment(StringUtil.getString(parameter.toString()));
    }

    if (deleteStatement.equals("deleteEventSubscriptionEntity")) {
      EventSubscriptionPersistence eventSubscriptionPersistence = new EventSubscriptionPersistence(connection);
      try {
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.definition.DeploymentPersistence

    }
   
   

    if (statement.equals("selectDeploymentById")) {
      DeploymentPersistence deploymentPersistence = ProcessObjectFactory.FACTORYINSTANCE.createDeploymentPersistence(connection);
     
      String deploymentId = StringUtil.getString(parameter);

      return deploymentPersistence.getDeployment(deploymentId);
    }
   
   

View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.definition.DeploymentPersistence

    if (insertStatement.equals("insertComment")) {
      CommentPersistence commentPersistence = new CommentPersistence(connection);
      commentPersistence.insertComment(persistentObject);
    }
    if (insertStatement.equals("insertDeployment")) {
      DeploymentPersistence deploymentPersistence = ProcessObjectFactory.FACTORYINSTANCE.createDeploymentPersistence(connection);
      deploymentPersistence.insertDeployment(persistentObject);
    }
    if (insertStatement.equals("insertResource")) {
      ResourcePersistence resourceManager = ProcessObjectFactory.FACTORYINSTANCE.createResourcePersistence(connection);
      resourceManager.insertResource(persistentObject);
    }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.persistence.definition.DeploymentPersistence

    ExpandClassConfig expandClassConfig=processEngineConfiguration.getExpandClassConfig();
    List<ExpandClass>  expandClasses=expandClassConfig.getExpandClass();
    for (ExpandClass expandClass : expandClasses) {
      if(expandClass.getClassId().equals("DeploymentPersistence")){
        Object[] objTemp = new Object[] {connection}
        DeploymentPersistence deploymentPersistence =(DeploymentPersistence) ReflectUtil.instantiate(expandClass.getClassImpl(),objTemp);
        return deploymentPersistence;
      }
    }
    throw new FixFlowException("流程引擎扩展配置里的DeploymentPersistence实现类指定错误");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.