Package org.exoplatform.portal.config

Examples of org.exoplatform.portal.config.DataStorage.find()


   public void loadPortalConfigs() throws Exception
   {
      DataStorage service = getApplicationComponent(DataStorage.class);

      Query<PortalConfig> query = new Query<PortalConfig>(null, null, null, null, PortalConfig.class);
      LazyPageList<PortalConfig> temp = service.find(query, new Comparator<PortalConfig>()
      {
         public int compare(PortalConfig pconfig1, PortalConfig pconfig2)
         {
            return pconfig1.getName().toLowerCase().compareTo(pconfig2.getName().toLowerCase());
         }
View Full Code Here


    @SuppressWarnings("unchecked")
    public void loadPortalConfigs() throws Exception {
        DataStorage service = getApplicationComponent(DataStorage.class);

        Query<PortalConfig> query = new Query<PortalConfig>(null, null, null, null, PortalConfig.class);
        LazyPageList<PortalConfig> temp = service.find(query, new Comparator<PortalConfig>() {
            public int compare(PortalConfig pconfig1, PortalConfig pconfig2) {
                return pconfig1.getName().toLowerCase().compareTo(pconfig2.getName().toLowerCase());
            }
        });
View Full Code Here

      uiGrid.getUIPageIterator().setId("ChangePortalPageInterator");
      addChild(uiGrid.getUIPageIterator());
      uiGrid.getUIPageIterator().setRendered(false);
      DataStorage dataService = getApplicationComponent(DataStorage.class);
      Query<PortalData> query = new Query<PortalData>(null, null, null, null, PortalData.class);
      LazyPageList<PortalData> pageList = dataService.find(query);
      pageList.setPageSize(10);
      pageList = extractPermissedPortal(pageList);
      uiGrid.getUIPageIterator().setPageList(pageList);
   }
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.