it.sistematica.isharedoc.sharecloud.model.cmis
Class CmisFolder

java.lang.Object
  extended by it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
      extended by it.sistematica.isharedoc.sharecloud.model.cmis.CmisFile
          extended by it.sistematica.isharedoc.sharecloud.model.cmis.CmisFolder
All Implemented Interfaces:
CloudFile, CloudFolder
Direct Known Subclasses:
DropboxFolder, EvernoteFolder, GoogleDriveFolder

public class CmisFolder
extends CmisFile
implements CloudFolder


Field Summary
 
Fields inherited from class it.sistematica.isharedoc.sharecloud.model.cmis.CmisFile
object
 
Fields inherited from class it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
changedProperties, confidentialityLevel, created, createdBy, deleted, description, entities, file, hidden, modified, modifiedBy, name, note, objectTemplate, original, ownerOrganization, parent, session, status
 
Fields inherited from interface it.sistematica.isharedoc.sharecloud.model.CloudFile
PATH_SEPARATOR, TRASH_DIRECTORY_NAME
 
Constructor Summary
CmisFolder()
           
CmisFolder(CloudSession session, org.apache.chemistry.opencmis.client.api.Folder file)
           
 
Method Summary
 java.util.List<CloudFile> getChildren()
           
 java.lang.String getPath()
           
 java.lang.String getType()
           
 java.lang.Boolean isArchivied()
           
 java.lang.Boolean isDrive()
           
 java.lang.Boolean isFolder()
           
 
Methods inherited from class it.sistematica.isharedoc.sharecloud.model.cmis.CmisFile
addAcl, addSecondaryType, getAcl, getConfidentialityLevelId, getCreated, getCreatedBy, getDescription, getId, getIdFullPath, getModified, getModifiedBy, getName, getNameFullPathWithAttributes, getNote, getNoteInShort, getObject, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getParentObject, getProperties, getProperty, getPropertyValue, getPropertyValueString, getRepositoryPath, getSecondaryTypes, getStatus, isContainer, isDeleted, isHidden, isItemLink, isLink, isRemote, isSpecial, isTopic, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setConfidentialityLevelId, setCreated, setCreatedBy, setDeleted, setDescription, setHidden, setId, setModified, setModifiedBy, setName, setNote, setObjectTemplateId, setOrganizationId, setParent, setPropertyValue, setStatus, trace
 
Methods inherited from class it.sistematica.isharedoc.sharecloud.model.CloudAbstractFile
getAttributesAsString, getAttributeValues, getChangedProperties, getColor, getConfidentialityLevel, getFileType, getIconClass, getIconDescription, getIconMedium, getIconTitle, getIconTree, getInternalFile, getNameFullPath, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getObjectTemplate, getRemotePath, getSession, getTrashPath, getURL, isDocument, isInternal, isReplica, setChangedProperties, setInternalFile, setSession, 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.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, getId, getIdFullPath, getInternalFile, getModified, getModifiedBy, getName, getNameFullPath, getNameFullPathWithAttributes, getNameFullPathWithNote, getNameWithAttributes, getNameWithNote, getNote, getNoteInShort, getObject, getObjectTemplate, getObjectTemplateId, getOrganization, getOrganizationId, getOriginal, getParent, getParentObject, getProperties, getProperty, getPropertyValue, getPropertyValueString, getRemotePath, getRepositoryPath, getSecondaryTypes, getSession, getStatus, getTrashPath, getURL, isContainer, isDeleted, isDocument, isHidden, isInternal, isItemLink, isLink, isRemote, isReplica, isTrash, isTrashed, removeAcl, removeSecondaryType, setAcl, setChangedProperties, setConfidentialityLevelId, setCreated, setCreatedBy, setDeleted, setDescription, setHidden, setId, setInternalFile, setModified, setModifiedBy, setName, setNote, setObjectTemplateId, setOrganizationId, setParent, setPropertyValue, setStatus, trace, traceChanges
 

Constructor Detail

CmisFolder

public CmisFolder()

CmisFolder

public CmisFolder(CloudSession session,
                  org.apache.chemistry.opencmis.client.api.Folder file)
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface CloudFile
Overrides:
getType in class CmisFile
Returns:
LINK for link DOC for document FOLDER for folder

isArchivied

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

isDrive

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

isFolder

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

getChildren

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

getPath

public java.lang.String getPath()
Specified by:
getPath in interface CloudFile
Overrides:
getPath in class CmisFile