|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.extend.modules.actionbar.service.ActionbarService
public class ActionbarService
ActionbarService
| Field Summary | |
|---|---|
static String |
BEAN_NAME
Bean name |
| Constructor Summary | |
|---|---|
ActionbarService()
|
|
| Method Summary | |
|---|---|
void |
createActionButton(ActionButton actionButton)
Creates an action button |
ActionButton |
findActionButton(int nIdAction)
find an action button |
List<ActionButton> |
findActionButtons(List<Integer> listIdActions)
Get a list of actions buttons from a list of ids |
List<ActionButton> |
findActionButtonsByResourceType(String strResourceType)
Get the list of action buttons associated with a resource type. |
List<ActionButton> |
findAllActionButtons()
Get the list of action buttons |
int |
getNewOrder()
Get the next available order |
void |
removeActionButton(int nIdAction)
Remove an action button from its id |
void |
updateActionButton(ActionButton actionButton)
Update an action button |
void |
updateActionButtonOrder(ActionButton action,
int nNewOrder)
Update the order of an action button. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_NAME
| Constructor Detail |
|---|
public ActionbarService()
| Method Detail |
|---|
public List<ActionButton> findActionButtonsByResourceType(String strResourceType)
strResourceType - The resource type of buttons
public List<ActionButton> findAllActionButtons()
public List<ActionButton> findActionButtons(List<Integer> listIdActions)
listIdActions - The list of ids of action buttons to get
public void createActionButton(ActionButton actionButton)
actionButton - The action button to createpublic ActionButton findActionButton(int nIdAction)
nIdAction - The id of the action button
public void updateActionButton(ActionButton actionButton)
actionButton - The action button to updatepublic void removeActionButton(int nIdAction)
nIdAction - The id of the action button to remove
public void updateActionButtonOrder(ActionButton action,
int nNewOrder)
action - The action button to move. The order attribute of the
action button MUST be its old order.nNewOrder - The new order of the topicpublic int getNewOrder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||