|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ld.dsmediator.update.UpdatePlan
Update plan is a sequence of nodes decomposed from original View SDO object. Each node in sequence can either be a SDO instance only or a SDO with a sub-update plan, which is another sequence of nodes. in View SDO, if a parent DataObject get updated, at least partially due to the changes on the DataObjects nested inside it, then SDO instances corresponding to those children DataObjects will be addChild into sub-update plan. Update plan contains inserted, updated, deleted and unchanged SDO instances as well. Update plan is constructed from a LinkedHashMap tree, independent SDO instances are addChild in the same level and update sequence on their source dataobjects is preserved
Constructor Summary | |
UpdatePlan()
|
Method Summary | |
DataServiceToUpdate |
addDataService(commonj.sdo.DataGraph sdo,
java.lang.String dsName)
Add a independent data graph into update plan as top level object if you need make current sdo be dependent of another sdo in the plan, first locate DataSericeToUpdate object for the parent sdo, then add this sdo to it as contained SDO. |
void |
clear()
|
java.util.Collection |
getDataServiceList()
|
static UpdatePlan |
getDeserializedPlan(byte[] bArray)
|
static byte[] |
getSerializedBytes(UpdatePlan up)
|
void |
removeContainedDataService(commonj.sdo.DataGraph sdo)
Take out a top level data graph object from plan |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UpdatePlan()
Method Detail |
public java.util.Collection getDataServiceList()
public DataServiceToUpdate addDataService(commonj.sdo.DataGraph sdo, java.lang.String dsName)
sdo
- data graph to be updateddsName
- data service URIpublic void clear()
public void removeContainedDataService(commonj.sdo.DataGraph sdo)
sdo
- public static byte[] getSerializedBytes(UpdatePlan up) throws java.io.IOException
public static UpdatePlan getDeserializedPlan(byte[] bArray) throws java.io.IOException, java.lang.ClassNotFoundException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |