CompanyModel

Model for assets with type 'address.'.

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

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

Defined hash keys

displayName ↦ String
since 5.2.0
get complete name to display

email ↦ EMailAddressModel
since 5.2.0
get email data

employees ↦ sequence< AssetModel >
since 5.2.0
get assets related by 'user.employee.'

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)

other ↦ OtherAddressModel
since 5.2.0
get other address data

phone ↦ PhoneAddressModel
since 5.2.0
get phone data

postaddress ↦ PostAddressModel
since 5.2.0
get post address data

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'

company.employee
since 5.2.0 'company.employee' - guards requests to '→employees'