Class JcrDatastoreManager.DatastorePathView

  • Enclosing class:
    JcrDatastoreManager

    public static class JcrDatastoreManager.DatastorePathView
    extends Object
    Some data about the Path of the JCR DataStore.
    • Constructor Detail

      • DatastorePathView

        protected DatastorePathView()
    • Method Detail

      • getPathWithVariable

        public String getPathWithVariable()
        Gets the path with $SILVERPEAS_DATA_HOME environment variable.

        This is for displaying purpose.

        Returns:
        a string representing a path.
      • isValid

        public boolean isValid()
        Indicates that the path is valid.
        Returns:
        true if valid, false otherwise.
      • getContentSize

        public Optional<Long> getContentSize()
        Gets the size, in bytes, of elements contained into Datastore path.

        If the optional is empty, that is because it has not be yet computed, but

        Returns:
        an optional size of the JCR Datastore path content.
      • notifyChanges

        public void notifyChanges()