Class ResourceExtenderHistoryFilter
java.lang.Object
fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistoryFilter
- All Implemented Interfaces:
Serializable
ResourceExtenderHistoryFilter.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new resource extender history filter. -
Method Summary
Modifier and TypeMethodDescriptionbuildSQLQuery(String strSQL) Builds the sql query.booleanContains attribute name.booleanContains date creation.booleanContains date creation.booleanContains date creation.booleanContains extendable resource type.booleanContains extender type.booleanContains group by attribute name.booleanContains id extendable resource.booleanContains id history.booleanContains ip address.booleanContains items per page.booleanContains page index.booleanContains user guid.Gets the date creation.Gets the date creation.Gets the date creation.Gets the extendable resource type.Gets the extender type.Gets the group by attribute name.Gets the id extendable resource.longGets the id history.Gets the ip address.intintGets the sorted attribute name.Gets the sorted attribute name for sql query.Gets the user guid.booleanChecks if is asc sort.booleanCheck if the filter is applied to a wide search or not.voidsetAscSort(boolean bAscSort) Sets the asc sort.voidsetAscSort(javax.servlet.http.HttpServletRequest request) Sets the asc sort.voidsetDateCreation(String strDateCreation) Sets the date creation.voidsetDateCreationBegin(String strDateCreationBegin) Sets the date creation.voidsetDateCreationEnd(String strDateCreationEnd) Sets the date creation.voidsetExtendableResourceType(String strExtendableResourceType) Sets the extendable resource type.voidsetExtenderType(String strExtenderType) Sets the extender type.voidsetFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil) Sets the filter values.voidsetGroupByAttributeName(String strGroupByAttributeName) Sets the group by attribute name.voidsetIdExtendableResource(String strIdExtendableResource) Sets the id extendable resource.voidsetIdHistory(long lIdHistory) Sets the id history.voidsetIpAddress(String strIpAddress) Sets the ip address.voidsetIsWideSearch(boolean bIsWideSearch) Set true if the filter is applied to a wide search.voidsetItemsPerPage(int nItemsPerPage) voidsetOperatorDateCreation(OperatorEnum operatorDateCreation) voidsetPageIndex(int nPageIndex) voidsetSortedAttributeName(String strSortedAttributeName) Sets the sorted attribute name.voidsetSortedAttributeName(javax.servlet.http.HttpServletRequest request) Sets the sorted attribute name.voidsetUserGuid(String strUserGuid) Sets the user guid.
-
Field Details
-
ALL
public static final int ALLThe Constant ALL.- See Also:
-
-
Constructor Details
-
ResourceExtenderHistoryFilter
public ResourceExtenderHistoryFilter()Instantiates a new resource extender history filter.
-
-
Method Details
-
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
Gets the extender type.- Returns:
- the strExtenderType
-
setExtenderType
Sets the extender type.- Parameters:
strExtenderType- the strExtenderType to set
-
containsExtenderType
public boolean containsExtenderType()Contains extender type.- Returns:
- true, if successful
-
getIdExtendableResource
Gets the id extendable resource.- Returns:
- the strIdExtendableResource
-
setIdExtendableResource
Sets the id extendable resource.- Parameters:
strIdExtendableResource- the strIdExtendableResource to set
-
containsIdExtendableResource
public boolean containsIdExtendableResource()Contains id extendable resource.- Returns:
- true, if successful
-
getExtendableResourceType
Gets the extendable resource type.- Returns:
- the extendableResourceType
-
setExtendableResourceType
Sets the extendable resource type.- Parameters:
strExtendableResourceType- the extendableResourceType to set
-
containsExtendableResourceType
public boolean containsExtendableResourceType()Contains extendable resource type.- Returns:
- true, if successful
-
getUserGuid
Gets the user guid.- Returns:
- the strUserGuid
-
setUserGuid
Sets the user guid.- Parameters:
strUserGuid- the strUserGuid to set
-
containsUserGuid
public boolean containsUserGuid()Contains user guid.- Returns:
- true, if successful
-
getIpAddress
Gets the ip address.- Returns:
- the strIpAddress
-
setIpAddress
Sets the ip address.- Parameters:
strIpAddress- the strIpAddress to set
-
containsIpAddress
public boolean containsIpAddress()Contains ip address.- Returns:
- true, if successful
-
getDateCreation
Gets the date creation.- Returns:
- the date creation
-
setDateCreation
Sets the date creation.- Parameters:
strDateCreation- the new date creation
-
containsDateCreation
public boolean containsDateCreation()Contains date creation.- Returns:
- true, if successful
-
getDateCreationBegin
Gets the date creation.- Returns:
- the date creation
-
setDateCreationBegin
Sets the date creation.- Parameters:
strDateCreationBegin- the new date creation
-
containsDateCreationBegin
public boolean containsDateCreationBegin()Contains date creation.- Returns:
- true, if successful
-
getDateCreationEnd
Gets the date creation.- Returns:
- the date creation
-
setDateCreationEnd
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- SQL OR if it is applied to a wide search
- SQL AND if it is not applied to a wide search
- 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- SQL OR if it is applied to a wide search
- SQL AND if it is not applied to a wide search
- Returns:
- true if it is applied to a wide search
-
getSortedAttributeName
Gets the sorted attribute name.- Returns:
- the sorted attribute name
-
getSortedAttributeNameForSQLQuery
Gets the sorted attribute name for sql query.- Returns:
- the sorted attribute name for sql query
-
setSortedAttributeName
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
- Returns:
- the operatorDateCreation
-
setOperatorDateCreation
- Parameters:
operatorDateCreation- the operatorDateCreation to set
-
getGroupByAttributeName
Gets the group by attribute name.- Returns:
- the group by attribute name
-
setGroupByAttributeName
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
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
-