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

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


   
    QueryResults results = oql.execute(Database.READONLY);
   
    while (results.hasMore())
        {
            SmallContentImpl content = (SmallContentImpl)results.next();
            contentVOList.add(content.getValueObject());
        }      
   
    results.close();
    oql.close();
View Full Code Here


            t.printElapsedTime("Query for " + contentTypeDefinitionName);
     
      while(results.hasMore())
            {
              //MediumContentImpl content = (MediumContentImpl)results.next();
              SmallContentImpl content = (SmallContentImpl)results.next();
              contents.add(content.getValueObject());
            }
      if(logger.isInfoEnabled())
        t.printElapsedTime("Getting all for " + contentTypeDefinitionName + ":" + contents.size());
     
      results.close();
View Full Code Here

      oql = db.getOQLQuery("CALL SQL SELECT c.contentId, c.name, c.publishDateTime, c.expireDateTime, c.isBranch, c.isProtected, c.isDeleted, c.creator, c.contentTypeDefinitionId, c.repositoryId, c.parentContentId FROM cmContent c where c.contentTypeDefinitionId IN(" + sb.toString() + ") AS org.infoglue.cms.entities.content.impl.simple.SmallContentImpl");

      QueryResults results = oql.execute(Database.READONLY);
     while(results.hasMore())
        {
          SmallContentImpl content = (SmallContentImpl)results.next();
          contents.add(content.getValueObject());
        }
   
    results.close();
    oql.close();
     
View Full Code Here

    oql.bind(repositoryId);
     
    QueryResults results = oql.execute(Database.READONLY);     
    if (results.hasMore())
    {
      SmallContentImpl contentImpl = (SmallContentImpl)results.next();
      contentVO = contentImpl.getValueObject();
    }
    else
    {
      if(createIfNonExisting)
      {
View Full Code Here

     
      QueryResults results = oql.execute(Database.READONLY);
   
    if(results.hasMore())
        {
      SmallContentImpl content = (SmallContentImpl)results.next();
          contentVO = content.getValueObject();
        }

    if(contentVO != null)
      CacheController.cacheObjectInAdvancedCache("childContentCache", key, contentVO, new String[]{CacheController.getPooledString(1, parentContentId)}, true);
View Full Code Here

TOP

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

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.