public class NotificationRegistryInterfaceAdaptor extends Object implements NotificationRegistryInterface
| Constructor and Description |
|---|
NotificationRegistryInterfaceAdaptor() |
| 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 NotificationRegistryInterfaceAdaptor()
public SLongActionState getProgress(Long topicId) throws UserException, ServerException
getProgress in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic List<Long> getProgressTopicsOnProject(Long poid) throws UserException, ServerException
getProgressTopicsOnProject in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic List<Long> getProgressTopicsOnRevision(Long poid, Long roid) throws UserException, ServerException
getProgressTopicsOnRevision in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic List<Long> getProgressTopicsOnServer() throws UserException, ServerException
getProgressTopicsOnServer in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerChangeProgressOnProject(Long endPointId, Long poid) throws UserException, ServerException
registerChangeProgressOnProject in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerChangeProgressOnRevision(Long endPointId, Long roid, Long poid) throws UserException, ServerException
registerChangeProgressOnRevision in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerChangeProgressOnServer(Long endPointId) throws UserException, ServerException
registerChangeProgressOnServer in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerNewExtendedDataOnRevisionHandler(Long endPointId, Long roid) throws UserException, ServerException
NotificationRegistryInterfaceregisterNewExtendedDataOnRevisionHandler in interface NotificationRegistryInterfaceendPointId - EndPointIDroid - Revision OIDUserExceptionServerExceptionpublic void registerNewProjectHandler(Long endPointId) throws UserException, ServerException
NotificationRegistryInterfaceregisterNewProjectHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerNewRevisionHandler(Long endPointId) throws UserException, ServerException
NotificationRegistryInterfaceregisterNewRevisionHandler in interface NotificationRegistryInterfaceendPointId - EndPointIDUserExceptionServerExceptionpublic void registerNewRevisionOnSpecificProjectHandler(Long endPointId, Long poid) throws UserException, ServerException
NotificationRegistryInterfaceregisterNewRevisionOnSpecificProjectHandler in interface NotificationRegistryInterfaceendPointId - EndPointIDpoid - Project OIDUserExceptionServerExceptionpublic void registerNewUserHandler(Long endPointId) throws UserException, ServerException
NotificationRegistryInterfaceregisterNewUserHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void registerProgressHandler(Long topicId, Long endPointId) throws UserException, ServerException
registerProgressHandler in interface NotificationRegistryInterfacetopicId - 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
NotificationRegistryInterfaceregisterProgressOnProjectTopic in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic Long registerProgressOnRevisionTopic(SProgressTopicType type, Long poid, Long roid, String description) throws UserException, ServerException
registerProgressOnRevisionTopic in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic Long registerProgressTopic(SProgressTopicType type, String description) throws UserException, ServerException
NotificationRegistryInterfaceregisterProgressTopic in interface NotificationRegistryInterfacetype - The type of progressdescription - A description of the running serviceUserExceptionServerExceptionpublic void unregisterChangeProgressOnProject(Long endPointId, Long poid) throws UserException, ServerException
unregisterChangeProgressOnProject in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterChangeProgressOnRevision(Long endPointId, Long roid, Long poid) throws UserException, ServerException
unregisterChangeProgressOnRevision in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterChangeProgressOnServer(Long endPointId) throws UserException, ServerException
unregisterChangeProgressOnServer in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewExtendedDataOnRevisionHandler(Long endPointId, Long roid) throws UserException, ServerException
NotificationRegistryInterfaceunregisterNewExtendedDataOnRevisionHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewProjectHandler(Long endPointId) throws UserException, ServerException
NotificationRegistryInterfaceunregisterNewProjectHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewRevisionHandler(Long endPointId) throws UserException, ServerException
unregisterNewRevisionHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewRevisionOnSpecificProjectHandler(Long endPointId, Long poid) throws UserException, ServerException
unregisterNewRevisionOnSpecificProjectHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterNewUserHandler(Long endPointId) throws UserException, ServerException
NotificationRegistryInterfaceunregisterNewUserHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterProgressHandler(Long topicId, Long endPointId) throws UserException, ServerException
unregisterProgressHandler in interface NotificationRegistryInterfaceUserExceptionServerExceptionpublic void unregisterProgressTopic(Long topicId) throws UserException, ServerException
NotificationRegistryInterfaceunregisterProgressTopic in interface NotificationRegistryInterfacetopicId - TopicIDUserExceptionServerExceptionpublic void updateProgressTopic(Long topicId, SLongActionState state) throws UserException, ServerException
NotificationRegistryInterfaceupdateProgressTopic in interface NotificationRegistryInterfacetopicId - TopicIDstate - The new stateUserExceptionServerExceptionCopyright © 2018 OpenSource BIM. All rights reserved.