/** * 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(community.getLogo());
((Community) dso).getLogo(); if (logoBs != null) { String zname = makeBitstreamURL(context, logoBs, params);
defaultTitle = comm.getName(); feed.setDescription(communityService.getMetadata(comm, "short_description")); logo = comm.getLogo(); String comms = ConfigurationManager.getProperty("webui.feed.podcast.communities"); if (comms != null && comms.length() > 1 && comms.contains(comm.getHandle())) {
Bitstream bs = community.getLogo();
Bitstream logoBs = ((Community) dso).getLogo(); if (logoBs != null) { fileSec = new FileSec();
logo = ((Community)logoContainer).getLogo();