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, java.io.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
 java.lang.String getCurrentPageIndex()
          Current page index
 java.lang.String getCurrentPageIndexDirectory()
          Current page index directory
 java.lang.String getCurrentPageIndexDirectoryRecord()
          Current page index directory record
 java.lang.String getCurrentPageIndexEntry()
          Current page index entry
 java.lang.String getCurrentPageIndexPrintMass()
          Current page index print mass
 java.lang.String getDefaultIdSortEntry(Directory directory)
          return the default entry used for sorting the records
 java.lang.StringBuffer getError()
          Error
 int getIdActive()
          Id active
 fr.paris.lutece.util.html.ItemNavigator getItemNavigatorHistory()
          Get the 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
 java.util.List<java.lang.Integer> getListIdsResultRecord()
          Get the list of ids result record
 java.lang.String getRedirectUrl()
          Get the redirect url
 java.util.List<java.lang.String> getSelectedRecords()
          Gets the selected records
 java.lang.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(java.lang.String strCurrentPageIndex)
          Current page index
 void setCurrentPageIndexDirectory(java.lang.String strCurrentPageIndexDirectory)
          Current page index directory
 void setCurrentPageIndexDirectoryRecord(java.lang.String strCurrentPageIndexDirectoryRecord)
          Current page index directory record
 void setCurrentPageIndexEntry(java.lang.String strCurrentPageIndexEntry)
          Current page index entry
 void setCurrentPageIndexPrintMass(java.lang.String strCurrentPageIndexPrintMass)
          Current page index print mass
 void setError(java.lang.StringBuffer strError)
          Error
 void setIdActive(int nIdActive)
          Id active
 void setIdWorkflowSate(int nIdWorkflowSate)
          Id workflow state
 void setItemNavigatorHistory(int nCurrentIdRecord, java.lang.String strUrl, java.lang.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, java.lang.String strUrl, java.lang.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(java.util.List<java.lang.Integer> listIdsResultRecord)
          Set the list of ids result record
 void setRedirectUrl(javax.servlet.http.HttpServletRequest request)
          Set the redirect url
 void setSelectedRecords(java.util.List<java.lang.String> listSelectedRecords)
          Sets the selected records
 void setWorkGroup(java.lang.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 java.util.List<java.lang.String> getSelectedRecords()
Gets the selected records

Returns:
the selected records

setSelectedRecords

public void setSelectedRecords(java.util.List<java.lang.String> listSelectedRecords)
Sets the selected records

Parameters:
listSelectedRecords - the selected records

getCurrentPageIndexDirectory

public java.lang.String getCurrentPageIndexDirectory()
Current page index directory

Returns:
current page index directory

setCurrentPageIndexDirectory

public void setCurrentPageIndexDirectory(java.lang.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 java.lang.String getCurrentPageIndexEntry()
Current page index entry

Returns:
current page index entry

setCurrentPageIndexEntry

public void setCurrentPageIndexEntry(java.lang.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 java.lang.String getCurrentPageIndexPrintMass()
Current page index print mass

Returns:
current page index print mass

setCurrentPageIndexPrintMass

public void setCurrentPageIndexPrintMass(java.lang.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 java.lang.String getCurrentPageIndex()
Current page index

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

setCurrentPageIndex

public void setCurrentPageIndex(java.lang.String strCurrentPageIndex)
Current page index

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

getCurrentPageIndexDirectoryRecord

public java.lang.String getCurrentPageIndexDirectoryRecord()
Current page index directory record

Returns:
current page index directory record

setCurrentPageIndexDirectoryRecord

public void setCurrentPageIndexDirectoryRecord(java.lang.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 java.lang.String getWorkGroup()
Workgroup

Returns:
workgroup

setWorkGroup

public void setWorkGroup(java.lang.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 java.lang.StringBuffer getError()
Error

Returns:
error

setError

public void setError(java.lang.StringBuffer strError)
Error

Parameters:
strError - error

setListIdsResultRecord

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

Parameters:
listIdsResultRecord - the list of id result record

getListIdsResultRecord

public java.util.List<java.lang.Integer> getListIdsResultRecord()
Get the list of ids result record

Returns:
the list of ids result record

setItemNavigatorViewRecords

public void setItemNavigatorViewRecords(int nCurrentIdRecord,
                                        java.lang.String strUrl,
                                        java.lang.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:

setItemNavigatorHistory

public void setItemNavigatorHistory(int nCurrentIdRecord,
                                    java.lang.String strUrl,
                                    java.lang.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 item navigator

Returns:

setRedirectUrl

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

Parameters:
_strRedirectUrl -

getRedirectUrl

public java.lang.String getRedirectUrl()
Get the redirect url

Returns:
the redirect url

getDefaultIdSortEntry

public java.lang.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 © 2012 Mairie de Paris. All Rights Reserved.