Class KualiMaintenanceForm
java.lang.Object
org.apache.struts.action.ActionForm
org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
org.kuali.rice.kns.web.struts.form.KualiForm
org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
org.kuali.rice.kns.web.struts.form.KualiMaintenanceForm
- All Implemented Interfaces:
Serializable,PojoForm
Deprecated.
This class is the base action form for all maintenance documents.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
KualiForm.TabState -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MaintenanceDocumentRestrictionsDeprecated.protected StringDeprecated.protected StringDeprecated.protected static final org.apache.logging.log4j.LoggerDeprecated.protected StringDeprecated.The name of the collection looked up (by a multiple value lookup)protected StringDeprecated.The type of result returned by the multi-value lookup TODO: to be persisted in the lookup results service instead?protected StringDeprecated.Used to indicate which result set we're using when refreshing/returning from a multi-value lookupprotected StringDeprecated.Deprecated.Deprecated.protected booleanDeprecated.protected static final longDeprecated.Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtonsFields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
extraButtonsFields inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
requiredNonEditablePropertiesFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.This method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Merges rows of old and new for each section (tab) of the ui.booleanDeprecated.protected StringparseAddCollectionName(String propertyName) Deprecated.This method returns the collection name (including nested collections) from a propertyName stringvoidpopulate(javax.servlet.http.HttpServletRequest request) Deprecated.Hook into populate so we can set the maintenance documents and feed the field values to its maintainables.protected voidpopulateAttachmentPropertyForBO(MaintenanceDocumentBase maintenanceDocument) Deprecated.voidpostprocessRequestParameters(Map requestParameters) Deprecated.Override the default method to add the if statement which can't be called until after parameters from a multipart request have been made accessible, but which must be called before the parameter values are used to instantiate and populate business objects.retrieveFormValueForLookupInquiryParameters(String parameterName, String parameterValueLocation) Deprecated.This overridden method handles the case where maint doc properties do not reflect the true nature of thevoidsetAuthorizations(MaintenanceDocumentRestrictions authorizations) Deprecated.voidsetBusinessObjectClassName(String businessObjectClassName) Deprecated.voidsetDescription(String description) Deprecated.voidsetLookedUpCollectionName(String lookedUpCollectionName) Deprecated.voidsetLookupResultsBOClassName(String lookupResultsBOClassName) Deprecated.voidsetLookupResultsSequenceNumber(String lookupResultsSequenceNumber) Deprecated.voidsetMaintenanceAction(String maintenanceAction) Deprecated.voidsetNewMaintainableValues(Map newMaintainableValues) Deprecated.voidsetOldMaintainableValues(Map oldMaintainableValues) Deprecated.voidsetReadOnly(boolean readOnly) Deprecated.booleanshouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request) Deprecated.booleanshouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request) Deprecated.IMPORTANT: any overrides of this method must ensure that nothing in the HTTP request will be used to determine whether document is in sessionMethods inherited from class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
buildHtmlLink, customInitMaxUploadSizes, getActionRequests, getActionRequestsRequiringApproval, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, getDefaultDocumentTypeName, getDocId, getDocNum, getDocTypeName, getDocument, getDocumentActions, getDocumentHandlerUrl, getEditingMode, getFormKey, getInitiator, getInitiatorNetworkId, getMessageMapFromPreviousRequest, getNewAdHocRoutePerson, getNewAdHocRouteWorkgroup, getNewNote, getPersonInquiryUrlLink, getSelectedActionRequests, getStandardHeaderFields, getSuperUserAnnotation, getWorkflowDocument, hasDocumentId, initializeHeaderNavigationTabs, instantiateDocument, isDocumentEnRoute, isFormDocumentInitialized, isHasWorkflowDocument, isReturnToActionList, isStateAllowsApproveOrDisapprove, isStateAllowsApproveSingleActionRequest, isStateInitiatedFinalCancelled, isStateProcessedOrDisapproved, isSuperUserActionAvaliable, isSuperUserApproveDocumentAuthorized, isSuperUserApproveSingleActionRequestAuthorized, isSuperUserAuthorized, isSuperUserDisapproveDocumentAuthorized, isSuppressAllButtons, isUserDocumentInitiator, populateHeaderFields, reset, setActionRequests, setAdditionalScriptFile, setAdditionalScriptFiles, setAdHocActionRequestCodes, setAdHocRoutePersons, setAdHocRouteWorkgroups, setAnnotation, setAttachmentFile, setBoNotes, setCommand, setDerivedValuesOnForm, setDocId, setDocNum, setDocTypeName, setDocument, setDocumentActions, setEditingMode, setFormKey, setMessageMapFromPreviousRequest, setNewAdHocRoutePerson, setNewAdHocRouteWorkgroup, setNewNote, setReturnToActionList, setSelectedActionRequests, setSuperUserAnnotation, setSuppressAllButtons, validateMethods inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getExtraButtons, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getMethodToCall, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStatesMethods inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValuesMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
LOG
protected static final org.apache.logging.log4j.Logger LOGDeprecated. -
serialVersionUID
protected static final long serialVersionUIDDeprecated.- See Also:
-
businessObjectClassName
Deprecated. -
description
Deprecated. -
readOnly
protected boolean readOnlyDeprecated. -
oldMaintainableValues
Deprecated. -
newMaintainableValues
Deprecated. -
maintenanceAction
Deprecated. -
lookupResultsSequenceNumber
Deprecated.Used to indicate which result set we're using when refreshing/returning from a multi-value lookup -
lookupResultsBOClassName
Deprecated.The type of result returned by the multi-value lookup TODO: to be persisted in the lookup results service instead? -
lookedUpCollectionName
Deprecated.The name of the collection looked up (by a multiple value lookup) -
authorizations
Deprecated.
-
-
Constructor Details
-
KualiMaintenanceForm
public KualiMaintenanceForm()Deprecated.
-
-
Method Details
-
addRequiredNonEditableProperties
public void addRequiredNonEditableProperties()Deprecated.Description copied from interface:PojoFormThis method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear. Request parameter names corresponding to these properties will be populated into the form.- Specified by:
addRequiredNonEditablePropertiesin interfacePojoForm- Overrides:
addRequiredNonEditablePropertiesin classKualiDocumentFormBase- See Also:
-
postprocessRequestParameters
Deprecated.Override the default method to add the if statement which can't be called until after parameters from a multipart request have been made accessible, but which must be called before the parameter values are used to instantiate and populate business objects.- Specified by:
postprocessRequestParametersin interfacePojoForm- Overrides:
postprocessRequestParametersin classPojoFormBase- Parameters:
requestParameters-
-
populate
public void populate(javax.servlet.http.HttpServletRequest request) Deprecated.Hook into populate so we can set the maintenance documents and feed the field values to its maintainables.- Specified by:
populatein interfacePojoForm- Overrides:
populatein classKualiDocumentFormBase
-
populateAttachmentPropertyForBO
Deprecated. -
getSections
Deprecated.Merges rows of old and new for each section (tab) of the ui. Also, renames fields to prevent naming conflicts and does setting of read only fields.- Returns:
- Returns the maintenanceSections.
-
getMaintenanceAction
Deprecated. -
getBusinessObjectClassName
Deprecated. -
setBusinessObjectClassName
Deprecated. -
getDescription
Deprecated. -
setDescription
Deprecated. -
isReadOnly
public boolean isReadOnly()Deprecated. -
setReadOnly
public void setReadOnly(boolean readOnly) Deprecated. -
getNewMaintainableValues
Deprecated. -
getOldMaintainableValues
Deprecated. -
setMaintenanceAction
Deprecated. -
getAuthorizations
Deprecated. -
setAuthorizations
Deprecated. -
setNewMaintainableValues
Deprecated. -
setOldMaintainableValues
Deprecated. -
getLookupResultsSequenceNumber
Deprecated. -
setLookupResultsSequenceNumber
Deprecated. -
getLookupResultsBOClassName
Deprecated. -
setLookupResultsBOClassName
Deprecated. -
getLookedUpCollectionName
Deprecated. -
setLookedUpCollectionName
Deprecated. -
getAdditionalSectionsFile
Deprecated. -
retrieveFormValueForLookupInquiryParameters
public String retrieveFormValueForLookupInquiryParameters(String parameterName, String parameterValueLocation) Deprecated.This overridden method handles the case where maint doc properties do not reflect the true nature of the- Overrides:
retrieveFormValueForLookupInquiryParametersin classKualiForm- Parameters:
parameterName- the name of the parameter, as expected by the lookup or inquiry frameworksparameterValueLocation- the name of the property containing the value of the parameter- Returns:
- the value of the parameter
- See Also:
-
parseAddCollectionName
Deprecated.This method returns the collection name (including nested collections) from a propertyName string- Parameters:
propertyName- a parameterValueLocation w/ KRADConstants.MAINTENANCE_NEW_MAINTAINABLE + KRADConstants.ADD_PREFIX + "." stripped off the front- Returns:
- the collectionName
-
shouldPropertyBePopulatedInForm
public boolean shouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request) Deprecated.Description copied from class:KualiDocumentFormBaseIMPORTANT: any overrides of this method must ensure that nothing in the HTTP request will be used to determine whether document is in session- Specified by:
shouldPropertyBePopulatedInFormin interfacePojoForm- Overrides:
shouldPropertyBePopulatedInFormin classKualiDocumentFormBase- Parameters:
requestParameterName- the name of the request parameterrequest- the HTTP request- Returns:
- whether the parameter should be
- See Also:
-
shouldMethodToCallParameterBeUsed
public boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request) Deprecated.- Overrides:
shouldMethodToCallParameterBeUsedin classKualiDocumentFormBase
-
MaintenanceDocumentForm.