PersonModel

Model for assets of type 'person.'.

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

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

Defined hash keys

birthday ↦ DateTimeModel
since 5.2.0
get value of feature 'censhare:address.birthday'

company ↦ String;
since 5.2.0
get value of feature 'censhare:address.company'

department ↦ String;
since 5.2.0
get value of feature 'censhare:address.department'

displayName ↦ String
since 5.2.0
get complete name to display

email ↦ EMailAddressModel
since 5.2.0
get email data

employers ↦ sequence< AssetModel >
since 5.2.0
get list of parent assets with relation 'user.employee.'

firstname ↦ String
since 5.2.0
get first name fom feature 'censhare:address.first-name'

function ↦ String;
since 5.2.0
get value of feature 'censhare:address.function'

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)

lastname ↦ String
since 5.2.0
get last name fom feature 'censhare:address.last-name'

middlename ↦ String
since 5.2.0
get middle name fom feature 'censhare:address.middle-name'

other ↦ OtherAddressModel
since 5.2.0
get other address data

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

phone ↦ PhoneAddressModel
since 5.2.0
get phone data

postaddress ↦ PostAddressModel
since 5.2.0
get post address data

prefered ↦ String;
since 5.2.0
get value of feature 'portal:preferred-currency'

salutation ↦ String;
since 5.2.0
get value of feature 'censhare:address.salutation'

title ↦ String;
since 5.2.0
get value of feature 'censhare:address.title'

Permission Verbs used

address.displayname
since 5.2.0 'address.displayname' - guards requests to '→displayName'

address.email
since 5.2.0 'address.email' - guards requests to '→email'

address.other
since 5.2.0 'address.other' - guards requests to '→other'

address.phone
since 5.2.0 'address.phone' - guards requests to '→phone'

address.postaddress
since 5.2.0 'address.postaddress' - guards requests to '→postaddress'

person.birthday
since 5.2.0 'person.birthday' - guards requests to '→birthday'

person.company
since 5.2.0 'person.company' - guards requests to '→company'

person.department
since 5.2.0 'person.department' - guards requests to '→department'

person.employers
since 5.2.0 'person.employers' - guards requests to '→employers'

person.firstname
since 5.2.0 'person.firstname' - guards requests to '→firstname'

person.function
since 5.2.0 'person.function' - guards requests to '→function'

person.lastname
since 5.2.0 'person.lastname' - guards requests to '→lastname'

person.middlename
since 5.2.0 'person.middlename' - guards requests to '→middlename'

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

person.preferedCurrency
since 5.2.0 'person.preferedCurrency' - guards requests to '→prefered'

person.salutation
since 5.2.0 'person.salutation' - guards requests to '→salutation'

person.title
since 5.2.0 'person.title' - guards requests to '→title'