Package com.catify.processengine.serviceproviders.jpa.beans

Examples of com.catify.processengine.serviceproviders.jpa.beans.TimerEntity


    this.timerRepository = (TimerRepository) AppContextFactory.load(TimerRepository.class);
  }
 
  @Override
  public void saveTimer(TimerBean timer) {
    timerRepository.save(new TimerEntity(timer));
  }
View Full Code Here


    return createTimerBeans(timerEntities);
  }

  @Override
  public void deleteTimer(String actorRef, String processInstanceId) {
    TimerEntity timerEntity = timerRepository.findByActorRefAndProcessInstanceId(actorRef, processInstanceId);
    // only try to delete timer entity existing timers
    // this method needs to safely call the delete method for non existing nodes,
    // because a 'cycle timer start event' will try to delete a trigger that has not been saved to db
    if (timerEntity != null) {
      timerRepository.delete(timerEntity);
View Full Code Here

TOP

Related Classes of com.catify.processengine.serviceproviders.jpa.beans.TimerEntity

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.