Class ManageLabelsForPersonGenerator

  • All Implemented Interfaces:
    edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator

    public class ManageLabelsForPersonGenerator
    extends edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator
    implements edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator
    This generator is specifically for handling labels for a FOAF Person individual and is an object property form. This allows the page to show all the labels for a particular individual and sets up code enabling the addition of a new label. Links on the page will allow for removal or editing of a given label.
    • Field Detail

      • log

        public static org.apache.commons.logging.Log log
    • Constructor Detail

      • ManageLabelsForPersonGenerator

        public ManageLabelsForPersonGenerator()
    • Method Detail

      • getEditConfiguration

        public edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo getEditConfiguration​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq,
                                                                                                               javax.servlet.http.HttpSession session)
        Specified by:
        getEditConfiguration in interface edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator
      • getFOAFPersonClassURI

        public String getFOAFPersonClassURI()
      • isPersonType

        public boolean isPersonType​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq,
                                    edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo config)
      • getVClasses

        public List<edu.cornell.mannlib.vitro.webapp.beans.VClass> getVClasses​(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo config,
                                                                               edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
      • getEditForm

        protected String getEditForm()
      • getTemplate

        protected String getTemplate()
      • getLocales

        public List<HashMap<String,​String>> getLocales​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq,
                                                             List<org.apache.jena.rdf.model.Literal> existingLiterals)