Examples of moveMetadata()


Examples of edu.uga.galileo.voci.model.MetadataManager.moveMetadata()

    // ... and this one is for re-ordering from the metadata list
    if ((subCommand.equals("down")) || (subCommand.equals("up"))) {
      try {
        // "up" in the GUI means "down" in the ordering, so the
        // true/false here may look a little goofy
        manager.moveMetadata(manager.getMetadataElement(metadataId),
            subCommand.equals("down") ? true : false);
        request.setAttribute("successMessage", "Metadata element "
            + metadataId + " successfully moved.");
      } catch (NumberFormatException e) {
        request.setAttribute("errorMessage",
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.