Skip to main content
Skip table of contents

PollModel

Model for assets of type 'poll.'.

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

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

Defined hash keys

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)

mainrubricCategoryModel
since 2017.1.0
get rubric, value of 'censhare:rubric-main'

pubdateDateTimeModel
since 2017.1.0
get value of feature 'censhare:publication-date'

quickPolls ↦ sequence<QuickPollModel>
since 2017.1.0
Returns sequence of Quick-poll models

rubrics ↦ sequence<CategoryModel>
since 2017.1.0
get rubrics, values of 'censhare:rubric'

text ↦ NodeModel
since 2017.1.0
Returns text content from localized main-content connection

topics ↦ sequence<CategoryModel>
since 2017.1.0
get topics, values of 'censhare:topic'

Permission Verbs used

poll.mainrubric
since 2017.1.0 'poll.mainrubric' - guards requests to '→mainrubric'

poll.pubdate
since 2017.1.0 'poll.pubdate' - guards requests to '→pubdate'

poll.rubrics
since 2017.1.0 'poll.rubrics' - guards requests to '→rubrics'

poll.topics
since 2017.1.0 'poll.topics' - guards requests to '→topics'

quickpoll.quickPolls
since 2017.1.0 'quickpoll.quickPolls' - guards requests to '→quickPolls'

quickpoll.text
since 2017.1.0 'quickpoll.text' - guards requests to '→text'

JavaScript errors detected

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

If this problem persists, please contact our support.