public class ServiceInterfaceAdaptor extends Object implements ServiceInterface
| Constructor and Description |
|---|
ServiceInterfaceAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
Long |
addExtendedDataSchema(SExtendedDataSchema extendedDataSchema)
Add an extended data schema.
|
void |
addExtendedDataToProject(Long poid,
SExtendedData extendedData) |
void |
addExtendedDataToRevision(Long roid,
SExtendedData extendedData) |
void |
addLocalServiceToProject(Long poid,
SService sService,
Long internalServiceOid)
Add a local service to a project
|
Long |
addModelChecker(SModelCheckerInstance modelCheckerInstance) |
void |
addModelCheckerToProject(Long poid,
Long modelCheckerOid)
Add a model checker to a project
|
Long |
addNewServiceToProject(Long poid,
SNewService sService,
SAction sAction) |
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 |
addServiceToProject(Long poid,
SService sService) |
SUser |
addUser(String username,
String name,
SUserType type,
Boolean selfRegistration,
String resetUrl)
Add a new user
|
void |
addUserToExtendedDataSchema(Long uoid,
Long edsid) |
Boolean |
addUserToProject(Long uoid,
Long poid)
Add a user to a project (authorization wise)
|
SUser |
addUserWithPassword(String username,
String password,
String name,
SUserType type,
Boolean selfRegistration,
String resetUrl)
Add a new user with a given password
|
String |
bcfToJson(Long extendedDataId) |
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
|
void |
changeUserType(Long uoid,
SUserType userType)
Change the type of a user
|
Long |
checkin(Long poid,
String comment,
Long deserializerOid,
Long fileSize,
String fileName,
DataHandler data,
Boolean merge,
Boolean sync)
Checkin a new model by sending a serialized form
|
Long |
checkinFromUrl(Long poid,
String comment,
Long deserializerOid,
String fileName,
String url,
Boolean merge,
Boolean sync)
Checkin a new model by sending a serialized form
|
Long |
checkinInitiated(Long topicId,
Long poid,
String comment,
Long deserializerOid,
Long fileSize,
String fileName,
DataHandler data,
Boolean merge,
Boolean sync) |
Boolean |
checkInternetConnection() |
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
|
void |
cleanupLongAction(Long topicId)
Cleanup a long running action, this is important to keep memory usage of BIMserver down
|
SCompareResult |
compare(Long roid1,
Long roid2,
SCompareType sCompareType,
Long mcid)
Compare two models
|
Boolean |
deleteProject(Long poid)
Delete a Project, Projects can be undeleted with the undeleteProject method
|
void |
deleteService(Long oid) |
Boolean |
deleteUser(Long uoid)
Delete a User, Users van be undeleted with the undeleteUser method
|
Long |
download(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 |
downloadCompareResults(Long serializerOid,
Long roid1,
Long roid2,
Long mcid,
SCompareType type,
Boolean sync)
Download a compare of a model
|
List<SUser> |
getAllAuthorizedUsersOfProject(Long poid)
Get a list of users that have been authorized on the given project
|
List<SCheckout> |
getAllCheckoutsByUser(Long uoid)
Get a list of checkouts by the given user
|
List<SCheckout> |
getAllCheckoutsOfProject(Long poid)
Get all checkouts of the given project
|
List<SCheckout> |
getAllCheckoutsOfProjectAndSubProjects(Long poid)
Get a list of all checkouts of the given project and it's sub projects
|
List<SCheckout> |
getAllCheckoutsOfRevision(Long roid)
Get a list of checkouts on the given revision
|
List<SExtendedData> |
getAllExtendedDataOfRevision(Long roid) |
List<SExtendedData> |
getAllExtendedDataOfRevisionAndSchema(Long roid,
Long schemaId) |
List<SExtendedDataSchema> |
getAllExtendedDataSchemas() |
List<SProfileDescriptor> |
getAllLocalProfiles(String serviceIdentifier) |
List<SServiceDescriptor> |
getAllLocalServiceDescriptors() |
List<SModelCheckerInstance> |
getAllModelCheckers()
Get all model checkers
|
List<SModelCheckerInstance> |
getAllModelCheckersOfProject(Long poid)
Get a list of all the model checkers attached to the given Project
|
List<SNewService> |
getAllNewServicesOfProject(Long poid)
Get a list of all the services attached to the given project
|
List<SProject> |
getAllNonAuthorizedProjectsOfUser(Long uoid)
Get a list of all Projects the given User does not have authorization for
|
List<SUser> |
getAllNonAuthorizedUsersOfProject(Long poid)
Get a list of all Users not authoriazed on the given Project
|
List<SProfileDescriptor> |
getAllPrivateProfiles(String notificationsUrl,
String serviceIdentifier) |
List<SProject> |
getAllProjects(Boolean onlyTopLevel,
Boolean onlyActive)
Get a list of all Projects the user is authorized for
|
List<SProjectSmall> |
getAllProjectsSmall() |
List<SProfileDescriptor> |
getAllPublicProfiles(String notificationsUrl,
String serviceIdentifier) |
List<SProject> |
getAllReadableProjects()
Get a list of all Projects the user is authorized for to read from
|
List<SProjectSmall> |
getAllRelatedProjects(Long poid)
Get a list of a project's related projects.
|
List<SExtendedDataSchema> |
getAllRepositoryExtendedDataSchemas(Boolean usePre) |
List<SModelCheckerInstance> |
getAllRepositoryModelCheckers() |
List<SRevision> |
getAllRevisionsByUser(Long uoid)
Get a list of revisions a user has committed
|
List<SRevision> |
getAllRevisionsOfProject(Long poid)
Get a list of all Revisions of a Project
|
List<SServiceDescriptor> |
getAllServiceDescriptors() |
List<SService> |
getAllServicesOfProject(Long poid)
Get a list of all the services attached to the given project
|
List<SUser> |
getAllUsers()
Get a list of all users
|
List<SProject> |
getAllWritableProjects()
Get a list of all Projects the user is authorized for to write to
|
Double |
getArea(Long roid,
Long oid)
Get the area of the given object
|
List<String> |
getAvailableClasses()
Returns a list of all available classes
|
List<String> |
getAvailableClassesInRevision(Long roid)
Returns a list of all the classes that are used in the given revision
|
Set<String> |
getCheckinWarnings(Long poid)
Checkin warnings are given to users
|
Set<String> |
getCheckoutWarnings(Long poid)
Checkout warnings are given to users when checkouts are done by other users
|
SDensity |
getDensityThreshold(Long roid,
Long nrTriangles,
Set<String> excludedTypes) |
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 |
getExtendedDataSchemaByName(String name) |
SExtendedDataSchema |
getExtendedDataSchemaFromRepository(String namespace) |
SFile |
getFile(Long fileId) |
SFile |
getFileMeta(Long fileId) |
Set<Long> |
getGeometryDataToReuse(Set<Long> roids,
Set<String> excludedTypes,
Integer trianglesToSave) |
SGeometryInfo |
getGeometryInfo(Long roid,
Long oid) |
SGeoTag |
getGeoTag(Long goid)
Get the GeoTag attached to the given Project
|
SIfcHeader |
getIfcHeader(Long croid)
Get the IfcHeader of the given ConcreteRevision-ID
|
SExtendedData |
getLastExtendedDataOfRevisionAndSchema(Long roid,
Long schemaId) |
SBounds |
getModelBounds(Long roid) |
SBounds |
getModelBoundsForConcreteRevision(Long croid) |
SBounds |
getModelBoundsUntransformed(Long roid) |
SBounds |
getModelBoundsUntransformedForConcreteRevision(Long croid) |
SModelCheckerInstance |
getModelCheckerInstance(Long mcioid)
Get a model checker instance by it's id
|
SVector3f |
getModelMaxBounds(Long roid) |
SVector3f |
getModelMinBounds(Long roid) |
SNewService |
getNewService(Long soid) |
Long |
getNrPrimitives(Long roid) |
Long |
getNrPrimitivesTotal(Set<Long> roids) |
Long |
getOidByGuid(Long roid,
String guid)
Get the oid of the given GUID, will throw a UserException if the GUID was not found
|
SProject |
getProjectByPoid(Long poid) |
List<SProject> |
getProjectsByName(String name) |
SProjectSmall |
getProjectSmallByPoid(Long poid) |
SQueryEnginePluginConfiguration |
getQueryEngineById(Long oid) |
SQueryEnginePluginConfiguration |
getQueryEngineByName(String name) |
String |
getQueryEngineExample(Long qeid,
String key)
Returns a query engine example (get the key from getQueryEngineExampleKeys)
|
List<String> |
getQueryEngineExampleKeys(Long qeid)
Get a list of query engine example keys (which you can then use for getQueryEngineExample)
|
SRevision |
getRevision(Long roid) |
SRevisionSummary |
getRevisionSummary(Long roid)
Get a revision summary
|
SSerializerPluginConfiguration |
getSerializerByContentType(String contentType) |
SSerializerPluginConfiguration |
getSerializerById(Long oid) |
SSerializerPluginConfiguration |
getSerializerByName(String serializerName) |
SService |
getService(Long soid) |
SServiceDescriptor |
getServiceDescriptor(String baseUrl,
String serviceIdentifier) |
SProject |
getSubProjectByName(Long parentProjectId,
String name) |
List<SProject> |
getSubProjects(Long poid) |
SDeserializerPluginConfiguration |
getSuggestedDeserializerForExtension(String extension,
Long poid)
Get a suggested deserializer for the given file extension and project
|
List<Integer> |
getTileCounts(Set<Long> roids,
Set<String> excludedTypes,
Set<Long> geometryIdsToReuse,
Float minimumThreshold,
Float maximumThreshold,
Integer depth) |
SProject |
getTopLevelProjectByName(String name) |
SBounds |
getTotalBounds(Set<Long> roids) |
SBounds |
getTotalUntransformedBounds(Set<Long> roids) |
SUser |
getUserByUoid(Long uoid)
Get a user by its User ObjectID
|
SUser |
getUserByUserName(String username)
Get a User by its UserNmae (e-mail address)
|
List<SLogAction> |
getUserRelatedLogs(Long uoid)
Get all log entries linked to the given user
|
SUserSettings |
getUserSettings()
Get the user settings of the current user
|
List<SProject> |
getUsersProjects(Long uoid)
Get a list of projects a user is authorized on
|
Double |
getVolume(Long roid,
Long oid)
Get the volume of the given object
|
void |
importData(String address,
String username,
String password,
String path)
Import data from another BIMserver, mainly used for migrations.
|
Long |
initiateCheckin(Long poid,
Long deserializerOid) |
List<SBounds> |
listBoundingBoxes(Set<Long> roids) |
Long |
regenerateGeometry(Long roid,
Long eoid) |
void |
removeModelCheckerFromProject(Long poid,
Long modelCheckerOid)
Remove the given model checker from the given project
|
void |
removeNewServiceFromProject(Long poid,
Long serviceOid)
Remove the given service from the given project
|
void |
removeServiceFromProject(Long poid,
Long serviceOid)
Remove the given service from the given project
|
void |
removeUserFromExtendedDataSchema(Long uoid,
Long edsid) |
Boolean |
removeUserFromProject(Long uoid,
Long poid)
Remove a user from a project (authorization wise)
|
void |
sendCompareEmail(SCompareType sCompareType,
Long mcid,
Long poid,
Long roid1,
Long roid2,
String address)
Send an e-mail with the results of a compare
|
void |
setRevisionTag(Long roid,
String tag)
Set a tag on a specific revision
|
String |
shareRevision(Long roid)
Share a revision
|
void |
terminateLongRunningAction(Long topicId)
Terminate a long running action
|
void |
triggerNewExtendedData(Long edid,
Long soid) |
void |
triggerNewRevision(Long roid,
Long soid) |
void |
triggerRevisionService(Long roid,
Long soid) |
Boolean |
undeleteProject(Long poid)
Undelete a previously deleted Project, Projets can be deleted with the deleteProject method
|
Boolean |
undeleteUser(Long uoid)
Undelete a previously deleted User, Users can be deleted with the deleteUser method
|
void |
updateGeoTag(SGeoTag sGeoTag)
Update the GeoTag of a project
|
void |
updateModelChecker(SModelCheckerInstance modelCheckerInstance) |
void |
updateProject(SProject sProject)
Update project properties, the only three properties that can be updated with this call are "name", "description" and "exportLengthMeasurePrefix"
|
void |
updateRevision(SRevision sRevision)
Update a revision, not much can be changed afterwards, actually only the tag
|
Long |
uploadFile(SFile file) |
Boolean |
userHasCheckinRights(Long uoid,
Long poid)
Check whether the given user has rights on the given project
|
Boolean |
userHasRights(Long poid)
Returns whether the currents user has rights on the given project
|
void |
validateModelChecker(Long oid)
Validate a model checker
|
public Long addExtendedDataSchema(SExtendedDataSchema extendedDataSchema) throws UserException, ServerException
ServiceInterfaceaddExtendedDataSchema in interface ServiceInterfaceextendedDataSchema - ExtendedDataSchema to addUserExceptionServerExceptionpublic void addExtendedDataToProject(Long poid, SExtendedData extendedData) throws UserException, ServerException
addExtendedDataToProject in interface ServiceInterfaceextendedData - ExtendedData to addUserExceptionServerExceptionpublic void addExtendedDataToRevision(Long roid, SExtendedData extendedData) throws UserException, ServerException
addExtendedDataToRevision in interface ServiceInterfaceroid - ObjectID of the RevisionextendedData - ExtendedData to addUserExceptionServerExceptionpublic void addLocalServiceToProject(Long poid, SService sService, Long internalServiceOid) throws UserException, ServerException
ServiceInterfaceaddLocalServiceToProject in interface ServiceInterfaceUserExceptionServerExceptionpublic Long addModelChecker(SModelCheckerInstance modelCheckerInstance) throws UserException, ServerException
addModelChecker in interface ServiceInterfaceUserExceptionServerExceptionpublic void addModelCheckerToProject(Long poid, Long modelCheckerOid) throws UserException, ServerException
ServiceInterfaceaddModelCheckerToProject in interface ServiceInterfacepoid - Project-IDmodelCheckerOid - ModelChecker IDUserExceptionServerExceptionpublic Long addNewServiceToProject(Long poid, SNewService sService, SAction sAction) throws UserException, ServerException
addNewServiceToProject in interface ServiceInterfaceUserExceptionServerExceptionpublic SProject addProject(String projectName, String schema) throws UserException, ServerException
ServiceInterfaceaddProject in interface ServiceInterfaceprojectName - 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")UserExceptionServerExceptionpublic SProject addProjectAsSubProject(String projectName, Long parentPoid, String schema) throws UserException, ServerException
ServiceInterfaceaddProjectAsSubProject in interface ServiceInterfaceprojectName - Name of the project, must be a unique name within the parent projectparentPoid - The ObjectID of the parent projectUserExceptionServerExceptionpublic Long addServiceToProject(Long poid, SService sService) throws UserException, ServerException
addServiceToProject in interface ServiceInterfaceUserExceptionServerExceptionpublic SUser addUser(String username, String name, SUserType type, Boolean selfRegistration, String resetUrl) throws UserException, ServerException
ServiceInterfaceaddUser in interface ServiceInterfaceusername - The username (must be a valid e-mail address)name - The name (e.g. "Bill Gates")type - Type of userselfRegistration - Whether this is a self-registration (for example e-mails will be different)resetUrl - Reset URL (webbased clients can provide a url that handles the activation of the account)UserExceptionServerExceptionpublic void addUserToExtendedDataSchema(Long uoid, Long edsid) throws UserException, ServerException
addUserToExtendedDataSchema in interface ServiceInterfaceuoid - ObjectID of the Useredsid - ObjectID of the ExtendedDataSchemaUserExceptionServerExceptionpublic Boolean addUserToProject(Long uoid, Long poid) throws UserException, ServerException
ServiceInterfaceaddUserToProject in interface ServiceInterfaceuoid - The ObejctID of the Userpoid - The ObjectID of the ProjectUserExceptionServerExceptionpublic SUser addUserWithPassword(String username, String password, String name, SUserType type, Boolean selfRegistration, String resetUrl) throws UserException, ServerException
ServiceInterfaceaddUserWithPassword in interface ServiceInterfaceusername - The username (must be a valid e-mail address)name - The name (e.g. "Bill Gates")type - Type of userselfRegistration - Whether this is a self-registration (for example e-mails will be different)UserExceptionServerExceptionpublic String bcfToJson(Long extendedDataId) throws UserException, ServerException
bcfToJson in interface ServiceInterfaceUserExceptionServerExceptionpublic Long branchToExistingProject(Long roid, Long destPoid, String comment, Boolean sync) throws UserException, ServerException
ServiceInterfacebranchToExistingProject in interface ServiceInterfaceroid - ObjectID of the Revision to branchdestPoid - ObjectID of the Project to which a branch should be madecomment - A comment describing the new RevisionUserExceptionServerExceptionpublic Long branchToNewProject(Long roid, String projectName, String comment, Boolean sync) throws UserException, ServerException
ServiceInterfacebranchToNewProject in interface ServiceInterfaceroid - ObjectID of the Revision to branchprojectName - Name of the to be created Projectcomment - A comment describing the new RevisionUserExceptionServerExceptionpublic void changeUserType(Long uoid, SUserType userType) throws UserException, ServerException
ServiceInterfacechangeUserType in interface ServiceInterfaceuoid - The User's ObjectIDuserType - The new typeUserExceptionServerExceptionpublic Boolean checkInternetConnection() throws UserException, ServerException
checkInternetConnection in interface ServiceInterfaceUserExceptionServerExceptionpublic Long checkin(Long poid, String comment, Long deserializerOid, Long fileSize, String fileName, DataHandler data, Boolean merge, Boolean sync) throws UserException, ServerException
ServiceInterfacecheckin in interface ServiceInterfacepoid - 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 bytesfileName - Name of the filedata - The actual datamerge - Whether to use checkin merging (this will alter your model!) DEPRICATEDsync - Whether the call should return immediately (async) or wait for completion (sync)UserExceptionServerExceptionpublic Long checkinFromUrl(Long poid, String comment, Long deserializerOid, String fileName, String url, Boolean merge, Boolean sync) throws UserException, ServerException
ServiceInterfacecheckinFromUrl in interface ServiceInterfacepoid - The Project's ObjectIDcomment - A commentdeserializerOid - ObjectId of the deserializer to use, use getAllDeserializers to get a list of available deserializersfileName - Name of the fileurl - A URL to the 'file'merge - Whether to use checkin merging (this will alter your model!)sync - Whether the call should return immediately (async) or wait for completion (sync)UserExceptionServerExceptionpublic Long checkinInitiated(Long topicId, Long poid, String comment, Long deserializerOid, Long fileSize, String fileName, DataHandler data, Boolean merge, Boolean sync) throws UserException, ServerException
checkinInitiated in interface ServiceInterfaceUserExceptionServerExceptionpublic Long checkout(Long roid, Long serializerOid, Boolean sync) throws UserException, ServerException
ServiceInterfacecheckout in interface ServiceInterfaceroid - Revision ObjectIDserializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializeressync - Whether to return immediately (async) or wait for completion (sync)UserExceptionServerExceptionpublic void cleanupLongAction(Long topicId) throws UserException, ServerException
ServiceInterfacecleanupLongAction in interface ServiceInterfaceUserExceptionServerExceptionpublic SCompareResult compare(Long roid1, Long roid2, SCompareType sCompareType, Long mcid) throws UserException, ServerException
ServiceInterfacecompare in interface ServiceInterfaceroid1 - The ObjectID of the first Revisionroid2 - The ObjectID of the second RevisionsCompareType - How to compare (All, Only Added, Only Modified or Only Deleted)mcid - The ObjectID of the Model Compare plugin configurationUserExceptionServerExceptionpublic Boolean deleteProject(Long poid) throws UserException, ServerException
ServiceInterfacedeleteProject in interface ServiceInterfacepoid - ObjectID of the Project to deleteUserExceptionServerExceptionpublic void deleteService(Long oid) throws UserException, ServerException
deleteService in interface ServiceInterfaceUserExceptionServerExceptionpublic Boolean deleteUser(Long uoid) throws UserException, ServerException
ServiceInterfacedeleteUser in interface ServiceInterfaceuoid - ObjectID of the UserUserExceptionServerExceptionpublic Long download(Set<Long> roids, String query, Long serializerOid, Boolean sync) throws UserException, ServerException
ServiceInterfacedownload in interface ServiceInterfaceroids - A set of Revision ObjectIDsquery - The query to use (JSON). If you are using the BIMserver API over JSON, make sure this is BASE64 encodedserializerOid - ObjectId of the serializer to use, use getAllSerializers to find availble serializerssync - Whether to return immediately (async) or wait for completion (sync)UserExceptionServerExceptionpublic Long downloadCompareResults(Long serializerOid, Long roid1, Long roid2, Long mcid, SCompareType type, Boolean sync) throws UserException, ServerException
ServiceInterfacedownloadCompareResults in interface ServiceInterfaceserializerOid - The ObjectID of the Serializer configuration to useroid1 - The ObjectID of the first Revisionroid2 - The ObjectID of the second Revisionmcid - The ObjectID of the Model Compare plugin configurationtype - How to compare (All, Only Added, Only Modified or Only Deleted)sync - Whether to call this method synchronouslyUserExceptionServerExceptionpublic List<SUser> getAllAuthorizedUsersOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllAuthorizedUsersOfProject in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SCheckout> getAllCheckoutsByUser(Long uoid) throws UserException, ServerException
ServiceInterfacegetAllCheckoutsByUser in interface ServiceInterfaceuoid - ObjectID of the UserUserExceptionServerExceptionpublic List<SCheckout> getAllCheckoutsOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllCheckoutsOfProject in interface ServiceInterfacepoid - The ObjectID of the ProjectUserExceptionServerExceptionpublic List<SCheckout> getAllCheckoutsOfProjectAndSubProjects(Long poid) throws UserException, ServerException
ServiceInterfacegetAllCheckoutsOfProjectAndSubProjects in interface ServiceInterfacepoid - Project-ID of the given ProjectUserExceptionServerExceptionpublic List<SCheckout> getAllCheckoutsOfRevision(Long roid) throws UserException, ServerException
ServiceInterfacegetAllCheckoutsOfRevision in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic List<SExtendedData> getAllExtendedDataOfRevision(Long roid) throws UserException, ServerException
getAllExtendedDataOfRevision in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic List<SExtendedData> getAllExtendedDataOfRevisionAndSchema(Long roid, Long schemaId) throws UserException, ServerException
getAllExtendedDataOfRevisionAndSchema in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic List<SExtendedDataSchema> getAllExtendedDataSchemas() throws UserException, ServerException
getAllExtendedDataSchemas in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProfileDescriptor> getAllLocalProfiles(String serviceIdentifier) throws UserException, ServerException
getAllLocalProfiles in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SServiceDescriptor> getAllLocalServiceDescriptors() throws UserException, ServerException
getAllLocalServiceDescriptors in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SModelCheckerInstance> getAllModelCheckers() throws UserException, ServerException
ServiceInterfacegetAllModelCheckers in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SModelCheckerInstance> getAllModelCheckersOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllModelCheckersOfProject in interface ServiceInterfacepoid - Project-ID of the ProjectUserExceptionServerExceptionpublic List<SNewService> getAllNewServicesOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllNewServicesOfProject in interface ServiceInterfacepoid - Project-ID of the ProjectUserExceptionServerExceptionpublic List<SProject> getAllNonAuthorizedProjectsOfUser(Long uoid) throws UserException, ServerException
ServiceInterfacegetAllNonAuthorizedProjectsOfUser in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SUser> getAllNonAuthorizedUsersOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllNonAuthorizedUsersOfProject in interface ServiceInterfacepoid - The ObjectID of the ProjectUserExceptionServerExceptionpublic List<SProfileDescriptor> getAllPrivateProfiles(String notificationsUrl, String serviceIdentifier) throws UserException, ServerException
getAllPrivateProfiles in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProject> getAllProjects(Boolean onlyTopLevel, Boolean onlyActive) throws UserException, ServerException
ServiceInterfacegetAllProjects in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProjectSmall> getAllProjectsSmall() throws UserException, ServerException
getAllProjectsSmall in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProfileDescriptor> getAllPublicProfiles(String notificationsUrl, String serviceIdentifier) throws UserException, ServerException
getAllPublicProfiles in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProject> getAllReadableProjects() throws UserException, ServerException
ServiceInterfacegetAllReadableProjects in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProjectSmall> getAllRelatedProjects(Long poid) throws UserException, ServerException
ServiceInterfacegetAllRelatedProjects in interface ServiceInterfacepoid - The projectID of the projectUserExceptionServerExceptionpublic List<SExtendedDataSchema> getAllRepositoryExtendedDataSchemas(Boolean usePre) throws UserException, ServerException
getAllRepositoryExtendedDataSchemas in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SModelCheckerInstance> getAllRepositoryModelCheckers() throws UserException, ServerException
getAllRepositoryModelCheckers in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SRevision> getAllRevisionsByUser(Long uoid) throws UserException, ServerException
ServiceInterfacegetAllRevisionsByUser in interface ServiceInterfaceuoid - ObjectID of the ProjectUserExceptionServerExceptionpublic List<SRevision> getAllRevisionsOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllRevisionsOfProject in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic List<SServiceDescriptor> getAllServiceDescriptors() throws UserException, ServerException
getAllServiceDescriptors in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SService> getAllServicesOfProject(Long poid) throws UserException, ServerException
ServiceInterfacegetAllServicesOfProject in interface ServiceInterfacepoid - Project-ID of the ProjectUserExceptionServerExceptionpublic List<SUser> getAllUsers() throws UserException, ServerException
ServiceInterfacegetAllUsers in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProject> getAllWritableProjects() throws UserException, ServerException
ServiceInterfacegetAllWritableProjects in interface ServiceInterfaceUserExceptionServerExceptionpublic Double getArea(Long roid, Long oid) throws UserException, ServerException
ServiceInterfacegetArea in interface ServiceInterfaceroid - Revision-ID of the revision this object belongs tooid - Object-ID of the objectUserExceptionServerExceptionpublic List<String> getAvailableClasses() throws UserException, ServerException
ServiceInterfacegetAvailableClasses in interface ServiceInterfaceUserExceptionServerExceptionpublic List<String> getAvailableClassesInRevision(Long roid) throws UserException, ServerException
ServiceInterfacegetAvailableClassesInRevision in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic Set<String> getCheckinWarnings(Long poid) throws UserException, ServerException
ServiceInterfacegetCheckinWarnings in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic Set<String> getCheckoutWarnings(Long poid) throws UserException, ServerException
ServiceInterfacegetCheckoutWarnings in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic SDensity getDensityThreshold(Long roid, Long nrTriangles, Set<String> excludedTypes) throws UserException, ServerException
getDensityThreshold in interface ServiceInterfaceUserExceptionServerExceptionpublic SDeserializerPluginConfiguration getDeserializerById(Long oid) throws UserException, ServerException
getDeserializerById in interface ServiceInterfaceoid - ObjectID of the DeserializerUserExceptionServerExceptionpublic SDeserializerPluginConfiguration getDeserializerByName(String deserializerName) throws UserException, ServerException
getDeserializerByName in interface ServiceInterfacedeserializerName - Name of the DeserializerUserExceptionServerExceptionpublic SDownloadResult getDownloadData(Long topicId) throws UserException, ServerException
ServiceInterfacegetDownloadData in interface ServiceInterfacetopicId - The topicId returned by one of the download or checkout methodsUserExceptionServerExceptionpublic SExtendedData getExtendedData(Long oid) throws UserException, ServerException
getExtendedData in interface ServiceInterfaceoid - ObjectID of the ExtendedDataUserExceptionServerExceptionpublic SExtendedDataSchema getExtendedDataSchemaById(Long oid) throws UserException, ServerException
getExtendedDataSchemaById in interface ServiceInterfaceoid - ObjectID of the ExtendedDataSchemaUserExceptionServerExceptionpublic SExtendedDataSchema getExtendedDataSchemaByName(String name) throws UserException, ServerException
getExtendedDataSchemaByName in interface ServiceInterfaceUserExceptionServerExceptionpublic SExtendedDataSchema getExtendedDataSchemaFromRepository(String namespace) throws UserException, ServerException
getExtendedDataSchemaFromRepository in interface ServiceInterfaceUserExceptionServerExceptionpublic SFile getFile(Long fileId) throws UserException, ServerException
getFile in interface ServiceInterfaceUserExceptionServerExceptionpublic SFile getFileMeta(Long fileId) throws UserException, ServerException
getFileMeta in interface ServiceInterfaceUserExceptionServerExceptionpublic SGeoTag getGeoTag(Long goid) throws UserException, ServerException
ServiceInterfacegetGeoTag in interface ServiceInterfacegoid - The ObjectID of the GeoTagUserExceptionServerExceptionpublic Set<Long> getGeometryDataToReuse(Set<Long> roids, Set<String> excludedTypes, Integer trianglesToSave) throws UserException, ServerException
getGeometryDataToReuse in interface ServiceInterfaceUserExceptionServerExceptionpublic SGeometryInfo getGeometryInfo(Long roid, Long oid) throws UserException, ServerException
getGeometryInfo in interface ServiceInterfaceroid - Revision-ID of the revision this object belongs tooid - Object-ID of the object (IfcProduct subtype)UserExceptionServerExceptionpublic SIfcHeader getIfcHeader(Long croid) throws UserException, ServerException
ServiceInterfacegetIfcHeader in interface ServiceInterfaceUserExceptionServerExceptionpublic SExtendedData getLastExtendedDataOfRevisionAndSchema(Long roid, Long schemaId) throws UserException, ServerException
getLastExtendedDataOfRevisionAndSchema in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic SBounds getModelBounds(Long roid) throws UserException, ServerException
getModelBounds in interface ServiceInterfaceUserExceptionServerExceptionpublic SBounds getModelBoundsForConcreteRevision(Long croid) throws UserException, ServerException
getModelBoundsForConcreteRevision in interface ServiceInterfaceUserExceptionServerExceptionpublic SBounds getModelBoundsUntransformed(Long roid) throws UserException, ServerException
getModelBoundsUntransformed in interface ServiceInterfaceUserExceptionServerExceptionpublic SBounds getModelBoundsUntransformedForConcreteRevision(Long croid) throws UserException, ServerException
getModelBoundsUntransformedForConcreteRevision in interface ServiceInterfaceUserExceptionServerExceptionpublic SModelCheckerInstance getModelCheckerInstance(Long mcioid) throws UserException, ServerException
ServiceInterfacegetModelCheckerInstance in interface ServiceInterfaceUserExceptionServerExceptionpublic SVector3f getModelMaxBounds(Long roid) throws UserException, ServerException
getModelMaxBounds in interface ServiceInterfaceUserExceptionServerExceptionpublic SVector3f getModelMinBounds(Long roid) throws UserException, ServerException
getModelMinBounds in interface ServiceInterfaceUserExceptionServerExceptionpublic SNewService getNewService(Long soid) throws UserException, ServerException
getNewService in interface ServiceInterfaceUserExceptionServerExceptionpublic Long getNrPrimitives(Long roid) throws UserException, ServerException
getNrPrimitives in interface ServiceInterfaceUserExceptionServerExceptionpublic Long getNrPrimitivesTotal(Set<Long> roids) throws UserException, ServerException
getNrPrimitivesTotal in interface ServiceInterfaceUserExceptionServerExceptionpublic Long getOidByGuid(Long roid, String guid) throws UserException, ServerException
ServiceInterfacegetOidByGuid in interface ServiceInterfaceroid - Revision in which to lookguid - GUIDUserExceptionServerExceptionpublic SProject getProjectByPoid(Long poid) throws UserException, ServerException
getProjectByPoid in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic SProjectSmall getProjectSmallByPoid(Long poid) throws UserException, ServerException
getProjectSmallByPoid in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic List<SProject> getProjectsByName(String name) throws UserException, ServerException
getProjectsByName in interface ServiceInterfaceUserExceptionServerExceptionpublic SQueryEnginePluginConfiguration getQueryEngineById(Long oid) throws UserException, ServerException
getQueryEngineById in interface ServiceInterfaceoid - ObjectID of the QueryEngineUserExceptionServerExceptionpublic SQueryEnginePluginConfiguration getQueryEngineByName(String name) throws UserException, ServerException
getQueryEngineByName in interface ServiceInterfacename - Name of the QueryEngineUserExceptionServerExceptionpublic String getQueryEngineExample(Long qeid, String key) throws UserException, ServerException
ServiceInterfacegetQueryEngineExample in interface ServiceInterfaceUserExceptionServerExceptionpublic List<String> getQueryEngineExampleKeys(Long qeid) throws UserException, ServerException
ServiceInterfacegetQueryEngineExampleKeys in interface ServiceInterfaceUserExceptionServerExceptionpublic SRevision getRevision(Long roid) throws UserException, ServerException
getRevision in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic SRevisionSummary getRevisionSummary(Long roid) throws UserException, ServerException
ServiceInterfacegetRevisionSummary in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic SSerializerPluginConfiguration getSerializerByContentType(String contentType) throws UserException, ServerException
getSerializerByContentType in interface ServiceInterfacecontentType - The ContentTypeUserExceptionServerExceptionpublic SSerializerPluginConfiguration getSerializerById(Long oid) throws UserException, ServerException
getSerializerById in interface ServiceInterfaceoid - ObjectID of the SerializerUserExceptionServerExceptionpublic SSerializerPluginConfiguration getSerializerByName(String serializerName) throws UserException, ServerException
getSerializerByName in interface ServiceInterfaceserializerName - Name of the SerializerUserExceptionServerExceptionpublic SService getService(Long soid) throws UserException, ServerException
getService in interface ServiceInterfaceUserExceptionServerExceptionpublic SServiceDescriptor getServiceDescriptor(String baseUrl, String serviceIdentifier) throws UserException, ServerException
getServiceDescriptor in interface ServiceInterfaceUserExceptionServerExceptionpublic SProject getSubProjectByName(Long parentProjectId, String name) throws UserException, ServerException
getSubProjectByName in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProject> getSubProjects(Long poid) throws UserException, ServerException
getSubProjects in interface ServiceInterfaceUserExceptionServerExceptionpublic SDeserializerPluginConfiguration getSuggestedDeserializerForExtension(String extension, Long poid) throws UserException, ServerException
ServiceInterfacegetSuggestedDeserializerForExtension in interface ServiceInterfaceextension - 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 schemaServerExceptionUserExceptionpublic List<Integer> getTileCounts(Set<Long> roids, Set<String> excludedTypes, Set<Long> geometryIdsToReuse, Float minimumThreshold, Float maximumThreshold, Integer depth) throws UserException, ServerException
getTileCounts in interface ServiceInterfaceUserExceptionServerExceptionpublic SProject getTopLevelProjectByName(String name) throws UserException, ServerException
getTopLevelProjectByName in interface ServiceInterfaceUserExceptionServerExceptionpublic SBounds getTotalBounds(Set<Long> roids) throws UserException, ServerException
getTotalBounds in interface ServiceInterfaceUserExceptionServerExceptionpublic SBounds getTotalUntransformedBounds(Set<Long> roids) throws UserException, ServerException
getTotalUntransformedBounds in interface ServiceInterfaceUserExceptionServerExceptionpublic SUser getUserByUoid(Long uoid) throws UserException, ServerException
ServiceInterfacegetUserByUoid in interface ServiceInterfaceuoid - The ObjectID of the UserUserExceptionServerExceptionpublic SUser getUserByUserName(String username) throws UserException, ServerException
ServiceInterfacegetUserByUserName in interface ServiceInterfaceusername - The username (must be a valid e-mail address)UserExceptionServerExceptionpublic List<SLogAction> getUserRelatedLogs(Long uoid) throws UserException, ServerException
ServiceInterfacegetUserRelatedLogs in interface ServiceInterfaceUserExceptionServerExceptionpublic SUserSettings getUserSettings() throws UserException, ServerException
ServiceInterfacegetUserSettings in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SProject> getUsersProjects(Long uoid) throws UserException, ServerException
ServiceInterfacegetUsersProjects in interface ServiceInterfaceUserExceptionServerExceptionpublic Double getVolume(Long roid, Long oid) throws UserException, ServerException
ServiceInterfacegetVolume in interface ServiceInterfaceroid - Revision-ID of the revision this object belongs tooid - Object-ID of the objectUserExceptionServerExceptionpublic void importData(String address, String username, String password, String path) throws UserException, ServerException
ServiceInterfaceimportData in interface ServiceInterfaceaddress - Address of the other BIMserver (http(s)://host:port/[contextpath])username - Username of the admin user on the remote serverpassword - Password of the admin user on the remote serverpath - A local path pointing to a copy of the incoming directory of the original serverUserExceptionServerExceptionpublic Long initiateCheckin(Long poid, Long deserializerOid) throws UserException, ServerException
initiateCheckin in interface ServiceInterfaceUserExceptionServerExceptionpublic List<SBounds> listBoundingBoxes(Set<Long> roids) throws UserException, ServerException
listBoundingBoxes in interface ServiceInterfaceUserExceptionServerExceptionpublic Long regenerateGeometry(Long roid, Long eoid) throws UserException, ServerException
regenerateGeometry in interface ServiceInterfaceUserExceptionServerExceptionpublic void removeModelCheckerFromProject(Long poid, Long modelCheckerOid) throws UserException, ServerException
ServiceInterfaceremoveModelCheckerFromProject in interface ServiceInterfacepoid - Project-IDmodelCheckerOid - Model Checker IDUserExceptionServerExceptionpublic void removeNewServiceFromProject(Long poid, Long serviceOid) throws UserException, ServerException
ServiceInterfaceremoveNewServiceFromProject in interface ServiceInterfacepoid - Project-IDserviceOid - Service-IDUserExceptionServerExceptionpublic void removeServiceFromProject(Long poid, Long serviceOid) throws UserException, ServerException
ServiceInterfaceremoveServiceFromProject in interface ServiceInterfacepoid - Project-IDserviceOid - Service-IDUserExceptionServerExceptionpublic void removeUserFromExtendedDataSchema(Long uoid, Long edsid) throws UserException, ServerException
removeUserFromExtendedDataSchema in interface ServiceInterfaceuoid - ObjectID of the Useredsid - ObjectID of the ExtendedDataSchemaUserExceptionServerExceptionpublic Boolean removeUserFromProject(Long uoid, Long poid) throws UserException, ServerException
ServiceInterfaceremoveUserFromProject in interface ServiceInterfaceuoid - ObjectID of the Userpoid - ObjectID of the ProjectUserExceptionServerExceptionpublic void sendCompareEmail(SCompareType sCompareType, Long mcid, Long poid, Long roid1, Long roid2, String address) throws UserException, ServerException
ServiceInterfacesendCompareEmail in interface ServiceInterfacesCompareType - How to compare (All, Only Added, Only Modified or Only Deleted)poid - The ObjectID of the Projectroid1 - The ObjectID of the first Revisionroid2 - The ObjectID of the second Revisionaddress - The e-mail address to send the e-mail toUserExceptionServerExceptionpublic void setRevisionTag(Long roid, String tag) throws UserException, ServerException
ServiceInterfacesetRevisionTag in interface ServiceInterfaceroid - The Revision ObjectIDtag - TagUserExceptionServerExceptionpublic String shareRevision(Long roid) throws UserException, ServerException
ServiceInterfaceshareRevision in interface ServiceInterfaceUserExceptionServerExceptionpublic void terminateLongRunningAction(Long topicId) throws UserException, ServerException
ServiceInterfaceterminateLongRunningAction in interface ServiceInterfacetopicId - The actionId returned by one of the download or checkout methodsUserExceptionServerExceptionpublic void triggerNewExtendedData(Long edid, Long soid) throws UserException, ServerException
triggerNewExtendedData in interface ServiceInterfaceUserExceptionServerExceptionpublic void triggerNewRevision(Long roid, Long soid) throws UserException, ServerException
triggerNewRevision in interface ServiceInterfaceUserExceptionServerExceptionpublic void triggerRevisionService(Long roid, Long soid) throws UserException, ServerException
triggerRevisionService in interface ServiceInterfaceUserExceptionServerExceptionpublic Boolean undeleteProject(Long poid) throws UserException, ServerException
ServiceInterfaceundeleteProject in interface ServiceInterfacepoid - The ObjectID of the Project to undeleteUserExceptionServerExceptionpublic Boolean undeleteUser(Long uoid) throws UserException, ServerException
ServiceInterfaceundeleteUser in interface ServiceInterfaceUserExceptionServerExceptionpublic void updateGeoTag(SGeoTag sGeoTag) throws UserException, ServerException
ServiceInterfaceupdateGeoTag in interface ServiceInterfacesGeoTag - A GeoTag object containing the new propertiesUserExceptionServerExceptionpublic void updateModelChecker(SModelCheckerInstance modelCheckerInstance) throws UserException, ServerException
updateModelChecker in interface ServiceInterfaceUserExceptionServerExceptionpublic void updateProject(SProject sProject) throws UserException, ServerException
ServiceInterfaceupdateProject in interface ServiceInterfacesProject - A Project object containing the new propertiesUserExceptionServerExceptionpublic void updateRevision(SRevision sRevision) throws UserException, ServerException
ServiceInterfaceupdateRevision in interface ServiceInterfacesRevision - The Revision object containing the new propertiesUserExceptionServerExceptionpublic Long uploadFile(SFile file) throws UserException, ServerException
uploadFile in interface ServiceInterfaceUserExceptionServerExceptionpublic Boolean userHasCheckinRights(Long uoid, Long poid) throws UserException, ServerException
ServiceInterfaceuserHasCheckinRights in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic Boolean userHasRights(Long poid) throws UserException, ServerException
ServiceInterfaceuserHasRights in interface ServiceInterfacepoid - ObjectID of the ProjectUserExceptionServerExceptionpublic void validateModelChecker(Long oid) throws UserException, ServerException
ServiceInterfacevalidateModelChecker in interface ServiceInterfaceUserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.