Class ResourceExtenderDTOFilter

java.lang.Object
fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTOFilter
All Implemented Interfaces:
Serializable

public class ResourceExtenderDTOFilter extends Object implements Serializable
ResourceExtenderDTOFilter
See Also:
  • Field Details

    • WILDCARD_ID_RESOURCE

      public static final String WILDCARD_ID_RESOURCE
      The Constant WILDCARD_ID_RESOURCE.
      See Also:
  • Constructor Details

    • ResourceExtenderDTOFilter

      public ResourceExtenderDTOFilter()
      Instantiates a new resource extender dto filter.
    • ResourceExtenderDTOFilter

      public ResourceExtenderDTOFilter(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType)
      Instantiates a new resource extender dto filter.
      Parameters:
      strExtenderType - the str extender type
      strIdExtendableResource - the str id extendable resource
      strExtendableResourceType - the str extendable resource type
  • Method Details

    • init

      public void init(javax.servlet.http.HttpServletRequest request)
      Init.
      Parameters:
      request - the request
    • getFilterIdExtender

      public int getFilterIdExtender()
      Returns:
      the nIdExtender
    • setFilterIdExtender

      public void setFilterIdExtender(int nIdExtender)
      Parameters:
      nIdExtender - the nIdExtender to set
    • containsFilterIdExtender

      public boolean containsFilterIdExtender()
      Contains id extender.
      Returns:
      true, if successful
    • getFilterExtenderType

      public String getFilterExtenderType()
      Returns:
      the strExtenderType
    • setFilterExtenderType

      public void setFilterExtenderType(String strExtenderType)
      Parameters:
      strExtenderType - the strExtenderType to set
    • containsFilterExtenderType

      public boolean containsFilterExtenderType()
      Contains extender type.
      Returns:
      true, if successful
    • getFilterIdExtendableResource

      public String getFilterIdExtendableResource()
      Returns:
      the strIdExtendableResource
    • setFilterIdExtendableResource

      public void setFilterIdExtendableResource(String strIdExtendableResource)
      Parameters:
      strIdExtendableResource - the strIdExtendableResource to set
    • containsFilterIdExtendableResource

      public boolean containsFilterIdExtendableResource()
      Contains id extendable resource.
      Returns:
      true, if successful
    • getFilterExtendableResourceType

      public String getFilterExtendableResourceType()
      Returns:
      the extendableResourceType
    • setFilterExtendableResourceType

      public void setFilterExtendableResourceType(String strExtendableResourceType)
      Parameters:
      strExtendableResourceType - the extendableResourceType to set
    • containsFilterExtendableResourceType

      public boolean containsFilterExtendableResourceType()
      Contains extendable resource type.
      Returns:
      true, if successful
    • setWideSearch

      public void setWideSearch(boolean isWideSearch)
      Set true if the search is wide, false otherwise
      Parameters:
      isWideSearch - true if the search is wide, false otherwise
    • isWideSearch

      public boolean isWideSearch()
      Return true if the search is wide, false otherwise
      Returns:
      true if the search is wide, false otherwise
    • setIncludeWildcardResource

      public void setIncludeWildcardResource(boolean includeWildcardResource)
      Set true if the search should include the wildcard resource ID
      Parameters:
      includeWildcardResource - true if the search should include the wildcard resource ID
    • isIncludeWildcardResource

      public boolean isIncludeWildcardResource()
      Should the search include the wildcard resource ID
      Returns:
      true if the search should include the wildcard resource ID, false otherwise
    • getSortedAttributeName

      public String getSortedAttributeName()
      Gets the sorted attribute name.
      Returns:
      the sorted attribute name
    • setSortedAttributeName

      public void setSortedAttributeName(String strSortedAttributeName)
      Sets the sorted attribute name.
      Parameters:
      strSortedAttributeName - the new sorted attribute name
    • 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
    • buildSQLQuery

      public String buildSQLQuery(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