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

Property Summary 

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.

Constructor Summary 

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

Method Summary 

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.

Methods inherited from class ExtensibleObject 

describe, getCustom

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

Property Details 

CMSChannelID 

CMSChannelID: String (read-only)

Returns the CMS channel of the library.


ID 

ID: String (read-only)

Returns the ID of this library.


displayName 

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 

root: Folder (read-only)

Returns the root folder for this library.


Method Details 

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.