PersonNotificationModel

A model for mapping notification asset information.

implements: hash
bundle: standard portal bundle
since 2.1.54
A model for mapping notification asset information.

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)

notificationArticle ↦ AssetModel
since 2.1.59
get notification Article information('censhare:module.oc.portal.notification-article')

notificationCreateDate ↦ DateTimeModel
since 2.1.54
get notification asset creation date

notificationIsRead ↦ Long
since 2.1.54
get information the notification read by user or not ('censhare:module.oc.portal.notification-is-read')

notificationMessage ↦ AssetModel
since 2.1.59
get notification message asset information('censhare:module.oc.portal.notification-message')

notificationRecipient ↦ AssetModel
since 2.1.54
get notification asset recipient information ('censhare:module.oc.portal.notification-recipient')

notificationRecipientId ↦ Long
since 2.1.57
get notification recipient ID ('censhare:module.oc.portal.notification-recipient')

notificationSender ↦ AssetModel
since 2.1.54
get notification asset sender information ('censhare:module.oc.portal.notification-sender')

notificationSenderId ↦ Long
since 2.1.57
get notification sender ID ('censhare:module.oc.portal.notification-sender')

notificationType ↦ String
since 2.1.54
get notification asset notification-type information ('censhare:module.oc.portal.notification-type')

Permission Verbs used

message.notificationArticle
since 2.1.59 'message.notificationArticle' - guards requests to '→notificationArticle'

message.notificationCreateDate
since 2.1.54 'message.notificationCreateDate' - guards requests to '→notificationCreateDate'

message.notificationCreateDate
since 2.1.57 'message.notificationCreateDate' - guards requests to '→notificationRecipientId'

message.notificationIsRead
since 2.1.54 'message.notificationIsRead' - guards requests to '→notificationIsRead'

message.notificationMessage
since 2.1.59 'message.notificationMessage' - guards requests to '→notificationMessage'

message.notificationRecipient
since 2.1.54 'message.notificationRecipient' - guards requests to '→notificationRecipient'

message.notificationSender
since 2.1.54 'message.notificationSender' - guards requests to '→notificationSender'

message.notificationSenderId
since 2.1.57 'message.notificationSenderId' - guards requests to '→notificationSenderId'

message.notificationType
since 2.1.54 'message.notificationType' - guards requests to '→notificationType'