public class ChangeControlBusinessObjectPartMediatorImpl extends AbstractBusinessObjectMediatorImpl implements BusinessObjectMediator
CMMETADATAto represent change control information. This part mediator is used to handle the identified changeable parts of the noun that requires separate metadata to represent the change control information.
|Constructor and Description|
Creates an instance of the change control business object part mediator.
|Modifier and Type||Method and Description|
The purpose of this method is to determine whether the current part mediator should be responsible for resolving the
This method returns the XPath expression that will resolve this changeable part within the given business object.
This method initializes the mediator by resolving the properties specified by the mediator.
The purpose of this method is to determine whether this part mediator has locking disabled.
The purpose of this method is to populate the specified
public void populateManagedResourceKey(java.lang.Object noun, java.lang.Object nounPart, ManagedResourceKey key)
ManagedResourceKeywith the appropriate information that is used to store the
CMMETADATA. This data is used either to retrieve the locking information or store the locking information pertaining to the specified noun part.
noun- The business object that owns the part that requires change control information.
nounPart- The business object to calculate the change control information.
key- The managed resource key that represent the data that is stored in the
CMMETADATAtable to represent the change control information for the object. This key will already contain the information determined by the parent mediator and this method should add or change existing key information, such as the resource manager metadata and add additional internal key values.
public boolean canHandleObjectPart(java.lang.Object noun, java.lang.Object nounPart)
CMMETADATAthat represents the change control for the specified object.
noun- The business object that owns the part.
nounPart- The part of the business object that requires change control.
trueis returned if this mediator is configured to handle the part of the business object.
public boolean isLockDisabled()
true) will not create data in
CMMETADATAeven though all configuration parameters are specified for the lock data.
trueis returned if this mediator is configured with locks disabled.
public void initializeConfig(BusinessObjectMediatorConfig aConfig, java.util.Map properties)
aConfig- The business object mediator configuration for this object.
properties- The configuration properties of the mediator.
public java.lang.String getObjectPath()