Interface ExternalPropertiesConfig

  • All Superinterfaces:
    BaseConfiguration, java.io.Serializable
    All Known Implementing Classes:
    ExternalPropertiesDelegator, ExternalPropertiesImpl

    @Deprecated
    public interface ExternalPropertiesConfig
    extends BaseConfiguration
    Deprecated.
    use TDIProperties instead
    This interface gives access to a configuration's external properties. External properties are special in that the data is stored in an external file rather than by the MetamergeConfig object's storage. Use the BaseConfiguration's getXXX/setXXX methods to read and write properties.
    • Method Detail

      • getFilePath

        java.lang.String getFilePath()
        Deprecated.
        Gets the filePath attribute of the ExternalPropertiesConfig object
        Returns:
        The filePath value
      • setFilePath

        void setFilePath​(java.lang.String path)
        Deprecated.
        Sets the filePath attribute of the ExternalPropertiesConfig object
        Parameters:
        path - The new filePath value
      • getPassword

        java.lang.String getPassword()
        Deprecated.
        Returns the password used when opening an encrypted file
      • setPassword

        void setPassword​(java.lang.String password)
        Deprecated.
        Sets the password used when opening an encrypted file
      • getCipher

        java.lang.String getCipher()
        Deprecated.
        Returns the Cipher algorithm used when reading/writing an encrypted file
      • setCipher

        void setCipher​(java.lang.String cipher)
        Deprecated.
        Sets the Cipher algorithm used when reading/writing an encrypted file
      • getEncrypted

        boolean getEncrypted()
        Deprecated.
        Gets the encrypted flag of the ExternalPropertiesConfig object
        Returns:
        The encrypted value
      • setEncrypted

        void setEncrypted​(boolean encrypted)
        Deprecated.
        Sets the encrypted flag of the ExternalPropertiesConfig object
        Parameters:
        encrypted - The new encrypted value
      • getSaveNeeded

        boolean getSaveNeeded()
        Deprecated.
        Gets the saveNeeded flag of the ExternalPropertiesConfig object
        Returns:
        The saveNeeded value
      • loadData

        void loadData()
               throws java.lang.Exception
        Deprecated.
        This method reads the external properties into memory for subseqent use. This is typically done automatically by the hosting MetamergeConfig object when this object is requested.
        Throws:
        java.lang.Exception - if the operation does not succeed
      • mergeData

        void mergeData​(java.lang.String path)
                throws java.lang.Exception
        Deprecated.
        This method merges the contents of a file into the current list of properties.
        Parameters:
        path - The file path to load properties from
        Throws:
        java.lang.Exception - if the operation does not succeed
      • saveData

        void saveData()
               throws java.lang.Exception
        Deprecated.
        This method writes back the data to the external file.
        Throws:
        java.lang.Exception - if the operation does not succeed