/** * Get the license that users must grant before submitting to this * collection. * * @return the license for this collection */ public String getLicenseCollection() { return getCollectionService().getMetadata(this, "license"); }
nameElement.setText(collectionService.getMetadata(collection, "name")); element.addContent(nameElement); if (collectionService.getMetadata(collection, "short_description") != null) { Element descriptionElement = new Element("description"); descriptionElement.setText(collectionService.getMetadata(collection, "short_description")); element.addContent(descriptionElement); if (collectionService.getMetadata(collection, "introductory_text") != null) { Element introElement = new Element("intro"); introElement.setText(collectionService.getMetadata(collection, "introductory_text")); element.addContent(introElement); if (collectionService.getMetadata(collection, "copyright_text") != null) { Element copyrightElement = new Element("copyright"); copyrightElement.setText(collectionService.getMetadata(collection, "copyright_text")); element.addContent(copyrightElement); if (collectionService.getMetadata(collection, "side_bar_text") != null) { Element sidebarElement = new Element("sidebar"); sidebarElement.setText(collectionService.getMetadata(collection, "side_bar_text")); element.addContent(sidebarElement); if (collectionService.getMetadata(collection, "license") != null) { Element sidebarElement = new Element("license"); sidebarElement.setText(collectionService.getMetadata(collection, "license")); element.addContent(sidebarElement); if (collectionService.getMetadata(collection, "provenance_description") != null) {
List<MockMetadataValue> metadata = new ArrayList<>(); String description = collectionService.getMetadata(collection, "introductory_text"); String description_abstract = collectionService.getMetadata(collection, "short_description"); String description_table = collectionService.getMetadata(collection, "side_bar_text"); String identifier_uri = handleService.getCanonicalPrefix() + collection.getHandle(); String provenance = collectionService.getMetadata(collection, "provenance_description"); String rights = collectionService.getMetadata(collection, "copyright_text"); String rights_license = collectionService.getMetadata(collection, "license"); String title = collectionService.getMetadata(collection, "name");
this.setCopyrightText(collectionService.getMetadata(collection, org.dspace.content.Collection.COPYRIGHT_TEXT)); this.setIntroductoryText( collectionService.getMetadata(collection, org.dspace.content.Collection.INTRODUCTORY_TEXT)); this.setShortDescription( collectionService.getMetadata(collection, org.dspace.content.Collection.SHORT_DESCRIPTION)); this.setSidebarText(collectionService.getMetadata(collection, org.dspace.content.Collection.SIDEBAR_TEXT));
Collection collection = (Collection) dso; String description = collectionService.getMetadata(collection, "introductory_text"); String description_abstract = collectionService.getMetadata(collection, "short_description"); String description_table = collectionService.getMetadata(collection, "side_bar_text"); String identifier_uri = "hdl:" + collection.getHandle(); String provenance = collectionService.getMetadata(collection, "provenance_description"); String rights = collectionService.getMetadata(collection, "copyright_text"); String rights_license = collectionService.getMetadata(collection, "license"); String title = collectionService.getMetadata(collection, "name");
String description = collectionService.getMetadata(collection, "introductory_text"); String description_abstract = collectionService.getMetadata(collection, "short_description"); String description_table = collectionService.getMetadata(collection, "side_bar_text"); String provenance = collectionService.getMetadata(collection, "provenance_description"); String rights = collectionService.getMetadata(collection, "copyright_text"); String rights_license = collectionService.getMetadata(collection, "license"); String title = collectionService.getMetadata(collection, "name");
String title = collectionService.getMetadata(col, "name"); .getMetadata(col, "short_description");
Collection col = (Collection) dso; defaultTitle = col.getName(); feed.setDescription(collectionService.getMetadata(col, "short_description")); logo = col.getLogo(); String cols = ConfigurationManager.getProperty("webui.feed.podcast.collections");
Workspace workspace = new Workspace(); workspace.setTitle( collectionService.getMetadata(collection, "name"));