public abstract class AbstractRecordListPanel extends Object implements IRecordListPanel
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_RECORD_NUMBER |
| Constructor and Description |
|---|
AbstractRecordListPanel() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignment> |
createRecordAssignmentMap(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignmentFilter filter,
Collection<fr.paris.lutece.plugins.directory.business.Directory> collectionDirectory)
Make the record search with the given filter for the specified list of Directory and return the number of records that the search result returns.
|
String |
getName()
Return the name of the panel
|
int |
getPosition()
Return the position of the panel
|
Map<String,fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignment> |
getRecordAssignmentMap()
Return the Map which associate for each record is RecordAssignement
|
int |
getRecordNumber()
Return the number of records of the panel
|
String |
getTitle()
Return the title of the panel
|
protected void |
initPanel(javax.servlet.http.HttpServletRequest request,
Collection<fr.paris.lutece.plugins.directory.business.Directory> collectionDirectory,
String strPanelName,
String strPanelKeyTitle,
fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignmentFilter recordAssignmentFilter)
Initialize a Panel with all its attributes
|
boolean |
isActive()
Return the boolean which tell if the panel is active or not
|
protected boolean |
isSelectedPanel(javax.servlet.http.HttpServletRequest request,
String strPanelName)
Check if the panel is the selected panel or not.
|
void |
setActive(boolean bActive)
Set the boolean which tell if the panel is active or not
|
protected void |
setName(String strName)
Set the name of the panel
|
void |
setPosition(int nPosition)
Set the position of the panel
|
protected void |
setRecordAssignmentMap(Map<String,fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignment> mapRecordAssignment)
Set the RecordAssignmentMap for the panel
|
void |
setRecordNumber(int nRecordNumber)
Set the number of records of the panel
|
protected void |
setTitle(String strTitle)
Set the title of the panel
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigureRecordListPanelpublic String getTitle()
getTitle in interface IRecordListPanelprotected void setTitle(String strTitle)
strTitle - The title of the panelpublic String getName()
getName in interface IRecordListPanelprotected void setName(String strName)
strName - The name of the panel to setpublic int getPosition()
getPosition in interface IRecordListPanelpublic void setPosition(int nPosition)
setPosition in interface IRecordListPanelnPosition - The position of the panel to setpublic boolean isActive()
isActive in interface IRecordListPanelpublic void setActive(boolean bActive)
setActive in interface IRecordListPanelbActive - The boolean which tell if the panel is active or notpublic int getRecordNumber()
getRecordNumber in interface IRecordListPanelpublic void setRecordNumber(int nRecordNumber)
setRecordNumber in interface IRecordListPanelnRecordNumber - The number of records of the panelpublic Map<String,fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignment> getRecordAssignmentMap()
getRecordAssignmentMap in interface IRecordListPanelprotected void setRecordAssignmentMap(Map<String,fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignment> mapRecordAssignment)
mapRecordAssignment - The RecordAssignmentMap to setprotected void initPanel(javax.servlet.http.HttpServletRequest request,
Collection<fr.paris.lutece.plugins.directory.business.Directory> collectionDirectory,
String strPanelName,
String strPanelKeyTitle,
fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignmentFilter recordAssignmentFilter)
request - The request to retrieve the parameter values fromcollectionDirectory - The collection of directory which contain the records to associate to the panelstrPanelName - The name of the panelstrPanelKeyTitle - The key of the title of the panelrecordAssignmentFilter - The filter to use to retrieve the records for the panelprotected Map<String,fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignment> createRecordAssignmentMap(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflow.modules.directorydemands.business.RecordAssignmentFilter filter, Collection<fr.paris.lutece.plugins.directory.business.Directory> collectionDirectory)
request - The request to retrieve the parameters fromfilter - The filter to use for the searchcollectionDirectory - The list of Directory to search onprotected boolean isSelectedPanel(javax.servlet.http.HttpServletRequest request,
String strPanelName)
request - The HttpServletRequest to retrieve the information fromstrPanelName - The name of the panel to analyzeCopyright © 2018 City of Paris. All rights reserved.