public interface SolarSystemFacadeRemote
| Modifier and Type | Method and Description |
|---|---|
List<Planet> |
findAllPlanets()
Finds all Planets.
|
Moon |
findMoonById(Long objectId)
Finds the Moon with the supplied objectId.
|
List<Moon> |
findMoonsByCriteria(MoonSearchCriteria criteria)
Finds Moons based upon criteria.
|
Planet |
findPlanetById(Long objectId)
Finds the Planet with the supplied objectId.
|
List<Planet> |
findPlanetsByCriteria(PlanetSearchCriteria criteria)
Finds Planets based upon criteria.
|
Moon |
mergeMoon(Moon moon)
Merges the supplied moon.
|
Planet |
mergePlanet(Planet planet)
Merges the supplied planet.
|
void |
persistMoon(Moon moon)
Persists a Moon.
|
void |
persistPlanet(Planet planet)
Persists a Planet.
|
void |
removeMoon(Moon moon)
Removes the supplied moon.
|
void |
removePlanet(Planet planet)
Removes the supplied planet.
|
void persistPlanet(Planet planet)
planet - The Planet to persist.NullPointerException - When the supplied planet is null.javax.persistence.PersistenceException - When the persist operation
failed.Planet findPlanetById(Long objectId)
objectId - The object ID of the Planet to find.List<Planet> findPlanetsByCriteria(PlanetSearchCriteria criteria)
criteria - The search criteria.NullPointerException - When the supplied criteria object is null.Planet mergePlanet(Planet planet)
planet - The Planet to merge.NullPointerException - When the supplied planet is null.javax.persistence.PersistenceException - when the merge operation
failed.void removePlanet(Planet planet)
planet - The Planet to merge.NullPointerException - When the supplied planet is null.javax.persistence.PersistenceException - when the remove operation
failed.void persistMoon(Moon moon)
moon - The Moon to persist.NullPointerException - When the supplied moon is null.javax.persistence.PersistenceException - When the persist operation
failed.Moon findMoonById(Long objectId)
objectId - The object ID of the Moon to find.List<Moon> findMoonsByCriteria(MoonSearchCriteria criteria)
criteria - The search criteria.NullPointerException - When the supplied criteria object is null.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.