public interface ResultToolbarItemFactory
Modifier and Type | Method and Description |
---|---|
UID |
getEntityUid()
Returns the UID of the business object for the result list the button is shown in.
|
javax.swing.Icon |
getIcon()
Returns the button's icon which is placed left of the label.
|
java.lang.Object |
getId()
Returns the id
|
java.lang.String |
getLabel()
Returns the button's label.
|
int |
getOrder()
Returns an integer which is used to determine the order of the buttons in the result list toolbar.
|
java.lang.String |
getTooltip()
Returns the button's tooltip.
|
boolean |
isAllowed(java.util.Set<UID> grantedActions)
Returns true if the user is allowed to use this button based on actions in T_AD_ACTION granted to him/her.
|
ResultToolbarItem |
newInstance()
Resturns new button.
|
java.lang.Object getId()
UID getEntityUid()
java.lang.String getLabel()
java.lang.String getTooltip()
javax.swing.Icon getIcon()
int getOrder()
boolean isAllowed(java.util.Set<UID> grantedActions)
grantedActions
- set of UIDs from actions defined in T_AD_ACTION granted to the current user via "administration/user roles"ResultToolbarItem newInstance()
Copyright © 2024. All rights reserved.