use of org.bimserver.notifications.ChangeProgressTopicOnRevisionTopic in project BIMserver by opensourceBIM.
the class NotificationRegistryServiceImpl method registerChangeProgressOnRevision.
@Override
public void registerChangeProgressOnRevision(Long endPointId, Long poid, Long roid) throws ServerException, UserException {
ChangeProgressTopicOnRevisionTopic changeProgressOnProjectTopic = getBimServer().getNotificationsManager().getChangeProgressOnRevisionTopic(poid, roid);
EndPoint endPoint = getEndPoint(endPointId);
try {
changeProgressOnProjectTopic.register(endPoint);
} catch (TopicRegisterException e) {
handleException(e);
}
}
use of org.bimserver.notifications.ChangeProgressTopicOnRevisionTopic in project BIMserver by opensourceBIM.
the class NotificationRegistryServiceImpl method unregisterChangeProgressOnRevision.
@Override
public void unregisterChangeProgressOnRevision(Long endPointId, Long poid, Long roid) throws ServerException, UserException {
ChangeProgressTopicOnRevisionTopic changeProgressOnProjectTopic = getBimServer().getNotificationsManager().getChangeProgressOnRevisionTopic(poid, roid);
EndPoint endPoint = getEndPoint(endPointId);
try {
changeProgressOnProjectTopic.unregister(endPoint);
} catch (TopicRegisterException e) {
handleException(e);
}
}
Aggregations