fr.paris.lutece.plugins.extend.business.extender.history
Class ResourceExtenderHistoryFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistoryFilter
All Implemented Interfaces:
java.io.Serializable

public class ResourceExtenderHistoryFilter
extends java.lang.Object
implements java.io.Serializable

ResourceExtenderHistoryFilter.

See Also:
Serialized Form

Field Summary
static int ALL
          The Constant ALL.
 
Constructor Summary
ResourceExtenderHistoryFilter()
          Instantiates a new resource extender history filter.
 
Method Summary
 java.lang.String buildSQLQuery(java.lang.String strSQL)
          Builds the sql query.
 boolean containsAttributeName()
          Contains attribute name.
 boolean containsDateCreation()
          Contains date creation.
 boolean containsDateCreationBegin()
          Contains date creation.
 boolean containsDateCreationEnd()
          Contains date creation.
 boolean containsExtendableResourceType()
          Contains extendable resource type.
 boolean containsExtenderType()
          Contains extender type.
 boolean containsGroupByAttributeName()
          Contains group by attribute name.
 boolean containsIdExtendableResource()
          Contains id extendable resource.
 boolean containsIdHistory()
          Contains id history.
 boolean containsIpAddress()
          Contains ip address.
 boolean containsItemsPerPage()
          Contains items per page.
 boolean containsPageIndex()
          Contains page index.
 boolean containsUserGuid()
          Contains user guid.
 java.lang.String getDateCreation()
          Gets the date creation.
 java.lang.String getDateCreationBegin()
          Gets the date creation.
 java.lang.String getDateCreationEnd()
          Gets the date creation.
 java.lang.String getExtendableResourceType()
          Gets the extendable resource type.
 java.lang.String getExtenderType()
          Gets the extender type.
 java.lang.String getGroupByAttributeName()
          Gets the group by attribute name.
 java.lang.String getIdExtendableResource()
          Gets the id extendable resource.
 long getIdHistory()
          Gets the id history.
 java.lang.String getIpAddress()
          Gets the ip address.
 int getItemsPerPage()
           
 OperatorEnum getOperatorDateCreation()
           
 int getPageIndex()
           
 java.lang.String getSortedAttributeName()
          Gets the sorted attribute name.
 java.lang.String getSortedAttributeNameForSQLQuery()
          Gets the sorted attribute name for sql query.
 java.lang.String getUserGuid()
          Gets the user guid.
 boolean isAscSort()
          Checks if is asc sort.
 boolean isWideSearch()
          Check if the filter is applied to a wide search or not.
 void setAscSort(boolean bAscSort)
          Sets the asc sort.
 void setAscSort(javax.servlet.http.HttpServletRequest request)
          Sets the asc sort.
 void setDateCreation(java.lang.String strDateCreation)
          Sets the date creation.
 void setDateCreationBegin(java.lang.String strDateCreationBegin)
          Sets the date creation.
 void setDateCreationEnd(java.lang.String strDateCreationEnd)
          Sets the date creation.
 void setExtendableResourceType(java.lang.String strExtendableResourceType)
          Sets the extendable resource type.
 void setExtenderType(java.lang.String strExtenderType)
          Sets the extender type.
 void setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
          Sets the filter values.
 void setGroupByAttributeName(java.lang.String strGroupByAttributeName)
          Sets the group by attribute name.
 void setIdExtendableResource(java.lang.String strIdExtendableResource)
          Sets the id extendable resource.
 void setIdHistory(long lIdHistory)
          Sets the id history.
 void setIpAddress(java.lang.String strIpAddress)
          Sets the ip address.
 void setIsWideSearch(boolean bIsWideSearch)
          Set true if the filter is applied to a wide search.
 void setItemsPerPage(int nItemsPerPage)
           
 void setOperatorDateCreation(OperatorEnum operatorDateCreation)
           
 void setPageIndex(int nPageIndex)
           
 void setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
          Sets the sorted attribute name.
 void setSortedAttributeName(java.lang.String strSortedAttributeName)
          Sets the sorted attribute name.
 void setUserGuid(java.lang.String strUserGuid)
          Sets the user guid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final int ALL
The Constant ALL.

See Also:
Constant Field Values
Constructor Detail

ResourceExtenderHistoryFilter

public ResourceExtenderHistoryFilter()
Instantiates a new resource extender history filter.

Method Detail

getIdHistory

public long getIdHistory()
Gets the id history.

Returns:
the lIdHistory

setIdHistory

public void setIdHistory(long lIdHistory)
Sets the id history.

Parameters:
lIdHistory - the lIdHistory to set

containsIdHistory

public boolean containsIdHistory()
Contains id history.

Returns:
true, if successful

getExtenderType

public java.lang.String getExtenderType()
Gets the extender type.

Returns:
the strExtenderType

setExtenderType

public void setExtenderType(java.lang.String strExtenderType)
Sets the extender type.

Parameters:
strExtenderType - the strExtenderType to set

containsExtenderType

public boolean containsExtenderType()
Contains extender type.

Returns:
true, if successful

getIdExtendableResource

public java.lang.String getIdExtendableResource()
Gets the id extendable resource.

Returns:
the strIdExtendableResource

setIdExtendableResource

public void setIdExtendableResource(java.lang.String strIdExtendableResource)
Sets the id extendable resource.

Parameters:
strIdExtendableResource - the strIdExtendableResource to set

containsIdExtendableResource

public boolean containsIdExtendableResource()
Contains id extendable resource.

Returns:
true, if successful

getExtendableResourceType

public java.lang.String getExtendableResourceType()
Gets the extendable resource type.

