|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.ActionForm
org.kuali.rice.kns.web.struts.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.KualiTransactionalDocumentFormBase
org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentFormBase
org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase
org.kuali.kfs.module.purap.document.web.struts.PurchasingAccountsPayableFormBase
org.kuali.kfs.module.purap.document.web.struts.PurchasingFormBase
org.kuali.kfs.module.purap.document.web.struts.PurchaseOrderForm
public class PurchaseOrderForm
Struts Action Form for Purchase Order document.
Field Summary | |
---|---|
protected Map |
accountingLineEditingMode
|
protected Long |
awardedVendorNumber
|
protected SensitiveDataAssignment |
lastSensitiveDataAssignment
|
protected PurchaseOrderVendorQuote |
newPurchaseOrderVendorQuote
|
protected PurchaseOrderVendorStipulation |
newPurchaseOrderVendorStipulationLine
|
protected SensitiveData |
newSensitiveDataLine
|
protected String |
retransmitFaxNumber
|
protected String |
retransmitHeader
|
protected String[] |
retransmitItemsSelected
|
protected String |
retransmitTransmissionMethod
|
protected String |
sensitiveDataAssignmentReason
|
protected List<SensitiveData> |
sensitiveDatasAssigned
|
protected String |
splitNoteText
|
Fields inherited from class org.kuali.kfs.module.purap.document.web.struts.PurchasingAccountsPayableFormBase |
---|
summaryAccounts |
Fields inherited from class org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase |
---|
editableAccounts, forcedLookupOptionalFields, hideDetails, LOG, newSourceLine, newTargetLine, sourceFile, targetFile |
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase |
---|
forcedReadOnlyFields |
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase |
---|
adHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons |
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm |
---|
extraButtons |
Fields inherited from class org.kuali.rice.kns.web.struts.pojo.PojoFormBase |
---|
requiredNonEditableProperties |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
PurchaseOrderForm()
Constructs a PurchaseOrderForm instance and sets up the appropriately casted document. |
Method Summary | |
---|---|
protected boolean |
canAmend()
Determines whether to display the amend button for the purchase order document. |
protected boolean |
canClose()
Determines whether to display the close order button to close the purchase order document. |
protected boolean |
canContinuePoSplit()
Determines whether the PO is in a status that signifies it has enough information to generate a Split PO. |
protected boolean |
canCreateReceiving()
Determines if a line item receiving document can be created for the purchase order. |
protected boolean |
canHoldPayment()
Determines whether to display the payment hold buttons for the purchase order document. |
protected boolean |
canPrintRetransmit()
Determines whether to display the button to print the pdf on a retransmit document. |
protected boolean |
canRemoveHold()
Determines whether to display the remove hold button for the purchase order document. |
protected boolean |
canReopen()
Determines whether to display the open order button to reopen the purchase order document. |
protected boolean |
canRetransmit()
Determines whether to display the retransmit button. |
protected boolean |
canSplitPo()
Determines if a Split PO Document can be created from this purchase order. |
protected boolean |
canVoid()
Determines whether to display the void button for the purchase order document. |
protected Map<String,org.kuali.rice.kns.web.ui.ExtraButton> |
createButtonsMap()
Creates a MAP for all the buttons to appear on the Purchase Order Form, and sets the attributes of these buttons. |
Map |
getAccountingLineEditingMode()
|
PurchaseOrderVendorStipulation |
getAndResetNewPurchaseOrderVendorStipulationLine()
Returns the new Purchase Order Vendor Stipulation Line and resets it. |
Long |
getAwardedVendorNumber()
|
Class |
getCapitalAssetLocationClass()
|
protected String |
getDefaultDocumentTypeName()
|
List<org.kuali.rice.kns.web.ui.ExtraButton> |
getExtraButtons()
Override the superclass method to add appropriate buttons for PurchaseOrderDocument. |
Class |
getItemCapitalAssetClass()
|
SensitiveDataAssignment |
getLastSensitiveDataAssignment()
|
PurchaseOrderVendorQuote |
getNewPurchaseOrderVendorQuote()
|
PurchaseOrderVendorStipulation |
getNewPurchaseOrderVendorStipulationLine()
|
SensitiveData |
getNewSensitiveDataLine()
|
PurchaseOrderDocument |
getPurchaseOrderDocument()
|
String[] |
getRetransmitItemsSelected()
|
String |
getSensitiveDataAssignmentReason()
|
List<SensitiveData> |
getSensitiveDatasAssigned()
|
String |
getSplitNoteText()
|
String |
getStatusChange()
|
boolean |
isReadOnlyReceivingRequired()
|
void |
populate(javax.servlet.http.HttpServletRequest request)
Overrides the parent to call super.populate and then to call the accounting lines populate method that is specific to loading the two select lists on the page. |
void |
populateHeaderFields(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument)
|
protected boolean |
processPaymentRequestRulesForCanClose(PurchaseOrderDocument document)
Processes validation rules having to do with any payment requests that the given purchase order may have. |
void |
setAccountingLineEditingMode(Map accountingLineEditingMode)
|
void |
setAwardedVendorNumber(Long awardedVendorNumber)
|
void |
setLastSensitiveDataAssignment(SensitiveDataAssignment lastSensitiveDataAssignment)
|
void |
setNewPurchaseOrderVendorQuote(PurchaseOrderVendorQuote newPurchaseOrderVendorQuote)
|
void |
setNewPurchaseOrderVendorStipulationLine(PurchaseOrderVendorStipulation newPurchaseOrderVendorStipulationLine)
|
void |
setNewSensitiveDataLine(SensitiveData newSensitiveDataLine)
|
void |
setPurchaseOrderDocument(PurchaseOrderDocument purchaseOrderDocument)
|
void |
setRetransmitItemsSelected(String[] retransmitItemsSelected)
|
void |
setSensitiveDataAssignmentReason(String sensitiveDataAssignmentReason)
|
void |
setSensitiveDatasAssigned(List<SensitiveData> poSensitiveData)
|
void |
setSplitNoteText(String splitNoteText)
|
void |
setStatusChange(String statusChange)
|
PurchaseOrderAccount |
setupNewAccountDistributionAccountingLine()
This method should be overriden. |
PurchaseOrderAccount |
setupNewPurchasingAccountingLine()
This method should be overriden (or see accountingLines for an alternate way of doing this with newInstance) |
CapitalAssetLocation |
setupNewPurchasingCapitalAssetLocationLine()
|
PurApItem |
setupNewPurchasingItemLine()
This method should be overriden (or see accountingLines for an alternate way of doing this with newInstance) |
boolean |
shouldMethodToCallParameterBeUsed(String methodToCallParameterName,
String methodToCallParameterValue,
javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class org.kuali.kfs.module.purap.document.web.struts.PurchasingAccountsPayableFormBase |
---|
addExtraButton, clearSummaryAccounts, getBaselineSourceAccountingLines, getDisbursementInfoUrl, getSummaryAccounts, populateAccountingLinesForResponse, populateItemAccountingLines, refreshAccountSummmary, setSummaryAccounts |
Methods inherited from class org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentFormBase |
---|
extendDocInfoToThreeColumns, generateErrorCorrectionButton |
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiTransactionalDocumentFormBase |
---|
discoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populateEmptyMultiSelect, populateFalseCheckboxes, populationSpecialEmptyFields, setForcedReadOnlyFields |
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase |
---|
addRequiredNonEditableProperties, buildHtmlLink, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, getDocId, getDocNum, getDocTypeName, getDocument, getDocumentActions, getDocumentHandlerUrl, getEditingMode, getErrorMapFromPreviousRequest, getFormKey, getInitiator, getInitiatorNetworkId, getMessageMapFromPreviousRequest, getNewAdHocRoutePerson, getNewAdHocRouteWorkgroup, getNewNote, getPersonInquiryUrlLink, getStandardHeaderFields, getWorkflowDocument, hasDocumentId, initializeHeaderNavigationTabs, instantiateDocument, isDocumentEnRoute, isFormDocumentInitialized, isHasWorkflowDocument, isReturnToActionList, isSuppressAllButtons, isUserDocumentInitiator, reset, setAdditionalScriptFile, setAdditionalScriptFiles, setAdHocActionRequestCodes, setAdHocRoutePersons, setAdHocRouteWorkgroups, setAnnotation, setAttachmentFile, setBoNotes, setCommand, setDerivedValuesOnForm, setDocId, setDocNum, setDocTypeName, setDocument, setDocumentActions, setEditingMode, setErrorMapFromPreviousRequest, setFormKey, setMessageMapFromPreviousRequest, setNewAdHocRoutePerson, setNewAdHocRouteWorkgroup, setNewNote, setReturnToActionList, setSuppressAllButtons, shouldPropertyBePopulatedInForm, validate |
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiForm |
---|
clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getMethodToCall, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setMethodToCall, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates |
Methods inherited from class org.kuali.rice.kns.web.struts.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, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValues |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PurchaseOrderVendorStipulation newPurchaseOrderVendorStipulationLine
protected PurchaseOrderVendorQuote newPurchaseOrderVendorQuote
protected Long awardedVendorNumber
protected String[] retransmitItemsSelected
protected String retransmitTransmissionMethod
protected String retransmitFaxNumber
protected String retransmitHeader
protected Map accountingLineEditingMode
protected String splitNoteText
protected String sensitiveDataAssignmentReason
protected SensitiveDataAssignment lastSensitiveDataAssignment
protected SensitiveData newSensitiveDataLine
protected List<SensitiveData> sensitiveDatasAssigned
Constructor Detail |
---|
public PurchaseOrderForm()
Method Detail |
---|
protected String getDefaultDocumentTypeName()
getDefaultDocumentTypeName
in class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase
public Map getAccountingLineEditingMode()
public void setAccountingLineEditingMode(Map accountingLineEditingMode)
public Long getAwardedVendorNumber()
public void setAwardedVendorNumber(Long awardedVendorNumber)
public PurchaseOrderVendorStipulation getNewPurchaseOrderVendorStipulationLine()
public void setNewPurchaseOrderVendorStipulationLine(PurchaseOrderVendorStipulation newPurchaseOrderVendorStipulationLine)
public PurchaseOrderVendorQuote getNewPurchaseOrderVendorQuote()
public void setNewPurchaseOrderVendorQuote(PurchaseOrderVendorQuote newPurchaseOrderVendorQuote)
public String[] getRetransmitItemsSelected()
public void setRetransmitItemsSelected(String[] retransmitItemsSelected)
public PurchaseOrderDocument getPurchaseOrderDocument()
public void setPurchaseOrderDocument(PurchaseOrderDocument purchaseOrderDocument)
public String getSplitNoteText()
public void setSplitNoteText(String splitNoteText)
public String getSensitiveDataAssignmentReason()
public void setSensitiveDataAssignmentReason(String sensitiveDataAssignmentReason)
public SensitiveDataAssignment getLastSensitiveDataAssignment()
public void setLastSensitiveDataAssignment(SensitiveDataAssignment lastSensitiveDataAssignment)
public SensitiveData getNewSensitiveDataLine()
public void setNewSensitiveDataLine(SensitiveData newSensitiveDataLine)
public List<SensitiveData> getSensitiveDatasAssigned()
public void setSensitiveDatasAssigned(List<SensitiveData> poSensitiveData)
public Class getCapitalAssetLocationClass()
getCapitalAssetLocationClass
in class PurchasingFormBase
public Class getItemCapitalAssetClass()
getItemCapitalAssetClass
in class PurchasingFormBase
public CapitalAssetLocation setupNewPurchasingCapitalAssetLocationLine()
setupNewPurchasingCapitalAssetLocationLine
in class PurchasingFormBase
public PurApItem setupNewPurchasingItemLine()
PurchasingFormBase
setupNewPurchasingItemLine
in class PurchasingFormBase
PurchasingFormBase.setupNewPurchasingItemLine()
public PurchaseOrderAccount setupNewPurchasingAccountingLine()
PurchasingFormBase
setupNewPurchasingAccountingLine
in class PurchasingFormBase
PurchasingFormBase.setupNewPurchasingAccountingLine()
public PurchaseOrderAccount setupNewAccountDistributionAccountingLine()
PurchasingFormBase
setupNewAccountDistributionAccountingLine
in class PurchasingFormBase
PurchasingFormBase.setupNewAccountDistributionAccountingLine()
public boolean isReadOnlyReceivingRequired()
public PurchaseOrderVendorStipulation getAndResetNewPurchaseOrderVendorStipulationLine()
public String getStatusChange()
public void setStatusChange(String statusChange)
public boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request)
shouldMethodToCallParameterBeUsed
in class KualiAccountingDocumentFormBase
KualiDocumentFormBase.shouldMethodToCallParameterBeUsed(java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)
public void populateHeaderFields(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument)
populateHeaderFields
in class FinancialSystemTransactionalDocumentFormBase
KualiDocumentFormBase.populateHeaderFields(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument)
public void populate(javax.servlet.http.HttpServletRequest request)
KualiAccountingDocumentFormBase
populate
in interface org.kuali.rice.kns.web.struts.pojo.PojoForm
populate
in class PurchasingAccountsPayableFormBase
KualiAccountingDocumentFormBase.populate(javax.servlet.http.HttpServletRequest)
protected boolean processPaymentRequestRulesForCanClose(PurchaseOrderDocument document)
document
- A PurchaseOrderDocument
protected boolean canAmend()
protected boolean canVoid()
protected boolean canClose()
protected boolean canReopen()
protected boolean canHoldPayment()
protected boolean canRemoveHold()
protected boolean canRetransmit()
protected boolean canPrintRetransmit()
protected boolean canSplitPo()
protected boolean canContinuePoSplit()
protected boolean canCreateReceiving()
protected Map<String,org.kuali.rice.kns.web.ui.ExtraButton> createButtonsMap()
public List<org.kuali.rice.kns.web.ui.ExtraButton> getExtraButtons()
getExtraButtons
in class PurchasingFormBase
KualiForm.getExtraButtons()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |