|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.util.BCModelerWriter
public class BCModelerWriter
Writer to save the model objects in a repository. This class is not thread-safe.
Nested Class Summary | |
---|---|
static class |
BCModelerWriter.DeleteOperationException
Thrown when delete operation fails. |
Constructor Summary | |
---|---|
BCModelerWriter()
Constructs a writer. |
Method Summary | |
---|---|
static boolean |
delete(java.lang.String defFullName)
Deletes a document from the current MDS repository without loading it. |
void |
queue(oracle.jbo.mom.PersistableDefObject pdo)
Inserts a PersistableDefObject into the queue. |
void |
queue(oracle.jbo.mom.PersistableDefObject pdo,
boolean update)
Inserts a PersistableDefObject into the queue. |
void |
setExpectedWriteCount(int c)
Sets the expected number of objects to be written by this class from now on. |
void |
write(oracle.jbo.mom.PersistableDefObject obj)
Writes out a PersistableDefObject. |
void |
write(oracle.jbo.mom.PersistableDefObject obj,
boolean update)
Writes out a PersistableDefObject. |
void |
writeQueue()
Writes out all objects in the queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BCModelerWriter()
Method Detail |
---|
public void setExpectedWriteCount(int c)
c
- the expected number of objects to be written from now onpublic void write(oracle.jbo.mom.PersistableDefObject obj)
obj
- the PersistableDefObjectpublic void write(oracle.jbo.mom.PersistableDefObject obj, boolean update)
obj
- the PersistableDefObjectupdate
- true if this writer should not attempt to remove and delete
the previous version before saving the given objectpublic void queue(oracle.jbo.mom.PersistableDefObject pdo)
writeQueue
is called. Before writing out objects queued by this method, this writer
will attempt to remove and delete their previous versions.
pdo
- the PersistableDefObjectqueue(PersistableDefObject, boolean)
public void queue(oracle.jbo.mom.PersistableDefObject pdo, boolean update)
writeQueue
is called.
pdo
- the PersistableDefObjectupdate
- true if the previous version of the given object should not
be removed and deleted before the current version
is savedpublic void writeQueue()
public static boolean delete(java.lang.String defFullName)
defFullName
- the full name of the definition object, e.g.
oracle.apps.x.y.MyVO
java.lang.NullPointerException
- if the given name is null
BCModelerWriter.DeleteOperationException
- if the delete operation fails
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |