Package org.silverpeas.core.cmis.model
Interface Fileable
-
- All Known Subinterfaces:
Folding
- All Known Implementing Classes:
Application
,CmisFile
,CmisFolder
,ContributionFolder
,DocumentFile
,Publication
,Space
public interface Fileable
A CMIS object with the capabilities of being file-able into the CMIS objects tree. Those include CMIS folders, CMIS documents, CMIS policies and CMIS items.- Author:
- mmoquillon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getParentId()
Gets the unique identifier of the folder into which this object is filed.String
getPath()
Gets the path of this object from the root folder in the CMIS objects tree.default boolean
isOrphaned()
Is this file-able object orphaned?
-
-
-
Method Detail
-
getParentId
String getParentId()
Gets the unique identifier of the folder into which this object is filed.- Returns:
- the unique identifier of the parent of this fileable instance or null if it is a root folder. Cannot be null or empty for any non-folder objects.
-
getPath
String getPath()
Gets the path of this object from the root folder in the CMIS objects tree.- Returns:
- a slash-separated path whose the first slash is the root folder in the CMIS objects tree.
-
isOrphaned
default boolean isOrphaned()
Is this file-able object orphaned? A file-able object is orphaned if and only if it isn't in the CMIS objects tree and, as such, it has no parent. In this case, thegetParentId()
returns null.- Returns:
-
-