*/
public void showNoticesForId(String profileId)
throws IOException, ServiceException {
out.println("Notices for profile id: " + profileId);
RegisterFeed feed = service.getFeed(
new URL(REGISTER_FEED_PATH + "ui/" + profileId), RegisterFeed.class);
if (feed.getEntries().size() == 0) {
out.println("There are no notices for this profile");
}
int noticeIndex = 1;
for (RegisterEntry entry : feed.getEntries()) {
out.println(noticeIndex + ")" + entry.getTitle().getPlainText());
noticeIndex++;
}
}