public class TimeAndMoneyForm extends KraTransactionalDocumentFormBase
| Modifier and Type | Field and Description |
|---|---|
static String |
COLUMN
Comment for
serialVersionUID |
static String |
CURRENT |
static String |
PENDING |
static String |
SPONSOR_DD_NAME |
static String |
UPDATE_TIMESTAMP_DD_NAME |
actionName, navigateToforcedReadOnlyFieldsadHocActionRequestCodes, attachmentFile, documentActions, editingMode, suppressAllButtons| Constructor and Description |
|---|
TimeAndMoneyForm() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraButton(String property,
String source,
String altText)
This is a utility method to add a new button to the extra buttons
collection.
|
protected void |
addExtraButton(String property,
String source,
String altText,
String extraButtonOnclick)
This is a utility method to add a new button to the extra buttons
collection.
|
ActivePendingTransactionsService |
getActivePendingTransactionsService()
Gets the ActivePendingTransactionsService attribute.
|
String |
getAddRA()
Gets the addRA attribute.
|
AwardDirectFandADistributionBean |
getAwardDirectFandADistributionBean()
Gets the awardDirectFandADistributionBean attribute.
|
Award |
getAwardForSummaryPanelDisplay()
Gets the awardForSummaryPanelDisplay attribute.
|
String |
getAwardHierarchy() |
List<AwardHierarchyNode> |
getAwardHierarchyNodeItems()
Gets the awardHierarchyNodeItems attribute.
|
String |
getAwardHierarchyScrollPosition() |
Map<String,String> |
getAwardHierarchyToggle() |
String |
getAwardNumber()
Gets the awardNumber attribute.
|
AwardVersionService |
getAwardVersionService() |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute.
|
List<Integer> |
getColumnSpan()
Gets the columnSpan attribute.
|
String |
getControlForAwardHierarchyView()
Gets the controlForAwardHierarchyView attribute.
|
String |
getCurrentAwardNumber() |
String |
getCurrentOrPendingView()
Gets the currentOrPendingView attribute.
|
String |
getCurrentSeqNumber() |
protected org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
This method is a wrapper method for getting DataDictionary Service using the Service Locator.
|
protected String |
getDefaultDocumentTypeName() |
String |
getDeletedRas()
Gets the deletedRas attribute.
|
String |
getDirectIndirectViewEnabled()
Gets the directIndirectViewEnabled attribute.
|
boolean |
getDisableCurrentValues() |
boolean |
getDisplayEditButton() |
List<org.kuali.rice.kns.web.ui.ExtraButton> |
getExtraButtons() |
List<org.kuali.rice.kns.web.ui.ExtraButton> |
getExtraTopButtons() |
List<String> |
getFieldsInError() |
String |
getFieldsInErrorList() |
List<String> |
getFinalExpirationDates()
Gets the finalExpirationDates attribute.
|
String |
getGoToAwardNumber()
Gets the goToAwardNumber attribute.
|
int |
getIndexOfAwardAmountInfoForDisplay() |
boolean |
getIsFieldInErrorList(String fieldName) |
protected KraWorkflowService |
getKraWorkflowService() |
protected TimeAndMoneyDocument |
getLastFinalTandMDocument(List<TimeAndMoneyDocument> timeAndMoneyDocuments) |
protected String |
getLockRegion() |
Map<String,String> |
getNextNodeMap()
Gets the nextNodeMap attribute.
|
List<String> |
getObligationExpirationDates()
Gets the obligationExpirationDates attribute.
|
List<String> |
getObligationStartDates()
Gets the obligationStartDates attribute.
|
List<String> |
getOrder()
Gets the order attribute.
|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Looks up and returns the ParameterService.
|
Map<String,String> |
getPreviousNodeMap()
Gets the previousNodeMap attribute.
|
TimeAndMoneyDocument |
getTimeAndMoneyDocument()
This method returns the TimeAndMoneyDocument object.
|
TransactionBean |
getTransactionBean()
Gets the transactionBean attribute.
|
void |
initialize() |
void |
initializeFormOrDocumentBasedOnCommand()
This method initializes either the document or the form based on the command value.
|
boolean |
isCancelOrFinalStatus() |
boolean |
isInMultipleNodeHierarchy() |
boolean |
isInSingleNodeHierarchy() |
boolean |
isLastNode() |
boolean |
isPropertyEditable(String propertyName) |
boolean |
isRootNode() |
void |
populate(javax.servlet.http.HttpServletRequest request) |
void |
populateHeaderFields(org.kuali.rice.kew.api.WorkflowDocument workflowDocument) |
void |
setAddRA(String addRA)
Sets the addRA attribute value.
|
void |
setAwardDirectFandADistributionBean(AwardDirectFandADistributionBean awardDirectFandADistributionBean)
Sets the awardDirectFandADistributionBean attribute value.
|
void |
setAwardForSummaryPanelDisplay(Award awardForSummaryPanelDisplay)
Sets the awardForSummaryPanelDisplay attribute value.
|
void |
setAwardHierarchy(String awardHierarchy) |
void |
setAwardHierarchyNodeItems(List<AwardHierarchyNode> awardHierarchyNodeItems)
Sets the awardHierarchyNodeItems attribute value.
|
void |
setAwardHierarchyScrollPosition(String awardHierarchyScrollPosition) |
void |
setAwardHierarchyToggle(Map<String,String> awardHierarchyToggle) |
void |
setAwardNumber(String awardNumber)
Sets the awardNumber attribute value.
|
void |
setColumnSpan(List<Integer> columnSpan)
Sets the columnSpan attribute value.
|
void |
setControlForAwardHierarchyView(String controlForAwardHierarchyView)
Sets the controlForAwardHierarchyView attribute value.
|
void |
setCurrentAwardNumber(String currentAwardNumber) |
void |
setCurrentOrPendingView(String currentOrPendingView)
Sets the currentOrPendingView attribute value.
|
void |
setCurrentSeqNumber(String currentSeqNumber) |
void |
setDeletedRas(String deletedRas)
Sets the deletedRas attribute value.
|
void |
setDirectIndirectViewEnabled(String directIndirectViewEnabled)
Sets the directIndirectViewEnabled attribute value.
|
void |
setFieldsInError(List<String> fieldsInError) |
void |
setFinalExpirationDates(List<String> finalExpirationDates)
Sets the finalExpirationDates attribute value.
|
void |
setGoToAwardNumber(String goToAwardNumber)
Sets the goToAwardNumber attribute value.
|
void |
setNextNodeMap(Map<String,String> nextNodeMap)
Sets the nextNodeMap attribute value.
|
void |
setObligationExpirationDates(List<String> obligationExpirationDates)
Sets the obligationExpirationDates attribute value.
|
void |
setObligationStartDates(List<String> obligationStartDates)
Sets the obligationStartDates attribute value.
|
void |
setOrder(List<String> order)
Sets the order attribute value.
|
void |
setPreviousNodeMap(Map<String,String> previousNodeMap)
Sets the previousNodeMap attribute value.
|
protected void |
setSaveDocumentControl(Map editMode) |
void |
setToCurrentView() |
void |
setToPendingView() |
void |
setTransactionBean(TransactionBean transactionBean)
Sets the transactionBean attribute value.
|
clearUnitRulesMessages, getActionName, getHeaderDispatch, getModuleCode, getNavigateTo, getPersonEditableFields, getSoftErrors, getUnitRulesErrors, getUnitRulesMessages, getUnitRulesMessages, getUnitRulesWarnings, hasModifyBudgetPermission, hasModifyCompletedBudgetPermission, hasModifyNarrativesPermission, hasModifyProposalPermission, isMedusaOpenedDoc, isPopupViewOnly, isUnitRulesErrorsExist, isUnitRulesWarningsExist, isViewOnly, populateFalseCheckboxes, populatePersonEditableFields, processMultiQuestionCheckBox, setActionName, setDocument, setMedusaOpenedDoc, setNavigateTo, setPersonEditableFields, setPopupViewOnly, setUnitRulesMessages, setupLockRegions, setViewOnlydiscoverDocumentTypeName, formatReversalDate, getForcedReadOnlyFields, getTransactionalDocument, instantiateTransactionalDocumentByDocumentTypeName, populateEmptyMultiSelect, populationSpecialEmptyFields, setForcedReadOnlyFields, shouldMethodToCallParameterBeUsedaddRequiredNonEditableProperties, buildHtmlLink, customInitMaxUploadSizes, getActionRequests, getActionRequestsRequiringApproval, getAdditionalScriptFile, getAdditionalScriptFiles, getAdHocActionRequestCodes, getAdHocRoutePerson, getAdHocRoutePersons, getAdHocRouteWorkgroup, getAdHocRouteWorkgroups, getAnnotation, getAttachmentFile, getBoNotes, getCommand, 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, reset, setActionRequests, setAdditionalScriptFile, setAdditionalScriptFiles, setAdHocActionRequestCodes, setAdHocRoutePersons, setAdHocRouteWorkgroups, setAnnotation, setAttachmentFile, setBoNotes, setCommand, setDerivedValuesOnForm, setDocId, setDocNum, setDocTypeName, setDocumentActions, setEditingMode, setFormKey, setMessageMapFromPreviousRequest, setNewAdHocRoutePerson, setNewAdHocRouteWorkgroup, setNewNote, setReturnToActionList, setSelectedActionRequests, setSuperUserAnnotation, setSuppressAllButtons, shouldPropertyBePopulatedInForm, validateclearEditablePropertyInformation, 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, setTabStatesaddMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValuespublic static final String COLUMN
serialVersionUIDpublic static final String UPDATE_TIMESTAMP_DD_NAME
public static final String SPONSOR_DD_NAME
public static final String PENDING
public static final String CURRENT
public String getCurrentAwardNumber()
public void setCurrentAwardNumber(String currentAwardNumber)
public String getCurrentSeqNumber()
public void setCurrentSeqNumber(String currentSeqNumber)
public void initialize()
protected String getDefaultDocumentTypeName()
getDefaultDocumentTypeName in class KraTransactionalDocumentFormBasepublic void initializeFormOrDocumentBasedOnCommand()
public void populate(javax.servlet.http.HttpServletRequest request)
populate in interface org.kuali.rice.kns.web.struts.form.pojo.PojoFormpopulate in class KraTransactionalDocumentFormBaseOverriding populate method so that we can register editable properties in form base. htmlControlAttribute registers
these fields and the form base does validation on them. We are using jQuery for Award Hierarchy view in Award and T&M, and
we need to register these properties explicitly before we call populate.public boolean isPropertyEditable(String propertyName)
isPropertyEditable in class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBasepublic TimeAndMoneyDocument getTimeAndMoneyDocument()
protected String getLockRegion()
getLockRegion in class KraTransactionalDocumentFormBaseprotected void setSaveDocumentControl(Map editMode)
setSaveDocumentControl in class KraTransactionalDocumentFormBaseprotected org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public ActivePendingTransactionsService getActivePendingTransactionsService()
public AwardVersionService getAwardVersionService()
public TransactionBean getTransactionBean()
public void setTransactionBean(TransactionBean transactionBean)
transactionBean - The transactionBean to set.public String getGoToAwardNumber()
public void setGoToAwardNumber(String goToAwardNumber)
goToAwardNumber - The goToAwardNumber to set.public void setOrder(List<String> order)
order - The order to set.public List<Integer> getColumnSpan()
public void setColumnSpan(List<Integer> columnSpan)
columnSpan - The columnSpan to set.public String getAwardNumber()
public void setAwardNumber(String awardNumber)
awardNumber - The awardNumber to set.public String getAddRA()
public void setAddRA(String addRA)
addRA - The addRA to set.public String getDeletedRas()
public void setDeletedRas(String deletedRas)
deletedRas - The deletedRas to set.public AwardDirectFandADistributionBean getAwardDirectFandADistributionBean()
public void setAwardDirectFandADistributionBean(AwardDirectFandADistributionBean awardDirectFandADistributionBean)
awardDirectFandADistributionBean - The awardDirectFandADistributionBean to set.public String getControlForAwardHierarchyView()
public void setControlForAwardHierarchyView(String controlForAwardHierarchyView)
controlForAwardHierarchyView - The controlForAwardHierarchyView to set.public boolean isCancelOrFinalStatus()
public boolean isInSingleNodeHierarchy()
public boolean isInMultipleNodeHierarchy()
public boolean isRootNode()
public boolean isLastNode()
public Award getAwardForSummaryPanelDisplay()
public void setAwardForSummaryPanelDisplay(Award awardForSummaryPanelDisplay)
awardForSummaryPanelDisplay - The awardForSummaryPanelDisplay to set.public List<String> getObligationStartDates()
public void setObligationStartDates(List<String> obligationStartDates)
obligationStartDates - The obligationStartDates to set.public List<String> getObligationExpirationDates()
public void setObligationExpirationDates(List<String> obligationExpirationDates)
obligationExpirationDates - The obligationExpirationDates to set.public List<String> getFinalExpirationDates()
public void setFinalExpirationDates(List<String> finalExpirationDates)
finalExpirationDates - The finalExpirationDates to set.public List<AwardHierarchyNode> getAwardHierarchyNodeItems()
public void setAwardHierarchyNodeItems(List<AwardHierarchyNode> awardHierarchyNodeItems)
awardHierarchyNodeItems - The awardHierarchyNodeItems to set.public Map<String,String> getPreviousNodeMap()
public void setPreviousNodeMap(Map<String,String> previousNodeMap)
previousNodeMap - The previousNodeMap to set.public Map<String,String> getNextNodeMap()
public void setNextNodeMap(Map<String,String> nextNodeMap)
nextNodeMap - The nextNodeMap to set.public String getAwardHierarchy() throws ParseException
ParseExceptionpublic void setAwardHierarchy(String awardHierarchy)
public String getCurrentOrPendingView()
public void setToCurrentView()
public void setToPendingView()
public boolean getDisableCurrentValues()
public void setCurrentOrPendingView(String currentOrPendingView)
currentOrPendingView - The currentOrPendingView to set.public List<org.kuali.rice.kns.web.ui.ExtraButton> getExtraTopButtons()
public void populateHeaderFields(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
populateHeaderFields in class org.kuali.rice.kns.web.struts.form.KualiDocumentFormBaseKualiDocumentFormBase.populateHeaderFields(org.kuali.rice.kew.api.WorkflowDocument)protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public String getDirectIndirectViewEnabled()
public void setDirectIndirectViewEnabled(String directIndirectViewEnabled)
directIndirectViewEnabled - The directIndirectViewEnabled to set.protected KraWorkflowService getKraWorkflowService()
protected TimeAndMoneyDocument getLastFinalTandMDocument(List<TimeAndMoneyDocument> timeAndMoneyDocuments) throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowExceptionpublic List<org.kuali.rice.kns.web.ui.ExtraButton> getExtraButtons()
getExtraButtons in class org.kuali.rice.kns.web.struts.form.KualiFormprotected void addExtraButton(String property, String source, String altText)
addExtraButton in class KraTransactionalDocumentFormBaseproperty - source - altText - protected void addExtraButton(String property, String source, String altText, String extraButtonOnclick)
property - source - altText - public int getIndexOfAwardAmountInfoForDisplay()
throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowExceptionpublic void setAwardHierarchyToggle(Map<String,String> awardHierarchyToggle)
public String getAwardHierarchyScrollPosition()
public void setAwardHierarchyScrollPosition(String awardHierarchyScrollPosition)
public boolean getIsFieldInErrorList(String fieldName)
public String getFieldsInErrorList()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.