|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.ixb.conflictFramework.StandardConflictFrameworkService
Use the newStandardConflictFrameworkService
static factory
method(s), not the StandardConflictFrameworkService
constructor,
to construct instances of this class. Instances must be constructed
using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: false
Extendable: false
Nested Class Summary | |
private class |
StandardConflictFrameworkService.ImportHandler
|
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
private static String |
NAME_IS_TAG
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardConflictFrameworkService()
|
Method Summary | |
private void |
cleanup(File tempDir)
|
ImportSession |
doImportPreview(ImportSession session)
This method performs Import Preview for existing (persisted) Import session. |
ImportSession |
doImportPreview(String name,
String description,
String cabinetName,
Boolean overrideConflicts,
String jarFileName,
String rulesFileName)
Deprecated. Additional parameter WTContainerRef is required for 7.0 |
ImportSession |
doImportPreview(WTContainerRef container,
String name,
String description,
String cabinetName,
Boolean overrideConflicts,
String jarFileName,
String rulesFileName)
Supported API: false |
ImportSession |
doRealImport(ImportSession session)
This method actually imports objects into the system. |
private IxbDocument |
finalizeDoImport(ImportSession session,
IxbDocument doc)
|
String |
getConceptualClassname()
Deprecated. |
static StandardConflictFrameworkService |
newStandardConflictFrameworkService()
Default factory for the class. |
protected void |
performStartupProcess()
Supported API: false |
private void |
PP(String s)
|
private void |
printStackTrace(Exception e)
|
ElementImportInfo |
saveElementImportInfo(ImportSession session,
ElementImportInfo elementImportInfo)
Clients should call this method to update ElementImportInfo with user-defined information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String NAME_IS_TAG
private static boolean DEBUG
Constructor Detail |
public StandardConflictFrameworkService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardConflictFrameworkService newStandardConflictFrameworkService() throws WTException
WTException
public ImportSession doImportPreview(String name, String description, String cabinetName, Boolean overrideConflicts, String jarFileName, String rulesFileName) throws WTException
doImportPreview
in interface ConflictFrameworkService
name
- description
- cabinetName
- overrideConflicts
- jarFileName
- rulesFileName
-
WTException
public ImportSession doImportPreview(WTContainerRef container, String name, String description, String cabinetName, Boolean overrideConflicts, String jarFileName, String rulesFileName) throws WTException
doImportPreview
in interface ConflictFrameworkService
container
- Target container for importname
- name of the new Import sessiondescription
- description of the new Import sessioncabinetName
- overrideConflicts
- indicates whether overridable conflicts against environment (e.g. there is no Folder
with such name) should be overridden (e.g. Folder should be created)jarFileName
- the name of jar file with data for Import. FILE SHOULD BE STORED ON SERVER!!!rulesFileName
- the name of mapping rules file (can be null). FILE SHOULD BE STORED ON SERVER!!!
WTException
wt.ixb.ConflictFramework.ImportSessionInfo
public ImportSession doImportPreview(ImportSession session) throws WTException
doImportPreview
in interface ConflictFrameworkService
session
- existing Import session
WTException
wt.ixb.ConflictFramework.ImportSessionInfo
public ImportSession doRealImport(ImportSession session) throws WTException
doRealImport
in interface ConflictFrameworkService
session
- Import session
IxbInapplicableActionException
- thrown if the selected Import action
cannot be applied for some object
WTException
ImportSessionStatus
public ElementImportInfo saveElementImportInfo(ImportSession session, ElementImportInfo elementImportInfo) throws WTException
saveElementImportInfo
in interface ConflictFrameworkService
session
- current Import sessionelementImportInfo
-
WTException
private IxbDocument finalizeDoImport(ImportSession session, IxbDocument doc) throws WTException
WTException
private void cleanup(File tempDir)
private void PP(String s)
private void printStackTrace(Exception e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |