public interface PlanetControllerRemote extends CrudActions<Planet>
| Modifier and Type | Method and Description |
|---|---|
List<Planet> |
findAll()
Finds all Planets.
|
Moon |
mergeMoon(Moon moon)
Merges the supplied moon.
|
void |
persistMoon(Moon moon)
Persists a Moon.
|
void |
removeMoon(Moon moon)
Removes the supplied moon.
|
findByCriteria, findById, merge, persist, removevoid persistMoon(Moon moon)
moon - The Moon to persist.NullPointerException - When the supplied moon is null.javax.persistence.PersistenceException - When the persist operation
failed.Moon mergeMoon(Moon moon)
moon - The Moon to merge.NullPointerException - When the supplied moon is null.javax.persistence.PersistenceException - when the merge operation
failed.void removeMoon(Moon moon)
moon - The Moon to merge.NullPointerException - When the supplied moon is null.javax.persistence.PersistenceException - when the remove operation
failed.Copyright © 2008–2018. All rights reserved.