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
MXException
java.rmi.RemoteException
public AttachmentMgr getAttachmentMgr()
getAttachmentMgr
in interface ModelProcessIntf
public AttributeMapMgr getAttributeMapMgr()
getAttributeMapMgr
in interface ModelProcessIntf
public ClassificationMgr getClassificationMgr()
getClassificationMgr
in interface ModelProcessIntf
public java.lang.String getItemSetId()
getItemSetId
in interface ModelProcessIntf
public java.util.Locale getLocale()
getLocale
in interface ModelProcessIntf
public ProgressLogger getLogger()
getLogger
in interface ModelProcessIntf
public ModelLoaderOptions getOptions()
getOptions
in interface ModelProcessIntf
public java.lang.String getOrgId()
getOrgId
in interface ModelProcessIntf
public BIMProjectRemote getProjectMbo()
getProjectMbo
in interface ModelProcessIntf
public java.lang.String getSiteId()
getSiteId
in interface ModelProcessIntf
public SystemMapMgr getSystemMapMgr()
getSystemMapMgr
in interface ModelProcessIntf
public Translate getTranslator()
getTranslator
in interface ModelProcessIntf
public UserInfo getUserInfo()
getUserInfo
in interface ModelProcessIntf
public boolean isAutoCreateCompanyMaster()
isAutoCreateCompanyMaster
in interface ModelProcessIntf
protected abstract IdFactory getIdFactory() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected 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
- ParseException
protected void processModel(BIMProjectParser parser) throws java.lang.InterruptedException
java.lang.InterruptedException
protected void cleanup()
protected boolean parseModel()