public interface SceneRepository
| Modifier and Type | Method and Description |
|---|---|
void |
applyAndRecordUpdate(SceneModel model,
SceneUpdate update)
Applise the supplied scene update to persistent representation of its associated scene, then
stores the update persistently for future invocations of the server to load.
|
Object |
loadExtras(int sceneId,
SceneModel model)
Loads optional additional scene data.
|
SceneModel |
loadSceneModel(int sceneId)
Fetches the model for the scene with the specified scene id.
|
UpdateList |
loadUpdates(int sceneId)
Fetches the set of updates associated with the specified scene.
|
SceneModel loadSceneModel(int sceneId) throws PersistenceException, NoSuchSceneException
PersistenceException - thrown if an error occurs attempting to load the scene data.NoSuchSceneException - thrown if no scene exists with the specified scene id.UpdateList loadUpdates(int sceneId) throws PersistenceException
PersistenceException - thrown if an error occurs attempting to load the scene
updates.Object loadExtras(int sceneId, SceneModel model) throws PersistenceException
SceneManager.gotSceneData(java.lang.Object).PersistenceExceptionvoid applyAndRecordUpdate(SceneModel model, SceneUpdate update) throws PersistenceException
PersistenceException - thrown if an error occurs attempting to apply the scene
update.Copyright © 2015. All rights reserved.