|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FiscalYearMaker
Defines methods that must be implemented for a DAO making an entity for a new fiscal year
Method Summary | |
---|---|
void |
changeForNewYear(Integer baseFiscalYear,
org.kuali.rice.kns.bo.PersistableBusinessObject currentRecord)
Does any necessary changes on the base record (for base fiscal year) for storing as a record of the new fiscal year. |
org.apache.ojb.broker.query.Criteria |
createDeleteCriteria(Integer baseFiscalYear)
Creates OJB Criteria object that will be used to delete records in the target year |
org.apache.ojb.broker.query.Criteria |
createSelectionCriteria(Integer baseFiscalYear)
Creates OJB Criteria object that will be used to query for records to copy |
boolean |
doCustomProcessingOnly()
Indicator for determining whether we should do normal FYM process and call custom hook or only custom |
Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> |
getBusinessObjectClass()
Returns the class for the business object the fiscal year maker implementation operates on |
Set<Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject>> |
getParentClasses()
Returns Set of Class objects that are parents to this business object. |
boolean |
isAllowOverrideTargetYear()
Indicates whether records of this type can be cleared for target year (if Override parameter is set to true). |
boolean |
isTwoYearCopy()
Indicates whether records should be created for two fiscal years out as opposed to just one |
void |
performCustomProcessing(Integer baseFiscalYear,
boolean firstCopyYear)
Hook to do custom new population for a business object |
Method Detail |
---|
void changeForNewYear(Integer baseFiscalYear, org.kuali.rice.kns.bo.PersistableBusinessObject currentRecord)
baseFiscalYear
- fiscal year of the base recordcurrentRecord
- business object of type (@see org.kuali.kfs.coa.dataaccess.FiscalYearMakerDao.getBusinessObjectClass())
populated with the current year record dataorg.apache.ojb.broker.query.Criteria createSelectionCriteria(Integer baseFiscalYear)
baseFiscalYear
- fiscal year of the base record
Criteria
org.apache.ojb.broker.query.Criteria createDeleteCriteria(Integer baseFiscalYear)
baseFiscalYear
- fiscal year of the base record
Criteria
void performCustomProcessing(Integer baseFiscalYear, boolean firstCopyYear)
baseFiscalYear
- fiscal year of the base recordfirstCopyYear
- boolean that indicates whether this is the first year being copied (useful for two year copies)boolean doCustomProcessingOnly()
Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject> getBusinessObjectClass()
Set<Class<? extends org.kuali.rice.kns.bo.PersistableBusinessObject>> getParentClasses()
boolean isTwoYearCopy()
boolean isAllowOverrideTargetYear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |