dw.content
Class Folder
Class representing a folder for organizing content assets in Commerce Cloud Digital.
Properties
content  :  Collection  (Read Only)
The content objects for this folder, sorted by position.
description  :  String  (Read Only)
The description for the folder as known in the current locale or null if it cannot be found.
displayName  :  String  (Read Only)
The display name for the folder as known in the current locale or null if it cannot be found.
ID  :  String  (Read Only)
The ID of the folder. The ID can be used to uniquely identify a folder within any given library. This folder ID provides an alternative lookup mechanism for folders frequently used in the storefront.
online  :  boolean  (Read Only)
Indicates if the folder is set online or offline. Initially, all folders are set online.
onlineContent  :  Collection  (Read Only)
The online content objects for this folder, sorted by position.
onlineSubFolders  :  Collection  (Read Only)
The online subfolders of this folder, sorted by position.
pageDescription  :  String  (Read Only)
The page description for this folder using the value in the current locale, or returns null if no value was found.
pageKeywords  :  String  (Read Only)
The page keywords for this folder using the value in the current locale, or returns null if no value was found.
pageTitle  :  String  (Read Only)
The page title for this folder using the value in the current locale, or returns null if no value was found.
pageURL  :  String  (Read Only)
The page URL for this folder using the value in the current locale, or returns null if no value was found.
parent  :  Folder  (Read Only)
The parent folder of this folder.
root  :  boolean  (Read Only)
Indicates if this is the root folder.
siteMapChangeFrequency  :  String  (Read Only)
The folder's sitemap change frequency.
siteMapIncluded  :  Number  (Read Only)
The folder's sitemap inclusion.
siteMapPriority  :  Number  (Read Only)
The folder's sitemap priority.
subFolders  :  Collection  (Read Only)
The subfolders of this folder, sorted by position.
template  :  String  (Read Only)
The name of the template used to render the folder in the store front.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getContent() : Collection
Returns the content objects for this folder, sorted by position.
getDescription() : String
Returns the description for the folder as known in the current locale or null if it cannot be found.
getDisplayName() : String
Returns the display name for the folder as known in the current locale or null if it cannot be found.
getID() : String
Returns the ID of the folder.
getOnlineContent() : Collection
Returns the online content objects for this folder, sorted by position.
getOnlineSubFolders() : Collection
Returns the online subfolders of this folder, sorted by position.
getPageDescription() : String
Returns the page description for this folder using the value in the current locale, or returns null if no value was found.
getPageKeywords() : String
Returns the page keywords for this folder using the value in the current locale, or returns null if no value was found.
getPageTitle() : String
Returns the page title for this folder using the value in the current locale, or returns null if no value was found.
getPageURL() : String
Returns the page URL for this folder using the value in the current locale, or returns null if no value was found.
getParent() : Folder
Returns the parent folder of this folder.
getSiteMapChangeFrequency() : String
Returns the folder's sitemap change frequency.
getSiteMapIncluded() : Number
Returns the folder's sitemap inclusion.
getSiteMapPriority() : Number
Returns the folder's sitemap priority.
getSubFolders() : Collection
Returns the subfolders of this folder, sorted by position.
getTemplate() : String
Returns the name of the template used to render the folder in the store front.
isOnline() : boolean
Indicates if the folder is set online or offline.
isRoot() : boolean
Indicates if this is the root folder.
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
Method Detail
getContent
getContent() : Collection
Returns the content objects for this folder, sorted by position.
Returns:
the content objects for this folder, sorted by position.

getDescription
getDescription() : String
Returns the description for the folder as known in the current locale or null if it cannot be found.
Returns:
the description for the folder as known in the current locale or null if it cannot be found.

getDisplayName
getDisplayName() : String
Returns the display name for the folder as known in the current locale or null if it cannot be found.
Returns:
the display name for the folder as known in the current locale or null if it cannot be found.

getID
getID() : String
Returns the ID of the folder. The ID can be used to uniquely identify a folder within any given library. This folder ID provides an alternative lookup mechanism for folders frequently used in the storefront.
Returns:
the ID of the folder.

getOnlineContent
getOnlineContent() : Collection
Returns the online content objects for this folder, sorted by position.
Returns:
the online content objects for this folder, sorted by position.

getOnlineSubFolders
getOnlineSubFolders() : Collection
Returns the online subfolders of this folder, sorted by position.
Returns:
the online subfolders of this folder, sorted by position.

getPageDescription
getPageDescription() : String
Returns the page description for this folder using the value in the current locale, or returns null if no value was found.
Returns:
the page description for this folder using the value in the current locale, or returns null if no value was found.

getPageKeywords
getPageKeywords() : String
Returns the page keywords for this folder using the value in the current locale, or returns null if no value was found.
Returns:
the page keywords for this folder using the value in the current locale, or returns null if no value was found.

getPageTitle
getPageTitle() : String
Returns the page title for this folder using the value in the current locale, or returns null if no value was found.
Returns:
the page title for this folder using the value in the current locale, or returns null if no value was found.

getPageURL
getPageURL() : String
Returns the page URL for this folder using the value in the current locale, or returns null if no value was found.
Returns:
the page URL for this folder using the value in the current locale, or returns null if no value was found.

getParent
getParent() : Folder
Returns the parent folder of this folder.
Returns:
the parent folder of this folder.

getSiteMapChangeFrequency
getSiteMapChangeFrequency() : String
Returns the folder's sitemap change frequency.
Returns:
the value of the attribute 'siteMapChangeFrequency'.

getSiteMapIncluded
getSiteMapIncluded() : Number
Returns the folder's sitemap inclusion.
Returns:
the value of the attribute 'siteMapIncluded'.

getSiteMapPriority
getSiteMapPriority() : Number
Returns the folder's sitemap priority.
Returns:
the value of the attribute 'siteMapPriority'.

getSubFolders
getSubFolders() : Collection
Returns the subfolders of this folder, sorted by position.
Returns:
the subfolders of this folder, sorted by position.

getTemplate
getTemplate() : String
Returns the name of the template used to render the folder in the store front.
Returns:
the name of the template used to render the folder.

isOnline
isOnline() : boolean
Indicates if the folder is set online or offline. Initially, all folders are set online.
Returns:
true if the folder is online, false otherwise.

isRoot
isRoot() : boolean
Indicates if this is the root folder.
Returns:
true if this is the root folder, false otherwise.