Class JCRLocalDropboxDrive.UnknownInfo
- java.lang.Object
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.UnknownInfo
-
- Enclosing class:
- JCRLocalDropboxDrive
protected final class JCRLocalDropboxDrive.UnknownInfo extends JCRLocalDropboxDrive.MetadataInfo
The Class UnknownInfo for not recognized changes.
-
-
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 JCRLocalDropboxDrive.ItemInfoasItem()As item.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.protected booleanisItem()Checks if is item.StringtoString()-
Methods inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
getName, getParentPath, getParentPathDisplay, isRoot, parent, splitPath
-
-
-
-
Method Detail
-
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
-
asItem
protected JCRLocalDropboxDrive.ItemInfo asItem()
As item.- Specified by:
asItemin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the item info
-
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
-
isItem
protected boolean isItem()
Checks if is item.- Specified by:
isItemin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is item
-
isDeleted
protected boolean isDeleted()
Checks if is deleted.- Specified by:
isDeletedin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is deleted
-
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
-
-