com.polarion.platform.persistence.ICustomFieldsService


FIELDS
Modifiers and TypeNameDescription
String ANNOTATION_KEY_DEFINITION_FILE A Prototype annotation key, that defines the location of the custom field configuration file for the prototype.
String ANNOTATION_KEY_CONTROL_FIELD A Prototype annotation key, that defines the field name whose value can switch between different custom field sets.
METHODS
Modifiers and TypeNameDescription
Collection getValidCustomFieldIds(IPObject)
ICustomField getCustomField(IPObject,String) Similar to {@link ICustomFieldsProvider#getCustomField(String,String,com.polarion.subterra.base.data.identification.IContextId)} , but based on the given instance. (Works correctly with conditional custom fields.)
Collection getCustomFields(String,IContextId,String) Collects all custom fields for the specified prototype and control value. If the control value is specified, only type-specific fields will be collected. (Otherwise only non type-specific fields will be collected.)
Collection getCustomFieldTypesFor(String) Gets all selectable types for the custom fields of the object of the given prototype.
Optional getConfiguredCustomFields(String,IContextId,Object) Collects custom fields for the specified prototype and control value, configured in the given context and for the given (or none) control value. (For example, inherited custom fields are omitted.) If there is no custom field configuration for the given context and control value, an empty option is returned.

Back to Index