public interface AdminInterface extends PublicInterface
| 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)
|
List<SPluginDescriptor> getAllPlugins() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionvoid enablePlugin(String name) throws ServerException, UserException
name - Name of the plugin to enableServerException, - UserExceptionServerExceptionUserExceptionvoid disablePlugin(String name) throws ServerException, UserException
name - Name of the plugin to disableServerException, - UserExceptionServerExceptionUserExceptionSDatabaseInformation getDatabaseInformation() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionDate getLastDatabaseReset() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionvoid setup(String siteAddress, String smtpServer, String smtpSender, String adminName, String adminUsername, String adminPassword) throws ServerException, UserException
siteAddress - 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 UserServerException, - UserExceptionServerExceptionUserExceptionList<SLogAction> getLogs() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionList<SMigration> getMigrations() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionvoid migrateDatabase()
throws ServerException,
UserException
ServerException, - UserExceptionServerExceptionUserExceptionSServerInfo getServerInfo() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionString getServerLog() throws ServerException, UserException
ServerExceptionUserExceptionInteger clearOutputFileCache() throws UserException, ServerException
UserExceptionServerExceptionSSystemInfo getSystemInfo() throws UserException, ServerException
UserExceptionServerExceptionSJavaInfo getJavaInfo() throws UserException, ServerException
UserExceptionServerExceptionSBimServerInfo getBimServerInfo() throws ServerException, UserException
ServerExceptionUserExceptionString getProtocolBuffersFile(String interfaceName) throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionSVersion getVersion() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionSVersion getLatestVersion() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionBoolean upgradePossible() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionDate getServerStartTime() throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionvoid regenerateGeometry(Long croid) throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionSMetrics getMetrics() throws UserException, ServerException
UserExceptionServerExceptionCopyright © 2016 OpenSource BIM. All rights reserved.