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

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

public final class DirectoryAdminSearchFields
extends DefaultDirectorySearchFields

Visualization of all needed session values. Many features depends on search result or paginator. Those fields may be required for actions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields
ALL_INT
 
Constructor Summary
DirectoryAdminSearchFields()
           
 
Method Summary
 int get_nIdWorkflowSate()
          Id workfow state
 int getCountLine()
          Count line
 int getCountLineFailure()
          Count line failure
 String getCurrentPageIndex()
          Current page index
 String getCurrentPageIndexDirectory()
          Current page index directory
 String getCurrentPageIndexDirectoryRecord()
          Current page index directory record
 String getCurrentPageIndexEntry()
          Current page index entry
 String getCurrentPageIndexPrintMass()
          Current page index print mass
 String getDefaultIdSortEntry(Directory directory)
          return the default entry used for sorting the records
 StringBuffer getError()
          Error
 int getIdActive()
          Id active
 fr.paris.lutece.util.html.ItemNavigator getItemNavigatorHistory()
          Get the history item navigator
 fr.paris.lutece.util.html.ItemNavigator getItemNavigatorViewRecords()
          Get the item navigator
 int getItemsPerPageDirectory()
          Items per page directory
 int getItemsPerPageDirectoryRecord()
          Items per page directory record
 int getItemsPerPageEntry()
          Items per page entry
 int getItemsPerPagePrintMass()
          Items per page print mass
 List<Integer> getListIdsResultRecord()
          Get the list of ids result record
 String getRedirectUrl()
          Get the redirect url
 List<String> getSelectedRecords()
          Gets the selected records
 String getWorkGroup()
          Workgroup
 boolean isDefaultAscendingSort(Directory directory)
          return true if the record must be sorted by ascending sort
 void setCountLine(int nCountLine)
          Count line
 void setCountLineFailure(int nCountLineFailure)
          Count line failure
 void setCurrentPageIndex(String strCurrentPageIndex)
          Current page index
 void setCurrentPageIndexDirectory(String strCurrentPageIndexDirectory)
          Current page index directory
 void setCurrentPageIndexDirectoryRecord(String strCurrentPageIndexDirectoryRecord)
          Current page index directory record
 void setCurrentPageIndexEntry(String strCurrentPageIndexEntry)
          Current page index entry
 void setCurrentPageIndexPrintMass(String strCurrentPageIndexPrintMass)
          Current page index print mass
 void setError(StringBuffer strError)
          Error
 void setIdActive(int nIdActive)
          Id active
 void setIdWorkflowSate(int nIdWorkflowSate)
          Id workflow state
 void setItemNavigatorHistory(int nCurrentIdRecord, String strUrl, String strParameterName)
          Set the item navigator for records
 void setItemNavigatorHistory(fr.paris.lutece.util.html.ItemNavigator itemNavigator)
          Set the item navigator
 void setItemNavigatorViewRecords(int nCurrentIdRecord, String strUrl, String strParameterName)
          Set the item navigator for records
 void setItemNavigatorViewRecords(fr.paris.lutece.util.html.ItemNavigator itemNavigator)
          Set the item navigator
 void setItemsPerPageDirectory(int nItemsPerPageDirectory)
          Items per page directory
 void setItemsPerPageDirectoryRecord(int nItemsPerPageDirectoryRecord)
          Items per page directory record
 void setItemsPerPageEntry(int nItemsPerPageEntry)
          Items per page entry
 void setItemsPerPagePrintMass(int nItemsPerPagePrintMass)
          Items per page print mass
 void setListIdsResultRecord(List<Integer> listIdsResultRecord)
          Set the list of ids result record
 void setRedirectUrl(javax.servlet.http.HttpServletRequest request)
          Set the redirect url
 void setSelectedRecords(List<String> listSelectedRecords)
          Sets the selected records
 void setWorkGroup(String strWorkGroup)
          Workgroup
 
Methods inherited from class fr.paris.lutece.plugins.directory.web.action.DefaultDirectorySearchFields
getDateCreationBeginRecord, getDateCreationEndRecord, getDateCreationRecord, getDateModificationBeginRecord, getDateModificationEndRecord, getDateModificationRecord, getDefaultItemsPerPage, getIdDirectory, getIdEntry, getIsDisabled, getItemsPerPage, getMapQuery, getSortEntry, getSortOrder, isSortByDateModification, 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

DirectoryAdminSearchFields

public DirectoryAdminSearchFields()
Method Detail

getSelectedRecords

public List<String> getSelectedRecords()
Gets the selected records

Returns:
the selected records

setSelectedRecords

public void setSelectedRecords(List<String> listSelectedRecords)
Sets the selected records

Parameters:
listSelectedRecords - the selected records

getCurrentPageIndexDirectory

public String getCurrentPageIndexDirectory()
Current page index directory

Returns:
current page index directory

setCurrentPageIndexDirectory

public void setCurrentPageIndexDirectory(String strCurrentPageIndexDirectory)
Current page index directory

Parameters:
strCurrentPageIndexDirectory - current page index directory

getItemsPerPageDirectory

public int getItemsPerPageDirectory()
Items per page directory

Returns:
item per page directory

setItemsPerPageDirectory

public void setItemsPerPageDirectory(int nItemsPerPageDirectory)
Items per page directory

Parameters:
nItemsPerPageDirectory - items per page directory

getCurrentPageIndexEntry

public String getCurrentPageIndexEntry()
Current page index entry

Returns:
current page index entry

setCurrentPageIndexEntry

public void setCurrentPageIndexEntry(String strCurrentPageIndexEntry)
Current page index entry

Parameters:
strCurrentPageIndexEntry - current page index entry

