T
- public class ActionsMenuRowItem<T> extends PermissionsBean
Constructor and Description |
---|
ActionsMenuRowItem(T data,
java.lang.Long id)
Instantiates a new row item.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomTitle() |
T |
getData()
Gets the data associated with this RowItem.
|
long |
getId()
Gets the id of this row item.
|
boolean |
isActionAllowed()
Show the actions menu ?
|
boolean |
isAllowDelete()
Is the user allowed to delete this item ?
|
boolean |
isAllowEdit()
Is the user allowed to edit this item ?
|
boolean |
isAllowPermissions()
Is the user allowed to edit permissions for this item ?
|
boolean |
isAllowView()
Is the user allowed to view this item ?
|
boolean |
isSelected()
Is this row selected ?
|
boolean |
isShowActionsMenu()
Show the actions menu ?
|
void |
setSelected(boolean selected)
Set this row selected.
|
checkModelPermission, checkModelPermission, checkPortletPermission, checkPortletPermission, getToggleText, isExpanded, toggle
public ActionsMenuRowItem(T data, java.lang.Long id)
data
- the data associated with this rowid
- the idpublic long getId()
public T getData()
public boolean isSelected()
public void setSelected(boolean selected)
selected
- true/falsepublic boolean isActionAllowed()
public boolean isShowActionsMenu()
public boolean isAllowView()
public boolean isAllowEdit()
public boolean isAllowDelete()
public java.lang.String getCustomTitle()
public boolean isAllowPermissions()