Class JCRLocalDropboxDrive.ItemInfo
- java.lang.Object
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.ItemInfo
-
- Direct Known Subclasses:
JCRLocalDropboxDrive.FileInfo,JCRLocalDropboxDrive.FolderInfo
- Enclosing class:
- JCRLocalDropboxDrive
protected abstract class JCRLocalDropboxDrive.ItemInfo extends JCRLocalDropboxDrive.MetadataInfo
Dropbox item helper to extract info from its file/folder metadata object.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
JCRLocalDropboxDrive.MetadataInfo.ParentInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedItemInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected JCRLocalDropboxDrive.ItemInfoasItem()As item.protected abstract StringgetId()Gets the id.protected booleanisItem()Checks if is item.-
Methods inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
asFile, asFolder, getName, getParentPath, getParentPathDisplay, getPath, getPathDisplay, getTitle, isDeleted, isFile, isFolder, isRoot, parent, splitPath
-
-
-
-
Method Detail
-
isItem
protected boolean isItem()
Checks if is item.- Specified by:
isItemin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is item
-
asItem
protected JCRLocalDropboxDrive.ItemInfo asItem()
As item.- Specified by:
asItemin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the item info
-
getId
protected abstract String getId()
Gets the id.- Returns:
- the id
-
-