Class WorkEffortSearch.SortWorkEffortField
- java.lang.Object
-
- org.apache.ofbiz.workeffort.workeffort.WorkEffortSearch.ResultSortOrder
-
- org.apache.ofbiz.workeffort.workeffort.WorkEffortSearch.SortWorkEffortField
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- WorkEffortSearch
public static class WorkEffortSearch.SortWorkEffortField extends WorkEffortSearch.ResultSortOrder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SortWorkEffortField(java.lang.String fieldName, boolean ascending)
Some good field names to try might include: [workEffortName] [totalQuantityOrdered] for most popular or most purchased [lastModifiedDate] You can also include any other field on the WorkEffort entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOrderName()
boolean
isAscending()
java.lang.String
prettyPrintSortOrder(boolean detailed, java.util.Locale locale)
void
setSortOrder(WorkEffortSearch.WorkEffortSearchContext workEffortSearchContext)
-
-
-
Constructor Detail
-
SortWorkEffortField
public SortWorkEffortField(java.lang.String fieldName, boolean ascending)
Some good field names to try might include: [workEffortName] [totalQuantityOrdered] for most popular or most purchased [lastModifiedDate] You can also include any other field on the WorkEffort entity.
-
-
Method Detail
-
setSortOrder
public void setSortOrder(WorkEffortSearch.WorkEffortSearchContext workEffortSearchContext)
- Specified by:
setSortOrder
in classWorkEffortSearch.ResultSortOrder
-
getOrderName
public java.lang.String getOrderName()
- Specified by:
getOrderName
in classWorkEffortSearch.ResultSortOrder
-
prettyPrintSortOrder
public java.lang.String prettyPrintSortOrder(boolean detailed, java.util.Locale locale)
- Specified by:
prettyPrintSortOrder
in classWorkEffortSearch.ResultSortOrder
-
isAscending
public boolean isAscending()
- Specified by:
isAscending
in classWorkEffortSearch.ResultSortOrder
-
-