Package com.exedosoft.plat.bo

Examples of com.exedosoft.plat.bo.DOBO


  @SuppressWarnings("unchecked")
  @Override
  public String excute() throws ExedoException {

    DOBO bo = DOBO.getDOBOByName("do_pt_processtemplate");
    BOInstance curPt = bo.getCorrInstance();
    BOInstance echo = new BOInstance();
    if (curPt == null) {
      this.setEchoValue(I18n.instance().get("没有选择工作流模板!"));
      return NO_FORWARD;
    }
View Full Code Here


  @Override
  public String excute() throws ExedoException {
    // TODO Auto-generated method stub

    DOBO boUser = DOBO.getDOBOByName("do_org_user");
    String delegateuid = this.actionForm.getValue("delegateuid");
    BOInstance delegateUser = boUser.getInstance(delegateuid);
    SessionContext.getInstance().setDeleGate(delegateUser);
    BOInstance user = SessionContext.getInstance().getUser();

    List allAuthParter = SessionParterFactory.getSessionParter()
        .getParterAuths(delegateuid);
View Full Code Here

      }else{
        return;
      }
    } else {

      DOBO bo = DOBO.getDOBOByName("do_datasource");
      dss = bo.getDataBase();
    }

    Connection con = dss.getConnection();

    if (con != null) {
View Full Code Here

  public static void main(String[] args) {

//    String aClass = "com.exedosoft.SearchImp";
//    System.out.println(aClass.substring(aClass.lastIndexOf('.') + 1));
    CacheFactory.getCacheData().fromSerialObject();
    DOBO  logDev = DOBO.getDOBOByName("do_log_dev");
    System.out.println("logDev::" + logDev.getDataBase());

  }
View Full Code Here

  private static final long serialVersionUID = 7566742608663452803L;

  @Override
  public String excute() throws ExedoException {

    DOBO ptPI = DOBO.getDOBOByName("do_wfi_processinstance");//do.wfi.processinstance
    System.out.println("ptPI=========" +  ptPI.getCorrInstance());
   
    if (ptPI.getCorrInstance() == null) {
      this.setEchoValue(I18n.instance().get("当前工作流上下文丢失,请重新操作!"));
      return null;
    }
   
    WFEngine  engine = WFEngineFactory.getWFEngine();
   
    ProcessInstance pi = null;
    try {
      pi = engine.loadProcessInstance(ptPI.getCorrInstance().getUid());
    } catch (WFException e2) {
      // TODO Auto-generated catch block
      e2.printStackTrace();
    }
   
View Full Code Here

//    com.exedosoft.wf.wfi.ProcessInstance pp = new com.exedosoft.wf.wfi.ProcessInstance();
//   
//    DAOUtil.BUSI().store(pi);
//     
   
    DOBO aBO = DOBO.getDOBOByName("do_wfi_processinstance");
    System.out.println("DOBO::::" + aBO);

  }
View Full Code Here

 
  public Map<String, Object> putData(DOIModel doimodel) {

    DOPaneModel pm = (DOPaneModel) doimodel;
   
    DOBO bo = pm.getCategory();
    BOInstance corrInstance = bo.getCorrInstance();
    String docName = corrInstance.getValue("docName");///字段名称,存储表示文档路径
   
    Map<String, Object> data = new HashMap<String, Object>();
    data.put("model", pm);
    data.put("contextPath", DOGlobals.PRE_FULL_FOLDER);
View Full Code Here

  public void testGetNodeInstanceByID() {
   
    NodeInstance ni = NodeInstance.getNodeInstanceByID("40288a011410b8f30114117332710053");
    System.out.println(ni.isAccess());
   
    DOBO ptNI = DOBO.getDOBOByName("do_wfi_nodeinstance");
    BOInstance aNI = ptNI.getInstance("40288a011410b8f30114110e664e004a");
    System.out.println(aNI);
    //fail("Not yet implemented");
  }
View Full Code Here

  private static final long serialVersionUID = 6997150272030863948L;

  @Override
  public String excute() throws ExedoException {

    DOBO bo = DOBO.getDOBOByName("do_pt_processtemplate");
    BOInstance curPt = bo.getCorrInstance();
   
    Transaction t = bo.getDataBase().getTransaction();
    t.begin();


    try {
     
View Full Code Here

    }

    if (theValue != null && !"".equals(theValue.trim())) {

      DOBO corrBO = fm.getLinkBO();

      if (corrBO == null && fm.getLinkService() != null) {
        corrBO = fm.getLinkService().getBo();
      }
View Full Code Here

TOP

Related Classes of com.exedosoft.plat.bo.DOBO

Copyright © 2018 www.massapicom. 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.