Class ResponseFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.ResponseFilter
-
public class ResponseFilter extends Object
class ResponseFilter
-
-
Constructor Summary
Constructors Constructor Description ResponseFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsCodeEntry()Check if the filter contains code entrybooleancontainsIdEntry()booleancontainsIdField()booleancontainsIdResource()booleancontainsListIdEntry()booleancontainsListIdResource()booleancontainsOrderBy()Check if the filter contains order bybooleancontainsResponseValue()Check if the filter contains response valueStringgetCodeEntry()intgetIdEntry()intgetIdField()intgetIdResource()Get the id of a resource in the filterList<Integer>getListId()List<Integer>getListIdEntry()StringgetOrderBy()Get order byStringgetResponseValue()booleanisGroupbyDay()booleanisGroupbyMonth()true if the response must be group by monthbooleanisGroupbyWeek()true if the response must be group by weekbooleanisOrderByAsc()Check if the order by is ascvoidsetCodeEntry(String strCodeEntry)voidsetGroupbyDay(boolean groupbyDay)set true if the response must be group by dayvoidsetGroupbyMonth(boolean groupbyMonth)set true if the response must be group by monthvoidsetGroupbyWeek(boolean groupbyWeek)set true if the response must be group by weekvoidsetIdEntry(int idEntry)set the id of entry depend in the filtervoidsetIdField(int idField)set the id of field depend in the filtervoidsetIdResource(int nIdResource)Set the id of a resource in the filtervoidsetListId(List<Integer> listId)voidsetListIdEntry(List<Integer> listIdEntry)voidsetOrderBy(String strOrderBy)Set order byvoidsetOrderByAsc(boolean bIsOrderByAsc)Set order by ascvoidsetResponseValue(String strResponseValue)
-
-
-
Method Detail
-
getIdResource
public int getIdResource()
Get the id of a resource in the filter- Returns:
- The id of the resource to insert in the filter
-
setIdResource
public void setIdResource(int nIdResource)
Set the id of a resource in the filter- Parameters:
nIdResource- the id of resource to insert in the filter
-
containsIdResource
public boolean containsIdResource()
- Returns:
- true if the filter contain an id of a resource
-
getIdField
public int getIdField()
- Returns:
- the id of field insert in the filter
-
setIdField
public void setIdField(int idField)
set the id of field depend in the filter- Parameters:
idField- the id of field depend to insert in the filter
-
containsIdField
public boolean containsIdField()
- Returns:
- true if the filter contain an id of field depend
-
getIdEntry
public int getIdEntry()
- Returns:
- the id of entry insert in the filter
-
setIdEntry
public void setIdEntry(int idEntry)
set the id of entry depend in the filter- Parameters:
idEntry- the id of entry depend to insert in the filter
-
containsIdEntry
public boolean containsIdEntry()
- Returns:
- true if the filter contain an id of entry depend
-
isGroupbyDay
public boolean isGroupbyDay()
- Returns:
- true if the response must be group by day
-
setGroupbyDay
public void setGroupbyDay(boolean groupbyDay)
set true if the response must be group by day- Parameters:
groupbyDay- true if the response must be group by day
-
isGroupbyMonth
public boolean isGroupbyMonth()
true if the response must be group by month- Returns:
- true if the response must be group by month
-
setGroupbyMonth
public void setGroupbyMonth(boolean groupbyMonth)
set true if the response must be group by month- Parameters:
groupbyMonth- true if the response must be group by month
-
isGroupbyWeek
public boolean isGroupbyWeek()
true if the response must be group by week- Returns:
- true if the response must be group by week
-
setGroupbyWeek
public void setGroupbyWeek(boolean groupbyWeek)
set true if the response must be group by week- Parameters:
groupbyWeek- true if the response must be group by week
-
setOrderBy
public void setOrderBy(String strOrderBy)
Set order by- Parameters:
strOrderBy- The order by
-
getOrderBy
public String getOrderBy()
Get order by- Returns:
- the order by
-
containsOrderBy
public boolean containsOrderBy()
Check if the filter contains order by- Returns:
- true if it contains, false otherwise
-
setOrderByAsc
public void setOrderByAsc(boolean bIsOrderByAsc)
Set order by asc- Parameters:
bIsOrderByAsc- true if the order by is asc
-
isOrderByAsc
public boolean isOrderByAsc()
Check if the order by is asc- Returns:
- true if the order by is asc;
-
containsListIdResource
public boolean containsListIdResource()
- Returns:
- true if the filter contain an id of entry depend
-
containsCodeEntry
public boolean containsCodeEntry()
Check if the filter contains code entry- Returns:
- true if it contains, false otherwise
-
getCodeEntry
public String getCodeEntry()
- Returns:
- the _strCodeEntry
-
setCodeEntry
public void setCodeEntry(String strCodeEntry)
- Parameters:
strCodeEntry- the _strCodeEntry to set
-
getResponseValue
public String getResponseValue()
- Returns:
- the _strResponseValue
-
setResponseValue
public void setResponseValue(String strResponseValue)
- Parameters:
strResponseValue- the _strResponseValue to set
-
containsResponseValue
public boolean containsResponseValue()
Check if the filter contains response value- Returns:
- true if it contains, false otherwise
-
setListIdEntry
public void setListIdEntry(List<Integer> listIdEntry)
- Parameters:
listIdEntry- the _listIdEntry to set
-
containsListIdEntry
public boolean containsListIdEntry()
- Returns:
- true if the filter contain a list of entry id
-
-