Class JCRLocalDropboxDrive.FolderInfo
- java.lang.Object
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.ItemInfo
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.FolderInfo
-
- Direct Known Subclasses:
JCRLocalDropboxDrive.MetadataInfo.ParentInfo
- Enclosing class:
- JCRLocalDropboxDrive
protected class JCRLocalDropboxDrive.FolderInfo extends JCRLocalDropboxDrive.ItemInfo
The Class FolderInfo.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
JCRLocalDropboxDrive.MetadataInfo.ParentInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JCRLocalDropboxDrive.FileInfoasFile()As file.protected JCRLocalDropboxDrive.FolderInfoasFolder()As folder.protected StringgetId()Gets the id.protected StringgetPath()Gets the lower path.protected StringgetPathDisplay()Gets the display path.protected StringgetTitle()Gets the title displayed to users.protected booleanisDeleted()Checks if is deleted.protected booleanisFile()Checks if is file.protected booleanisFolder()Checks if is folder.StringtoString()-
Methods inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.ItemInfo
asItem, isItem
-
Methods inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
getName, getParentPath, getParentPathDisplay, isRoot, parent, splitPath
-
-
-
-
Method Detail
-
isFolder
protected boolean isFolder()
Checks if is folder.- Specified by:
isFolderin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is folder or root of the drive
-
isFile
protected boolean isFile()
Checks if is file.- Specified by:
isFilein classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is file
-
isDeleted
protected boolean isDeleted()
Checks if is deleted.- Specified by:
isDeletedin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is deleted
-
asFile
protected JCRLocalDropboxDrive.FileInfo asFile()
As file.- Specified by:
asFilein classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the file info
-
asFolder
protected JCRLocalDropboxDrive.FolderInfo asFolder()
As folder.- Specified by:
asFolderin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the folder info
-
getId
protected String getId()
Gets the id.- Specified by:
getIdin classJCRLocalDropboxDrive.ItemInfo- Returns:
- the id
-
getTitle
protected String getTitle()
Gets the title displayed to users.- Specified by:
getTitlein classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the title
-
getPath
protected String getPath()
Gets the lower path.- Specified by:
getPathin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the lower path
-
getPathDisplay
protected String getPathDisplay()
Gets the display path.- Specified by:
getPathDisplayin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the display path
-
-