public class AdminInterfaceAdaptor extends Object implements AdminInterface
| Constructor and Description |
|---|
AdminInterfaceAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
clearOutputFileCache()
Initiate clearing the output cache
|
void |
disablePlugin(String name)
Disable a plugin
|
void |
enablePlugin(String name)
Enable a plugin
|
List<SPluginDescriptor> |
getAllPlugins()
Get a list of all plugins
|
SBimServerInfo |
getBimServerInfo()
Get information about this BIMserver
|
SDatabaseInformation |
getDatabaseInformation()
Get information about the BIMserver database
|
SJavaInfo |
getJavaInfo()
Get information about the Java environment this BIMserver is running on
|
Date |
getLastDatabaseReset()
Get information about the last database reset
|
SVersion |
getLatestVersion()
Check which version of BIMserver is the latest available (will download an XML file from bimserver.org)
|
List<SLogAction> |
getLogs()
Get a list of logged actions
|
SMetrics |
getMetrics() |
List<SMigration> |
getMigrations()
Get a list of all migrations
|
String |
getProtocolBuffersFile(String interfaceName)
This will return the content of the .proto file (equivalent for SOAP's WSDL) for the ProtocolBuffers interface
|
SServerInfo |
getServerInfo()
Get information about this BIMserver's state
|
String |
getServerLog()
Get the BIMserver log
|
Date |
getServerStartTime()
Get the date when this BIMserver was last started
|
SSystemInfo |
getSystemInfo()
Get information about the system this BIMserver is running on
|
SVersion |
getVersion()
Get the actual version of this BIMserver
|
void |
migrateDatabase()
This will try to upgrade the database to the latest revision, this method will do nothing if the database schema is already up-to-date
|
void |
regenerateGeometry(Long croid)
Regenerate the geometry for a specified croid
|
void |
setup(String siteAddress,
String smtpServer,
String smtpSender,
String adminName,
String adminUsername,
String adminPassword)
Setup this BIMserver.
|
Boolean |
upgradePossible()
Check whether an upgrade of the BIMserver is available (will download an XML file from bimserver.org)
|
public Integer clearOutputFileCache() throws UserException, ServerException
AdminInterfaceclearOutputFileCache in interface AdminInterfaceUserExceptionServerExceptionpublic void disablePlugin(String name) throws UserException, ServerException
AdminInterfacedisablePlugin in interface AdminInterfacename - Name of the plugin to disableUserExceptionServerExceptionpublic void enablePlugin(String name) throws UserException, ServerException
AdminInterfaceenablePlugin in interface AdminInterfacename - Name of the plugin to enableUserExceptionServerExceptionpublic List<SPluginDescriptor> getAllPlugins() throws UserException, ServerException
AdminInterfacegetAllPlugins in interface AdminInterfaceUserExceptionServerExceptionpublic SBimServerInfo getBimServerInfo() throws UserException, ServerException
AdminInterfacegetBimServerInfo in interface AdminInterfaceUserExceptionServerExceptionpublic SDatabaseInformation getDatabaseInformation() throws UserException, ServerException
AdminInterfacegetDatabaseInformation in interface AdminInterfaceUserExceptionServerExceptionpublic SJavaInfo getJavaInfo() throws UserException, ServerException
AdminInterfacegetJavaInfo in interface AdminInterfaceUserExceptionServerExceptionpublic Date getLastDatabaseReset() throws UserException, ServerException
AdminInterfacegetLastDatabaseReset in interface AdminInterfaceUserExceptionServerExceptionpublic SVersion getLatestVersion() throws UserException, ServerException
AdminInterfacegetLatestVersion in interface AdminInterfaceUserExceptionServerExceptionpublic List<SLogAction> getLogs() throws UserException, ServerException
AdminInterfacegetLogs in interface AdminInterfaceUserExceptionServerExceptionpublic SMetrics getMetrics() throws UserException, ServerException
getMetrics in interface AdminInterfaceUserExceptionServerExceptionpublic List<SMigration> getMigrations() throws UserException, ServerException
AdminInterfacegetMigrations in interface AdminInterfaceUserExceptionServerExceptionpublic String getProtocolBuffersFile(String interfaceName) throws UserException, ServerException
AdminInterfacegetProtocolBuffersFile in interface AdminInterfaceUserExceptionServerExceptionpublic SServerInfo getServerInfo() throws UserException, ServerException
AdminInterfacegetServerInfo in interface AdminInterfaceUserExceptionServerExceptionpublic String getServerLog() throws UserException, ServerException
AdminInterfacegetServerLog in interface AdminInterfaceServerExceptionUserExceptionpublic Date getServerStartTime() throws UserException, ServerException
AdminInterfacegetServerStartTime in interface AdminInterfaceUserExceptionServerExceptionpublic SSystemInfo getSystemInfo() throws UserException, ServerException
AdminInterfacegetSystemInfo in interface AdminInterfaceUserExceptionServerExceptionpublic SVersion getVersion() throws UserException, ServerException
AdminInterfacegetVersion in interface AdminInterfaceUserExceptionServerExceptionpublic void migrateDatabase()
throws UserException,
ServerException
AdminInterfacemigrateDatabase in interface AdminInterfaceUserExceptionServerExceptionpublic void regenerateGeometry(Long croid) throws UserException, ServerException
AdminInterfaceregenerateGeometry in interface AdminInterfaceUserExceptionServerExceptionpublic void setup(String siteAddress, String smtpServer, String smtpSender, String adminName, String adminUsername, String adminPassword) throws UserException, ServerException
AdminInterfacesetup in interface AdminInterfacesiteAddress - The address the server will be reachable at (for example: http://demo.bimserver.org)smtpServer - The address of the SMTP server that wil be used for sending e-mailsadminName - Name of the admin User (e.g. "Administrator")adminUsername - Username of the admin User (must be a valid e-mail address)adminPassword - Password of the admin UserUserExceptionServerExceptionpublic Boolean upgradePossible() throws UserException, ServerException
AdminInterfaceupgradePossible in interface AdminInterfaceUserExceptionServerExceptionCopyright © 2016 OpenSource BIM. All rights reserved.