Class ConfigFileProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConfigFileProperties
    extends java.lang.Object
    implements java.io.Serializable
    Properties of a config file in the repository. These properties are stored as property values assigned to the file in the repository.
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_ENTITY_MODEL

        @Deprecated
        public static final java.lang.String TYPE_ENTITY_MODEL
        Deprecated.
        The constant TYPE_ENTITY_MODEL.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigFileProperties

        public ConfigFileProperties()
        Instantiates a new Config file properties.
      • ConfigFileProperties

        public ConfigFileProperties​(java.lang.String path,
                                    java.lang.String user)
        Instantiates a new Config file properties.
        Parameters:
        path - the path
        user - the user
      • ConfigFileProperties

        public ConfigFileProperties​(java.lang.String path,
                                    java.lang.String user,
                                    boolean exists)
        Instantiates a new Config file properties.
        Parameters:
        path - the path
        user - the user
        exists - the exists
    • Method Detail

      • getLock

        public DocumentLock getLock()
        Gets current lock status of document.
        Returns:
        the lock
      • setLock

        public void setLock​(DocumentLock lock)
        Sets lock.
        Parameters:
        lock - the lock
      • getFilename

        public java.lang.String getFilename()
        Gets filename.
        Returns:
        the filename
      • setFilename

        public void setFilename​(java.lang.String filename)
        Sets filename.
        Parameters:
        filename - the filename
      • getPath

        public java.lang.String getPath()
        Gets path.
        Returns:
        the path
      • setPath

        public void setPath​(java.lang.String path)
        Sets path.
        Parameters:
        path - the path
      • getName

        public java.lang.String getName()
        Gets name.
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Sets name.
        Parameters:
        name - the name
      • getDescription

        public java.lang.String getDescription()
        Gets description.
        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets description.
        Parameters:
        description - the description
      • getRevision

        public java.lang.String getRevision()
        Gets revision.
        Returns:
        the revision
      • setRevision

        public void setRevision​(java.lang.String revision)
        Sets revision.
        Parameters:
        revision - the revision
      • getCreatedOn

        public java.lang.String getCreatedOn()
        Gets created on.
        Returns:
        the created on
      • setCreatedOn

        public void setCreatedOn​(java.lang.String createdOn)
        Sets created on.
        Parameters:
        createdOn - the created on
      • getCreatedBy

        public java.lang.String getCreatedBy()
        Gets created by.
        Returns:
        the created by
      • setCreatedBy

        public void setCreatedBy​(java.lang.String createdBy)
        Sets created by.
        Parameters:
        createdBy - the created by
      • getUpdatedOn

        public java.lang.String getUpdatedOn()
        Gets updated on.
        Returns:
        the updated on
      • setUpdatedOn

        public void setUpdatedOn​(java.lang.String updatedOn)
        Sets updated on.
        Parameters:
        updatedOn - the updated on
      • getUpdatedBy

        public java.lang.String getUpdatedBy()
        Gets updated by.
        Returns:
        the updated by
      • setUpdatedBy

        public void setUpdatedBy​(java.lang.String updatedBy)
        Sets updated by.
        Parameters:
        updatedBy - the updated by
      • isActive

        public boolean isActive()
        Is active boolean.
        Returns:
        the boolean
      • setActive

        public void setActive​(boolean active)
        Sets active.
        Parameters:
        active - the active
      • getPluginName

        public java.lang.String getPluginName()
        Gets plugin name.
        Returns:
        the plugin name
      • setPluginName

        public void setPluginName​(java.lang.String pluginName)
        Sets plugin name.
        Parameters:
        pluginName - the plugin name
      • getType

        public java.lang.String getType()
        Gets type.
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Sets type.
        Parameters:
        type - the type
      • isDeleted

        public boolean isDeleted()
        Is deleted boolean.
        Returns:
        the boolean
      • setDeleted

        public void setDeleted​(boolean deleted)
        Sets deleted.
        Parameters:
        deleted - the deleted
      • getLocalFilePath

        public java.lang.String getLocalFilePath()
        Gets local file path.
        Returns:
        the local file path
      • setLocalFilePath

        public void setLocalFilePath​(java.lang.String localFilePath)
        Sets local file path.
        Parameters:
        localFilePath - the local file path
      • getClient

        public java.lang.String getClient()
        Gets client.
        Returns:
        the client
      • setClient

        public void setClient​(java.lang.String client)
        Sets client.
        Parameters:
        client - the client
      • getProperties

        public java.util.Map<Document.DocumentProperties,​java.lang.String> getProperties()
        Gets properties.
        Returns:
        the properties
      • setProperties

        public void setProperties​(java.util.Map<Document.DocumentProperties,​java.lang.String> properties)
        Sets properties.
        Parameters:
        properties - the properties
      • addProperty

        public void addProperty​(Document.DocumentProperties name,
                                java.lang.String value)
        Add property.
        Parameters:
        name - the name
        value - the value
      • show

        @Deprecated
        public void show()
        Deprecated.
        Show.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • propertiesToString

        public java.lang.String propertiesToString()
        Properties to string string.
        Returns:
        the string
      • getOrigin

        public java.lang.String getOrigin()
        Gets origin.
        Returns:
        the origin
      • setOrigin

        public void setOrigin​(java.lang.String origin)
        Sets origin.
        Parameters:
        origin - the origin
      • getOriginVersion

        public java.lang.String getOriginVersion()
        Gets origin version.
        Returns:
        the origin version
      • setOriginVersion

        public void setOriginVersion​(java.lang.String originVersion)
        Sets origin version.
        Parameters:
        originVersion - the origin version
      • getHash

        public java.lang.String getHash()
        Gets hash.
        Returns:
        the hash
      • setHash

        public void setHash​(java.lang.String hash)
        Sets hash.
        Parameters:
        hash - the hash