getItemsPerPageEntry

public int getItemsPerPageEntry()
Items per page entry

Returns:
items per page entry

setItemsPerPageEntry

public void setItemsPerPageEntry(int nItemsPerPageEntry)
Items per page entry

Parameters:
nItemsPerPageEntry - items per page entry

getCurrentPageIndexPrintMass

public String getCurrentPageIndexPrintMass()
Current page index print mass

Returns:
current page index print mass

setCurrentPageIndexPrintMass

public void setCurrentPageIndexPrintMass(String strCurrentPageIndexPrintMass)
Current page index print mass

Parameters:
strCurrentPageIndexPrintMass - current page index print mass

getItemsPerPagePrintMass

public int getItemsPerPagePrintMass()
Items per page print mass

Returns:
items per page print mass

setItemsPerPagePrintMass

public void setItemsPerPagePrintMass(int nItemsPerPagePrintMass)
Items per page print mass

Parameters:
nItemsPerPagePrintMass - items per page print mass

getCurrentPageIndex

public String getCurrentPageIndex()
Current page index

Specified by:
getCurrentPageIndex in interface IDirectorySearchFields
Overrides:
getCurrentPageIndex in class DefaultDirectorySearchFields
Returns:
current page index

setCurrentPageIndex

public void setCurrentPageIndex(String strCurrentPageIndex)
Current page index

Specified by:
setCurrentPageIndex in interface IDirectorySearchFields
Overrides:
setCurrentPageIndex in class DefaultDirectorySearchFields
Parameters:
strCurrentPageIndex - current page index

getCurrentPageIndexDirectoryRecord

public String getCurrentPageIndexDirectoryRecord()
Current page index directory record

Returns:
current page index directory record

setCurrentPageIndexDirectoryRecord

public void setCurrentPageIndexDirectoryRecord(String strCurrentPageIndexDirectoryRecord)
Current page index directory record

Parameters:
strCurrentPageIndexDirectoryRecord - current page index directory record

getItemsPerPageDirectoryRecord

public int getItemsPerPageDirectoryRecord()
Items per page directory record

Returns:
items per page directory record

setItemsPerPageDirectoryRecord

public void setItemsPerPageDirectoryRecord(int nItemsPerPageDirectoryRecord)
Items per page directory record

Parameters:
nItemsPerPageDirectoryRecord - items per page directory record

getIdActive

public int getIdActive()
Id active

Returns:
id active

setIdActive

public void setIdActive(int nIdActive)
Id active

Parameters:
nIdActive - id active

getWorkGroup

public String getWorkGroup()
Workgroup

Returns:
workgroup

setWorkGroup

public void setWorkGroup(String strWorkGroup)
Workgroup

Parameters:
strWorkGroup - workgroup

getCountLine

public int getCountLine()
Count line

Returns:
count line

setCountLine

public void setCountLine(int nCountLine)
Count line

Parameters:
nCountLine - count line

getCountLineFailure

public int getCountLineFailure()
Count line failure

Returns:
count line failure

setCountLineFailure

public void setCountLineFailure(int nCountLineFailure)
Count line failure

Parameters:
nCountLineFailure - count line failure

get_nIdWorkflowSate

public int get_nIdWorkflowSate()
Id workfow state

Returns:
id workflow state

setIdWorkflowSate

public void setIdWorkflowSate(int nIdWorkflowSate)
Id workflow state

Parameters:
nIdWorkflowSate - id workflow state

getError

public StringBuffer getError()
Error

Returns:
error

setError

public void setError(StringBuffer strError)
Error

Parameters:
strError - error

setListIdsResultRecord

public void setListIdsResultRecord(List<Integer> listIdsResultRecord)
Set the list of ids result record

Parameters:
listIdsResultRecord - the list of id result record

getListIdsResultRecord

public List<Integer> getListIdsResultRecord()
Get the list of ids result record

Returns:
the list of ids result record

setItemNavigatorViewRecords

public void setItemNavigatorViewRecords(int nCurrentIdRecord,
                                        String strUrl,
                                        String strParameterName)
Set the item navigator for records

Parameters:
nCurrentIdRecord - the current id record
strUrl - the url
strParameterName - the parameter name

setItemNavigatorViewRecords

public void setItemNavigatorViewRecords(fr.paris.lutece.util.html.ItemNavigator itemNavigator)
Set the item navigator

Parameters:
itemNavigator - the item navigator

getItemNavigatorViewRecords

public fr.paris.lutece.util.html.ItemNavigator getItemNavigatorViewRecords()
Get the item navigator

Returns:
the item navigator

setItemNavigatorHistory

public void setItemNavigatorHistory(int nCurrentIdRecord,
                                    String strUrl,
                                    String strParameterName)
Set the item navigator for records

Parameters:
nCurrentIdRecord - the current id record
strUrl - the url
strParameterName - the parameter name

setItemNavigatorHistory

public void setItemNavigatorHistory(fr.paris.lutece.util.html.ItemNavigator itemNavigator)
Set the item navigator

Parameters:
itemNavigator - the item navigator

getItemNavigatorHistory

public fr.paris.lutece.util.html.ItemNavigator getItemNavigatorHistory()
Get the history item navigator

Returns:
The history item navigator

setRedirectUrl

public void setRedirectUrl(javax.servlet.http.HttpServletRequest request)
Set the redirect url

Parameters:
request - The request

getRedirectUrl

public String getRedirectUrl()
Get the redirect url

Returns:
the redirect url

getDefaultIdSortEntry

public String getDefaultIdSortEntry(Directory directory)
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
Returns:
the default entry used for sorting the records

isDefaultAscendingSort

public boolean isDefaultAscendingSort(Directory directory)
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.