it.sistematica.isharedoc.sharecloud.model.smartsheet
Class SmartsheetFolder

java.lang.Object
  extended by it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
      extended by it.sistematica.isharedoc.sharecloud.model.smartsheet.SmartsheetFolder
All Implemented Interfaces:
CloudFile, CloudFolder

public class SmartsheetFolder
extends CloudAbstractFile
implements CloudFolder


Field Summary
protected  com.smartsheet.api.models.Folder folder
           
protected  CloudFolder parent
           
 
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
 
Fields inherited from interface it.sistematica.isharedoc.sharecloud.model.CloudFile
PATH_SEPARATOR, TRASH_DIRECTORY_NAME
 
Constructor Summary
SmartsheetFolder(CloudSession session, CloudFolder parent, com.smartsheet.api.models.Folder folder)
           
SmartsheetFolder(CloudSession session, com.smartsheet.api.models.Folder folder)
           
 
Method Summary
 java.util.List<CloudFile> getChildren()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.Object getObject()
           
 CloudFolder getParentObject()
           
 java.lang.String getPath()
           
 java.lang.String getRepositoryPath()
           
 java.lang.Boolean isArchivied()
           
 java.lang.Boolean isContainer()
           
 java.lang.Boolean isFolder()
           
 void setName(java.lang.String name)
           
 void setParent(java.lang.String parent)
           
 
Methods inherited from class it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
addAcl, addSecondaryType, getAcl, getAttributesAsString, getAttributeValues, getChangedProperties, getColor, getConfidentialityLevel, getConfidentialityLevelId, getCreated, getCreatedBy, getDescription, getFileType, getIconClass, getIconDescription, getIconMedium, getIconTitle, getIconTree, getIdFullPath, getInternalFile, getModified, getModifiedBy, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getProperties, getProperty, getPropertyValue, getPropertyValueString, getRemotePath, getSecondaryTypes, getSession, getStatus, getTrashPath, getType, getURL, isDeleted, isDocument, isDrive, 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.CloudFolder
isSpecial, isTopic
 
Methods inherited from interface it.sistematica.isharedoc.sharecloud.model.CloudFile
addAcl, addSecondaryType, getAcl, getAttributesAsString, getAttributeValues, getChangedProperties, getColor, getConfidentialityLevel, getConfidentialityLevelId, getCreated, getCreatedBy, getDescription, getFileType, getIconClass, getIconDescription, getIconMedium, getIconTitle, getIconTree, getIdFullPath, getInternalFile, getModified, getModifiedBy, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getProperties, getProperty, getPropertyValue, getPropertyValueString, getRemotePath, getSecondaryTypes, getSession, getStatus, getTrashPath, getType, getURL, isDeleted, isDocument, isDrive, isHidden, isInternal, isItemLink, isLink, isRemote, isReplica, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setChangedProperties, setConfidentialityLevelId, setCreated, setCreatedBy, setDeleted, setDescription, setHidden, setId, setInternalFile, setModified, setModifiedBy, setNote, setObjectTemplateId, setOrganizationId, setPropertyValue, setStatus, trace, traceChanges
 

Field Detail

folder

protected com.smartsheet.api.models.Folder folder

parent

protected CloudFolder parent
Constructor Detail

SmartsheetFolder

public SmartsheetFolder(CloudSession session,
                        com.smartsheet.api.models.Folder folder)

SmartsheetFolder

public SmartsheetFolder(CloudSession session,
                        CloudFolder parent,
                        com.smartsheet.api.models.Folder folder)
Method Detail

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface CloudFile

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 CloudFile
Overrides:
getName in class CloudAbstractFile

getParentObject

public CloudFolder getParentObject()
Specified by:
getParentObject in interface CloudFile
Overrides:
getParentObject 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

isFolder

public java.lang.Boolean isFolder()
Specified by:
isFolder in interface CloudFile
Overrides:
isFolder in class CloudAbstractFile

isContainer

public java.lang.Boolean isContainer()
Specified by:
isContainer in interface CloudFile
Overrides:
isContainer 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

getChildren

public java.util.List<CloudFile> getChildren()
Specified by:
getChildren in interface CloudFolder

isArchivied

public java.lang.Boolean isArchivied()
Specified by:
isArchivied in interface CloudFolder