public interface Bimsie1ServiceInterface extends PublicInterface
| Modifier and Type | Method and Description |
|---|---|
void |
addExtendedDataToRevision(Long roid,
SExtendedData extendedData) |
SProject |
addProject(String projectName,
String schema)
Add a new project
|
SProject |
addProjectAsSubProject(String projectName,
Long parentPoid,
String schema)
Add a new project as a subproject of another project
|
Long |
branchToExistingProject(Long roid,
Long destPoid,
String comment,
Boolean sync)
Branch a given Revision as a new Revision in the given Project, branching is always synchronous
|
Long |
branchToNewProject(Long roid,
String projectName,
String comment,
Boolean sync)
Branch a given Revision as a new Revision on a new Project, branching is always synchronous
|
Long |
checkin(Long poid,
String comment,
Long deserializerOid,
Long fileSize,
String fileName,
DataHandler data,
Boolean sync)
Checkin a new model by sending a serialized form
|
Long |
checkinFromUrl(Long poid,
String comment,
Long deserializerOid,
String fileName,
String url,
Boolean sync)
Checkin a new model by sending a serialized form
|
Long |
checkout(Long roid,
Long serializerOid,
Boolean sync)
Checkout an existing model, checkout is the same as download, except a "checkout" will tell the server and other users you are working on it
|
Boolean |
deleteProject(Long poid)
Delete a Project, Projects can be undeleted with the undeleteProject method
|
Long |
download(Long roid,
Long serializerOid,
Boolean showOwn,
Boolean sync)
Download a single revision of a model in a serialized format
|
Long |
downloadByGuids(Set<Long> roids,
Set<String> guids,
Long serializerOid,
Boolean deep,
Boolean sync)
Download a model in a serialized format by giving a set of revisions and a set of guids to filter on
|
Long |
downloadByJsonQuery(Set<Long> roids,
String jsonQuery,
Long serializerOid,
Boolean sync)
Download a model in serialized format by giving a set of revisions and a set of class names to filter on
|
Long |
downloadByNames(Set<Long> roids,
Set<String> names,
Long serializerOid,
Boolean deep,
Boolean sync)
Download a model in a serialized format by giving a set of revisions and a set of names to filter on
|
Long |
downloadByNewJsonQuery(Set<Long> roids,
String query,
Long serializerOid,
Boolean sync)
Download a model in serialized format by giving a set of revisions and a set of class names to filter on
|
Long |
downloadByOids(Set<Long> roids,
Set<Long> oids,
Long serializerOid,
Boolean sync,
Boolean deep)
Download a model in a serialized format by giving a set of revisions and a set of Object IDs
|
Long |
downloadByTypes(Set<Long> roids,
String schema,
Set<String> classNames,
Long serializerOid,
Boolean includeAllSubtypes,
Boolean useObjectIDM,
Boolean deep,
Boolean sync)
Download a model in serialized format by giving a set of revisions and a set of class names to filter on
|
Long |
downloadQuery(Long roid,
Long qeid,
String code,
Boolean sync,
Long serializerOid) |
Long |
downloadRevisions(Set<Long> roids,
Long serializerOid,
Boolean sync)
Download a model in a serialized format by giving a set of revisions
|
List<SExtendedData> |
getAllExtendedDataOfRevision(Long roid) |
List<SProject> |
getAllProjects(Boolean onlyTopLevel,
Boolean onlyActive)
Get a list of all Projects the user is authorized for
|
List<SProjectSmall> |
getAllProjectsSmall() |
List<SRevision> |
getAllRevisionsOfProject(Long poid)
Get a list of all Revisions of a Project
|
SDeserializerPluginConfiguration |
getDeserializerById(Long oid) |
SDeserializerPluginConfiguration |
getDeserializerByName(String deserializerName) |
SDownloadResult |
getDownloadData(Long topicId)
Get the data for a download/checkout
|
SExtendedData |
getExtendedData(Long oid) |
SExtendedDataSchema |
getExtendedDataSchemaById(Long oid) |
SExtendedDataSchema |
getExtendedDataSchemaByNamespace(String namespace) |
SProject |
getProjectByPoid(Long poid) |
List<SProject> |
getProjectsByName(String name) |
SProjectSmall |
getProjectSmallByPoid(Long poid) |
SQueryEnginePluginConfiguration |
getQueryEngineById(Long oid) |
SQueryEnginePluginConfiguration |
getQueryEngineByName(String name) |
SRevision |
getRevision(Long roid) |
SSerializerPluginConfiguration |
getSerializerByContentType(String contentType) |
SSerializerPluginConfiguration |
getSerializerById(Long oid) |
SSerializerPluginConfiguration |
getSerializerByName(String serializerName) |
List<SProject> |
getSubProjects(Long poid) |
SDeserializerPluginConfiguration |
getSuggestedDeserializerForExtension(String extension,
Long poid)
Get a suggested deserializer for the given file extension and project
|
Long |
initiateCheckin(Long poid,
Long deserializerOid) |
void |
terminateLongRunningAction(Long topicId)
Terminate a long running action
|
Boolean |
undeleteProject(Long poid)
Undelete a previously deleted Project, Projets can be deleted with the deleteProject method
|
Long checkin(Long poid, String comment, Long deserializerOid, Long fileSize, String fileName, DataHandler data, Boolean sync) throws ServerException, UserException
poid - The Project's ObjectIDcomment - A commentdeserializerOid - ObjectId of the deserializer to use, use getAllDeserializers to get a list of available deserializersfileSize - The size of the file in bytesifcFile - The actual filesync - Whether the call should return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong initiateCheckin(Long poid, Long deserializerOid) throws ServerException, UserException
ServerExceptionUserExceptionLong checkinFromUrl(Long poid, String comment, Long deserializerOid, String fileName, String url, Boolean sync) throws ServerException, UserException
poid - The Project's ObjectIDcomment - A commentdeserializerOid - ObjectId of the deserializer to use, use getAllDeserializers to get a list of available deserializersurl - A URL to the filesync - Whether the call should return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionvoid terminateLongRunningAction(Long topicId) throws ServerException, UserException
topicId - The actionId returned by one of the download or checkout methodsServerException, - UserExceptionServerExceptionUserExceptionLong checkout(Long roid, Long serializerOid, Boolean sync) throws ServerException, UserException
roid - Revision ObjectIDserializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeressync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong download(Long roid, Long serializerOid, Boolean showOwn, Boolean sync) throws ServerException, UserException
roid - Revision ObjectIDserializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeresshowOwn - Whether to return revisions created by the current usersync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadByOids(Set<Long> roids, Set<Long> oids, Long serializerOid, Boolean sync, Boolean deep) throws ServerException, UserException
roids - A set of Revision ObjectIDsoids - A set of ObjectIDsserializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeressync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadByTypes(Set<Long> roids, String schema, Set<String> classNames, Long serializerOid, Boolean includeAllSubtypes, Boolean useObjectIDM, Boolean deep, Boolean sync) throws ServerException, UserException
roids - A set of Revision ObjectIDsclassNames - A set of class names to filter on (e.g. "IfcWindow")serializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeresincludeAllSubtypes - Whether to query all (recursive) subtypes of each gives classsync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadByJsonQuery(Set<Long> roids, String jsonQuery, Long serializerOid, Boolean sync) throws ServerException, UserException
roids - A set of Revision ObjectIDsclassNames - A set of class names to filter on (e.g. "IfcWindow")serializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeresincludeAllSubtypes - Whether to query all (recursive) subtypes of each gives classsync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadByNewJsonQuery(Set<Long> roids, String query, Long serializerOid, Boolean sync) throws ServerException, UserException
roids - A set of Revision ObjectIDsclassNames - A set of class names to filter on (e.g. "IfcWindow")serializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeresincludeAllSubtypes - Whether to query all (recursive) subtypes of each gives classsync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadByGuids(Set<Long> roids, Set<String> guids, Long serializerOid, Boolean deep, Boolean sync) throws ServerException, UserException
roids - A set of Revision ObjectIDsguids - A set of IFC guidsserializerOid - OID of the serializer to usesync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadByNames(Set<Long> roids, Set<String> names, Long serializerOid, Boolean deep, Boolean sync) throws ServerException, UserException
roids - A set of Revision ObjectIDsnames - A set of names, the names should be exact matches for nowserializerOid - OID of the serializer to usesync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadRevisions(Set<Long> roids, Long serializerOid, Boolean sync) throws ServerException, UserException
roids - A set of Revision ObjectIDsserializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeressync - Whether to return immediately (async) or wait for completion (sync)ServerException, - UserExceptionServerExceptionUserExceptionLong downloadQuery(Long roid, Long qeid, String code, Boolean sync, Long serializerOid) throws ServerException, UserException
roid - ObjectID of the Revision to perform this query oncode - The Java code, should be an implementation of the QueryInterface interfaceServerException, - UserExceptionServerExceptionUserExceptionSDownloadResult getDownloadData(Long topicId) throws ServerException, UserException
topicId - The topicId returned by one of the download or checkout methodsServerException, - UserExceptionServerExceptionUserExceptionSSerializerPluginConfiguration getSerializerByName(String serializerName) throws ServerException, UserException
serializerName - Name of the SerializerServerException, - UserExceptionServerExceptionUserExceptionSDeserializerPluginConfiguration getDeserializerById(Long oid) throws ServerException, UserException
oid - ObjectID of the DeserializerServerException, - UserExceptionServerExceptionUserExceptionSDeserializerPluginConfiguration getDeserializerByName(String deserializerName) throws ServerException, UserException
deserializerName - Name of the DeserializerServerException, - UserExceptionServerExceptionUserExceptionSSerializerPluginConfiguration getSerializerById(Long oid) throws ServerException, UserException
oid - ObjectID of the SerializerServerException, - UserExceptionServerExceptionUserExceptionSSerializerPluginConfiguration getSerializerByContentType(String contentType) throws ServerException, UserException
contentType - The ContentTypeServerException, - UserExceptionServerExceptionUserExceptionSQueryEnginePluginConfiguration getQueryEngineByName(String name) throws ServerException, UserException
name - Name of the QueryEngineServerException, - UserExceptionServerExceptionUserExceptionSQueryEnginePluginConfiguration getQueryEngineById(Long oid) throws ServerException, UserException
oid - ObjectID of the QueryEngineServerException, - UserExceptionServerExceptionUserExceptionSDeserializerPluginConfiguration getSuggestedDeserializerForExtension(String extension, Long poid) throws ServerException, UserException
extension - File extension without the dot(.), for example "ifc"poid - ProjectID of the project, this is relevant because a project has a specific schema, so we are looking for a deserializer that can handle this schemaServerExceptionUserExceptionvoid addExtendedDataToRevision(Long roid, SExtendedData extendedData) throws ServerException, UserException
roid - ObjectID of the RevisionextendedData - ExtendedData to addServerException, - UserExceptionServerExceptionUserExceptionSExtendedData getExtendedData(Long oid) throws ServerException, UserException
oid - ObjectID of the ExtendedDataServerException, - UserExceptionServerExceptionUserExceptionList<SExtendedData> getAllExtendedDataOfRevision(Long roid) throws ServerException, UserException
roid - ObjectID of the RevisionServerException, - UserExceptionServerExceptionUserExceptionSProject getProjectByPoid(Long poid) throws ServerException, UserException
poid - ObjectID of the ProjectServerException, - UserExceptionServerExceptionUserExceptionSProjectSmall getProjectSmallByPoid(Long poid) throws ServerException, UserException
poid - ObjectID of the ProjectServerException, - UserExceptionServerExceptionUserExceptionSRevision getRevision(Long roid) throws ServerException, UserException
roid - ObjectID of the RevisionServerException, - UserExceptionServerExceptionUserExceptionBoolean undeleteProject(Long poid) throws ServerException, UserException
poid - The ObjectID of the Project to undeleteServerException, - UserExceptionServerExceptionUserExceptionLong branchToNewProject(Long roid, String projectName, String comment, Boolean sync) throws ServerException, UserException
roid - ObjectID of the Revision to branchprojectName - Name of the to be created Projectcomment - A comment describing the new RevisionServerException, - UserExceptionServerExceptionUserExceptionLong branchToExistingProject(Long roid, Long destPoid, String comment, Boolean sync) throws ServerException, UserException
roid - ObjectID of the Revision to branchdestPoid - ObjectID of the Project to which a branch should be madecomment - A comment describing the new RevisionServerException, - UserExceptionServerExceptionUserExceptionList<SProject> getProjectsByName(String name) throws ServerException, UserException
name - ServerException, - UserExceptionServerExceptionUserExceptionList<SProject> getSubProjects(Long poid) throws ServerException, UserException
poid - ServerException, - UserExceptionServerExceptionUserExceptionSExtendedDataSchema getExtendedDataSchemaById(Long oid) throws ServerException, UserException
oid - ObjectID of the ExtendedDataSchemaServerException, - UserExceptionServerExceptionUserExceptionList<SRevision> getAllRevisionsOfProject(Long poid) throws ServerException, UserException
poid - ObjectID of the ProjectServerException, - UserExceptionServerExceptionUserExceptionList<SProject> getAllProjects(Boolean onlyTopLevel, Boolean onlyActive) throws ServerException, UserException
ServerException, - UserExceptionServerExceptionUserExceptionSProject addProject(String projectName, String schema) throws ServerException, UserException
projectName - Name of the project, must be a unique name within all root-projectsschema - Schema of the project, you can only checkin models of this schema (available options are: "ifc2x3tc1" and "ifc4")ServerException, - UserExceptionServerExceptionUserExceptionSProject addProjectAsSubProject(String projectName, Long parentPoid, String schema) throws ServerException, UserException
projectName - Name of the project, must be a unique name within the parent projectparentPoid - The ObjectID of the parent projectServerException, - UserExceptionServerExceptionUserExceptionBoolean deleteProject(Long poid) throws ServerException, UserException
poid - ObjectID of the Project to deleteServerException, - UserExceptionServerExceptionUserExceptionSExtendedDataSchema getExtendedDataSchemaByNamespace(String namespace) throws UserException, ServerException
UserExceptionServerExceptionList<SProjectSmall> getAllProjectsSmall() throws ServerException, UserException
ServerExceptionUserExceptionCopyright © 2016 OpenSource BIM. All rights reserved.