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 |
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 |
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
|
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) |
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
|
void |
deleteService(Long oid) |
Boolean |
deleteUser(Long uoid)
Delete a User, Users van be undeleted with the undeleteUser method
|
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<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<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,
String token) |
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() |
List<SModelCheckerInstance> |
getAllRepositoryModelCheckers() |
List<SRevision> |
getAllRevisionsByUser(Long uoid)
Get a list of revisions a user has committed
|
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
|
SExtendedDataSchema |
getExtendedDataSchemaFromRepository(String namespace) |
SFile |
getFile(Long fileId) |
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
|
SModelCheckerInstance |
getModelCheckerInstance(Long mcioid)
Get a model checker instance by it's id
|
Long |
getNrPrimitives(Long roid) |
Long |
getOidByGuid(Long roid,
String guid)
Get the oid of the given GUID, will throw a UserException if the GUID was not found
|
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)
|
SRevisionSummary |
getRevisionSummary(Long roid)
Get a revision summary
|
SService |
getService(Long soid) |
SServiceDescriptor |
getServiceDescriptor(String baseUrl,
String serviceIdentifier) |
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)
Start uploading a new model, the main reason for this call is to get a TopicID, which you can use to get progress updates
|
void |
removeModelCheckerFromProject(Long poid,
Long modelCheckerOid)
Remove the given model checker 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 |
triggerNewExtendedData(Long edid,
Long soid) |
void |
triggerNewRevision(Long roid,
Long soid) |
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 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 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 void changeUserType(Long uoid, SUserType userType) throws UserException, ServerException
ServiceInterfacechangeUserType in interface ServiceInterfaceuoid - The User's ObjectIDuserType - The new typeUserExceptionServerExceptionpublic 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 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)UserExceptionServerExceptionpublic 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 downloadCompareResults(Long serializerOid, Long roid1, Long roid2, Long mcid, SCompareType type, Boolean sync) throws UserException, ServerException
ServiceInterfacedownloadCompareResults in interface ServiceInterfaceUserExceptionServerExceptionpublic 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<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<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, String token) throws UserException, ServerException
getAllPrivateProfiles 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() 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<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 SExtendedDataSchema getExtendedDataSchemaFromRepository(String namespace) throws UserException, ServerException
getExtendedDataSchemaFromRepository in interface ServiceInterfaceUserExceptionServerExceptionpublic SFile getFile(Long fileId) throws UserException, ServerException
getFile in interface ServiceInterfaceUserExceptionServerExceptionpublic SGeoTag getGeoTag(Long goid) throws UserException, ServerException
ServiceInterfacegetGeoTag in interface ServiceInterfacegoid - The ObjectID of the GeoTagUserExceptionServerExceptionpublic 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 SModelCheckerInstance getModelCheckerInstance(Long mcioid) throws UserException, ServerException
ServiceInterfacegetModelCheckerInstance in interface ServiceInterfaceUserExceptionServerExceptionpublic Long getNrPrimitives(Long roid) throws UserException, ServerException
getNrPrimitives in interface ServiceInterfaceUserExceptionServerExceptionpublic Long getOidByGuid(Long roid, String guid) throws UserException, ServerException
ServiceInterfacegetOidByGuid in interface ServiceInterfaceroid - Revision in which to lookguid - GUIDUserExceptionServerExceptionpublic 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 SRevisionSummary getRevisionSummary(Long roid) throws UserException, ServerException
ServiceInterfacegetRevisionSummary in interface ServiceInterfaceroid - ObjectID of the RevisionUserExceptionServerExceptionpublic SService getService(Long soid) throws UserException, ServerException
getService in interface ServiceInterfaceUserExceptionServerExceptionpublic SServiceDescriptor getServiceDescriptor(String baseUrl, String serviceIdentifier) throws UserException, ServerException
getServiceDescriptor 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
ServiceInterfaceinitiateCheckin in interface ServiceInterfacepoid - ProjectID of the project you want to upload todeserializerOid - Deserializer OIDUserExceptionServerExceptionpublic void removeModelCheckerFromProject(Long poid, Long modelCheckerOid) throws UserException, ServerException
ServiceInterfaceremoveModelCheckerFromProject in interface ServiceInterfacepoid - Project-IDmodelCheckerOid - Model Checker 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 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 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 © 2016 OpenSource BIM. All rights reserved.