public class S2SGeneratorUtilServiceImpl extends Object implements S2SGeneratorUtilService
| Constructor and Description |
|---|
S2SGeneratorUtilServiceImpl()
Constructs a S2SGeneratorUtilServiceImpl.java.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar |
convertDateStringToCalendar(String dateStr)
Convert the date string with YYYY-MM-DD format to calendar object
|
Calendar |
convertDateToCalendar(Date date)
This method is used to get Calendar date
|
protected String |
formatDate(String dateStr,
String formatStr)
This method is to format the date
|
gov.grants.apply.system.universalCodesV20.CountryCodeDataType.Enum |
getCountryCodeDataType(String countryCode)
Create country code data type
|
protected static org.kuali.rice.location.api.country.CountryService |
getCountryService() |
Calendar |
getCurrentCalendar()
This method is used to get current Calendar
|
DepartmentalPerson |
getDepartmentalPerson(ProposalDevelopmentDocument pdDoc)
Fetch Rolodex record for the organization attached to the Proposal.
|
Map<String,String> |
getEOStateReview(ProposalDevelopmentDocument pdDoc)
Returns questions for End of state review
|
String |
getFederalId(ProposalDevelopmentDocument proposalDevelopmentDocument)
This should be implemented after implementing Institute proposal.
|
String |
getParameterValue(String parameter)
This method fetches system constant parameters
|
gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum |
getStateCodeDataType(String stateName)
Create State code data type
|
protected static org.kuali.rice.location.api.state.StateService |
getStateService() |
Map<String,String> |
getSubmissionType(ProposalDevelopmentDocument pdDoc)
Returns submission type for a proposal document.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
This method is to set businessObjectService
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the ParameterService.
|
public S2SGeneratorUtilServiceImpl()
public Map<String,String> getSubmissionType(ProposalDevelopmentDocument pdDoc)
getSubmissionType in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.getSubmissionType(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument)public DepartmentalPerson getDepartmentalPerson(ProposalDevelopmentDocument pdDoc)
getDepartmentalPerson in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.getDepartmentalPerson(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument)public Map<String,String> getEOStateReview(ProposalDevelopmentDocument pdDoc)
getEOStateReview in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.getEOStateReview(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument)public String getFederalId(ProposalDevelopmentDocument proposalDevelopmentDocument)
getFederalId in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.getFederalId(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument)public String getParameterValue(String parameter)
getParameterValue in interface S2SGeneratorUtilServiceparameter - String for which value must be fetchedpublic gov.grants.apply.system.universalCodesV20.CountryCodeDataType.Enum getCountryCodeDataType(String countryCode)
getCountryCodeDataType in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.getCountryCodeDataType(java.lang.String)protected static org.kuali.rice.location.api.country.CountryService getCountryService()
public gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum getStateCodeDataType(String stateName)
getStateCodeDataType in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.getStateCodeDataType(java.lang.String)protected static org.kuali.rice.location.api.state.StateService getStateService()
protected String formatDate(String dateStr, String formatStr)
date - Stringformat - Stringpublic Calendar convertDateStringToCalendar(String dateStr)
convertDateStringToCalendar in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.convertDateStringToCalendar(java.lang.String)public Calendar getCurrentCalendar()
S2SGeneratorUtilServicegetCurrentCalendar in interface S2SGeneratorUtilServiceCalendarS2SGeneratorUtilService.getCurrentCalendar()public Calendar convertDateToCalendar(Date date)
S2SGeneratorUtilServiceconvertDateToCalendar in interface S2SGeneratorUtilServiceS2SGeneratorUtilService.convertDateToCalendar(java.sql.Date)public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService(BusinessObjectService) - public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService - The dateTimeService to set.public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService - the parameter service.Copyright © 2013 The Kuali Foundation. All Rights Reserved.