|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.module.cam.document.dataaccess.impl.DepreciableAssetsDaoOjb
public class DepreciableAssetsDaoOjb
Field Summary | |
---|---|
protected static String |
ASSET_TO_ASSET_TYPE_REFERENCE_DESCRIPTOR
|
protected static String |
PAYMENT_TO_ASSET_REFERENCE_DESCRIPTOR
|
protected static String |
PAYMENT_TO_OBJECT_REFERENCE_DESCRIPTOR
|
protected static String[] |
REPORT_GROUP
|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
DepreciableAssetsDaoOjb()
|
Method Summary | |
---|---|
protected String |
convertCountValueToString(Object fieldValue)
This method converts a variable of type object to BigDecimal or a Long type in order to return a string |
List<String[]> |
generateStatistics(boolean beforeDepreciationReport,
List<String> documentNumbers,
Integer fiscalYear,
Integer fiscalMonth,
Calendar depreciationDate)
This method stores in a collection each item the depreciation report will print out |
protected List<String> |
getAccumulatedDepreciationObjectCodes(Integer fiscalYear)
This method gets a list of Accumulated Depreciation Object Codes from the asset object code table for a particular fiscal year. |
Collection<AssetObjectCode> |
getAssetObjectCodes(Integer fiscalYear)
This method retrieves a list of valid asset object codes for a particular fiscal year |
protected Object |
getAssetObjectCodesCount(Integer fiscalYear)
This method counts the number of assets that exist in both chart of accounts object code table and capital asset object code tables |
protected Object |
getCOAsCount()
This method returns the number of records found resulting from a join of the organization table and the account table |
DepreciationBatchDao |
getDepreciationBatchDao()
Gets the depreciationBatchDao attribute. |
protected List<String> |
getExpenseObjectCodes(Integer fiscalYear)
This method gets a list of Expense object codes from the asset object code table for a particular fiscal year |
protected List<String> |
getFederallyOwnedObjectSubTypes()
This method the value of the system parameter NON_DEPRECIABLE_FEDERALLY_OWNED_OBJECT_SUB_TYPES |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
|
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setDepreciationBatchDao(DepreciationBatchDao depreciationBatchDao)
Sets the depreciationBatchDao attribute value. |
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kcs)
|
void |
setOptionsService(OptionsService optionService)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setUniversityDateDao(UniversityDateDao universityDateDao)
|
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb |
---|
getDbPlatform, setDbPlatform |
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
---|
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String PAYMENT_TO_ASSET_REFERENCE_DESCRIPTOR
protected static final String PAYMENT_TO_OBJECT_REFERENCE_DESCRIPTOR
protected static final String ASSET_TO_ASSET_TYPE_REFERENCE_DESCRIPTOR
protected static final String[] REPORT_GROUP
Constructor Detail |
---|
public DepreciableAssetsDaoOjb()
Method Detail |
---|
public List<String[]> generateStatistics(boolean beforeDepreciationReport, List<String> documentNumbers, Integer fiscalYear, Integer fiscalMonth, Calendar depreciationDate)
DepreciableAssetsDao
generateStatistics
in interface DepreciableAssetsDao
beforeDepreciationReport
- when true will print out some of the itemsfiscalYear
- fiscal year of the date in depreciationfiscalMonth
- fiscal month of the date in depreciationdepreciationDate
- depreciation date that will be print out
org.kuali.kfs.module.cam.document.dataaccess.DepreciableAssetsDao#generateStatistics(boolean, java.lang.String,
java.lang.Integer, java.lang.Integer, java.util.Calendar)
protected Object getCOAsCount()
fiscalYear
-
protected List<String> getFederallyOwnedObjectSubTypes()
public Collection<AssetObjectCode> getAssetObjectCodes(Integer fiscalYear)
DepreciableAssetsDao
getAssetObjectCodes
in interface DepreciableAssetsDao
DepreciableAssetsDao.getAssetObjectCodes(java.lang.Integer)
protected List<String> getExpenseObjectCodes(Integer fiscalYear)
fiscalYear
-
protected List<String> getAccumulatedDepreciationObjectCodes(Integer fiscalYear)
fiscalYear
-
protected Object getAssetObjectCodesCount(Integer fiscalYear)
fiscalYear
-
protected String convertCountValueToString(Object fieldValue)
fieldValue
-
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kcs)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
public void setOptionsService(OptionsService optionService)
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
public void setUniversityDateDao(UniversityDateDao universityDateDao)
public DepreciationBatchDao getDepreciationBatchDao()
public void setDepreciationBatchDao(DepreciationBatchDao depreciationBatchDao)
depreciationBatchDao
- The depreciationBatchDao to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |