public class MoonBean extends AbstractCrudManyToOneEntityUsingEntityManagerBean<Moon>
AbstractCrudItemBean.DetailItemDelegate, AbstractCrudItemBean.SearchItemsDelegate| Constructor and Description |
|---|
MoonBean()
Public default constructor to make this a bean.
|
| Modifier and Type | Method and Description |
|---|---|
Class<Moon> |
getItemType()
Gets the type of the Entity to maintain.
|
Moon |
getMoon()
Gets the Moon.
|
MoonSearchCriteria |
getSearchCriteria()
Gets the search criteria.
|
void |
init()
Sorts the Moons on their position.
|
void |
prePersist()
Sets the Planet on the current Moon.
|
void |
removeItemListener(javax.faces.event.ActionEvent actionEvent)
Removes the current Moon.
|
void |
rereadParentItemListener(javax.faces.event.ActionEvent actionEvent)
Rereads the current Planet before returning to the Planet page.
|
void |
searchItemsListener(javax.faces.event.ActionEvent actionEvent)
Called when a search needs to be executed.
|
merge, persist, preMerge, preRemove, remove, searchItems, selectItemgetParentId, newItemListener, setParentIdsortbackToSearchItemsListener, getDetailDelegate, getItemObservable, getSearchDelegate, getSearchModePhaseListener, resetSearchCriteriaListener, selectItemListener, submitItemListener, update@PostConstruct public void init()
public Class<Moon> getItemType()
getItemType in class AbstractCrudItemBean<Moon>public Moon getMoon()
public MoonSearchCriteria getSearchCriteria()
getSearchCriteria in class AbstractCrudItemBean<Moon>public void searchItemsListener(javax.faces.event.ActionEvent actionEvent)
searchItemsListener in class AbstractCrudManyToOneEntityUsingEntityManagerBean<Moon>actionEvent - The ActionEvent.public void rereadParentItemListener(javax.faces.event.ActionEvent actionEvent)
actionEvent - The ActionEvent.public void removeItemListener(javax.faces.event.ActionEvent actionEvent)
rereadParentItemListener(ActionEvent) is called
so the Planet is reread.removeItemListener in class AbstractCrudItemBean<Moon>actionEvent - The ActionEvent.public void prePersist()
prePersist in class AbstractCrudManyToOneEntityUsingEntityManagerBean<Moon>Copyright © 2008–2018. All rights reserved.