Package org.infoglue.cms.entities.management

Examples of org.infoglue.cms.entities.management.PageDeliveryMetaData


        oql.bind(contentId);
       
        QueryResults results = oql.execute(Database.READONLY);
        if (results.hasMore())
        {
          PageDeliveryMetaData pageDeliveryMetaData = (PageDeliveryMetaData)results.next();
          if(pageDeliveryMetaData != null)
          {
            pageDeliveryMetaDataVO = pageDeliveryMetaData.getValueObject();
            CacheController.cacheObjectInAdvancedCache("pageDeliveryMetaDataCache", key, pageDeliveryMetaDataVO);
          }
        }
       
        results.close();
View Full Code Here


    return pageDeliveryMetaDataVO;
  }
 
    public PageDeliveryMetaDataVO create(PageDeliveryMetaDataVO pageDeliveryMetaDataVO) throws ConstraintException, SystemException
    {
      PageDeliveryMetaData ent = new PageDeliveryMetaDataImpl();
        ent.setValueObject(pageDeliveryMetaDataVO);
        ent = (PageDeliveryMetaData) createEntity(ent);
        return ent.getValueObject();
    }    
View Full Code Here

    return result;
    }

    public PageDeliveryMetaDataVO create(Database db, PageDeliveryMetaDataVO pageDeliveryMetaDataVO, Collection<PageDeliveryMetaDataEntityVO> entitiesCollection) throws ConstraintException, SystemException, Exception
    {
      PageDeliveryMetaData ent = new PageDeliveryMetaDataImpl();
        ent.setValueObject(pageDeliveryMetaDataVO);
        ent = (PageDeliveryMetaData) createEntity(ent, db);
       
        for(PageDeliveryMetaDataEntityVO entity : entitiesCollection)
        {
          PageDeliveryMetaDataEntity ent2 = new PageDeliveryMetaDataEntityImpl();
          ent2.setPageDeliveryMetaData(ent);
          ent2.setValueObject(entity);
          ent2 = (PageDeliveryMetaDataEntity) createEntity(ent2, db);
        }
        ent.setEntities(entitiesCollection);
       
        return ent.getValueObject();
    }   
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.management.PageDeliveryMetaData

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.