public interface BimServerClientInterface extends ServiceHolder, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
long |
checkin(long poid,
String string,
long deserializerOid,
boolean merge,
boolean sync,
Path file) |
void |
commit(IfcModelInterface model,
String comment) |
void |
disconnect()
This will close all the connections, call this method as soon as you are done using this BimServerClient
|
void |
download(long roid,
long serializerOid,
OutputStream outputStream) |
void |
download(long roid,
long serializerOid,
Path file) |
AuthInterface |
getBimServerAuthInterface() |
InputStream |
getDownloadData(long download,
long serializerOid)
Convenience method that given you the InputStream belonging to an already started download
|
Geometry |
getGeometry(long roid,
IfcProduct ifcProduct)
Get the geometry for the given revision/product, this method is not tested
|
IfcModelInterface |
getModel(SProject project,
long roid,
boolean deep,
boolean recordChanges) |
IfcModelInterface |
getModel(SProject project,
long roid,
boolean deep,
boolean recordChanges,
boolean includeGeometry) |
Bimsie1RemoteServiceInterface |
getRemoteServiceInterface() |
IfcModelInterface |
newModel(SProject newProject,
boolean recordChanges) |
void |
setAuthentication(AuthenticationInfo authenticationInfo) |
get, getAdminInterface, getAuthInterface, getBimsie1AuthInterface, getBimsie1LowLevelInterface, getBimsie1ServiceInterface, getMeta, getPluginInterface, getRegistry, getServiceInterface, getSettingsInterfacecloseIfcModelInterface getModel(SProject project, long roid, boolean deep, boolean recordChanges, boolean includeGeometry) throws BimServerClientException, UserException, ServerException, PublicInterfaceNotFoundException
IfcModelInterface getModel(SProject project, long roid, boolean deep, boolean recordChanges) throws BimServerClientException, UserException, ServerException, PublicInterfaceNotFoundException
IfcModelInterface newModel(SProject newProject, boolean recordChanges) throws ServerException, UserException, BimServerClientException, PublicInterfaceNotFoundException
void commit(IfcModelInterface model, String comment)
void download(long roid,
long serializerOid,
OutputStream outputStream)
void download(long roid,
long serializerOid,
Path file)
throws IOException
IOExceptionlong checkin(long poid,
String string,
long deserializerOid,
boolean merge,
boolean sync,
Path file)
throws IOException,
UserException,
ServerException
IOExceptionUserExceptionServerExceptionInputStream getDownloadData(long download, long serializerOid) throws IOException
download - serializerOid - IOExceptionvoid setAuthentication(AuthenticationInfo authenticationInfo) throws ServerException, UserException, ChannelConnectionException
Geometry getGeometry(long roid, IfcProduct ifcProduct)
roid - ifcProduct - AuthInterface getBimServerAuthInterface() throws PublicInterfaceNotFoundException
PublicInterfaceNotFoundExceptionBimsie1RemoteServiceInterface getRemoteServiceInterface() throws PublicInterfaceNotFoundException
PublicInterfaceNotFoundExceptionvoid disconnect()
Copyright © 2016 OpenSource BIM. All rights reserved.