public class OfbizImportHandler extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Field and Description | 
|---|---|
static SecureXmlEntityResolver | 
EMPTY_ENTITY_RESOLVER  | 
| Constructor and Description | 
|---|
OfbizImportHandler(OfBizDelegator ofBizDelegator,
                  Executor executor,
                  IndexPathManager indexPathManager,
                  AttachmentPathManager attachmentPathManager,
                  boolean useDefaultPaths,
                  Set<String> propertyKeysRequiredByPlugins)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
characters(char[] ch,
          int start,
          int length)  | 
protected void | 
createWithRetry(List<org.ofbiz.core.entity.GenericValue> valueBatch)  | 
void | 
endDocument()  | 
void | 
endElement(String uri,
          String localName,
          String qName)  | 
String | 
getAttachmentPath()  | 
String | 
getBuildNumber()  | 
long | 
getEntityCount()  | 
ErrorCollection | 
getErrorCollection()  | 
io.atlassian.fugue.Option<String> | 
getExportDate()  | 
Throwable | 
getImportError()  | 
String | 
getIndexPath()  | 
long | 
getLastUpgradeBuildNumber()  | 
Iterable<String> | 
getLicenseStrings()  | 
String | 
getMinimumDowngradeVersion()  | 
List<UpgradeHistoryDTO> | 
getUpgradeHistory()  | 
String | 
getVersion()  | 
boolean | 
isUseDefaultAttachmentPath()  | 
InputSource | 
resolveEntity(String publicId,
             String systemId)  | 
void | 
setCreateEntities(boolean createEntities)  | 
void | 
setTaskProgressSink(TaskProgressSink taskProgressSink)  | 
void | 
startDocument()  | 
void | 
startElement(String uri,
            String localName,
            String qName,
            Attributes attributes)  | 
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningpublic static final SecureXmlEntityResolver EMPTY_ENTITY_RESOLVER
public OfbizImportHandler(OfBizDelegator ofBizDelegator, Executor executor, IndexPathManager indexPathManager, AttachmentPathManager attachmentPathManager, boolean useDefaultPaths, Set<String> propertyKeysRequiredByPlugins)
public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException
resolveEntity in interface EntityResolverresolveEntity in class org.xml.sax.helpers.DefaultHandlerIOExceptionSAXExceptionpublic void startDocument()
                   throws SAXException
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endDocument()
                 throws SAXException
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionprotected void createWithRetry(List<org.ofbiz.core.entity.GenericValue> valueBatch) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityExceptionpublic void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void setCreateEntities(boolean createEntities)
public void setTaskProgressSink(TaskProgressSink taskProgressSink)
public long getEntityCount()
@Nullable public String getBuildNumber()
public Throwable getImportError()
public boolean isUseDefaultAttachmentPath()
@Nonnull public List<UpgradeHistoryDTO> getUpgradeHistory()
public long getLastUpgradeBuildNumber()
public ErrorCollection getErrorCollection()
public io.atlassian.fugue.Option<String> getExportDate()
Copyright © 2002-2019 Atlassian. All Rights Reserved.