er.extensions.eof
Class ERXTolerantSaver
java.lang.Object
er.extensions.eof.ERXTolerantSaver
Deprecated. use ERXEC
public class ERXTolerantSaver
- extends java.lang.Object
This class is pulled directly out of David Neumann's
ChangeNotification framework. The only changes made are
to use log4j instead of System.out.println.
The tolerant saver provides a way to save an editing context in
a tolerant fashion. By tolerant we mean that you can have the
option to save an editing context and have the exception ignored,
hvae the changes merged from the database or stomp all the changes
the database regardless of locking. The entry point for using this
class is the save
method.
Field Summary |
static org.apache.log4j.Logger |
log
Deprecated. logging support |
Method Summary |
static java.lang.String |
save(com.webobjects.eocontrol.EOEditingContext ec,
boolean writeAnyWay)
Deprecated. Cover method for calling the method save with the
third parameter (merge) set to true. |
static java.lang.String |
save(com.webobjects.eocontrol.EOEditingContext ec,
boolean writeAnyWay,
boolean merge)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
- Deprecated.
- logging support
ERXTolerantSaver
public ERXTolerantSaver()
- Deprecated.
save
public static java.lang.String save(com.webobjects.eocontrol.EOEditingContext ec,
boolean writeAnyWay)
- Deprecated.
- Cover method for calling the method
save
with the
third parameter (merge) set to true. See the description of
the three parameter version for a detailed explanation.
- Parameters:
ec
- editing context to be saved.writeAnyWay
- boolean flag to determine if the editing
context should be resaved after a general adaptor
exception
- Returns:
- string representation of the exception that happened.
This will be changed in the future.
save
public static java.lang.String save(com.webobjects.eocontrol.EOEditingContext ec,
boolean writeAnyWay,
boolean merge)
- Deprecated.
Copyright © 2002 – 2007 Project Wonder.