|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.WOApplication
com.cassinidivision.core.appserver.EOImportExportApplication
Sample WOApplication subclass preconfigured with the EO import/export functionality.
Nested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOApplication |
WOApplication._EventLoggingEnabler, WOApplication.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Field Summary |
Fields inherited from class com.webobjects.appserver.WOApplication |
_adminRequestHandlerKey, _unsetHost, _wasMainInvoked, ApplicationDidDispatchRequestNotification, ApplicationDidFinishLaunchingNotification, ApplicationWillDispatchRequestNotification, ApplicationWillFinishLaunchingNotification |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
_CLASS, NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
_CLASS |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
Constructor Summary | |
EOImportExportApplication()
|
Method Summary | |
NSDictionary |
argumentsDict(NSArray argumentStrings)
Parse process arguments into a dictionary for convenience. |
void |
channelNeeded(NSNotification notification)
For internal use only - do not invoke. |
void |
doExport(String filename)
Export XML data to the specified directory. |
void |
doImport(String filename)
Import XML data from the directory specified. |
void |
doneLaunching(NSNotification notification)
For internal use only - do not invoke. |
void |
go()
Begin EO import/export processing. |
NSArray |
models()
Convenience method: retrieve all known EOModel details. |
void |
overrideConnectionDictionaries(String string)
Override the default connection dictionary for a set of EOModels according to the details provided. |
static String[] |
processArgs()
Retrieve the current set of arguments for processing. |
static void |
setProcessArgs(String[] someArgs)
Specify a set of import/export arguments to be processed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EOImportExportApplication()
Method Detail |
public static String[] processArgs()
public static void setProcessArgs(String[] someArgs)
someArgs
- The process arguments.public void channelNeeded(NSNotification notification)
notification
- public void doneLaunching(NSNotification notification)
notification
- public NSDictionary argumentsDict(NSArray argumentStrings)
argumentStrings
- Array of process argument strings.
public void go()
public NSArray models()
public void doImport(String filename)
filename
- The path to the import directory (containing XML data).public void doExport(String filename)
filename
- The path to the XML export directory.public void overrideConnectionDictionaries(String string)
string
- String containing the new connection dictionary information ("key=value" pairs separated by spaces).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |