it.sistematica.isharedoc.sharecloud.model.smartsheet
Class SmartsheetDocument
java.lang.Object
it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
it.sistematica.isharedoc.sharecloud.model.smartsheet.SmartsheetDocument
- All Implemented Interfaces:
- CloudDocument, CloudDocumentVersion, CloudFile
public class SmartsheetDocument
- extends CloudAbstractFile
- implements CloudDocument, CloudDocumentVersion
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, session, status |
Methods inherited from class it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile |
addAcl, addSecondaryType, getAcl, getAttributesAsString, getAttributeValues, getChangedProperties, getColor, getConfidentialityLevel, getConfidentialityLevelId, getCreatedBy, getDescription, getFileType, getIconClass, getIconTitle, getIconTree, getIdFullPath, getInternalFile, getModifiedBy, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getRemotePath, getSession, getStatus, getTrashPath, getType, getURL, isContainer, isDeleted, isDrive, isFolder, isHidden, isInternal, isItemLink, isLink, isRemote, isReplica, isSpecial, isTopic, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setChangedProperties, setConfidentialityLevelId, setCreated, setCreatedBy, setDeleted, setDescription, setHidden, setId, setInternalFile, setModified, setModifiedBy, setNote, setObjectTemplateId, setOrganizationId, setPropertyValue, setSession, setStatus, toString, trace, 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, getCreatedBy, getDescription, getFileType, getIconClass, getIconTitle, getIconTree, getIdFullPath, getInternalFile, getModifiedBy, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getRemotePath, getSession, getStatus, getTrashPath, getURL, isContainer, isDeleted, isDrive, isFolder, isHidden, isItemLink, isLink, isRemote, isReplica, isSpecial, isTopic, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setChangedProperties, setConfidentialityLevelId, setCreated, setCreatedBy, setDeleted, setDescription, setHidden, setId, setInternalFile, setModified, setModifiedBy, setNote, setObjectTemplateId, setOrganizationId, setPropertyValue, setStatus, trace, traceChanges |
SMARTSHEET_TYPE_ID
public static final java.lang.String SMARTSHEET_TYPE_ID
- See Also:
- Constant Field Values
PROP_PERMALINK
public static final java.lang.String PROP_PERMALINK
- See Also:
- Constant Field Values
PROP_FROM_ID
public static final java.lang.String PROP_FROM_ID
- See Also:
- Constant Field Values
TYPE
public static CloudType TYPE
sheet
protected com.smartsheet.api.models.Sheet sheet
parent
protected CloudFolder parent
sheetResources
protected com.smartsheet.api.SheetResources sheetResources
properties
protected java.util.Map<java.lang.String,java.lang.Object> properties
savedPDF
byte[] savedPDF
SmartsheetDocument
public SmartsheetDocument(CloudSession session,
com.smartsheet.api.models.Sheet sheet)
SmartsheetDocument
public SmartsheetDocument(CloudSession session,
CloudFolder parent,
com.smartsheet.api.models.Sheet sheet)
getObject
public java.lang.Object getObject()
- Specified by:
getObject
in interface CloudFile
getParentObject
public CloudFolder getParentObject()
- Specified by:
getParentObject
in interface CloudFile
- Overrides:
getParentObject
in class CloudAbstractFile
getId
public java.lang.String getId()
- Specified by:
getId
in interface CloudFile
- Overrides:
getId
in class CloudAbstractFile
getName
public java.lang.String getName()
- Specified by:
getName
in interface CloudDocumentVersion
- Specified by:
getName
in interface CloudFile
- Overrides:
getName
in class CloudAbstractFile
setParent
public void setParent(java.lang.String parent)
- Specified by:
setParent
in interface CloudFile
- Overrides:
setParent
in class CloudAbstractFile
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface CloudFile
- Overrides:
setName
in class CloudAbstractFile
getCreated
public java.util.Date getCreated()
- Specified by:
getCreated
in interface CloudFile
- Overrides:
getCreated
in class CloudAbstractFile
getModified
public java.util.Date getModified()
- Specified by:
getModified
in interface CloudFile
- Overrides:
getModified
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
isDocument
public java.lang.Boolean isDocument()
- Specified by:
isDocument
in interface CloudFile
- Overrides:
isDocument
in class CloudAbstractFile
isVersionable
public boolean isVersionable()
- Specified by:
isVersionable
in interface CloudDocument
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface CloudDocument
- Specified by:
getVersion
in interface CloudDocumentVersion
getCurrent
public CloudDocumentVersion getCurrent()
- Specified by:
getCurrent
in interface CloudDocument
getIconMedium
public java.lang.String getIconMedium()
- Specified by:
getIconMedium
in interface CloudFile
- Overrides:
getIconMedium
in class CloudAbstractFile
getIconDescription
public java.lang.String getIconDescription()
- Specified by:
getIconDescription
in interface CloudFile
- Overrides:
getIconDescription
in class CloudAbstractFile
getVersion
public CloudDocumentVersion getVersion(java.lang.String version)
- Specified by:
getVersion
in interface CloudDocument
getVersions
public java.util.List<CloudDocumentVersion> getVersions()
- Specified by:
getVersions
in interface CloudDocument
getSizeString
public java.lang.String getSizeString()
- Specified by:
getSizeString
in interface CloudDocumentVersion
getSize
public java.lang.Long getSize()
- Specified by:
getSize
in interface CloudDocumentVersion
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface CloudDocumentVersion
getStream
public CloudStream getStream()
- Specified by:
getStream
in interface CloudDocumentVersion
getCheckedOutBy
public java.lang.String getCheckedOutBy()
- Specified by:
getCheckedOutBy
in interface CloudDocument
getCheckoutExpire
public java.util.Date getCheckoutExpire()
- Specified by:
getCheckoutExpire
in interface CloudDocument
isSigned
public java.lang.Boolean isSigned()
- Specified by:
isSigned
in interface CloudDocument
getSignatureExpireDate
public java.util.Date getSignatureExpireDate()
- Specified by:
getSignatureExpireDate
in interface CloudDocument
getSignatureStatus
public java.lang.String getSignatureStatus()
- Specified by:
getSignatureStatus
in interface CloudDocument
getSignatureValidationStatus
public java.lang.String getSignatureValidationStatus()
- Specified by:
getSignatureValidationStatus
in interface CloudDocument
getSignatureValidationTimestamp
public java.util.Date getSignatureValidationTimestamp()
- Specified by:
getSignatureValidationTimestamp
in interface CloudDocument
getApplicationReaderType
public java.lang.String getApplicationReaderType()
- Specified by:
getApplicationReaderType
in interface CloudDocument
- Specified by:
getApplicationReaderType
in interface CloudDocumentVersion
getIconReplica
public java.lang.String getIconReplica()
- Specified by:
getIconReplica
in interface CloudDocument
getIconSignature
public java.lang.String getIconSignature()
- Specified by:
getIconSignature
in interface CloudDocument
getSignatureValidationDescription
public java.lang.String getSignatureValidationDescription()
- Specified by:
getSignatureValidationDescription
in interface CloudDocument
getCAdES
public it.neverworks.security.signature.DigSig getCAdES()
throws java.lang.Exception
- Specified by:
getCAdES
in interface CloudDocument
- Throws:
java.lang.Exception
getCheckinComment
public java.lang.String getCheckinComment()
- Specified by:
getCheckinComment
in interface CloudDocumentVersion
isPwc
public boolean isPwc()
- Specified by:
isPwc
in interface CloudDocumentVersion
getReplicas
public java.util.List<DocumentContentReplica> getReplicas()
- Specified by:
getReplicas
in interface CloudDocumentVersion
setReplicas
public void setReplicas(java.util.List<DocumentContentReplica> replicas)
- Specified by:
setReplicas
in interface CloudDocumentVersion
addReplica
public void addReplica(DocumentContentReplica replica)
- Specified by:
addReplica
in interface CloudDocumentVersion
getInternalContent
public DocumentContent getInternalContent()
- Specified by:
getInternalContent
in interface CloudDocumentVersion
setInternalContent
public void setInternalContent(DocumentContent content)
- Specified by:
setInternalContent
in interface CloudDocumentVersion
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
getPropertyValueString
public java.lang.String getPropertyValueString(java.lang.String id)
- Specified by:
getPropertyValueString
in interface CloudFile
- Overrides:
getPropertyValueString
in class CloudAbstractFile
getHash
public java.lang.String getHash()
- Specified by:
getHash
in interface CloudDocumentVersion