it.sistematica.isharedoc.sharecloud.model.replica
Class ReplicaFile
java.lang.Object
it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
it.sistematica.isharedoc.sharecloud.model.replica.ReplicaFile
- All Implemented Interfaces:
- CloudFile
- Direct Known Subclasses:
- ReplicaDocument, ReplicaFolder
public class ReplicaFile
- extends CloudAbstractFile
- implements CloudFile
| Fields inherited from class it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile |
changedProperties, confidentialityLevel, created, createdBy, deleted, description, entities, file, hidden, id, modified, modifiedBy, name, note, objectTemplate, original, ownerOrganization, parent, session, status |
| Methods inherited from class it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile |
addAcl, addSecondaryType, getAcl, getAttributesAsString, getAttributeValues, getChangedProperties, getColor, getConfidentialityLevel, getConfidentialityLevelId, getDescription, getFileType, getIconClass, getIconDescription, getIconMedium, getIconTitle, getIconTree, getIdFullPath, getInternalFile, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getParentObject, getPropertyValueString, getRemotePath, getSession, getStatus, getTrashPath, getURL, isContainer, isDeleted, isDocument, isDrive, isFolder, isHidden, isItemLink, isLink, isRemote, isSpecial, isTopic, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setChangedProperties, setConfidentialityLevelId, setDeleted, setDescription, setHidden, setInternalFile, setNote, setObjectTemplateId, setOrganizationId, setParent, setPropertyValue, setSession, setStatus, toString, traceChanges |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.sistematica.isharedoc.sharecloud.model.CloudFile |
addAcl, addSecondaryType, getAcl, getAttributesAsString, getAttributeValues, getChangedProperties, getColor, getConfidentialityLevel, getConfidentialityLevelId, getDescription, getFileType, getIconClass, getIconDescription, getIconMedium, getIconTitle, getIconTree, getIdFullPath, getInternalFile, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getParentObject, getPropertyValueString, getRemotePath, getSession, getStatus, getTrashPath, getURL, isContainer, isDeleted, isDocument, isDrive, isFolder, isHidden, isItemLink, isLink, isRemote, isSpecial, isTopic, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setChangedProperties, setConfidentialityLevelId, setDeleted, setDescription, setHidden, setInternalFile, setNote, setObjectTemplateId, setOrganizationId, setParent, setPropertyValue, setStatus, traceChanges |
object
@XStreamAsAttribute
protected DocumentContentReplica object
content
protected DocumentContent content
document
protected Document document
ReplicaFile
public ReplicaFile(CloudSession session,
DocumentContentReplica file)
getSourceDocument
public Document getSourceDocument()
getObject
public java.lang.Object getObject()
- Specified by:
getObject in interface CloudFile
isReplica
public java.lang.Boolean isReplica()
- Specified by:
isReplica in interface CloudFile- Overrides:
isReplica in class CloudAbstractFile
isInternal
public java.lang.Boolean isInternal()
- Specified by:
isInternal in interface CloudFile- Overrides:
isInternal in class CloudAbstractFile
getId
public java.lang.String getId()
- Specified by:
getId in interface CloudFile- Overrides:
getId in class CloudAbstractFile
setId
public void setId(java.lang.String id)
- Specified by:
setId in interface CloudFile- Overrides:
setId in class CloudAbstractFile
getType
public java.lang.String getType()
- Specified by:
getType in interface CloudFile- Overrides:
getType in class CloudAbstractFile
- Returns:
- LINK for link
DOC for document
FOLDER for folder
getCreated
public java.util.Date getCreated()
- Specified by:
getCreated in interface CloudFile- Overrides:
getCreated in class CloudAbstractFile
setCreated
public void setCreated(java.util.Date created)
- Specified by:
setCreated in interface CloudFile- Overrides:
setCreated in class CloudAbstractFile
getCreatedBy
public java.lang.String getCreatedBy()
- Specified by:
getCreatedBy in interface CloudFile- Overrides:
getCreatedBy in class CloudAbstractFile
setCreatedBy
public void setCreatedBy(java.lang.String createdBy)
- Specified by:
setCreatedBy in interface CloudFile- Overrides:
setCreatedBy in class CloudAbstractFile
getModified
public java.util.Date getModified()
- Specified by:
getModified in interface CloudFile- Overrides:
getModified in class CloudAbstractFile
setModified
public void setModified(java.util.Date modified)
- Specified by:
setModified in interface CloudFile- Overrides:
setModified in class CloudAbstractFile
getModifiedBy
public java.lang.String getModifiedBy()
- Specified by:
getModifiedBy in interface CloudFile- Overrides:
getModifiedBy in class CloudAbstractFile
setModifiedBy
public void setModifiedBy(java.lang.String modifiedBy)
- Specified by:
setModifiedBy in interface CloudFile- Overrides:
setModifiedBy in class CloudAbstractFile
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface CloudFile
getRepositoryPath
public java.lang.String getRepositoryPath()
- Specified by:
getRepositoryPath in interface CloudFile
getName
public java.lang.String getName()
- Specified by:
getName in interface CloudFile- Overrides:
getName in class CloudAbstractFile
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface CloudFile- Overrides:
setName in class CloudAbstractFile
getSecondaryTypes
public java.util.Set<CloudType> getSecondaryTypes()
- Specified by:
getSecondaryTypes in interface CloudFile- Overrides:
getSecondaryTypes in class CloudAbstractFile
getProperty
public CloudProperty getProperty(java.lang.String id)
- Specified by:
getProperty in interface CloudFile- Overrides:
getProperty in class CloudAbstractFile
getProperties
public java.util.Set<CloudProperty> getProperties()
- Specified by:
getProperties in interface CloudFile- Overrides:
getProperties in class CloudAbstractFile
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String id)
- Specified by:
getPropertyValue in interface CloudFile- Overrides:
getPropertyValue in class CloudAbstractFile
trace
public void trace()
- Specified by:
trace in interface CloudFile- Overrides:
trace in class CloudAbstractFile