Name owners
NameOwner is the interface for a helper object that is passed to the
modal PCF files GlobalPersonNameInputSet and
GlobalContactNameInputSet. The helper object provides a way to
set and get a single name on the enclosing entity. Typically you extend
NameOwnerBase, which implements NameOwner.
While NameOwner provides methods for setting a field to be required
or visible, generally it is better not to modify or override methods such as
isVisible in NameOwnerBase. For most purposes,
specifying the set, required, or hidden fields is more easily controlled by
overriding property getters such as RequiredFields and
HiddenFields declared in NameOwner. You
override these property getters with values such as
NameOwnerFieldId.REQUIRED_NAME_FIELDS or
NameOwnerFieldId.NO_FIELDS.
Following are some properties on NameOwner:
|
Property |
Description |
|---|---|
|
|
Sets (or retrieves) a single contact name on the enclosing
entity, |
|
|
Sets (or retrieves) a single person name on the enclosing entity,
|
|
|
Set of name fields that ClaimCenter hides (does not show) in the application interface. |
|
|
Set of name fields for which the user must supply a value. |
In the base configuration, PolicyCenter provides the following classes
that implement NameOwner or extend a class that implements
NameOwner:
- NameOwnerBase
- AffinityGroupNameOwner
- BasicNameOwner
- ContactNameNoSummaryOwner
- ContactNameOwner
- GroupNameOwner
- MVRDriverNameOwner
- NewAffinityGroupNameOwner
- OrganizationNameOwner
- PLPersonNameSearchOwner
- RequiredBasicNameOwner
- UserSearchNameOwner
In the base configuration, ContactManager provides the following classes that
implement NameOwner or extend a class that implements
NameOwner:
- NameOwnerBase
- ABUserNameOwner
- ContactNameOwner
- PLPersonNameSearchOwner
- SearchNameOwner
- UserSearchNameOwner
