|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.service.impl.FlexibleOffsetAccountServiceImpl
public class FlexibleOffsetAccountServiceImpl
This is the default implementation of the FlexibleOffsetAccountService interface.
Constructor Summary | |
---|---|
FlexibleOffsetAccountServiceImpl()
|
Method Summary | |
---|---|
OffsetAccount |
getByPrimaryIdIfEnabled(String chartOfAccountsCode,
String accountNumber,
String financialOffsetObjectCode)
This method uses the parameters provided to retrieve an OffsetAccount instance if the flexible offset account flag is enabled. |
boolean |
getEnabled()
This method queries the parameter table to retrieve the value of the flexible offset flag and returns the resulting value. |
protected boolean |
isExpired(Account account,
Calendar runCalendar)
This method determines if an account has expired. |
void |
setAccountService(AccountService accountService)
Sets the local accountService attribute. |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the local businessObjectService attribute. |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the local dateTimeService attribute. |
void |
setObjectCodeService(ObjectCodeService objectCodeService)
Sets the local objectCodeService attribute. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the local parameterService attribute. |
boolean |
updateOffset(FlexibleAccountUpdateable transaction)
This method modifies the origin entry provided with values from the associated flexible offset account, which is retrieved from the database using values provided by the origin entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlexibleOffsetAccountServiceImpl()
Method Detail |
---|
public OffsetAccount getByPrimaryIdIfEnabled(String chartOfAccountsCode, String accountNumber, String financialOffsetObjectCode)
getByPrimaryIdIfEnabled
in interface FlexibleOffsetAccountService
chartOfAccountsCode
- The chart code used to retrieve the flexible offset account.accountNumber
- The account number of the flexible offset account being retrieved.financialOffsetObjectCode
- The offset object code used to retrieve the offset account.
FlexibleOffsetAccountService.getByPrimaryIdIfEnabled(java.lang.String, java.lang.String, java.lang.String)
public boolean getEnabled()
getEnabled
in interface FlexibleOffsetAccountService
FlexibleOffsetAccountService.getEnabled()
public boolean updateOffset(FlexibleAccountUpdateable transaction)
updateOffset
in interface FlexibleOffsetAccountService
originEntry
- The origin entry to be updated with offset account details.
org.kuali.kfs.sys.service.FlexibleOffsetAccountService#updateOffset(org.kuali.kfs.gl.businessobject.OriginEntryFull)
protected boolean isExpired(Account account, Calendar runCalendar)
account
- The account to be examined.runCalendar
- The date the expiration date is tested against.
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
dateTimeService
- The DateTimeService instance to be set.public void setAccountService(AccountService accountService)
accountService
- The AccountService instance to be set.public void setObjectCodeService(ObjectCodeService objectCodeService)
objectCodeService
- The ObjectCodeService instance to be set.public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- The BusinessObjectService instance to be set.public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The ParameterService instance to be set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |