| org.kuali.module.financial.service.FlexibleOffsetAccountService
All known Subclasses: org.kuali.module.financial.service.impl.FlexibleOffsetAccountServiceImpl,
FlexibleOffsetAccountService | public interface FlexibleOffsetAccountService (Code) | | This interface defines methods that a FlexibleOffsetAccount Service must provide.
|
Method Summary | |
public OffsetAccount | getByPrimaryIdIfEnabled(String chartOfAccountsCode, String accountNumber, String financialOffsetObjectCode) Retrieves the OffsetAccount by its composite primary key (all passed in as parameters) if the SYSTEM parameter
FLEXIBLE_OFFSET_ENABLED_FLAG is true.
Parameters: chartOfAccountsCode - The chart code of the account to be retrieved. Parameters: accountNumber - The account number of the account to be retrieved. Parameters: financialOffsetObjectCode - Offset object code used to retrieve the OffsetAccount. | public boolean | getEnabled() Retrieves whether the SYSTEM parameter FLEXIBLE_OFFSET_ENABLED_FLAG is true. | public boolean | updateOffset(FlexibleAccountUpdateable transaction) This method will apply the flexible offset account if necessary. |
getByPrimaryIdIfEnabled | public OffsetAccount getByPrimaryIdIfEnabled(String chartOfAccountsCode, String accountNumber, String financialOffsetObjectCode)(Code) | | Retrieves the OffsetAccount by its composite primary key (all passed in as parameters) if the SYSTEM parameter
FLEXIBLE_OFFSET_ENABLED_FLAG is true.
Parameters: chartOfAccountsCode - The chart code of the account to be retrieved. Parameters: accountNumber - The account number of the account to be retrieved. Parameters: financialOffsetObjectCode - Offset object code used to retrieve the OffsetAccount. An OffsetAccount object instance. Returns null if there is none with the given key, or if the SYSTEM parameterFLEXIBLE_OFFSET_ENABLED_FLAG is false. |
getEnabled | public boolean getEnabled()(Code) | | Retrieves whether the SYSTEM parameter FLEXIBLE_OFFSET_ENABLED_FLAG is true.
Whether the SYSTEM parameter FLEXIBLE_OFFSET_ENABLED_FLAG is true. |
updateOffset | public boolean updateOffset(FlexibleAccountUpdateable transaction)(Code) | | This method will apply the flexible offset account if necessary. It will only change the chart, account, sub account and sub
object on the transaction. If the flexible offset isn't enabled or valid for this transaction, it will be unchanged.
It throws an InvalidFlexibleOffsetException if the flexible offset account associated with the transaction
is invalid, closed or expired or if the object code is invalid for the flexible offset.
Parameters: transaction - The OriginEntryFull object to be updated. True if transaction was changed, false if not. |
|
|