Class SearchingFilter
- java.lang.Object
-
- org.gcube.application.geoportalcommon.shared.SearchingFilter
-
- All Implemented Interfaces:
Serializable
public class SearchingFilter extends Object implements Serializable
The Class SearchingFilter.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Nov 30, 2021
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchingFilter.LOGICAL_OPThe Enum LOGICAL_OP.static classSearchingFilter.ORDERThe Enum ORDER.
-
Constructor Summary
Constructors Constructor Description SearchingFilter()Instantiates a new sort filter.SearchingFilter(List<ItemFieldDV> orderByFields, SearchingFilter.ORDER order)Instantiates a new sort filter.SearchingFilter(List<ItemFieldDV> orderByFields, SearchingFilter.ORDER order, List<WhereClause> conditions)Instantiates a new sort filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WhereClause>getConditions()SearchingFilter.ORDERgetOrder()Gets the order.List<ItemFieldDV>getOrderByFields()Gets the order by fields.StringgetProfileID()StringgetProjectID()LinkedHashMap<String,Object>getProjection()voidsetConditions(List<WhereClause> conditions)voidsetGetForIDs(String profileID, String projectID)voidsetOrder(SearchingFilter.ORDER order)Sets the order.voidsetOrderByFields(List<ItemFieldDV> orderByFields)Sets the order by fields.voidsetProjection(LinkedHashMap<String,Object> projection)StringtoString()
-
-
-
Constructor Detail
-
SearchingFilter
public SearchingFilter()
Instantiates a new sort filter.
-
SearchingFilter
public SearchingFilter(List<ItemFieldDV> orderByFields, SearchingFilter.ORDER order)
Instantiates a new sort filter.- Parameters:
orderByFields- the order by fieldsorder- the order
-
SearchingFilter
public SearchingFilter(List<ItemFieldDV> orderByFields, SearchingFilter.ORDER order, List<WhereClause> conditions)
Instantiates a new sort filter.- Parameters:
orderByFields- the order by fieldsorder- the ordersearchInto- the search into
-
-
Method Detail
-
getConditions
public List<WhereClause> getConditions()
-
setConditions
public void setConditions(List<WhereClause> conditions)
-
setProjection
public void setProjection(LinkedHashMap<String,Object> projection)
-
getProjection
public LinkedHashMap<String,Object> getProjection()
-
getOrderByFields
public List<ItemFieldDV> getOrderByFields()
Gets the order by fields.- Returns:
- the order by fields
-
getOrder
public SearchingFilter.ORDER getOrder()
Gets the order.- Returns:
- the order
-
setOrderByFields
public void setOrderByFields(List<ItemFieldDV> orderByFields)
Sets the order by fields.- Parameters:
orderByFields- the new order by fields
-
getProfileID
public String getProfileID()
-
getProjectID
public String getProjectID()
-
setOrder
public void setOrder(SearchingFilter.ORDER order)
Sets the order.- Parameters:
order- the new order
-
-