There are no controller level services specifically defined
for source values.
The existing services can be extended to support source values
through the implementation of IDefaultedSourceValue interface. The
methods of this interface:
addDefaultedSourceValue
The
addDefaultedSourceValue() method adds a single instance of the defaulted
source value object to the database.
- Inputs:
- DWLDefaultedSourceValueBObj with no associations
- Returns:
- DWLDefaultedSourceValueBObj with no associations
- Mandatory Fields:
- entityName
- instancePK
- attributeName
- forcedValue
Note: This is to be implemented as an extension.
For example, a client passes InfoSphere® MDM a TCRMOrganizationObject that contains an extension object,
TCRMOrganizationExtBObj. The extension object contains a list
of DWLDefaultedSourceValueBObj. Loop through this vector to call the
add method, and add the record.
- Exceptions:
- entityName not supplied
- entityName not valid
- attributeName not supplied
- attributeName not valid
- forcedValue not supplied
- duplicate business key—entityName, instancePKP, attributeName
updateDefaultedSourceValue
The
updateDefaultedSourceValue() method updates a single instance of defaulted
source value object to database for the given key, which is DefaultedSourceValueId.
- Inputs:
- DWLDefaultedSourceValueBObj with no associations.
- Returns:
- DWLDefaultedSourceValueBObj with no associations.
- Mandatory Fields:
- entityName
- instancePK
- attributeName
- forcedValue
Note: For example, a client passes InfoSphere MDM a TCRMOrganizationObject that contains an extension object,
TCRMOrganizationExtBObj. The extension object contains a list
of DWLDefaultedSourceValueBObj. Loop through this vector to call this
method, and update the record.
- Exceptions:
- entityName not supplied
- entityName not valid
- attributeName not supplied
- attributeName not valid
- forcedValue not supplied
- entityName and instancePK not valid
- duplicate business key—entityName, instancePKP, attributeName
getDefaultedSourceValue()
The
getDefaultedSourceValue() method retrieves a list of the defaulted
source value objects to the client.
- Inputs:
-
- Returns:
- List of DWLDefaultedSourceValueBObj with no associations.
- Mandatory Fields:
- entityName
- instancePK
Note: This is to be implemented as an extension.
For example, a client passes InfoSphere MDM a TCRMOrganizationObject that contains an extension object,
TCRMOrganizationExtBObj. The extension object returns a list
of DWLDefaultedSourceValueBObj.
- Exceptions:
- Entity Name and InstancePK do not exist.
deleteDefaultedSourceValue
The
method deleteDefaultedSourceValue() deletes an existing defaultedSourceValue.
- Inputs:
- DWLDefaultedSourceValueBObj with no associations.
- Returns:
- DWLDefaultedSourceValueBObj that was deleted.
- Mandatory Fields:
-