public class PlanetControllerBean extends AbstractCrudControllerBean<Planet> implements PlanetControllerLocal
| Constructor and Description |
|---|
PlanetControllerBean() |
| Modifier and Type | Method and Description |
|---|---|
List<Planet> |
findAll()
Finds all Planets.
|
List<Planet> |
findByCriteria(Searchable criteria)
Finds Planets based upon criteria.
|
Class<Planet> |
getItemType()
Gets the type of the Entity to maintain.
|
Moon |
mergeMoon(Moon moon)
Merges the supplied moon.
|
void |
persistMoon(Moon moon)
Persists a Moon.
|
void |
removeMoon(Moon moon)
Removes the supplied moon.
|
findById, getEntityManager, merge, persist, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindById, merge, persist, removepublic Class<Planet> getItemType()
getItemType in class AbstractCrudControllerBean<Planet>public List<Planet> findByCriteria(Searchable criteria)
findByCriteria in interface CrudActions<Planet>criteria - The search criteria.public List<Planet> findAll()
findAll in interface PlanetControllerRemotepublic void persistMoon(Moon moon)
persistMoon in interface PlanetControllerRemotemoon - The Moon to persist.public Moon mergeMoon(Moon moon)
mergeMoon in interface PlanetControllerRemotemoon - The Moon to merge.public void removeMoon(Moon moon)
removeMoon in interface PlanetControllerRemotemoon - The Moon to merge.Copyright © 2008–2018. All rights reserved.