Package com.day.cq.dam.scene7.api.model
Interface Scene7Folder
-
public interface Scene7FolderAbstraction of a Scene7 folder structure
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSubFolder(Scene7Folder subFolder)Includes the subFolder parameter in the list of sub folders of this S7 folderjava.lang.StringgetFolderHandle()Returns this folder's S7 handlejava.util.DategetLastModified()Returns the last modified date of this S7 folderjava.lang.StringgetPath()Returns this folder's S7 pathjava.util.List<Scene7Folder>getSubFolders()Returns the list of sub folders of this S7 folderjava.lang.BooleanhasSubFolders()Returns if it has sub folders for this S7 folder
-
-
-
Method Detail
-
getFolderHandle
java.lang.String getFolderHandle()
Returns this folder's S7 handle- Returns:
- a
Stringcontaining the Scene7 folder handle
-
getPath
java.lang.String getPath()
Returns this folder's S7 path- Returns:
- a
Stringcontaining the Scene7 folder path
-
getLastModified
java.util.Date getLastModified()
Returns the last modified date of this S7 folder- Returns:
- a
Dateobject containing the last modified date of this Scene7 folder
-
getSubFolders
java.util.List<Scene7Folder> getSubFolders()
Returns the list of sub folders of this S7 folder- Returns:
- a
Listcontaining the Scene7 sub-folders for this folder
-
hasSubFolders
java.lang.Boolean hasSubFolders()
Returns if it has sub folders for this S7 folder- Returns:
- a
Booleanindicate if it contains sub-folders for this folder
-
addSubFolder
void addSubFolder(Scene7Folder subFolder)
Includes the subFolder parameter in the list of sub folders of this S7 folder- Parameters:
subFolder- aScene7Folderobject
-
-