public abstract class ModelLoaderBase extends java.lang.Object implements ModelProcessIntf
| Modifier and Type | Field and Description |
|---|---|
protected AttributeMapMgr |
_attributeMapMgr |
protected Factory |
_factory |
protected MboRemote |
_parentLocMbo |
protected BIMProjectParser |
_parser |
protected MXServer |
_server |
protected SystemMapMgr |
_systemMapMgr |
| Constructor and Description |
|---|
ModelLoaderBase(Factory factory,
BIMProjectRemote projectMbo,
ModelLoaderOptions options,
ProgressLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(InputFile cobieFile)
Specify the file name for a single sheet from a COBie spread sheet to loading
|
protected void |
cleanup() |
AttachmentMgr |
getAttachmentMgr() |
AttributeMapMgr |
getAttributeMapMgr() |
ClassificationMgr |
getClassificationMgr() |
protected abstract IdFactory |
getIdFactory() |
java.lang.String |
getItemSetId() |
java.util.Locale |
getLocale() |
ProgressLogger |
getLogger() |
ModelLoaderOptions |
getOptions() |
java.lang.String |
getOrgId() |
BIMProjectRemote |
getProjectMbo() |
java.lang.String |
getSiteId() |
SystemMapMgr |
getSystemMapMgr() |
Translate |
getTranslator() |
UserInfo |
getUserInfo() |
boolean |
isAutoCreateCompanyMaster() |
protected boolean |
parseModel() |
protected void |
processModel(BIMProjectParser parser) |
protected abstract int |
processPage(Loader loader,
Page page) |
protected void |
sheetLoadComplete(java.lang.String sheet) |
protected void |
sheetLoadStart(java.lang.String sheet) |
protected abstract boolean |
validatParseTree() |
protected MXServer _server
protected Factory _factory
protected AttributeMapMgr _attributeMapMgr
protected SystemMapMgr _systemMapMgr
protected BIMProjectParser _parser
protected MboRemote _parentLocMbo
public ModelLoaderBase(Factory factory, BIMProjectRemote projectMbo, ModelLoaderOptions options, ProgressLogger logger) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic AttachmentMgr getAttachmentMgr()
getAttachmentMgr in interface ModelProcessIntfpublic AttributeMapMgr getAttributeMapMgr()
getAttributeMapMgr in interface ModelProcessIntfpublic ClassificationMgr getClassificationMgr()
getClassificationMgr in interface ModelProcessIntfpublic java.lang.String getItemSetId()
getItemSetId in interface ModelProcessIntfpublic java.util.Locale getLocale()
getLocale in interface ModelProcessIntfpublic ProgressLogger getLogger()
getLogger in interface ModelProcessIntfpublic ModelLoaderOptions getOptions()
getOptions in interface ModelProcessIntfpublic java.lang.String getOrgId()
getOrgId in interface ModelProcessIntfpublic BIMProjectRemote getProjectMbo()
getProjectMbo in interface ModelProcessIntfpublic java.lang.String getSiteId()
getSiteId in interface ModelProcessIntfpublic SystemMapMgr getSystemMapMgr()
getSystemMapMgr in interface ModelProcessIntfpublic Translate getTranslator()
getTranslator in interface ModelProcessIntfpublic UserInfo getUserInfo()
getUserInfo in interface ModelProcessIntfpublic boolean isAutoCreateCompanyMaster()
isAutoCreateCompanyMaster in interface ModelProcessIntfprotected abstract IdFactory getIdFactory() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionprotected abstract boolean validatParseTree()
protected void sheetLoadComplete(java.lang.String sheet)
protected void sheetLoadStart(java.lang.String sheet)
public void addFile(InputFile cobieFile) throws ParseException
fileName - sheetName - ParseExceptionprotected void processModel(BIMProjectParser parser) throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected void cleanup()
protected boolean parseModel()