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, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findById, merge, persist, remove
public 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 PlanetControllerRemote
public void persistMoon(Moon moon)
persistMoon
in interface PlanetControllerRemote
moon
- The Moon to persist.public Moon mergeMoon(Moon moon)
mergeMoon
in interface PlanetControllerRemote
moon
- The Moon to merge.public void removeMoon(Moon moon)
removeMoon
in interface PlanetControllerRemote
moon
- The Moon to merge.Copyright © 2008–2018. All rights reserved.