dw.content
Class 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.
Methods inherited from class
ExtensibleObject
Methods inherited from class
PersistentObject
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
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.
getRoot
getRoot()
:
Folder
Returns the root folder for this library.
Returns:
the root Folder for this library.