Package wt.ixb.clientAccess
Class ExportImportParameters
java.lang.Object
wt.ixb.clientAccess.ExportImportParameters
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
ObjectExportParameters,ObjectImportParameters
The mapping rule file in XML format.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: actionName; The action which will be applied for all applicable objects during export or import.Gets the value of the context data.getDtd()Gets the value of the attribute: dtd; The DTD for export or import.Gets the value of the attribute: formatType; The formatType for export or import.getGuiId()Gets the value of the attribute: guiId; The unique identifier to identify the export or import request from each client.Gets the value of the attribute: policyFile;
This attribute specifies the policy (such as import action, mapping, etc) for export/import in XSL file format.Gets the value of the attribute: ruleFile; The mapping rule and properties file in XML format.booleanGets the value of the attribute: previewOnly;
If this parameter is set to true, the actual export or import will not be performed.booleanGets the value of the attribute: validation;
This parameter specifies whether the XML files should be validated against the DTD or not.voidsetActionName(String aActionName) Sets the value of the attribute: actionName; The action which will be applied for all applicable objects during export or import.voidsetContainer(WTContainerRef aContainer) Sets the value of the attribute: container;
This parameter specifies theWTContainerRefwhere the export or import is launched.voidsetDetailedLog(boolean aDetailedLog) Sets the value of the attribute: detailedLog.voidSets the value of the attribute: dtd; The DTD for export or import.voidsetFormatType(ExportImportFormatType formatType) Sets the value of the attribute: formatType.voidSets the value of the attribute: guiId; The unique identifier to identify the export or import request from each client.voidsetIXFormatType(IXFormatType ixFormatType) Sets the object of IXFormatType in contextData.voidSets the value of the attribute: locale.voidsetPolicyFile(IXBCommonStreamer aPolicyFile) Sets the value of the attribute: policyFile;
This attribute specifies the policy (such as import action, mapping, etc) for export/import in XSL file format.voidsetPreviewOnly(boolean aPreviewOnly) Sets the value of the attribute: previewOnly;
If this parameter is set to true, the actual export or import will not be performed.voidsetRuleFile(IXBCommonStreamer aRuleFile) Sets the value of the attribute: ruleFile; The mapping rule and properties file in XML format.voidsetValidation(boolean aValidation) Sets the value of the attribute: validation;
This parameter specifies whether the XML files should be validated against the DTD or not.
-
Method Details
-
setContainer
Sets the value of the attribute: container;
This parameter specifies theWTContainerRefwhere the export or import is launched.
Supported API: true- Parameters:
aContainer-- Throws:
WTPropertyVetoException
-
isPreviewOnly
public boolean isPreviewOnly()Gets the value of the attribute: previewOnly;
If this parameter is set to true, the actual export or import will not be performed.
Supported API: true- Returns:
-
setPreviewOnly
Sets the value of the attribute: previewOnly;
If this parameter is set to true, the actual export or import will not be performed.
Supported API: true- Parameters:
aPreviewOnly-- Throws:
WTPropertyVetoException
-
isValidation
public boolean isValidation()Gets the value of the attribute: validation;
This parameter specifies whether the XML files should be validated against the DTD or not. This value is generally set to false for export and true for import.
Supported API: true- Returns:
-
setValidation
Sets the value of the attribute: validation;
This parameter specifies whether the XML files should be validated against the DTD or not. This value is generally set to false for export and true for import.
Supported API: true- Parameters:
aValidation-- Throws:
WTPropertyVetoException
-
setDetailedLog
Sets the value of the attribute: detailedLog.
Supported API: true- Parameters:
aDetailedLog-- Throws:
WTPropertyVetoException
-
getRuleFile
Gets the value of the attribute: ruleFile; The mapping rule and properties file in XML format.
There are two parts in such an XML file:- The mapping rules under the tag <mappingRules>
- The properties under the tag <properties>. The values will override the values set in the server context.
Supported API: true- Returns:
-
setRuleFile
Sets the value of the attribute: ruleFile; The mapping rule and properties file in XML format.
There are two parts in such an XML file:- The mapping rules under the tag <mappingRules>
- The properties under the tag <properties>. The values will override the values set in the server context.
Supported API: true- Parameters:
aRuleFile-- Throws:
WTPropertyVetoException
-
getPolicyFile
Gets the value of the attribute: policyFile;
This attribute specifies the policy (such as import action, mapping, etc) for export/import in XSL file format.
Supported API: true- Returns:
-
setPolicyFile
Sets the value of the attribute: policyFile;
This attribute specifies the policy (such as import action, mapping, etc) for export/import in XSL file format.
Supported API: true- Parameters:
aPolicyFile-- Throws:
WTPropertyVetoException
-
getActionName
Gets the value of the attribute: actionName; The action which will be applied for all applicable objects during export or import.
Supported API: true- Returns:
-
setActionName
Sets the value of the attribute: actionName; The action which will be applied for all applicable objects during export or import.
Supported API: true- Parameters:
aActionName-- Throws:
WTPropertyVetoException
-
getGuiId
Gets the value of the attribute: guiId; The unique identifier to identify the export or import request from each client. This will be used for server-client communications.
Supported API: true- Returns:
-
setGuiId
Sets the value of the attribute: guiId; The unique identifier to identify the export or import request from each client. This will be used for server-client communications.
Supported API: true- Parameters:
aGuiId-- Throws:
WTPropertyVetoException
-
getDtd
Gets the value of the attribute: dtd; The DTD for export or import. If not set, the export/import will use the default DTD provided by IXB framework.
Supported API: true- Returns:
-
setDtd
Sets the value of the attribute: dtd; The DTD for export or import. If not set, the export/import will use the default DTD provided by IXB framework.
Supported API: true- Parameters:
aDtd-- Throws:
WTPropertyVetoException
-
setLocale
Sets the value of the attribute: locale.
Supported API: true- Parameters:
aLocale-- Throws:
WTPropertyVetoException
-
getFormatType
Gets the value of the attribute: formatType; The formatType for export or import. If not set, the export/import will use the default formatType provided by IXB framework.
Supported API: true- Returns:
-
setFormatType
Sets the value of the attribute: formatType.
Supported API: true- Parameters:
formatType-- Throws:
WTPropertyVetoException
-
getContextData
Gets the value of the context data.
Supported API: true- Returns:
- contextData
-
setIXFormatType
Sets the object of IXFormatType in contextData. IXFormatType have multiple attributes i.e. protocol, implementationMethod, formatType, version.
Supported API: true- Parameters:
ixFormatType-- Throws:
WTPropertyVetoException
-