Package org.infoglue.cms.util.sorters

Examples of org.infoglue.cms.util.sorters.ReflectionComparator


        ContentVersion contentVersion = (ContentVersion)contentVersionsIteratorDebug.next();
        logger.info("debug contentVersion:" + contentVersion.getId());
      }
    }
   
    Collections.sort((List)contentVersions, new ReflectionComparator("id"));

    if(logger.isInfoEnabled())
    {
      logger.info("new contentVersions:" + contentVersions.size());
      Iterator contentVersionsIteratorDebug = contentVersions.iterator();
View Full Code Here


   
    results.close();
    oql.close();
       
    if(CmsPropertyHandler.getAllowLocalizedSortAndVisibilityProperties())
      Collections.sort(childrenVOList, new ReflectionComparator("sortOrder"));

    CacheController.cacheObjectInAdvancedCache("childSiteNodesCache", key, childrenVOList, new String[]{CacheController.getPooledString(3, parentSiteNodeId)}, true);
       
    return childrenVOList;
  }
View Full Code Here

    public List getSortedSiteNodeTypeDefinitionVOList() throws SystemException, Bug
    {
      List siteNodeTypeDefinitionVOList = getSiteNodeTypeDefinitionVOList();
     
      Collections.sort(siteNodeTypeDefinitionVOList, new ReflectionComparator("name"));

        return siteNodeTypeDefinitionVOList;
    }
View Full Code Here

    public String doInput() throws Exception
    {
      this.inactiveInterceptionPointVOList = InterceptionPointController.getController().getInactiveInterceptionPointVOList();
     
    Collections.sort(this.inactiveInterceptionPointVOList, new ReflectionComparator("name"));

      return "input";
    }
View Full Code Here

      if(protectContentTypes != null && protectContentTypes.equalsIgnoreCase("true"))
          contentTypeVOList = ContentTypeDefinitionController.getController().getAuthorizedContentTypeDefinitionVOList(this.getInfoGluePrincipal());
    else
        contentTypeVOList = ContentTypeDefinitionController.getController().getContentTypeDefinitionVOList();
     
      Collections.sort(contentTypeVOList, new ReflectionComparator("name"));
     
      return contentTypeVOList;
  }     
View Full Code Here

    {
      List groups = new ArrayList();
     
    groups = getAuthorizationModule().getGroups();
   
    Collections.sort(groups, new ReflectionComparator("displayName"));

      return groups;
    }
View Full Code Here

  public List getInfoGluePrincipals(String groupName) throws ConstraintException, SystemException, Exception
  {
    List infoGluePrincipals = new ArrayList();
     
    infoGluePrincipals = getAuthorizationModule().getGroupUsers(groupName);
    Collections.sort(infoGluePrincipals, new ReflectionComparator("name"));

    return infoGluePrincipals;
  }
View Full Code Here

 
        results.close();
        oql.close();
           
        if(CmsPropertyHandler.getAllowLocalizedSortAndVisibilityProperties())
          Collections.sort(siteNodeVOList, new ReflectionComparator("sortOrder"));
       
        CacheController.cacheObjectInAdvancedCache("childSiteNodesCache", key, siteNodeVOList, new String[] {CacheController.getPooledString(3, siteNodeId)}, true);
      }
      }
     
View Full Code Here

      return cachedUsers;

      List users = new ArrayList();
    users = getAuthorizationModule().getUsers();
   
    Collections.sort(users, new ReflectionComparator("displayName"));
   
    CacheController.cacheObjectInAdvancedCache("principalCache", "allPrincipals", users);
   
      return users;
    }
View Full Code Here

        ContentVersion contentVersion = (ContentVersion)contentVersionsIteratorDebug.next();
        logger.info("debug contentVersion:" + contentVersion.getId());
      }
    }
   
    Collections.sort((List)contentVersions, new ReflectionComparator("id"));

    if(logger.isInfoEnabled())
    {
      logger.info("new contentVersions:" + contentVersions.size());
      Iterator contentVersionsIteratorDebug = contentVersions.iterator();
View Full Code Here

TOP

Related Classes of org.infoglue.cms.util.sorters.ReflectionComparator

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.