public class BusinessObjectMediatorFactory
extends java.lang.Object
Constructor and Description |
---|
BusinessObjectMediatorFactory() |
Modifier and Type | Method and Description |
---|---|
BusinessObjectMediator |
getBusinessObjectMediator(java.lang.Object object,
java.lang.Class mediatorType)
This method returns the business object mediator for the given object and mediator class.
|
ChangeBusinessObjectMediator |
getChangeBusinessObjectMediator(java.lang.Object aNoun)
Get the mediator for the noun
|
ChangeBusinessObjectPartMediator |
getChangeBusinessObjectPartMediator(java.lang.Object aNoun,
java.lang.Object aNounPart)
Gets the mediator for the noun part
|
java.lang.String |
getComponentId() |
static BusinessObjectMediatorFactory |
getInstance(java.lang.String astrComponentId)
Get an instance of the
BusinessObjectManager for the component |
java.util.List |
getMediatorsConfigurations()
Return a list of configuration objects for mediators.
|
ReadBusinessObjectMediator |
getReadBusinessObjectMediator(java.lang.Object aPhysicalEntity)
Gets the mediator for reading the physical entity
|
public static BusinessObjectMediatorFactory getInstance(java.lang.String astrComponentId) throws java.lang.Exception
BusinessObjectManager
for the componentastrComponentId
- The component IdBusinessObjectManager
for the componentjava.lang.Exception
public java.lang.String getComponentId()
public ReadBusinessObjectMediator getReadBusinessObjectMediator(java.lang.Object aPhysicalEntity) throws java.lang.Exception
aPhysicalEntity
- The physical entity to be transformedjava.lang.Exception
public BusinessObjectMediator getBusinessObjectMediator(java.lang.Object object, java.lang.Class mediatorType) throws AbstractApplicationException
object
- The object to return a mediator for.mediatorType
- The type of mediator to return.AbstractApplicationException
- A problem instantiating a mediator.public ChangeBusinessObjectMediator getChangeBusinessObjectMediator(java.lang.Object aNoun) throws java.lang.Exception
aNoun
- The noun for which the mediator is requiredjava.lang.Exception
public ChangeBusinessObjectPartMediator getChangeBusinessObjectPartMediator(java.lang.Object aNoun, java.lang.Object aNounPart) throws java.lang.Exception
aNoun
- The logical nounaNounPart
- The logical noun part contained in the nounjava.lang.Exception
public java.util.List getMediatorsConfigurations()
BusinessObjectMediatorConfig
.