Package nl.knaw.dans.layerstore
Interface LayerManager
- All Known Implementing Classes:
LayerManagerImpl
public interface LayerManager
Manages
Layer
s.-
Method Summary
Modifier and TypeMethodDescriptiongetLayer
(long id) Returns the layer with the given id.void
Closes the current top layer and creates a new top layer.
-
Method Details
-
newTopLayer
void newTopLayer()Closes the current top layer and creates a new top layer. The old top layer will be scheduled for archiving. -
getTopLayer
Layer getTopLayer() -
getLayer
Returns the layer with the given id.- Parameters:
id
- the id of the layer- Returns:
- the layer
-