Class BaseEditController
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
-
- edu.cornell.mannlib.vedit.controller.BaseEditController
-
- All Implemented Interfaces:
MultipartRequestWrapper.ParsingStrategy,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
- Direct Known Subclasses:
AllClassGroupsListingController,ApplicationBeanRetryController,Classes2ClassesOperationController,Classes2ClassesRetryController,ClassgroupRetryController,DatapropEditController,DataPropertyStatementListingController,DataPropertyStatementRetryController,DatapropRetryController,DatatypeRetryController,EntityEditController,EntityRetryController,FauxPropertyEditController,FauxPropertyRetryController,GetAllClasses,GetAllPrefix,GetClazzAllProperties,GetClazzDataProperties,GetClazzObjectProperties,GetObjectClasses,IndividualsListingController,IndividualTypeOperationController,IndividualTypeRetryController,JenaAdminActions,JenaExportController,JenaIngestController,NamespacePrefixOperationController,NamespacePrefixRetryController,NamespacesListingController,ObjectPropertyStatementListingController,ObjectPropertyStatementRetryController,OntologiesListingController,OntologyEditController,OntologyRetryController,OperationController,Properties2PropertiesOperationController,Properties2PropertiesRetryController,PropertyEditController,PropertyGroupRetryController,PropertyGroupsListingController,PropertyRetryController,RDFUploadFormController,RefactorOperationController,RefactorRetryController,RestrictionOperationController,RestrictionRetryController,RestrictionsListingController,SparqlQueryBuilderServlet,VclassEditController,VclassRetryController,VClassWebappWithInstancesListingController
public class BaseEditController extends VitroHttpServlet
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
VitroHttpServlet.PickListSorter
-
-
Field Summary
Fields Modifier and Type Field Description protected static intBASE_10protected static DateFormatDISPLAY_DATE_FORMATstatic booleanFORCE_NEWstatic StringJSP_PREFIXprotected static StringMULTIPLEXED_PARAMETER_NAME-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
HTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE
-
-
Constructor Summary
Constructors Constructor Description BaseEditController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EditProcessObjectcreateEpo(javax.servlet.http.HttpServletRequest request)protected EditProcessObjectcreateEpo(javax.servlet.http.HttpServletRequest request, boolean forceNew)StringgetDefaultLandingPage(javax.servlet.http.HttpServletRequest request)List<Option>getSortedList(HashMap<String,Option> hashMap, List<Option> optionList, VitroRequest vreq)protected WebappDaoFactorygetWebappDaoFactory()protected WebappDaoFactorygetWebappDaoFactory(String userURI)protected voidpopulateBeanFromParams(Object bean, javax.servlet.http.HttpServletRequest request)protected voidsetRequestAttributes(javax.servlet.http.HttpServletRequest request, EditProcessObject epo)-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet
doGet, doPost, dumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeException
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Field Detail
-
FORCE_NEW
public static final boolean FORCE_NEW
- See Also:
- Constant Field Values
-
JSP_PREFIX
public static final String JSP_PREFIX
- See Also:
- Constant Field Values
-
DISPLAY_DATE_FORMAT
protected static DateFormat DISPLAY_DATE_FORMAT
-
BASE_10
protected static final int BASE_10
- See Also:
- Constant Field Values
-
MULTIPLEXED_PARAMETER_NAME
protected static final String MULTIPLEXED_PARAMETER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createEpo
protected EditProcessObject createEpo(javax.servlet.http.HttpServletRequest request)
-
createEpo
protected EditProcessObject createEpo(javax.servlet.http.HttpServletRequest request, boolean forceNew)
-
setRequestAttributes
protected void setRequestAttributes(javax.servlet.http.HttpServletRequest request, EditProcessObject epo)
-
populateBeanFromParams
protected void populateBeanFromParams(Object bean, javax.servlet.http.HttpServletRequest request)
-
getSortedList
public List<Option> getSortedList(HashMap<String,Option> hashMap, List<Option> optionList, VitroRequest vreq)
-
getWebappDaoFactory
protected WebappDaoFactory getWebappDaoFactory()
-
getWebappDaoFactory
protected WebappDaoFactory getWebappDaoFactory(String userURI)
-
getDefaultLandingPage
public String getDefaultLandingPage(javax.servlet.http.HttpServletRequest request)
-
-