public class GoalActionsMenuRowItem extends java.lang.Object implements IActionsMenuRow<org.tencompetence.generated.model.Goal>
Constructor and Description |
---|
GoalActionsMenuRowItem(org.tencompetence.generated.model.Goal entity,
IActionEventListener<org.tencompetence.generated.model.Goal> clickLinkListener,
java.util.List<ActionsMenuItem<org.tencompetence.generated.model.Goal>> actionMenuItems)
Instantiates a new goal actions menu row item.
|
Modifier and Type | Method and Description |
---|---|
void |
clickLink(javax.faces.event.ActionEvent ae)
Click link.
|
ActionButtonController<org.tencompetence.generated.model.Goal> |
getActionsButtonController()
Gets the actions button controller.
|
org.tencompetence.generated.model.Goal |
getEntity()
Gets the entity.
|
java.lang.String |
getExtraColumnValue()
Gets the extra column value.
|
java.lang.String |
getTitle()
Gets the title.
|
boolean |
isAllowSubscribe()
Checks if this user is allowed to subscribe to this goal.
|
boolean |
isAllowUnsubscribe()
Checks if this user is allowed to unsubscribe to this goal.
|
boolean |
isSelectableEnabled()
Checks if is selectable enabled.
|
boolean |
isSelected()
Checks if is selected.
|
boolean |
isShowTitleAsLink()
Checks if is show title as link.
|
void |
setSelected(boolean selected)
Sets the selected.
|
public GoalActionsMenuRowItem(org.tencompetence.generated.model.Goal entity, IActionEventListener<org.tencompetence.generated.model.Goal> clickLinkListener, java.util.List<ActionsMenuItem<org.tencompetence.generated.model.Goal>> actionMenuItems)
entity
- the entityclickLinkListener
- the click link listeneractionMenuItems
- the action menu itemspublic boolean isAllowSubscribe()
public boolean isAllowUnsubscribe()
public void clickLink(javax.faces.event.ActionEvent ae)
IActionsMenuRow
clickLink
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
ae
- the aepublic ActionButtonController<org.tencompetence.generated.model.Goal> getActionsButtonController()
IActionsMenuRow
getActionsButtonController
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
public java.lang.String getExtraColumnValue()
IActionsMenuRow
getExtraColumnValue
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
public java.lang.String getTitle()
IActionsMenuRow
getTitle
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
public boolean isSelectableEnabled()
IActionsMenuRow
isSelectableEnabled
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
public boolean isSelected()
IActionsMenuRow
isSelected
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
public boolean isShowTitleAsLink()
IActionsMenuRow
isShowTitleAsLink
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
public void setSelected(boolean selected)
IActionsMenuRow
setSelected
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>
selected
- the new selectedpublic org.tencompetence.generated.model.Goal getEntity()
IActionsMenuRow
getEntity
in interface IActionsMenuRow<org.tencompetence.generated.model.Goal>