Package com.dotmarketing.comparators

Examples of com.dotmarketing.comparators.ContentComparator


          break;
        }
      }
       
      if (fieldContentletName != null)
        Collections.sort(records, new ContentComparator(fieldContentletName));
    }
View Full Code Here


    Logger.debug(ContentletServices.class, "I'm ordering by " + sortBy);

    if (sortBy.equals("tree_order")) {
      Collections.sort(contentletList, new WebAssetSortOrderComparator());
    } else {
      Collections.sort(contentletList, new ContentComparator("asc"));
    }

    return contentletList;

  }
View Full Code Here

TOP

Related Classes of com.dotmarketing.comparators.ContentComparator

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.