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 folderStringgetFolderHandle()Returns this folder's S7 handleDategetLastModified()Returns the last modified date of this S7 folderStringgetPath()Returns this folder's S7 pathList<Scene7Folder>getSubFolders()Returns the list of sub folders of this S7 folderBooleanhasSubFolders()Returns if it has sub folders for this S7 folder
-
-
-
Method Detail
-
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
void addSubFolder(Scene7Folder subFolder)
Includes the subFolder parameter in the list of sub folders of this S7 folder- Parameters:
subFolder- aScene7Folderobject
-
-