Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.content
dw.content
Class Library
Object
dw.object.PersistentObject
dw.object.ExtensibleObject
dw.content.Library
Class representing a collection of Content assets, and a Folder hierarchy organizing these content assets. Currently only one library is allowed per site. An instance of this library can be obtained by calling ContentMgr.getSiteLibrary().
Properties
CMSChannelID  :  String  (Read Only)
The CMS channel of the library.
displayName  :  String  (Read Only)
The display name for the library as known in the current locale or null if it cannot be found.
ID  :  String  (Read Only)
The ID of this library.
root  :  Folder  (Read Only)
The root folder for this library.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getCMSChannelID() : String
Returns the CMS channel of the library.
getDisplayName() : String
Returns the display name for the library as known in the current locale or null if it cannot be found.
getID() : String
Returns the ID of this library.
getRoot() : Folder
Returns the root folder for this library.
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
Methods inherited from class Object
Method Detail
getCMSChannelID
getCMSChannelID() : String
Returns the CMS channel of the library.
Returns:
the CMS channel of the library

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

getID
getID() : String
Returns the ID of this library.
Returns:
the ID of this library.

getRoot
getRoot() : Folder
Returns the root folder for this library.
Returns:
the root Folder for this library.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.