Returns:
the extendableResourceType

setExtendableResourceType

public void setExtendableResourceType(java.lang.String strExtendableResourceType)
Sets the extendable resource type.

Parameters:
strExtendableResourceType - the extendableResourceType to set

containsExtendableResourceType

public boolean containsExtendableResourceType()
Contains extendable resource type.

Returns:
true, if successful

getUserGuid

public java.lang.String getUserGuid()
Gets the user guid.

Returns:
the strUserGuid

setUserGuid

public void setUserGuid(java.lang.String strUserGuid)
Sets the user guid.

Parameters:
strUserGuid - the strUserGuid to set

containsUserGuid

public boolean containsUserGuid()
Contains user guid.

Returns:
true, if successful

getIpAddress

public java.lang.String getIpAddress()
Gets the ip address.

Returns:
the strIpAddress

setIpAddress

public void setIpAddress(java.lang.String strIpAddress)
Sets the ip address.

Parameters:
strIpAddress - the strIpAddress to set

containsIpAddress

public boolean containsIpAddress()
Contains ip address.

Returns:
true, if successful

getDateCreation

public java.lang.String getDateCreation()
Gets the date creation.

Returns:
the date creation

setDateCreation

public void setDateCreation(java.lang.String strDateCreation)
Sets the date creation.

Parameters:
strDateCreation - the new date creation

containsDateCreation

public boolean containsDateCreation()
Contains date creation.

Returns:
true, if successful

getDateCreationBegin

public java.lang.String getDateCreationBegin()
Gets the date creation.

Returns:
the date creation

setDateCreationBegin

public void setDateCreationBegin(java.lang.String strDateCreationBegin)
Sets the date creation.

Parameters:
strDateCreationBegin - the new date creation

containsDateCreationBegin

public boolean containsDateCreationBegin()
Contains date creation.

Returns:
true, if successful

getDateCreationEnd

public java.lang.String getDateCreationEnd()
Gets the date creation.

Returns:
the date creation

setDateCreationEnd

public void setDateCreationEnd(java.lang.String strDateCreationEnd)
Sets the date creation.

Parameters:
strDateCreationEnd - the new date creation

containsDateCreationEnd

public boolean containsDateCreationEnd()
Contains date creation.

Returns:
true, if successful

setIsWideSearch

public void setIsWideSearch(boolean bIsWideSearch)
Set true if the filter is applied to a wide search.
In other words, the SQL query will use

Parameters:
bIsWideSearch - true if it a wide search, false otherwise

isWideSearch

public boolean isWideSearch()
Check if the filter is applied to a wide search or not.
In other words, the SQL query will use

Returns:
true if it is applied to a wide search

getSortedAttributeName

public java.lang.String getSortedAttributeName()
Gets the sorted attribute name.

Returns:
the sorted attribute name

getSortedAttributeNameForSQLQuery

public java.lang.String getSortedAttributeNameForSQLQuery()
Gets the sorted attribute name for sql query.

Returns:
the sorted attribute name for sql query

setSortedAttributeName

public void setSortedAttributeName(java.lang.String strSortedAttributeName)
Sets the sorted attribute name.

Parameters:
strSortedAttributeName - the new sorted attribute name

setSortedAttributeName

public void setSortedAttributeName(javax.servlet.http.HttpServletRequest request)
Sets the sorted attribute name.

Parameters:
request - the request

containsAttributeName

public boolean containsAttributeName()
Contains attribute name.

Returns:
true, if successful

isAscSort

public boolean isAscSort()
Checks if is asc sort.

Returns:
true, if is asc sort

setAscSort

public void setAscSort(boolean bAscSort)
Sets the asc sort.

Parameters:
bAscSort - the new asc sort

setAscSort

public void setAscSort(javax.servlet.http.HttpServletRequest request)
Sets the asc sort.

Parameters:
request - the request

getOperatorDateCreation

public OperatorEnum getOperatorDateCreation()
Returns:
the operatorDateCreation

setOperatorDateCreation

public void setOperatorDateCreation(OperatorEnum operatorDateCreation)
Parameters:
operatorDateCreation - the operatorDateCreation to set

getGroupByAttributeName

public java.lang.String getGroupByAttributeName()
Gets the group by attribute name.

Returns:
the group by attribute name

setGroupByAttributeName

public void setGroupByAttributeName(java.lang.String strGroupByAttributeName)
Sets the group by attribute name.

Parameters:
strGroupByAttributeName - the new group by attribute name

containsGroupByAttributeName

public boolean containsGroupByAttributeName()
Contains group by attribute name.

Returns:
true, if successful

getItemsPerPage

public int getItemsPerPage()
Returns:
the nItemsPerPage

setItemsPerPage

public void setItemsPerPage(int nItemsPerPage)
Parameters:
nItemsPerPage - the nItemsPerPage to set

containsItemsPerPage

public boolean containsItemsPerPage()
Contains items per page.

Returns:
true, if successful

getPageIndex

public int getPageIndex()
Returns:
the nPageIndex

setPageIndex

public void setPageIndex(int nPageIndex)
Parameters:
nPageIndex - the nPageIndex to set

containsPageIndex

public boolean containsPageIndex()
Contains page index.

Returns:
true, if successful

buildSQLQuery

public java.lang.String buildSQLQuery(java.lang.String strSQL)
Builds the sql query.

Parameters:
strSQL - the str sql
Returns:
the string

setFilterValues

public void setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
Sets the filter values.

Parameters:
daoUtil - the new filter values


Copyright © 2012 Mairie de Paris. All Rights Reserved.