public interface BimServerClientInterface extends ServiceHolder, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate() |
long |
checkin(long poid,
String comment,
long deserializerOid,
boolean merge,
Flow flow,
long fileSize,
String filename,
InputStream inputStream) |
long |
checkin(long poid,
String string,
long deserializerOid,
boolean merge,
Flow flow,
Path file) |
long |
checkin(long poid,
String comment,
long deserializerOid,
boolean merge,
Flow flow,
URL url) |
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) |
void |
download(long roid,
Query query,
long serializerOid,
Path file) |
void |
download(long roid,
String query,
long oid,
Path file) |
AuthInterface |
getBimServerAuthInterface() |
InputStream |
getDownloadData(long topicId)
Convenience method that given you the InputStream belonging to an already started download
|
Geometry |
getGeometry(long roid,
IdEObject ifcProduct)
Get the geometry for the given revision/product, this method is not tested
|
MetaDataManager |
getMetaDataManager() |
IfcModelInterface |
getModel(SProject project,
long roid,
boolean deep,
boolean recordChanges) |
IfcModelInterface |
getModel(SProject project,
long roid,
boolean deep,
boolean recordChanges,
boolean includeGeometry) |
NotificationRegistryInterface |
getNotificationRegistryInterface() |
RemoteServiceInterface |
getRemoteServiceInterface() |
IfcModelInterface |
newModel(SProject newProject,
boolean recordChanges) |
void |
saveDownloadData(long topicId,
Path path) |
void |
setAuthentication(AuthenticationInfo authenticationInfo) |
get, getAdminInterface, getAuthInterface, getLowLevelInterface, getMeta, getNewServicesInterface, 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)
throws BimServerClientException
BimServerClientExceptionvoid download(long roid,
long serializerOid,
Path file)
throws IOException,
BimServerClientException
IOExceptionBimServerClientExceptionvoid download(long roid,
Query query,
long serializerOid,
Path file)
throws IOException,
BimServerClientException
IOExceptionBimServerClientExceptionlong checkin(long poid,
String string,
long deserializerOid,
boolean merge,
Flow flow,
Path file)
throws IOException,
UserException,
ServerException
IOExceptionUserExceptionServerExceptionInputStream getDownloadData(long topicId) throws IOException
download - serializerOid - IOExceptionvoid saveDownloadData(long topicId,
Path path)
throws IOException
IOExceptionvoid setAuthentication(AuthenticationInfo authenticationInfo) throws ServerException, UserException, ChannelConnectionException
Geometry getGeometry(long roid, IdEObject ifcProduct)
roid - ifcProduct - AuthInterface getBimServerAuthInterface() throws PublicInterfaceNotFoundException
PublicInterfaceNotFoundExceptionRemoteServiceInterface getRemoteServiceInterface() throws PublicInterfaceNotFoundException
PublicInterfaceNotFoundExceptionNotificationRegistryInterface getNotificationRegistryInterface() throws PublicInterfaceNotFoundException
PublicInterfaceNotFoundExceptionvoid disconnect()
MetaDataManager getMetaDataManager()
long checkin(long poid,
String comment,
long deserializerOid,
boolean merge,
Flow flow,
URL url)
throws UserException,
ServerException
UserExceptionServerExceptionvoid download(long roid,
String query,
long oid,
Path file)
throws ServerException,
UserException,
PublicInterfaceNotFoundException,
IOException
long checkin(long poid,
String comment,
long deserializerOid,
boolean merge,
Flow flow,
long fileSize,
String filename,
InputStream inputStream)
throws UserException,
ServerException
UserExceptionServerExceptionvoid authenticate()
throws ServerException,
UserException
ServerExceptionUserExceptionCopyright © 2018 OpenSource BIM. All rights reserved.