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().

PropertyDescription
CMSChannelID: String (read-only)Returns the CMS channel of the library.
ID: String (read-only)Returns the ID of this library.
displayName: String (read-only)Returns the display name for the library as known in the current locale or null if it cannot be found.
root: Folder (read-only)Returns the root folder for this library.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getCMSChannelID()Returns the CMS channel of the library.
getDisplayName()Returns the display name for the library as known in the current locale or null if it cannot be found.
getID()Returns the ID of this library.
getRoot()Returns the root folder for this library.

describe, getCustom

getCreationDate, getLastModified, getUUID

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

CMSChannelID: String (read-only)

Returns the CMS channel of the library.


ID: String (read-only)

Returns the ID of this library.


displayName: String (read-only)

Returns the display name for the library as known in the current locale or null if it cannot be found.


root: Folder (read-only)

Returns the root folder for this library.


getCMSChannelID(): String

Returns the CMS channel of the library.

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 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.

Returns:

  • the ID of this library.

getRoot(): Folder

Returns the root folder for this library.

Returns:

  • the root Folder for this library.