Package de.xima.fc.dao.project
Class ProjectsSorting
- java.lang.Object
-
- de.xima.fc.dao.project.ProjectsSorting
-
- All Implemented Interfaces:
Serializable
public class ProjectsSorting extends Object implements Serializable
DTO for a project sorting.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectsSorting.Field
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProjectsSorting
byDisplayName(SortDirection direction, Locale locale)
SortDirection
getDirection()
ProjectsSorting.Field
getField()
Locale
getLocale()
String
toString()
-
-
-
Method Detail
-
byDisplayName
public static ProjectsSorting byDisplayName(SortDirection direction, Locale locale)
-
getDirection
public SortDirection getDirection()
- Returns:
- The direction to sort by.
-
getField
public ProjectsSorting.Field getField()
- Returns:
- The field to sort by.
-
getLocale
public Locale getLocale()
- Returns:
- Some sorting such as by display name may be locale-dependent.
-
-