Skip to main content
Skip table of contents

BookMarkModel

Model for an asset of type 'group.' allowing usage as bookmark container.

implements: hash
bundle: standard portal bundle
since 2.0.0
Model for an asset of type 'group.' allowing usage as bookmark container.

Defined hash keys

bookmarks ↦ sequence<AssetModel>
since 2.0.0
get sequence of bookmarked assets

count ↦ long
since 2.0.0
get number of bookmarks

description ↦ sequence<AssetModel>
since 2.0.12
get description of bookmark container asset

hasLock.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is secured by an active lock by permission rights management

  • Example:
    model.hasLock.elem - is elem in model guarded by an active permission lock?
    article.hasLock.text - Returns if there is a permission lock for text configured in 'article' ? (In this example 'article' is of of type ArticleModel)

isLocked.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is is locked for current user by permission rights management

  • Example:
    model.isLocked.elem -- is value for elem in model locked for current logged-in user?
    article.isLocked.text -- Returns if the value for 'text' within 'article' is locked (not accessible) for current user. (In this example 'article' is of of type ArticleModel)

Permission Verbs used

bookMark.bookmarks
since 2.0.0 'bookMark.bookmarks' - guards requests to '→bookmarks'

bookMark.count
since 2.0.0 'bookMark.count' - guards requests to '→count'

bookMark.description
since 2.0.12 'bookMark.description' - guards requests to '→description'

Methods

isBookMark(Number:assetId)boolean
since 2.0.0
Get if asset with given ID is contained as bookmark

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.