public class BIMService extends AppService implements BIMServiceRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DOMAIN_COBIESHEETTYPE |
static java.lang.String |
IMPORT_SCR_ATTRIBUTE |
static java.lang.String |
IMPORT_SCR_COMPONENT |
static java.lang.String |
IMPORT_SCR_CONTACT |
static java.lang.String |
IMPORT_SCR_EXCEL |
static java.lang.String |
IMPORT_SCR_FACILITY |
static java.lang.String |
IMPORT_SCR_FLOOR |
static java.lang.String |
IMPORT_SCR_SPACE |
static java.lang.String |
IMPORT_SCR_SYSTEM |
static java.lang.String |
IMPORT_SCR_TYPE |
static java.lang.String |
IMPORT_SCR_ZONE |
static java.lang.String |
PROP_NAME_ACTIVE_VIEWER |
static java.lang.String |
PROP_NAME_BIM_DOC_DIR |
static java.lang.String |
PROP_NAME_BIM_MODEL_DIR |
static java.lang.String |
PROP_NAME_BIM_MODEL_HOST |
static java.lang.String |
PROP_NAME_BIM_WORKING_DIR |
static java.lang.String |
SERVICE_NAME |
static int |
VERSION_7116_OR_GREATER |
static int |
VERSION_75_OR_GREATER |
static int |
VERSION_LESS_THAN_7116 |
static int |
VERSION_UNKNOWN |
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
BIMService() |
BIMService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFile(java.io.InputStream is,
java.lang.String targetDir,
java.lang.String fileName) |
static void |
deleteDirecotry(java.io.File file) |
Factory |
getLoaderFactory()
Gets a factory classed used to create most loader classes.
|
int |
getMaximoVersion() |
MboRemote |
getProject(UserInfo userInfo,
java.lang.String attribute,
long key)
returns BIMProject Mbo based on the unique key passed
|
void |
init()
Initialize the Application Service.
|
void |
makeDir(java.io.File newDir) |
void |
setFactory(Factory factory)
Update the loader factory.
|
MboRemote |
startBuildingCommisioning(UserInfo userInfo,
java.lang.String projectId,
java.lang.String commissioningId)
Web method to start a previously created building commissioning session
|
MboRemote |
startClassificationImport(UserInfo userInfo,
java.lang.String importId,
java.lang.String fileType)
Web method to start an Omniclass or Uniformate import session via REST
THe session must be ready to run, including having files uploaded
|
MboRemote |
startSession(UserInfo userInfo,
java.lang.String projectId,
java.lang.String sessionId,
java.lang.String siteId)
Web method to start a session via REST
THe session must be ready to run, including having files uploaded and upload records
defined
|
void |
uploadClassification(OslcRequest request) |
void |
uploadCOBieFile(OslcRequest request) |
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic static final java.lang.String SERVICE_NAME
public static final java.lang.String PROP_NAME_BIM_MODEL_DIR
public static final java.lang.String PROP_NAME_BIM_WORKING_DIR
public static final java.lang.String PROP_NAME_BIM_DOC_DIR
public static final java.lang.String PROP_NAME_BIM_MODEL_HOST
public static final java.lang.String PROP_NAME_ACTIVE_VIEWER
public static final java.lang.String DOMAIN_COBIESHEETTYPE
public static final java.lang.String IMPORT_SCR_EXCEL
public static final java.lang.String IMPORT_SCR_CONTACT
public static final java.lang.String IMPORT_SCR_FACILITY
public static final java.lang.String IMPORT_SCR_FLOOR
public static final java.lang.String IMPORT_SCR_SPACE
public static final java.lang.String IMPORT_SCR_ATTRIBUTE
public static final java.lang.String IMPORT_SCR_COMPONENT
public static final java.lang.String IMPORT_SCR_TYPE
public static final java.lang.String IMPORT_SCR_SYSTEM
public static final java.lang.String IMPORT_SCR_ZONE
public static final int VERSION_UNKNOWN
public static final int VERSION_LESS_THAN_7116
public static final int VERSION_7116_OR_GREATER
public static final int VERSION_75_OR_GREATER
public BIMService(MXServer mxServer) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic BIMService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
AppServiceinit in interface Serviceinit in class AppServiceServicepublic Factory getLoaderFactory()
BIMServiceRemotegetLoaderFactory in interface BIMServiceRemotepublic void setFactory(Factory factory)
BIMServiceRemotesetFactory in interface BIMServiceRemotepublic int getMaximoVersion()
throws java.rmi.RemoteException
getMaximoVersion in interface BIMServiceRemotejava.rmi.RemoteExceptionpublic MboRemote getProject(UserInfo userInfo, java.lang.String attribute, long key) throws MXException, java.rmi.RemoteException
getProject in interface BIMServiceRemoteuserInfo - key - MXExceptionjava.rmi.RemoteExceptionpsdi.app.bim.BIMService#getProject(UserInfo userInfo,String attribute,String key)public void makeDir(java.io.File newDir)
throws MXException,
java.rmi.RemoteException
makeDir in interface BIMServiceRemoteMXExceptionjava.rmi.RemoteExceptionBIMService.makeDir(File directory)public void copyFile(java.io.InputStream is,
java.lang.String targetDir,
java.lang.String fileName)
throws MXException
MXExceptionpublic void uploadClassification(OslcRequest request) throws MXException, java.io.IOException
uploadClassification in interface BIMServiceRemoteMXExceptionjava.io.IOExceptionpublic void uploadCOBieFile(OslcRequest request) throws MXException, java.rmi.RemoteException
uploadCOBieFile in interface BIMServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboRemote startSession(UserInfo userInfo, java.lang.String projectId, java.lang.String sessionId, java.lang.String siteId) throws java.rmi.RemoteException, MXException
BIMServiceRemotestartSession in interface BIMServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic MboRemote startBuildingCommisioning(UserInfo userInfo, java.lang.String projectId, java.lang.String commissioningId) throws java.rmi.RemoteException, MXException
BIMServiceRemotestartBuildingCommisioning in interface BIMServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic MboRemote startClassificationImport(UserInfo userInfo, java.lang.String importId, java.lang.String fileType) throws java.rmi.RemoteException, MXException
BIMServiceRemotestartClassificationImport in interface BIMServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic static void deleteDirecotry(java.io.File file)