final AbstractLink link = Links.newBookmarkablePageLink(ID_BOOKMARKED_PAGE_LINK, pageParameters, pageClass);
final RootOid oid = BookmarkedPagesModel.oidFrom(pageParameters);
ObjectSpecification objectSpec = null;
if(oid != null) {
ObjectSpecId objectSpecId = oid.getObjectSpecId();
objectSpec = getSpecificationLoader().lookupBySpecId(objectSpecId);
}
final ResourceReference imageResource = imageCache.resourceReferenceForSpec(objectSpec);
final Image image = new Image(ID_BOOKMARKED_PAGE_ICON, imageResource) {
private static final long serialVersionUID = 1L;