Class PersonHasEducationalTraining
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.BaseEditConfigurationGenerator
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.VivoBaseGenerator
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.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
-
-
Constructor Summary
Constructors Constructor Description PersonHasEducationalTraining()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFormSpecificData(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.EditConfigurationVTwogetEditConfiguration(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq, javax.servlet.http.HttpSession session)edu.cornell.mannlib.vitro.webapp.utils.FrontEndEditingUtils.EditModegetEditMode(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
-
-
-
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:
getEditConfigurationin interfaceedu.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)
-
-