@Singleton
public class LayoutedSnapshotStore
extends java.lang.Object
| Constructor | Description |
|---|---|
LayoutedSnapshotStore(EventManager eventManager) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(long sessionId,
LayoutedSnapshot layoutedSnapshot) |
Adds a new
LayoutedSnapshot to the Snapshot store |
boolean |
contains(long sessionId,
long snapshotId) |
|
void |
deleteAll(long sessionId) |
Delete all snapshots belonging to the specified sessionId
|
java.util.List<LayoutedSnapshot> |
getAll(long sessionId) |
Returns all Snapshots for the given session id
|
java.util.List<javafx.scene.layout.Region> |
getAllPanes(long sessionId) |
@Inject public LayoutedSnapshotStore(EventManager eventManager)
public void add(long sessionId,
LayoutedSnapshot layoutedSnapshot)
LayoutedSnapshot to the Snapshot storesessionId - related session idlayoutedSnapshot - the layouted snapshot to addpublic java.util.List<LayoutedSnapshot> getAll(long sessionId)
sessionId - session idpublic boolean contains(long sessionId,
long snapshotId)
sessionId - of the snapshotsnapshotId - to checkpublic java.util.List<javafx.scene.layout.Region> getAllPanes(long sessionId)
sessionId - of the snapshotspublic void deleteAll(long sessionId)
sessionId - of the deleted session