Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

oracle.apps.fnd.applcp.migrate.modeler
Class BCModelerWriter

java.lang.Object
  extended by oracle.apps.fnd.applcp.migrate.modeler.BCModelerWriter

public class BCModelerWriter
extends java.lang.Object

Writer to save the model objects in a repository.


Constructor Summary
BCModelerWriter()
          Constructs a writer.
 
Method Summary
 void flush()
          Writes all buffered objects.
 void write(java.util.List<oracle.jbo.mom.PersistableDefObject> objs)
          Writes and saves a list of persistable def objects.
 void write(oracle.jbo.mom.PersistableDefObject obj)
          Writes and saves a persistable def object.
 void writeToBuffer(oracle.jbo.mom.PersistableDefObject obj)
          Writes an object to the buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCModelerWriter

public BCModelerWriter()
Constructs a writer.

Method Detail

write

public void write(java.util.List<oracle.jbo.mom.PersistableDefObject> objs)
Writes and saves a list of persistable def objects.

Parameters:
objs - the list of persistable def objects
Throws:
java.lang.NullPointerException - if any of the given object is null

write

public void write(oracle.jbo.mom.PersistableDefObject obj)
Writes and saves a persistable def object.

Parameters:
obj - the persistable def object
Throws:
java.lang.NullPointerException - if the given object is null

writeToBuffer

public void writeToBuffer(oracle.jbo.mom.PersistableDefObject obj)
Writes an object to the buffer. Note that the buffered objects will not be written out without calling flush().

Parameters:
obj - the object
Throws:
java.lang.IllegalArgumentException - if the given object is null
See Also:
flush()

flush

public void flush()
Writes all buffered objects.


Oracle Fusion Middleware extensions for Enterprise Scheduler Service
11g Release 1 (11.1.1.5)

E22563-01

Copyright © 2011 Oracle. All Rights Reserved.