Class LayerManagerImpl

java.lang.Object
nl.knaw.dans.layerstore.LayerManagerImpl
All Implemented Interfaces:
LayerManager

public class LayerManagerImpl extends Object implements LayerManager
  • Constructor Details

  • Method Details

    • newTopLayer

      public void newTopLayer()
      Description copied from interface: LayerManager
      Closes the current top layer and creates a new top layer. The old top layer will be scheduled for archiving.
      Specified by:
      newTopLayer in interface LayerManager
    • getLayer

      public Layer getLayer(long id)
      Description copied from interface: LayerManager
      Returns the layer with the given id.
      Specified by:
      getLayer in interface LayerManager
      Parameters:
      id - the id of the layer
      Returns:
      the layer
    • getTopLayer

      public Layer getTopLayer()
      Specified by:
      getTopLayer in interface LayerManager