Class PersonHasEducationalTraining

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

    public class PersonHasEducationalTraining
    extends VivoBaseGenerator
    implements edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator
    Form for adding an educational attainment to an individual Classes: core:EducationalProcess - primary new individual being created foaf:Person - existing individual foaf:Organization - new or existing individual core:AcademicDegree - existing individual core:AwardedDegree - new or existing individual There are 4 modes that this form can be in: 1. Add, there is a subject and a predicate but no position and nothing else. 2. normal edit where everything should already be filled out. There is a subject, a object and an individual on the other end of the object's relationship. 3. Repair a bad role node. There is a subject, prediate and object but there is no individual on the other end of the object's relationship. This should be similar to an add but the form should be expanded. 4. Really bad node. multiple statements on the other end of the object's relationship.
    Author:
    bdc34
    • Field Summary

      • Fields inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator

        DEFAULT_NS_FOR_NEW_RESOURCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFormSpecificData​(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo editConfiguration, edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)  
      edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo getEditConfiguration​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq, javax.servlet.http.HttpSession session)  
      edu.cornell.mannlib.vitro.webapp.utils.FrontEndEditingUtils.EditMode getEditMode​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)  
      • Methods inherited from class edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator

        setupModelSelectorsFromVitroRequest
    • Constructor Detail

      • PersonHasEducationalTraining

        public PersonHasEducationalTraining()
    • 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)
                                                                                                        throws Exception
        Specified by:
        getEditConfiguration in interface edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator
        Throws:
        Exception
      • addFormSpecificData

        public void addFormSpecificData​(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo editConfiguration,
                                        edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
      • getEditMode

        public edu.cornell.mannlib.vitro.webapp.utils.FrontEndEditingUtils.EditMode getEditMode​(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)