Class ClientSorter
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.BasicSorter
-
- org.oa4mp.server.admin.myproxy.oauth2.base.ClientSorter
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.util.cli.Sortable
public class ClientSorter extends edu.uiuc.ncsa.security.util.cli.BasicSorter
Created by Jeff Gaynor
on 5/22/14 at 10:22 AM
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATE_SORT_SWITCH
static String
ID_SORT_SWITCH
protected boolean
sortOnDates
protected boolean
sortOnIds
-
Constructor Summary
Constructors Constructor Description ClientSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setState(String args)
ArrayList<edu.uiuc.ncsa.security.core.Identifiable>
sort(List<edu.uiuc.ncsa.security.core.Identifiable> arg)
protected ArrayList<edu.uiuc.ncsa.security.core.Identifiable>
sortByDate(List<edu.uiuc.ncsa.security.core.Identifiable> arg)
protected ArrayList<edu.uiuc.ncsa.security.core.Identifiable>
sortByID(List<edu.uiuc.ncsa.security.core.Identifiable> arg)
-
-
-
Field Detail
-
ID_SORT_SWITCH
public static final String ID_SORT_SWITCH
- See Also:
- Constant Field Values
-
DATE_SORT_SWITCH
public static final String DATE_SORT_SWITCH
- See Also:
- Constant Field Values
-
sortOnIds
protected boolean sortOnIds
-
sortOnDates
protected boolean sortOnDates
-
-
Method Detail
-
sortByDate
protected ArrayList<edu.uiuc.ncsa.security.core.Identifiable> sortByDate(List<edu.uiuc.ncsa.security.core.Identifiable> arg)
-
sortByID
protected ArrayList<edu.uiuc.ncsa.security.core.Identifiable> sortByID(List<edu.uiuc.ncsa.security.core.Identifiable> arg)
-
sort
public ArrayList<edu.uiuc.ncsa.security.core.Identifiable> sort(List<edu.uiuc.ncsa.security.core.Identifiable> arg)
- Specified by:
sort
in interfaceedu.uiuc.ncsa.security.util.cli.Sortable
- Overrides:
sort
in classedu.uiuc.ncsa.security.util.cli.BasicSorter
-
setState
public void setState(String args)
- Specified by:
setState
in interfaceedu.uiuc.ncsa.security.util.cli.Sortable
- Overrides:
setState
in classedu.uiuc.ncsa.security.util.cli.BasicSorter
-
-