public class AddGrantRoleToPersonGenerator extends Object implements edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
AddGrantRoleToPersonGenerator.RoleActivityOptionTypes |
| Constructor and Description |
|---|
AddGrantRoleToPersonGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormSpecificData(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo editConfiguration,
edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
String |
getDateTimePrecisionURI() |
String |
getDateTimeValueTypeURI() |
String |
getDateTimeValueURI() |
String |
getDefaultgrantToRolePredicate() |
String |
getDefaultroleToGrantPredicate() |
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 for checking edit mode **
|
String |
getEndYearPredURI() |
String |
getGrantToRolePredicate(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
String |
getGrantType() |
String |
getIntervalToEndURI() |
String |
getIntervalToStartURI() |
String |
getIntervalTypeURI() |
String |
getN3ForExistingGrant(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
String |
getN3ForGrantRole(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
String |
getN3ForNewGrant(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
List<String> |
getPossibleGrantToRolePredicates() |
List<String> |
getPossibleRoleToGrantPredicates() |
String |
getRoleToGrantPredicate(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
String |
getRoleToIntervalURI() |
String |
getRoleType(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
Methods that are REQUIRED to be implemented in subclasses
|
String |
getSparqlForAcFilter(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
String |
getStartYearPredURI() |
String |
getVivoCoreNamespace()
Methods to return URIS for various predicates
|
boolean |
isShowRoleLabelField(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
Methods with default values that may be overwritten when required by a subclass
Both Default value and method that can be overwritten are included below
|
protected void |
setTemplate(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo editConfiguration,
edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq) |
public edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo getEditConfiguration(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq,
javax.servlet.http.HttpSession session)
getEditConfiguration in interface edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.EditConfigurationGeneratorprotected void setTemplate(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo editConfiguration,
edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getN3ForGrantRole(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getN3ForNewGrant(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getN3ForExistingGrant(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public edu.cornell.mannlib.vitro.webapp.utils.FrontEndEditingUtils.EditMode getEditMode(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getRoleType(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public boolean isShowRoleLabelField(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getRoleToGrantPredicate(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getGrantToRolePredicate(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getGrantType()
public String getDefaultgrantToRolePredicate()
public String getDefaultroleToGrantPredicate()
public String getVivoCoreNamespace()
public String getRoleToIntervalURI()
public String getIntervalTypeURI()
public String getIntervalToStartURI()
public String getIntervalToEndURI()
public String getStartYearPredURI()
public String getEndYearPredURI()
public String getDateTimeValueTypeURI()
public String getDateTimePrecisionURI()
public String getDateTimeValueURI()
public void addFormSpecificData(edu.cornell.mannlib.vitro.webapp.edit.n3editing.VTwo.EditConfigurationVTwo editConfiguration,
edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
public String getSparqlForAcFilter(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
Copyright © 2022. All rights reserved.