Package com.google.code.lightssh.project.workflow.entity

Examples of com.google.code.lightssh.project.workflow.entity.TaskLog


   */
  public List<TaskLog> list( String procInstId ,int maxSize ){
    ListPage<TaskLog> page = new ListPage<TaskLog>(maxSize);
    page.addDescending("createdTime");
   
    TaskLog t =new TaskLog();
    t.setActProcInstId(procInstId);
   
    page = this.list(page,t);
   
    return page.getList();
  }
View Full Code Here


      throw new ApplicationException("流程操作类型不能为空!");
   
    if( StringUtils.isEmpty(operator) )
      throw new ApplicationException("操作员不能为空!");
   
    TaskLog log = new TaskLog();
    log.setActProcInstId(procInstId);
    log.setActTaskInstId(taskInstId);
    log.setType(type);
    log.setOperator(operator);
    log.setDescription(message);
    if( time == null )
      time = Calendar.getInstance();
   
    log.setCreatedTime(time);
   
    this.dao.create(log);
  }
View Full Code Here

TOP

Related Classes of com.google.code.lightssh.project.workflow.entity.TaskLog

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.