Skip to main content
Skip table of contents

ComponentDetailModel

Model for all assets.

implements: hash
bundle: standard portal bundle
since 2.1.45
Model for all assets.

Defined hash keys

componentDocumentStatus ↦ String
since 2.1.45
Returns the the value of feature 'censhare:module.oc.component-documentation-status'

componentDocumentUrl ↦ String
since 2.1.45
Returns the the value aof feature 'censhare:url'

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

component.componentDocumentStatus
since 2.1.45 'component.componentDocumentStatus' - guards requests to '→componentDocumentStatus'

component.componentDocumentUrl
since 2.1.45 'component.componentDocumentUrl' - guards requests to '→componentDocumentUrl'

JavaScript errors detected

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

If this problem persists, please contact our support.