Interface IDfExternalFileStore

All Superinterfaces:
IDfExternalStore, IDfPersistentObject, IDfStore, IDfTypedObject

public interface IDfExternalFileStore extends IDfExternalStore
This interface provides access to external file store data stored in dm_extern_file object. This class validates a required properties, name, to be set before saving the object. Otherwise, an exception is thrown.
  • Method Details

    • setClientRoot

      void setClientRoot(String clientRoot) throws DfException
      Sets the client root of this storage. A location object is created when save.
      Parameters:
      clientRoot - The client root of this storage.
      Throws:
      DfException
    • getClientRoot

      String getClientRoot() throws DfException
      Gets the client root of this storage.
      Returns:
      The client root of this storage.
      Throws:
      DfException
    • setDefClientRoot

      void setDefClientRoot(String clientRoot) throws DfException
      Sets def_client_root to a location name. It is a programming error to call this after calling setClientRoot and before calling save.
      Parameters:
      clientRoot - The client root of this storage.
      Throws:
      DfException
    • getDefClientRoot

      String getDefClientRoot() throws DfException
      Gets the def_client_root value. It is a programming error to call this after calling setClientRoot and before calling save.
      Returns:
      The client root of this storage.
      Throws:
      DfException
    • setDefServerRoot

      void setDefServerRoot(String clientRoot) throws DfException
      Sets the client root of this storage. A location object is created when save.
      Parameters:
      clientRoot - The client root of this storage.
      Throws:
      DfException
    • getDefServerRoot

      String getDefServerRoot() throws DfException
      Gets the client root of this storage.
      Returns:
      The client root of this storage.
      Throws:
      DfException
    • setServerRoots

      void setServerRoots(IDfProperties serverRoots) throws DfException
      Sets the server root of this storage. It sets the configuration name along with its location to this storage. This method overwrites the whole set of old values.
      Parameters:
      serverRoots - A IDfProperties of the server roots. The key represents the configuration name and its value represents the corresponding location.
      Throws:
      DfException
    • getServerRoots

      IDfProperties getServerRoots() throws DfException
      Gets the server roots of this storage.
      Returns:
      A IDfProperties of the server roots. The key represents the configuration name and its value represents the corresponding location.
      Throws:
      DfException