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 |
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public 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.RemoteException
public BIMService() throws java.rmi.RemoteException
java.rmi.RemoteException
public void init()
AppService
init
in interface Service
init
in class AppService
Service
public Factory getLoaderFactory()
BIMServiceRemote
getLoaderFactory
in interface BIMServiceRemote
public void setFactory(Factory factory)
BIMServiceRemote
setFactory
in interface BIMServiceRemote
public int getMaximoVersion() throws java.rmi.RemoteException
getMaximoVersion
in interface BIMServiceRemote
java.rmi.RemoteException
public MboRemote getProject(UserInfo userInfo, java.lang.String attribute, long key) throws MXException, java.rmi.RemoteException
getProject
in interface BIMServiceRemote
userInfo
- key
- MXException
java.rmi.RemoteException
psdi.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 BIMServiceRemote
MXException
java.rmi.RemoteException
makeDir(File directory)
public void copyFile(java.io.InputStream is, java.lang.String targetDir, java.lang.String fileName) throws MXException
MXException
public void uploadClassification(OslcRequest request) throws MXException, java.io.IOException
uploadClassification
in interface BIMServiceRemote
MXException
java.io.IOException
public void uploadCOBieFile(OslcRequest request) throws MXException, java.rmi.RemoteException
uploadCOBieFile
in interface BIMServiceRemote
MXException
java.rmi.RemoteException
public MboRemote startSession(UserInfo userInfo, java.lang.String projectId, java.lang.String sessionId, java.lang.String siteId) throws java.rmi.RemoteException, MXException
BIMServiceRemote
startSession
in interface BIMServiceRemote
java.rmi.RemoteException
MXException
public MboRemote startBuildingCommisioning(UserInfo userInfo, java.lang.String projectId, java.lang.String commissioningId) throws java.rmi.RemoteException, MXException
BIMServiceRemote
startBuildingCommisioning
in interface BIMServiceRemote
java.rmi.RemoteException
MXException
public MboRemote startClassificationImport(UserInfo userInfo, java.lang.String importId, java.lang.String fileType) throws java.rmi.RemoteException, MXException
BIMServiceRemote
startClassificationImport
in interface BIMServiceRemote
java.rmi.RemoteException
MXException
public static void deleteDirecotry(java.io.File file)