public class SuggestSubmitService extends Object implements ISuggestSubmitService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE |
| Constructor and Description |
|---|
SuggestSubmitService() |
| Modifier and Type | Method and Description |
|---|---|
int |
create(SuggestSubmit suggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
Creation of an instance of record
|
SuggestSubmit |
findByPrimaryKey(int nKey,
boolean bLoadCommentList,
boolean bLoadResponseList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a SuggestSubmit whose identifier is specified in parameter
|
SuggestSubmit |
findByPrimaryKey(int nKey,
boolean bLoadCommentList,
Integer numberMaxCommentLoad,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a SuggestSubmit whose identifier is specified in parameter
|
SuggestSubmit |
findByPrimaryKey(int nKey,
boolean bLoadCommentList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a SuggestSubmit whose identifier is specified in parameter
|
int |
findNextIdSuggestSubmitInTheList(int nIdCurrentSuggestSubmit,
SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the id of the next suggest submit in the list
|
int |
findPrevIdSuggestSubmitInTheList(int nIdCurrentSuggestSubmit,
SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the id of the prev suggest submit in the list
|
int |
getCountSuggestSubmit(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the number of all the suggestSubmit who verify the filter
|
int |
getMaxOrderList(int nIdSuggest,
boolean bListPinned,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Search the max order number of contacts for one list
|
static ISuggestSubmitService |
getService()
Returns the instance of the singleton
|
List<SuggestSubmit> |
getSuggestSubmitList(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the suggestSubmit who verify the filter and returns them in a list
|
List<SuggestSubmit> |
getSuggestSubmitList(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nNumberMaxSuggestSubmit)
Load the data of all the suggestSubmit who verify the filter and returns them in a list
|
List<Integer> |
getSuggestSubmitListId(SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the suggestSubmit who verify the filter and returns them in a list
|
void |
remove(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the record whose identifier is specified in parameter
|
void |
update(SuggestSubmit suggestSubmit,
boolean bUpdateIndex,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the suggestSubmit which is specified in parameter
|
void |
update(SuggestSubmit suggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the suggestSubmit which is specified in parameter
|
void |
updateAllDisplayOfSuggestSubmit(Integer nIdSuggest,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
Update the display off all suggest submit associated to a suggest
|
void |
updateDisplaySuggestSubmit(Integer nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale,
Suggest suggest,
Map<Integer,IEntry> mapEntry)
update the display of the suggestsubmit
|
void |
updateSuggestSubmitOrder(Integer nPositionElement,
Integer nNewPositionElement,
int nIdSuggest,
boolean bListPinned,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
move an element in the list of suggestSubmit and update the order
|
public static final String BEAN_SERVICE
@Transactional(value="suggest.transactionManager") public int create(SuggestSubmit suggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
create in interface ISuggestSubmitServicesuggestSubmit - The instance of the suggestSubmit which contains the informations to storeplugin - the PluginTheme suggestsubmit@Transactional(value="suggest.transactionManager") public void update(SuggestSubmit suggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update in interface ISuggestSubmitServicesuggestSubmit - The instance of the suggestSubmit which contains the informations to updateplugin - the Plugin@Transactional(value="suggest.transactionManager") public void update(SuggestSubmit suggestSubmit, boolean bUpdateIndex, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update in interface ISuggestSubmitService@Transactional(value="suggest.transactionManager")
public void remove(int nIdSuggestSubmit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove in interface ISuggestSubmitServicenIdSuggestSubmit - the id of the suggestSubmitplugin - the Plugin@Transactional(value="suggest.transactionManager") public void updateSuggestSubmitOrder(Integer nPositionElement, Integer nNewPositionElement, int nIdSuggest, boolean bListPinned, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateSuggestSubmitOrder in interface ISuggestSubmitServicenPositionElement - the position of the element to movenNewPositionElement - the new position of the elementnIdSuggest - the suggest idbListPinned - true if the list to update contains only pinned suggestsubmitplugin - the pluginpublic SuggestSubmit findByPrimaryKey(int nKey, boolean bLoadCommentList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface ISuggestSubmitServicenKey - The suggestSubmit primary keybLoadCommentList - true if the comment list must be getplugin - the Pluginpublic SuggestSubmit findByPrimaryKey(int nKey, boolean bLoadCommentList, Integer numberMaxCommentLoad, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface ISuggestSubmitServicenKey - The suggestSubmit primary keybLoadCommentList - true if the comment list must be getnumberMaxCommentLoad - the number max of parent comment Loadplugin - the Pluginpublic SuggestSubmit findByPrimaryKey(int nKey, boolean bLoadCommentList, boolean bLoadResponseList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface ISuggestSubmitServicenKey - The suggestSubmit primary keybLoadCommentList - true if the comment list must be getbLoadResponseList - true if the response list must be getplugin - the Pluginpublic int findNextIdSuggestSubmitInTheList(int nIdCurrentSuggestSubmit,
SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findNextIdSuggestSubmitInTheList in interface ISuggestSubmitServicenIdCurrentSuggestSubmit - the id of the current suggest submitfilter - the filterplugin - the pluginpublic int findPrevIdSuggestSubmitInTheList(int nIdCurrentSuggestSubmit,
SubmitFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findPrevIdSuggestSubmitInTheList in interface ISuggestSubmitServicenIdCurrentSuggestSubmit - the id of the current suggest submitfilter - the filterplugin - the pluginpublic int getCountSuggestSubmit(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCountSuggestSubmit in interface ISuggestSubmitServicefilter - the filterplugin - the pluginpublic List<SuggestSubmit> getSuggestSubmitList(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getSuggestSubmitList in interface ISuggestSubmitServicefilter - the filterplugin - the pluginpublic List<SuggestSubmit> getSuggestSubmitList(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin, int nNumberMaxSuggestSubmit)
getSuggestSubmitList in interface ISuggestSubmitServicefilter - the filterplugin - the pluginnNumberMaxSuggestSubmit - Max Number of Suggestsubmit returnpublic List<Integer> getSuggestSubmitListId(SubmitFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getSuggestSubmitListId in interface ISuggestSubmitServicefilter - the filterplugin - the pluginpublic int getMaxOrderList(int nIdSuggest,
boolean bListPinned,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getMaxOrderList in interface ISuggestSubmitServicenIdSuggest - the Id of the SuggestbListPinned - true if the listplugin - The Plugin objectpublic static ISuggestSubmitService getService()
public void updateAllDisplayOfSuggestSubmit(Integer nIdSuggest, fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale)
updateAllDisplayOfSuggestSubmit in interface ISuggestSubmitServicenIdSuggest - the id suggestplugin - the pluginpublic void updateDisplaySuggestSubmit(Integer nIdSuggestSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, Suggest suggest, Map<Integer,IEntry> mapEntry)
updateDisplaySuggestSubmit in interface ISuggestSubmitServicenIdSuggestSubmit - the suggestSubmit Idplugin - the pluginlocale - the localesuggest - the suggestmapEntry - a map of entry assocaited to the suggestCopyright © 2016 City of Paris. All rights reserved.