Package org.infoglue.cms.entities.content.impl.simple

Examples of org.infoglue.cms.entities.content.impl.simple.IndexFriendlyContentVersionImpl


    oql.bind(limit);
   
    QueryResults results = oql.execute(Database.READONLY);
    while (results.hasMore())
    {
      IndexFriendlyContentVersionImpl contentVersion = (IndexFriendlyContentVersionImpl)results.next();
      contentVersionVOList.add(contentVersion.getValueObject());
    }

    results.close();
    oql.close();
       
View Full Code Here


    QueryResults results = oql.execute(Database.READONLY);
   
    logger.info("Getting all IndexFriendlyContentVersionImpl took:" +  t.getElapsedTime());
    while (results.hasMore())
    {
      IndexFriendlyContentVersionImpl contentVersion = (IndexFriendlyContentVersionImpl)results.next();
      contentVersionVOList.add(contentVersion.getValueObject());
      //System.out.print(".");
      //String versionKey = "" + contentVersion.getValueObject().getContentId() + "_" + contentVersion.getLanguageId() + "_" + stateId + "_contentVersionVO";
          //CacheController.cacheObjectInAdvancedCache("contentVersionCache", versionKey, contentVersion.getValueObject(), new String[]{CacheController.getPooledString(2, contentVersion.getValueObject().getId()), CacheController.getPooledString(1, contentVersion.getValueObject().getContentId())}, true);
      //CacheController.cacheObjectInAdvancedCache("contentVersionCache", "" + contentVersion.getId(), contentVersion.getValueObject(), new String[]{CacheController.getPooledString(2, contentVersion.getValueObject().getId()), CacheController.getPooledString(1,  contentVersion.getValueObject().getContentId())}, true);
    }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.content.impl.simple.IndexFriendlyContentVersionImpl

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.