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.

Back to Index