Package org.dspace.app.xmlui.wing.element

Examples of org.dspace.app.xmlui.wing.element.List.addLabel()


      actionsItem.addButton("submit_harvest_stop").setValue(T_harvest_submit_stop);
   
    // Can be retrieved via "{context-path}/admin/collection?collectionID={id}"
    String baseURL = contextPath + "/admin/collection?collectionID=";
   
    harvesterControls.addLabel(T_harvest_label_collections);
    Item allCollectionsItem = harvesterControls.addItem();
    java.util.List<Integer> allCollections =  HarvestedCollection.findAll(context);
    for (Integer oaiCollection : allCollections) {
      allCollectionsItem.addXref(baseURL + oaiCollection, oaiCollection.toString());
    }
View Full Code Here


    Item allCollectionsItem = harvesterControls.addItem();
    java.util.List<Integer> allCollections =  HarvestedCollection.findAll(context);
    for (Integer oaiCollection : allCollections) {
      allCollectionsItem.addXref(baseURL + oaiCollection, oaiCollection.toString());
    }
    harvesterControls.addLabel(T_harvest_label_active);
    Item busyCollectionsItem = harvesterControls.addItem();
    java.util.List<Integer> busyCollections =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_BUSY);
    for (Integer busyCollection : busyCollections) {
      busyCollectionsItem.addXref(baseURL + busyCollection, busyCollection.toString());
    }
View Full Code Here

    Item busyCollectionsItem = harvesterControls.addItem();
    java.util.List<Integer> busyCollections =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_BUSY);
    for (Integer busyCollection : busyCollections) {
      busyCollectionsItem.addXref(baseURL + busyCollection, busyCollection.toString());
    }
    harvesterControls.addLabel(T_harvest_label_queued);
    Item queuedCollectionsItem = harvesterControls.addItem();
    java.util.List<Integer> queuedCollections =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_QUEUED);
    for (Integer queuedCollection : queuedCollections) {
      queuedCollectionsItem.addXref(baseURL + queuedCollection, queuedCollection.toString());
    }
View Full Code Here

    Item queuedCollectionsItem = harvesterControls.addItem();
    java.util.List<Integer> queuedCollections =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_QUEUED);
    for (Integer queuedCollection : queuedCollections) {
      queuedCollectionsItem.addXref(baseURL + queuedCollection, queuedCollection.toString());
    }
    harvesterControls.addLabel(T_harvest_label_oai_errors);
    Item oaiErrorsItem = harvesterControls.addItem();
    java.util.List<Integer> oaiErrors =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_OAI_ERROR);
    for (Integer oaiError : oaiErrors) {
      oaiErrorsItem.addXref(baseURL + oaiError, oaiError.toString());
    }
View Full Code Here

    Item oaiErrorsItem = harvesterControls.addItem();
    java.util.List<Integer> oaiErrors =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_OAI_ERROR);
    for (Integer oaiError : oaiErrors) {
      oaiErrorsItem.addXref(baseURL + oaiError, oaiError.toString());
    }
    harvesterControls.addLabel(T_harvest_label_internal_errors);
    Item internalErrorsItem = harvesterControls.addItem();
    java.util.List<Integer> internalErrors =  HarvestedCollection.findByStatus(context, HarvestedCollection.STATUS_UNKNOWN_ERROR);
    for (Integer internalError : internalErrors) {
      internalErrorsItem.addXref(baseURL + internalError, internalError.toString());
    }
View Full Code Here

   
    // OAI Generator settings
    List generatorSettings = div.addList("oai-generator-settings");
    generatorSettings.setHead(T_harvest_head_generator_settings);
   
    generatorSettings.addLabel(T_harvest_label_oai_url);
    String oaiUrl = ConfigurationManager.getProperty("dspace.oai.url");
    if (oaiUrl != null && oaiUrl != "")
      generatorSettings.addItem(oaiUrl);

    generatorSettings.addLabel(T_harvest_label_oai_source);
View Full Code Here

    generatorSettings.addLabel(T_harvest_label_oai_url);
    String oaiUrl = ConfigurationManager.getProperty("dspace.oai.url");
    if (oaiUrl != null && oaiUrl != "")
      generatorSettings.addItem(oaiUrl);

    generatorSettings.addLabel(T_harvest_label_oai_source);
    String oaiAuthoritativeSource = ConfigurationManager.getProperty("ore.authoritative.source");
    if (oaiAuthoritativeSource != null && oaiAuthoritativeSource != "")
      generatorSettings.addItem(oaiAuthoritativeSource);
    else
      generatorSettings.addItem("oai");
View Full Code Here

        Enumeration pe = ConfigurationManager.propertyNames();
        while (pe.hasMoreElements())
        {
            String key = (String)pe.nextElement();
            if (key.startsWith(metaString)) {
              harvesterSettings.addLabel(key);
              harvesterSettings.addItem(ConfigurationManager.getProperty(key) + " ");
            }
        }
  }
 
View Full Code Here

        list.addLabel("uno");
        list.addItem("one");
        list.addLabel("dos");
        list.addItem("two");
        nest = list.addList("nest5");
        nest.addLabel("dos punto uno");
        nest.addItem("two point one");
        nest.addLabel("dos punto dos");
        nest.addItem("two point two");
        nest.addLabel("dos punto tres");
        nest.addItem("two point three");
View Full Code Here

        list.addLabel("dos");
        list.addItem("two");
        nest = list.addList("nest5");
        nest.addLabel("dos punto uno");
        nest.addItem("two point one");
        nest.addLabel("dos punto dos");
        nest.addItem("two point two");
        nest.addLabel("dos punto tres");
        nest.addItem("two point three");
        list.addLabel("tres");
        list.addItem("three");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.