SocialPersonModel
A model for assets of type 'person.'. Extending default model with ugc information.
implements: hash
bundle: standard portal bundle
since 2.0.0
A model for assets of type 'person.'. Extending default model with ugc information.
Defined hash keys
bookmarkList ↦ sequence<BookMarkModel>
since 2.0.0
get a list of BookMarkModel
description ↦ NodeModel
since 2.0.0
get the description
followby ↦ sequence<AssetModel>
since 2.0.0
get list of assets this is followed by
followbyCount ↦ number
since 2.0.0
get count of assets this is followed by
following ↦ sequence<AssetModel>
since 2.0.0
get list of assets this follows
followingCount ↦ number
since 2.0.0
get the number of asssets this follows
hasFollowedAnyTopics ↦ boolean
since 2.0.0
get if person follows any topic
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)
isMyFollow ↦ boolean
since 2.0.0
get if this follows current user
noOfUnreadMessage ↦ Integer
since 2.1.54
get the unread message count type of notification-type private-message('noOfUnreadMessage')
noOfUnreadNotification ↦ Integer
since 2.1.59
get the unread message count notification exclude notification-type private-message('noOfUnreadNotification')
Permission Verbs used
person.bookmarkList
since 2.0.0 'person.bookmarkList' - guards requests to '→bookmarkList'
person.description
since 2.0.0 'person.description' - guards requests to '→description'
person.followby
since 2.0.0 'person.followby' - guards requests to '→followby'
person.followbyCount
since 2.0.0 'person.followbyCount' - guards requests to '→followbyCount'
person.following
since 2.0.0 'person.following' - guards requests to '→following'
person.followingCount
since 2.0.0 'person.followingCount' - guards requests to '→followingCount'
person.hasFollowedAnyTopics
since 2.0.0 'person.hasFollowedAnyTopics' - guards requests to '→hasFollowedAnyTopics'
person.isMyFollow
since 2.0.0 'person.isMyFollow' - guards requests to '→isMyFollow'
person.noOfUnreadMessage
since 2.1.54 'person.noOfUnreadMessage' - guards requests to '→noOfUnreadMessage'
person.noOfUnreadNotification
since 2.1.59 'person.noOfUnreadNotification' - guards requests to '→noOfUnreadNotification'