fr.paris.lutece.plugins.directory.web.action
Class DirectorySiteSearchFields

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields
      extended by fr.paris.lutece.plugins.directory.web.action.DirectorySiteSearchFields
All Implemented Interfaces:
IDirectorySearchFields, Serializable

public class DirectorySiteSearchFields
extends DefaultDirectorySearchFields

implementation of IDirectorySearchFields for storing in session the search filter and sort filter used in DirectoryApp

Author:
merlinfe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields
ALL_INT
 
Constructor Summary
DirectorySiteSearchFields()
           
 
Method Summary
 String getDefaultIdSortEntry(Directory directory)
          return the default entry used for sorting the records
 List<String> getRoleKeyList()
          a list of key role
 boolean isDefaultAscendingSort(Directory directory)
          return true if the record must be sorted by ascending sort
 boolean isIncludeRoleNone()
           
 boolean isIncludeRoleNull()
           
 void setIncludeRoleNone(boolean bIncludeRoleNone)
          used if the record must be filter by role
 void setIncludeRoleNull(boolean _bIncludeRoleNull)
          used if the record must be filter by role
 void setRoleKeyList(List<String> roleKeyList)
          a list of key role
 
Methods inherited from class fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields
getCurrentPageIndex, getDateCreationBeginRecord, getDateCreationEndRecord, getDateCreationRecord, getDateModificationBeginRecord, getDateModificationEndRecord, getDateModificationRecord, getDefaultItemsPerPage, getIdDirectory, getIdEntry, getIsDisabled, getItemsPerPage, getMapQuery, getSortEntry, getSortOrder, isSortByDateModification, setCurrentPageIndex, setDateCreationBeginRecord, setDateCreationEndRecord, setDateCreationRecord, setDateModificationBeginRecord, setDateModificationEndRecord, setDateModificationRecord, setDefaultItemsPerPage, setIdDirectory, setIdEntry, setIsDisabled, setItemsPerPage, setMapQuery, setSortByDateModification, setSortEntry, setSortOrder, setSortParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectorySiteSearchFields

public DirectorySiteSearchFields()
Method Detail

isIncludeRoleNone

public boolean isIncludeRoleNone()
Returns:
true if the filter must included the role none

setIncludeRoleNone

public void setIncludeRoleNone(boolean bIncludeRoleNone)
used if the record must be filter by role

Parameters:
bIncludeRoleNone - true if the filter must included the role none

setRoleKeyList

public void setRoleKeyList(List<String> roleKeyList)
a list of key role

Parameters:
roleKeyList - a list of key role

getRoleKeyList

public List<String> getRoleKeyList()
a list of key role

Returns:
a list of key role

setIncludeRoleNull

public void setIncludeRoleNull(boolean _bIncludeRoleNull)
used if the record must be filter by role

Parameters:
_bIncludeRoleNull - true if the filter must included the role null

isIncludeRoleNull

public boolean isIncludeRoleNull()
Returns:
true if the filter must included the role null

getDefaultIdSortEntry

public String getDefaultIdSortEntry(Directory directory)
Description copied from interface: IDirectorySearchFields
return the default entry used for sorting the records

Specified by:
getDefaultIdSortEntry in interface IDirectorySearchFields
Specified by:
getDefaultIdSortEntry in class DefaultDirectorySearchFields
Parameters:
directory - the directory

isDefaultAscendingSort

public boolean isDefaultAscendingSort(Directory directory)
Description copied from interface: IDirectorySearchFields
return true if the record must be sorted by ascending sort

Specified by:
isDefaultAscendingSort in interface IDirectorySearchFields
Specified by:
isDefaultAscendingSort in class DefaultDirectorySearchFields
Parameters:
directory - the directory
Returns:
true if the record must be sorted by ascending sort


Copyright © 2013 Mairie de Paris. All Rights Reserved.