Interface ModifiableRepositoryData

All Superinterfaces:
RepositoryData
All Known Implementing Classes:
JCRRepositoryData, MemoryRepositoryData

public interface ModifiableRepositoryData extends RepositoryData
Interface for modifiable data values management in repository
  • Field Details

  • Method Details

    • getRepositoryData

      Description copied from interface: RepositoryData
      Retrieves the value of the repository data stored in the repository with the given name
      Specified by:
      getRepositoryData in interface RepositoryData
      Parameters:
      name - name of the data
      Returns:
      the value of the data
    • getRepositoryData

      Description copied from interface: RepositoryData
      Retrieves the value of the repository data stored in the repository with the given name
      Specified by:
      getRepositoryData in interface RepositoryData
      Parameters:
      name - name of the data
      prefix - prefix of the data name, to use instead of the default one.
      Returns:
      the value of the data
    • addRepositoryData

      Creates a repository data and stores it in the repository with the given name
      Parameters:
      name - name of the data
      dataTypeName - data type name to use on creation
      Returns:
      the value of the data
    • addRepositoryData

      Creates a repository data and stores it in the repository with the given name
      Parameters:
      name - name of the data
      dataTypeName - data type name to use on creation
      prefix - prefix of the data name, to use instead of the default one.
      Returns:
      the value of the data
    • rename

      default void rename(String newName)
      Rename the current repository data
      Parameters:
      newName - the new name
    • rename

      void rename(String newName, String prefix)
      Rename the current repository data
      Parameters:
      newName - the new name
      prefix - prefix of the data name, to use instead of the default one.
    • setValue

      default void setValue(String name, String value)
      Sets the value of the string data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
    • setValue

      void setValue(String name, String value, String prefix)
      Sets the value of the string data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValues

      default void setValues(String name, String[] values)
      Sets the values of the multiple string data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
    • setValues

      void setValues(String name, String[] values, String prefix)
      Sets the values of the multiple string data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValue

      default void setValue(String name, Calendar value)
      Sets the value of the date data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
    • setValue

      void setValue(String name, Calendar value, String prefix)
      Sets the value of the date data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValues

      default void setValues(String name, Calendar[] values)
      Sets the values of the multiple date data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
    • setValues

      void setValues(String name, Calendar[] values, String prefix)
      Sets the values of the multiple date data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValue

      default void setValue(String name, Long value)
      Sets the value of the long data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
    • setValue

      void setValue(String name, Long value, String prefix)
      Sets the value of the long data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValues

      default void setValues(String name, Long[] values)
      Sets the values of the multiple long data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
    • setValues

      void setValues(String name, Long[] values, String prefix)
      Sets the values of the multiple long data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValue

      default void setValue(String name, Double value)
      Sets the value of the double data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
    • setValue

      void setValue(String name, Double value, String prefix)
      Sets the value of the double data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValues

      default void setValues(String name, Double[] values)
      Sets the values of the multiple double data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
    • setValues

      void setValues(String name, Double[] values, String prefix)
      Sets the values of the multiple double data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValue

      default void setValue(String name, Boolean value)
      Sets the value of the boolean data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
    • setValue

      void setValue(String name, Boolean value, String prefix)
      Sets the value of the boolean data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValues

      default void setValues(String name, Boolean[] values)
      Sets the values of the multiple boolean data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
    • setValues

      void setValues(String name, Boolean[] values, String prefix)
      Sets the values of the multiple boolean data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValue

      default void setValue(String name, InputStream value)
      Sets the value of the input stream data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
    • setValue

      void setValue(String name, InputStream value, String prefix)
      Sets the value of the input stream data stored in the repository with the given name
      Parameters:
      name - name of the data
      value - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • setValues

      default void setValues(String name, InputStream[] values)
      Sets the values of the multiple input stream data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
    • setValues

      void setValues(String name, InputStream[] values, String prefix)
      Sets the values of the multiple input stream data stored in the repository with the given name
      Parameters:
      name - name of the data
      values - the value to set
      prefix - prefix of the data name, to use instead of the default one.
    • removeValue

      default void removeValue(String name) throws UnknownDataException
      Removes the value of the data stored in the repository with the given name
      Parameters:
      name - name of the data
      Throws:
      UnknownDataException - if there is no data stored with the given name
    • removeValue

      void removeValue(String name, String prefix) throws UnknownDataException
      Removes the value of the data stored in the repository with the given name
      Parameters:
      name - name of the data
      prefix - prefix of the data name, to use instead of the default one.
      Throws:
      UnknownDataException - if there is no data stored with the given name