Script: Class dw.content.Library
Class Library
- Object
- dw.object.PersistentObject
- dw.object.ExtensibleObject
- dw.content.Library
- dw.object.ExtensibleObject
- dw.object.PersistentObject
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
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.
Returns the ID of this library.
Returns the root folder for this library.
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
getCreationDate, getLastModified, getUUID
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.
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.