com.jalios.jcms.accesscontrol
Class AccessControlList.NameComparator<T extends AccessControlList>

java.lang.Object
  extended by com.jalios.jstore.BasicStorable.CdateComparator<T>
      extended by com.jalios.jcms.accesscontrol.AccessControlList.NameComparator<T>
All Implemented Interfaces:
Comparator<T>
Enclosing class:
AccessControlList

public static class AccessControlList.NameComparator<T extends AccessControlList>
extends BasicStorable.CdateComparator<T>

Comparator sorting ACL alphabetically using their name.

Since:
jcms-7.0.0

Constructor Summary
AccessControlList.NameComparator()
           
 
Method Summary
 int compare(T o1, T o2)
           
 
Methods inherited from class com.jalios.jstore.BasicStorable.CdateComparator
compareDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

AccessControlList.NameComparator

public AccessControlList.NameComparator()
Method Detail

compare

public int compare(T o1,
                   T o2)
Specified by:
compare in interface Comparator<T extends AccessControlList>
Overrides:
compare in class BasicStorable.CdateComparator<T extends AccessControlList>


Copyright © 2001-2010 Jalios SA. All Rights Reserved.