Examples of loadObjectResults()


Examples of com.dotmarketing.common.db.DotConnect.loadObjectResults()

  public Integer countQueueElementsGroupByBundleId() throws DotPublisherException {
    try{
      DotConnect dc = new DotConnect();
      dc.setSQL(COUNTENTRIESGROUPED);
      return Integer.parseInt(dc.loadObjectResults().get(0).get("count").toString());
    }catch(Exception e){
      Logger.error(PublisherUtil.class,e.getMessage(),e);
      throw new DotPublisherException("Unable to get list of elements with error:"+e.getMessage(), e);
    }
  }
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.