public class Bimsie1NotificationRegistryInterfaceAdaptor extends Object implements Bimsie1NotificationRegistryInterface
| Constructor and Description |
|---|
Bimsie1NotificationRegistryInterfaceAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
SLongActionState |
getProgress(Long topicId) |
List<Long> |
getProgressTopicsOnProject(Long poid) |
List<Long> |
getProgressTopicsOnRevision(Long poid,
Long roid) |
List<Long> |
getProgressTopicsOnServer() |
void |
registerChangeProgressOnProject(Long endPointId,
Long poid) |
void |
registerChangeProgressOnRevision(Long endPointId,
Long roid,
Long poid) |
void |
registerChangeProgressOnServer(Long endPointId) |
void |
registerNewExtendedDataOnRevisionHandler(Long endPointId,
Long roid)
Register the given endpoint to be notified about extended data being added to the given revision
|
void |
registerNewProjectHandler(Long endPointId)
Register this endpoint to be notified when a project has been added
|
void |
registerNewRevisionHandler(Long endPointId)
Register the given endpoint to be notified about new revisions
|
void |
registerNewRevisionOnSpecificProjectHandler(Long endPointId,
Long poid)
Register the given endpoint to be notified about new revisions on the given project
|
void |
registerNewUserHandler(Long endPointId)
Register this endpoint to be notified when a new user has been added
|
void |
registerProgressHandler(Long topicId,
Long endPointId) |
Long |
registerProgressOnProjectTopic(SProgressTopicType type,
Long poid,
String description)
Register a new progress topic that is related to the given project
|
Long |
registerProgressOnRevisionTopic(SProgressTopicType type,
Long poid,
Long roid,
String description) |
Long |
registerProgressTopic(SProgressTopicType type,
String description)
Register a progress topic, remember to unregister with unregisterProgressTopic when done
|
void |
unregisterChangeProgressOnProject(Long endPointId,
Long poid) |
void |
unregisterChangeProgressOnRevision(Long endPointId,
Long roid,
Long poid) |
void |
unregisterChangeProgressOnServer(Long endPointId) |
void |
unregisterNewExtendedDataOnRevisionHandler(Long endPointId,
Long roid)
Unregister, called after registerNewExtendedDataOnRevisionHandler
|
void |
unregisterNewProjectHandler(Long endPointId)
Unregister this endpoint to be notified when a project has been added
|
void |
unregisterNewRevisionHandler(Long endPointId) |
void |
unregisterNewRevisionOnSpecificProjectHandler(Long endPointId,
Long poid) |
void |
unregisterNewUserHandler(Long endPointId)
Unregister this endpoint to be notified when a new user has been added
|
void |
unregisterProgressHandler(Long topicId,
Long endPointId) |
void |
unregisterProgressTopic(Long topicId)
Unregister a progress topic on this server
|
void |
updateProgressTopic(Long topicId,
SLongActionState state)
Update the progress information on the given topic
|
public Bimsie1NotificationRegistryInterfaceAdaptor()
public SLongActionState getProgress(Long topicId) throws UserException, ServerException
getProgress in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic List<Long> getProgressTopicsOnProject(Long poid) throws UserException, ServerException
getProgressTopicsOnProject in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic List<Long> getProgressTopicsOnRevision(Long poid, Long roid) throws UserException, ServerException
getProgressTopicsOnRevision in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic List<Long> getProgressTopicsOnServer() throws UserException, ServerException
getProgressTopicsOnServer in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerChangeProgressOnProject(Long endPointId, Long poid) throws UserException, ServerException
registerChangeProgressOnProject in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerChangeProgressOnRevision(Long endPointId, Long roid, Long poid) throws UserException, ServerException
registerChangeProgressOnRevision in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerChangeProgressOnServer(Long endPointId) throws UserException, ServerException
registerChangeProgressOnServer in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerNewExtendedDataOnRevisionHandler(Long endPointId, Long roid) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterNewExtendedDataOnRevisionHandler in interface Bimsie1NotificationRegistryInterfaceendPointId - EndPointIDroid - Revision OIDUserExceptionServerExceptionpublic void registerNewProjectHandler(Long endPointId) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterNewProjectHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerNewRevisionHandler(Long endPointId) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterNewRevisionHandler in interface Bimsie1NotificationRegistryInterfaceendPointId - EndPointIDUserExceptionServerExceptionpublic void registerNewRevisionOnSpecificProjectHandler(Long endPointId, Long poid) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterNewRevisionOnSpecificProjectHandler in interface Bimsie1NotificationRegistryInterfaceendPointId - EndPointIDpoid - Project OIDUserExceptionServerExceptionpublic void registerNewUserHandler(Long endPointId) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterNewUserHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerProgressHandler(Long topicId, Long endPointId) throws UserException, ServerException
registerProgressHandler in interface Bimsie1NotificationRegistryInterfacetopicId - Register an endpoint to be notified of update on the given (progress) topicendPointId - EndPointID, which identifies the endpointUserExceptionServerExceptionpublic Long registerProgressOnProjectTopic(SProgressTopicType type, Long poid, String description) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterProgressOnProjectTopic in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic Long registerProgressOnRevisionTopic(SProgressTopicType type, Long poid, Long roid, String description) throws UserException, ServerException
registerProgressOnRevisionTopic in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic Long registerProgressTopic(SProgressTopicType type, String description) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceregisterProgressTopic in interface Bimsie1NotificationRegistryInterfacetype - The type of progressdescription - A description of the running serviceUserExceptionServerExceptionpublic void unregisterChangeProgressOnProject(Long endPointId, Long poid) throws UserException, ServerException
unregisterChangeProgressOnProject in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterChangeProgressOnRevision(Long endPointId, Long roid, Long poid) throws UserException, ServerException
unregisterChangeProgressOnRevision in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterChangeProgressOnServer(Long endPointId) throws UserException, ServerException
unregisterChangeProgressOnServer in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewExtendedDataOnRevisionHandler(Long endPointId, Long roid) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceunregisterNewExtendedDataOnRevisionHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewProjectHandler(Long endPointId) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceunregisterNewProjectHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewRevisionHandler(Long endPointId) throws UserException, ServerException
unregisterNewRevisionHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewRevisionOnSpecificProjectHandler(Long endPointId, Long poid) throws UserException, ServerException
unregisterNewRevisionOnSpecificProjectHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewUserHandler(Long endPointId) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceunregisterNewUserHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterProgressHandler(Long topicId, Long endPointId) throws UserException, ServerException
unregisterProgressHandler in interface Bimsie1NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterProgressTopic(Long topicId) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceunregisterProgressTopic in interface Bimsie1NotificationRegistryInterfacetopicId - TopicIDUserExceptionServerExceptionpublic void updateProgressTopic(Long topicId, SLongActionState state) throws UserException, ServerException
Bimsie1NotificationRegistryInterfaceupdateProgressTopic in interface Bimsie1NotificationRegistryInterfacetopicId - TopicIDstate - The new stateUserExceptionServerExceptionCopyright © 2016 OpenSource BIM. All rights reserved.