/** * Return the logo bitstream associated with this community or collection. * If there is no logo then null is returned. */ private Bitstream getLogo() { if (dso instanceof Community) { Community community = (Community) dso; return community.getLogo(); } else if (dso instanceof Collection) { Collection collection = (Collection) dso; return collection.getLogo(); } return null; }
this.add(collection.getLogo());
((Collection) dso).getLogo() : ((Community) dso).getLogo(); if (logoBs != null) {
defaultTitle = col.getName(); feed.setDescription(collectionService.getMetadata(col, "short_description")); logo = col.getLogo(); String cols = ConfigurationManager.getProperty("webui.feed.podcast.collections"); if (cols != null && cols.length() > 1 && cols.contains(col.getHandle())) {
Bitstream bs = collection.getLogo();
Bitstream logoBs = collection.getLogo(); if (logoBs != null) { fileSec = new FileSec();
logo = ((Collection)logoContainer).getLogo();