Package com.priint.pubserver.document
Class ConfigFileProperties
java.lang.Object
com.priint.pubserver.document.ConfigFileProperties
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Config file properties.ConfigFileProperties(String path, String user) Instantiates a new Config file properties.ConfigFileProperties(String path, String user, boolean exists) Instantiates a new Config file properties. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(Document.DocumentProperties name, String value) Add property.Gets client.Gets created by.Gets created on.Gets description.Gets filename.getHash()Gets hash.Gets local file path.getLock()Gets current lock status of document.getName()Gets name.Gets origin.Gets origin version.getPath()Gets path.Gets plugin name.Gets properties.Gets revision.getType()Gets type.Gets updated by.Gets updated on.booleanisActive()Is active boolean.booleanIs deleted boolean.Properties to string string.voidsetActive(boolean active) Sets active.voidSets client.voidsetCreatedBy(String createdBy) Sets created by.voidsetCreatedOn(String createdOn) Sets created on.voidsetDeleted(boolean deleted) Sets deleted.voidsetDescription(String description) Sets description.voidsetFilename(String filename) Sets filename.voidSets hash.voidsetLocalFilePath(String localFilePath) Sets local file path.voidsetLock(DocumentLock lock) Sets lock.voidSets name.voidSets origin.voidsetOriginVersion(String originVersion) Sets origin version.voidSets path.voidsetPluginName(String pluginName) Sets plugin name.voidsetProperties(Map<Document.DocumentProperties, String> properties) Sets properties.voidsetRevision(String revision) Sets revision.voidSets type.voidsetUpdatedBy(String updatedBy) Sets updated by.voidsetUpdatedOn(String updatedOn) Sets updated on.voidshow()Deprecated.toString()
-
Field Details
-
TYPE_ENTITY_MODEL
Deprecated.The constant TYPE_ENTITY_MODEL.- See Also:
-
-
Constructor Details
-
ConfigFileProperties
public ConfigFileProperties()Instantiates a new Config file properties. -
ConfigFileProperties
Instantiates a new Config file properties.- Parameters:
path- the pathuser- the user
-
ConfigFileProperties
Instantiates a new Config file properties.- Parameters:
path- the pathuser- the userexists- the exists
-
-
Method Details
-
getLock
Gets current lock status of document.- Returns:
- the lock
-
setLock
Sets lock.- Parameters:
lock- the lock
-
getFilename
Gets filename.- Returns:
- the filename
-
setFilename
Sets filename.- Parameters:
filename- the filename
-
getPath
Gets path.- Returns:
- the path
-
setPath
Sets path.- Parameters:
path- the path
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description- the description
-
getRevision
Gets revision.- Returns:
- the revision
-
setRevision
Sets revision.- Parameters:
revision- the revision
-
getCreatedOn
Gets created on.- Returns:
- the created on
-
setCreatedOn
Sets created on.- Parameters:
createdOn- the created on
-
getCreatedBy
Gets created by.- Returns:
- the created by
-
setCreatedBy
Sets created by.- Parameters:
createdBy- the created by
-
getUpdatedOn
Gets updated on.- Returns:
- the updated on
-
setUpdatedOn
Sets updated on.- Parameters:
updatedOn- the updated on
-
getUpdatedBy
Gets updated by.- Returns:
- the updated by
-
setUpdatedBy
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
Gets plugin name.- Returns:
- the plugin name
-
setPluginName
Sets plugin name.- Parameters:
pluginName- the plugin name
-
getType
Gets type.- Returns:
- the type
-
setType
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
Gets local file path.- Returns:
- the local file path
-
setLocalFilePath
Sets local file path.- Parameters:
localFilePath- the local file path
-
getClient
Gets client.- Returns:
- the client
-
setClient
Sets client.- Parameters:
client- the client
-
getProperties
Gets properties.- Returns:
- the properties
-
setProperties
Sets properties.- Parameters:
properties- the properties
-
addProperty
Add property.- Parameters:
name- the namevalue- the value
-
show
Deprecated.Show. -
toString
-
propertiesToString
Properties to string string.- Returns:
- the string
-
getOrigin
Gets origin.- Returns:
- the origin
-
setOrigin
Sets origin.- Parameters:
origin- the origin
-
getOriginVersion
Gets origin version.- Returns:
- the origin version
-
setOriginVersion
Sets origin version.- Parameters:
originVersion- the origin version
-
getHash
Gets hash.- Returns:
- the hash
-
setHash
Sets hash.- Parameters:
hash- the hash
-