IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.bo
Interface BODataObject


public interface BODataObject

The BODataObject interface represents the client programming model interface for the BODataObject service. The BODataObject service provides a set of helper methods that are extensions to the operations that are currently provided as part of the commonj.sdo.DataObject interface.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 DataObject getBusinessGraph(DataObject businessObject)
          Returns the Business Graph associated with the provided Business Object, if one exists.
 ChangeSummary getChangeSummary(DataObject businessObject)
          Returns the Change Summary associated with the provided Business Object, if one exists.
 BOEventSummary getEventSummary(DataObject businessObject)
          Returns the Event Summary associated with the provided Business Object, if one exists.
 DataObject getRootBusinessObject(DataObject businessObject)
          If the provided Business Object is contained in a Business Graph, the root Business Object of the Business Graph is returned (the value of the data property of the Business Graph).
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getBusinessGraph

DataObject getBusinessGraph(DataObject businessObject)
Returns the Business Graph associated with the provided Business Object, if one exists.

Parameters:
businessObject - The Business Object contained in a Business Graph
Returns:
The Business Graph associated with the Business Object

getChangeSummary

ChangeSummary getChangeSummary(DataObject businessObject)
Returns the Change Summary associated with the provided Business Object, if one exists.

Parameters:
businessObject - The Business Object contained in a Business Graph that contains the Change Summary
Returns:
The Change Summary associated with the Business Object

getEventSummary

BOEventSummary getEventSummary(DataObject businessObject)
Returns the Event Summary associated with the provided Business Object, if one exists.

Parameters:
businessObject - The Business Object contained in a Business Graph that contains the Event Summary
Returns:
The Event Summary associated with the Business Object

getRootBusinessObject

DataObject getRootBusinessObject(DataObject businessObject)
If the provided Business Object is contained in a Business Graph, the root Business Object of the Business Graph is returned (the value of the data property of the Business Graph). If the Business Object is not contained in a Business Graph then the root of the Business Object hierarchy is returned.

Parameters:
businessObject - The Business Object for which the root Business Object can be found
Returns:
The root Business Object in the object hierarchy

IBM WebSphere Application ServerTM
Release 7