public class KualiMaintenanceForm extends KualiDocumentFormBase
KualiForm.TabState
Modifier and Type | Field and Description |
---|---|
protected MaintenanceDocumentRestrictions |
authorizations |
protected String |
businessObjectClassName |
protected String |
description |
protected static org.apache.log4j.Logger |
LOG |
protected String |
lookedUpCollectionName
The name of the collection looked up (by a multiple value lookup)
|
protected String |
lookupResultsBOClassName
The type of result returned by the multi-value lookup
TODO: to be persisted in the lookup results service instead?
|
protected String |
lookupResultsSequenceNumber
Used to indicate which result set we're using when refreshing/returning from a multi-value lookup
|
protected String |
maintenanceAction |
protected Map<String,String> |
newMaintainableValues |
protected Map<String,String> |
oldMaintainableValues |
protected boolean |
readOnly |
protected static long |
serialVersionUID |
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons
extraButtons
requiredNonEditableProperties
Constructor and Description |
---|
KualiMaintenanceForm() |
Modifier and Type | Method and Description |
---|---|
void |
addRequiredNonEditableProperties()
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.
|
String |
getAdditionalSectionsFile() |
MaintenanceDocumentRestrictions |
getAuthorizations()
Gets the authorizations attribute.
|
String |
getBusinessObjectClassName() |
String |
getDescription() |
String |
getLookedUpCollectionName() |
String |
getLookupResultsBOClassName() |
String |
getLookupResultsSequenceNumber() |
String |
getMaintenanceAction() |
Map |
getNewMaintainableValues() |
Map |
getOldMaintainableValues() |
List |
getSections()
Merges rows of old and new for each section (tab) of the ui.
|
boolean |
isReadOnly() |
protected String |
parseAddCollectionName(String propertyName)
This method returns the collection name (including nested collections) from a propertyName string
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Hook into populate so we can set the maintenance documents and feed the field values to its maintainables.
|
protected void |
populateAttachmentPropertyForBO(MaintenanceDocumentBase maintenanceDocument) |
void |
postprocessRequestParameters(Map requestParameters)
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.
|
String |
retrieveFormValueForLookupInquiryParameters(String parameterName,
String parameterValueLocation)
This overridden method handles the case where maint doc properties do not reflect the true nature of the
|
void |
setAuthorizations(MaintenanceDocumentRestrictions authorizations)
Sets the authorizations attribute value.
|
void |
setBusinessObjectClassName(String businessObjectClassName) |
void |
setDescription(String description) |
void |
setLookedUpCollectionName(String lookedUpCollectionName) |
void |
setLookupResultsBOClassName(String lookupResultsBOClassName) |
void |
setLookupResultsSequenceNumber(String lookupResultsSequenceNumber) |
void |
setMaintenanceAction(String maintenanceAction) |
void |
setNewMaintainableValues(Map newMaintainableValues)
Sets the newMaintainableValues attribute value.
|
void |
setOldMaintainableValues(Map oldMaintainableValues)
Sets the oldMaintainableValues attribute value.
|
void |
setReadOnly(boolean readOnly) |
boolean |
shouldMethodToCallParameterBeUsed(String methodToCallParameterName,
String methodToCallParameterValue,
javax.servlet.http.HttpServletRequest request)
This overridden method ...
|
boolean |
shouldPropertyBePopulatedInForm(String requestParameterName,
javax.servlet.http.HttpServletRequest request)
This overridden method ...
|
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, validate
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, setTabStates
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, setUnconvertedValues
protected static final org.apache.log4j.Logger LOG
protected static final long serialVersionUID
protected String businessObjectClassName
protected String description
protected boolean readOnly
protected Map<String,String> oldMaintainableValues
protected Map<String,String> newMaintainableValues
protected String maintenanceAction
protected String lookupResultsSequenceNumber
protected String lookupResultsBOClassName
protected String lookedUpCollectionName
protected MaintenanceDocumentRestrictions authorizations
public KualiMaintenanceForm()
public void addRequiredNonEditableProperties()
PojoForm
addRequiredNonEditableProperties
in interface PojoForm
addRequiredNonEditableProperties
in class KualiDocumentFormBase
KualiDocumentFormBase.addRequiredNonEditableProperties()
public void postprocessRequestParameters(Map requestParameters)
postprocessRequestParameters
in interface PojoForm
postprocessRequestParameters
in class PojoFormBase
requestParameters
- public void populate(javax.servlet.http.HttpServletRequest request)
populate
in interface PojoForm
populate
in class KualiDocumentFormBase
protected void populateAttachmentPropertyForBO(MaintenanceDocumentBase maintenanceDocument)
public List getSections()
public String getMaintenanceAction()
public String getBusinessObjectClassName()
public void setBusinessObjectClassName(String businessObjectClassName)
businessObjectClassName
- The businessObjectClassName to set.public String getDescription()
public void setDescription(String description)
description
- The description to set.public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- The isReadOnly to set.public Map getNewMaintainableValues()
public Map getOldMaintainableValues()
public void setMaintenanceAction(String maintenanceAction)
maintenanceAction
- The maintenanceAction to set.public MaintenanceDocumentRestrictions getAuthorizations()
public void setAuthorizations(MaintenanceDocumentRestrictions authorizations)
authorizations
- The authorizations to set.public void setNewMaintainableValues(Map newMaintainableValues)
newMaintainableValues
- The newMaintainableValues to set.public void setOldMaintainableValues(Map oldMaintainableValues)
oldMaintainableValues
- The oldMaintainableValues to set.public String getLookupResultsSequenceNumber()
public void setLookupResultsSequenceNumber(String lookupResultsSequenceNumber)
public String getLookupResultsBOClassName()
public void setLookupResultsBOClassName(String lookupResultsBOClassName)
public String getLookedUpCollectionName()
public void setLookedUpCollectionName(String lookedUpCollectionName)
public String getAdditionalSectionsFile()
public String retrieveFormValueForLookupInquiryParameters(String parameterName, String parameterValueLocation)
retrieveFormValueForLookupInquiryParameters
in class KualiForm
parameterName
- the name of the parameter, as expected by the lookup or inquiry frameworksparameterValueLocation
- the name of the property containing the value of the parameterKualiForm.retrieveFormValueForLookupInquiryParameters(java.lang.String, java.lang.String)
protected String parseAddCollectionName(String propertyName)
propertyName
- a parameterValueLocation w/ KRADConstants.MAINTENANCE_NEW_MAINTAINABLE +
KRADConstants.ADD_PREFIX + "." stripped off the frontpublic boolean shouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request)
shouldPropertyBePopulatedInForm
in interface PojoForm
shouldPropertyBePopulatedInForm
in class KualiDocumentFormBase
requestParameterName
- the name of the request parameterrequest
- the HTTP requestKualiDocumentFormBase.shouldPropertyBePopulatedInForm(java.lang.String, javax.servlet.http.HttpServletRequest)
public boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.