fr.paris.lutece.plugins.extend.modules.actionbar.business
public interface IActionButtonDAO
| Modifier and Type | Method and Description |
|---|---|
void |
create(ActionButton actionButton,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an action button
|
void |
delete(int nIdActionButton,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an action button
|
void |
fillBlankInOrder(int order,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Fill a blank in the order of action buttons.
|
List<ActionButton> |
findActionButtons(List<Integer> listIdActions,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a list of actions buttons from a list of ids
|
List<ActionButton> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find every action button
|
List<ActionButton> |
findAllByResourceType(String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of action buttons associated with a resource type.
|
ActionButton |
findById(int nIdActionButton,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get an action button from its id
|
ActionButton |
findByName(String strName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find an action button from its name
|
List<ActionButton> |
findByOrder(int nNewOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find action buttons by order.
|
int |
getNewOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the next available order
|
void |
update(ActionButton actionButton,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an action button
|
void |
updateActionButtonOrder(int nIdAction,
int nNewOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the order of an action button
|
void create(ActionButton actionButton, fr.paris.lutece.portal.service.plugin.Plugin plugin)
actionButton - Action button to saveplugin - The pluginActionButton findById(int nIdActionButton, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdActionButton - The id of the action buttonplugin - The pluginvoid update(ActionButton actionButton, fr.paris.lutece.portal.service.plugin.Plugin plugin)
actionButton - The action button to updateplugin - The pluginvoid delete(int nIdActionButton,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdActionButton - The id of the action button to deleteplugin - The pluginList<ActionButton> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginList<ActionButton> findAllByResourceType(String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strResourceType - The resource type of buttonsplugin - The pluginActionButton findByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strName - The name of the action buttonplugin - The pluginList<ActionButton> findActionButtons(List<Integer> listIdActions, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listIdActions - The list of ids of action buttons to getplugin - The pluginint getNewOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginvoid updateActionButtonOrder(int nIdAction,
int nNewOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAction - The id of the action to update the order ofnNewOrder - The new order of the action buttonplugin - The pluginList<ActionButton> findByOrder(int nNewOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewOrder - The new orderplugin - The pluginvoid fillBlankInOrder(int order,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
order - The id of the missing orderplugin - The pluginCopyright © 2014 Mairie de Paris. All rights reserved.