Package com.day.cq.dam.scene7.api.model
Interface Scene7Folder
-
public interface Scene7Folder
Abstraction of a Scene7 folder structure
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSubFolder(Scene7Folder subFolder)
Includes the subFolder parameter in the list of sub folders of this S7 folderString
getFolderHandle()
Returns this folder's S7 handleDate
getLastModified()
Returns the last modified date of this S7 folderString
getPath()
Returns this folder's S7 pathList<Scene7Folder>
getSubFolders()
Returns the list of sub folders of this S7 folderBoolean
hasSubFolders()
Returns if it has sub folders for this S7 folder
-
-
-
Method Detail
-
getFolderHandle
String getFolderHandle()
Returns this folder's S7 handle- Returns:
- a
String
containing the Scene7 folder handle
-
getPath
String getPath()
Returns this folder's S7 path- Returns:
- a
String
containing the Scene7 folder path
-
getLastModified
Date getLastModified()
Returns the last modified date of this S7 folder- Returns:
- a
Date
object 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
List
containing the Scene7 sub-folders for this folder
-
hasSubFolders
Boolean hasSubFolders()
Returns if it has sub folders for this S7 folder- Returns:
- a
Boolean
indicate 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
- aScene7Folder
object
-
-