Skip to main content
Skip table of contents

LayoutModel

Model for assets of type 'layout.'.

implements: hash
bundle: standard information structure (sismodel)
since 5.2.0
Model for assets of type 'layout.'.

Model for assets where type attribute value starts with 'layout.'.

Defined hash keys

downloadsFilteredDownloadsModel
since 5.2.0
get download informations, related by 'user.downloads.'

firstPage ↦ Long
since 5.2.0
get value of feature 'portal:first-page' (deprecated) or censhare:module.oc.portal.first-page

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)

issueMagazine ↦ String
since 5.2.0
get value of feature 'portal:magazine-name' (deprecated) or censhare:module.oc.portal.magazine-name

issueMonth ↦ Long
since 5.2.0
get value of feature 'portal:issue-month' (deprecated) or censhare:module.oc.portal.issue-month

issueNumber ↦ Long
since 5.2.0
get value of feature 'portal:issue-number' (deprecated) or censhare:module.oc.portal.issue-number

issueYear ↦ Long
since 5.2.0
get value of feature 'portal:issue-year' (deprecated) or censhare:module.oc.portal.issue-year

lastPage ↦ Long
since 5.2.0
get value of feature 'portal:last-page' (deprecated) or censhare:module.oc.portal.last-page

permissionGroups ↦ sequence<PermissionGroupAssetModel>
since 5.2.0
get values of feature 'censhare:module.oc.permission.group'

previews ↦ sequence< StorageItemModel >
since 5.2.0
get preview images

thumbnails ↦ sequence< StorageItemModel >
since 5.2.0
get thumbnail images

Permission Verbs used

layout.downloads
since 5.2.0 'layout.downloads' - guards requests to '→downloads'

layout.firstPage
since 5.2.0 'layout.firstPage' - guards requests to '→firstPage'

layout.issueMonth
since 5.2.0 'layout.issueMonth' - guards requests to '→issueMonth'

layout.issueNumber
since 5.2.0 'layout.issueNumber' - guards requests to '→issueNumber'

layout.issueYear
since 5.2.0 'layout.issueYear' - guards requests to '→issueYear'

layout.lastPage
since 5.2.0 'layout.lastPage' - guards requests to '→lastPage'

layout.magazine
since 5.2.0 'layout.magazine' - guards requests to '→issueMagazine'

layout.permissionGroups
since 5.2.0 'layout.permissionGroups' - guards requests to '→permissionGroups'

layout.previewPageFollows
since 5.2.0 'layout.previewPageFollows' - guards requests to all page previews but the first '→previews'

layout.previews
since 5.2.0 'layout.previews' - guards requests to page previews '→previews'

layout.thumbnailPageFollows
since 5.2.0 'layout.thumbnailPageFollows' - guards requests to page thumbnails but the first '→thumbnails'

layout.thumbnails
since 5.2.0 'layout.thumbnails' - guards requests to page thumbnails '→thumbnails'

JavaScript errors detected

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

If this problem persists, please contact our support.