Class ConfigFileProperties

java.lang.Object
com.priint.pubserver.document.ConfigFileProperties
All Implemented Interfaces:
Serializable

public class ConfigFileProperties extends Object implements 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:
  • Field Details

  • Constructor Details

    • ConfigFileProperties

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

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

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

    • 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 String getFilename()
      Gets filename.
      Returns:
      the filename
    • setFilename

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setUpdatedBy(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 String getPluginName()
      Gets plugin name.
      Returns:
      the plugin name
    • setPluginName

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

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

      public void setType(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 String getLocalFilePath()
      Gets local file path.
      Returns:
      the local file path
    • setLocalFilePath

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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