Package com.day.cq.dam.scene7.api.model
Interface Scene7Folder
public interface Scene7Folder
Abstraction of a Scene7 folder structure
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubFolder(Scene7Folder subFolder) Includes the subFolder parameter in the list of sub folders of this S7 folderReturns this folder's S7 handleReturns the last modified date of this S7 foldergetPath()Returns this folder's S7 pathReturns the list of sub folders of this S7 folderReturns if it has sub folders for this S7 folder
-
Method Details
-
getFolderHandle
String getFolderHandle()Returns this folder's S7 handle- Returns:
- a
Stringcontaining the Scene7 folder handle
-
getPath
String getPath()Returns this folder's S7 path- Returns:
- a
Stringcontaining the Scene7 folder path
-
getLastModified
Date getLastModified()Returns the last modified date of this S7 folder- Returns:
- a
Dateobject containing the last modified date of this Scene7 folder
-
getSubFolders
List<Scene7Folder> getSubFolders()Returns the list of sub folders of this S7 folder- Returns:
- a
Listcontaining the Scene7 sub-folders for this folder
-
hasSubFolders
Boolean hasSubFolders()Returns if it has sub folders for this S7 folder- Returns:
- a
Booleanindicate if it contains sub-folders for this folder
-
addSubFolder
Includes the subFolder parameter in the list of sub folders of this S7 folder- Parameters:
subFolder- aScene7Folderobject
-