public class AccountingPeriodFiscalYearMakerImpl extends FiscalYearMakerImpl
allowOverrideTargetYear, businessObjectClass, businessObjectService, carryForwardInactive, collectionObjects, fiscalYearOneAhead, fiscalYearOneBehind, hasExtension, ONE, parentClasses, persistenceStructureService, primaryKeyPropertyNames, propertyNames, referenceForeignKeys, referenceObjects, twoYearCopy
Constructor and Description |
---|
AccountingPeriodFiscalYearMakerImpl() |
Modifier and Type | Method and Description |
---|---|
protected Date |
addYearToDate(Date inDate)
Adds one year to the given date
|
void |
changeForNewYear(Integer baseFiscalYear,
FiscalYearBasedBusinessObject currentRecord)
Updates the year on the fiscal period name and sets status to open for next year records
|
void |
performCustomProcessing(Integer baseFiscalYear,
boolean firstCopyYear)
Retrieves all Accounting Period records for the first copied fiscal year and make active
|
protected String |
updateTwoDigitYear(String newYear,
String oldYear,
String currentString)
this routine is provided to update string fields which contain two-digit years that need to be updated for display.
|
addYearCriteria, createDeleteCriteria, createNextYearSelectionCriteria, createSelectionCriteria, doCustomProcessingOnly, getBusinessObjectClass, getCollectionProperties, getForeignKeyMappings, getParentClasses, getPrimaryKeyPropertyNames, getPropertyNames, getReferenceObjectProperties, hasExtension, isAllowOverrideTargetYear, isCarryForwardInactive, isFiscalYearOneAhead, isFiscalYearOneBehind, isTwoYearCopy, setAllowOverrideTargetYear, setBusinessObjectClass, setBusinessObjectService, setCarryForwardInactive, setFiscalYearOneAhead, setFiscalYearOneBehind, setParentClasses, setPersistenceStructureService, setTwoYearCopy, updateExtensionRecord
getDbPlatform, setDbPlatform
public AccountingPeriodFiscalYearMakerImpl()
public void changeForNewYear(Integer baseFiscalYear, FiscalYearBasedBusinessObject currentRecord)
changeForNewYear
in interface FiscalYearMaker
changeForNewYear
in class FiscalYearMakerImpl
baseFiscalYear
- fiscal year of the base recordcurrentRecord
- business object of type (@see org.kuali.ole.coa.dataaccess.FiscalYearMakerDao.getBusinessObjectClass())
populated with the current year record dataorg.kuali.ole.coa.batch.dataaccess.impl.FiscalYearMakerHelperImpl#changeForNewYear(java.lang.Integer,
org.kuali.rice.krad.bo.PersistableBusinessObject)
public void performCustomProcessing(Integer baseFiscalYear, boolean firstCopyYear)
performCustomProcessing
in interface FiscalYearMaker
performCustomProcessing
in class FiscalYearMakerImpl
baseFiscalYear
- fiscal year of the base recordfirstCopyYear
- boolean that indicates whether this is the first year being copied (useful for two year copies)org.kuali.ole.coa.batch.dataaccess.impl.FiscalYearMakerHelperImpl#performCustomProcessing(java.lang.Integer)
protected Date addYearToDate(Date inDate)
inDate
- date to incrementprotected String updateTwoDigitYear(String newYear, String oldYear, String currentString)
newYear
- oldYear
- currentString
- Copyright © 2004–2016 The Kuali Foundation. All rights reserved.