| org.kuali.kfs.rules.AccountingDocumentRuleBase org.kuali.module.labor.rules.LaborExpenseTransferDocumentRules
All known Subclasses: org.kuali.module.labor.rules.SalaryExpenseTransferDocumentRule, org.kuali.module.labor.rules.BenefitExpenseTransferDocumentRule,
Method Summary | |
protected Map<String, Object> | buildFieldValueMap(ExpenseTransferAccountingLine accountingLine) | protected boolean | canExpiredAccountBeUsed(AccountingLine accountingLine) determine whether the expired account in the target accounting line can be used. | protected boolean | canNegtiveAmountBeTransferred(Map<String, ExpenseTransferAccountingLine> accountingLineGroupMap) | protected List<String> | defaultKeyOfExpenseTransferAccountingLine() | protected Map<String, ExpenseTransferAccountingLine> | getAccountingLineGroupMap(List<ExpenseTransferAccountingLine> accountingLines, Class clazz) | protected KualiDecimal | getBalanceAmount(Map<String, Object> fieldValues, String periodCode) | protected boolean | isAccountAcceptFringeBenefit(AccountingLine accountingLine) Determines whether the account in the target line accepts fringe benefits. | public boolean | isAccountingLineTotalsMatch(List sourceLines, List targetLines) This method checks if the total sum amount of the source accounting line matches the total sum amount of the target
accounting line, return true if the totals match, false otherwise. | protected boolean | isAccountingLineTotalsMatchByPayFYAndPayPeriod(List sourceLines, List targetLines) This method calls other methods to check if all source and target accounting lines match between each set by pay fiscal year
and pay period, returning true if the totals match, false otherwise. | public boolean | isAmountValid(AccountingDocument document, AccountingLine accountingLine) | public boolean | isDebit(AccountingDocument financialDocument, AccountingLine accountingLine) | protected boolean | isDuplicateSourceAccountingLine(AccountingDocument accountingDocument, AccountingLine accountingLine) | protected boolean | isValidAmountTransferredByObjectCode(AccountingDocument accountingDocument) | public boolean | isValidEmplid(String emplid) | protected boolean | isValidTransferAmount(Map<String, ExpenseTransferAccountingLine> accountingLineGroupMap) | protected boolean | processCustomAddAccountingLineBusinessRules(AccountingDocument accountingDocument, AccountingLine accountingLine) | protected boolean | processCustomRouteDocumentBusinessRules(Document document) | protected boolean | processCustomUpdateAccountingLineBusinessRules(AccountingDocument accountingDocument, AccountingLine originalAccountingLine, AccountingLine updatedAccountingLine) | public boolean | processGenerateGeneralLedgerPendingEntries(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper) Overriding hook into generate general ledger pending entries, so no GL pending entries are created. | public boolean | processGenerateLaborLedgerPendingEntries(LaborLedgerPostingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper) This method is the starting point for creating labor ledger pending entries. |
buildFieldValueMap | protected Map<String, Object> buildFieldValueMap(ExpenseTransferAccountingLine accountingLine)(Code) | | build the field-value maps throught the given accouting line
Parameters: accountingLine - the given accounting line the field-value maps built from the given accouting line |
canExpiredAccountBeUsed | protected boolean canExpiredAccountBeUsed(AccountingLine accountingLine)(Code) | | determine whether the expired account in the target accounting line can be used.
Parameters: accountingDocument - the given accounting line true if the expired account in the target accounting line can be used; otherwise, false |
canNegtiveAmountBeTransferred | protected boolean canNegtiveAmountBeTransferred(Map<String, ExpenseTransferAccountingLine> accountingLineGroupMap)(Code) | | Determines whether a negtive amount can be transferred from one account to another
Parameters: accountingDocument - the given accounting document true if a negtive amount can be transferred from one account to another; otherwise, false |
defaultKeyOfExpenseTransferAccountingLine | protected List<String> defaultKeyOfExpenseTransferAccountingLine()(Code) | | Gets the default key of ExpenseTransferAccountingLine
the default key of ExpenseTransferAccountingLine |
getBalanceAmount | protected KualiDecimal getBalanceAmount(Map<String, Object> fieldValues, String periodCode)(Code) | | get the amount for a given period from a ledger balance that has the given values for specified fileds
Parameters: fieldValues - the given fields and their values Parameters: periodCode - the given period the amount for a given period from the qualified ledger balance |
isAccountAcceptFringeBenefit | protected boolean isAccountAcceptFringeBenefit(AccountingLine accountingLine)(Code) | | Determines whether the account in the target line accepts fringe benefits.
Parameters: accountingLine - the line to check true if the accounts in the target accounting lines accept fringe benefits; otherwise, false |
isAccountingLineTotalsMatch | public boolean isAccountingLineTotalsMatch(List sourceLines, List targetLines)(Code) | | This method checks if the total sum amount of the source accounting line matches the total sum amount of the target
accounting line, return true if the totals match, false otherwise.
Parameters: sourceLines - Parameters: targetLines - |
isAccountingLineTotalsMatchByPayFYAndPayPeriod | protected boolean isAccountingLineTotalsMatchByPayFYAndPayPeriod(List sourceLines, List targetLines)(Code) | | This method calls other methods to check if all source and target accounting lines match between each set by pay fiscal year
and pay period, returning true if the totals match, false otherwise.
Parameters: sourceLines - Parameters: targetLines - |
isDuplicateSourceAccountingLine | protected boolean isDuplicateSourceAccountingLine(AccountingDocument accountingDocument, AccountingLine accountingLine)(Code) | | determine whether the given accounting line has already been in the given document
Parameters: accountingDocument - the given document Parameters: accountingLine - the given accounting line true if the given accounting line has already been in the given document; otherwise, false |
isValidAmountTransferredByObjectCode | protected boolean isValidAmountTransferredByObjectCode(AccountingDocument accountingDocument)(Code) | | Determine whether target accouting lines have the same amounts as source accounting lines for each object code
Parameters: accountingDocument - the given accounting document true if target accouting lines have the same amounts as source accounting lines for each object code; otherwise,false |
isValidEmplid | public boolean isValidEmplid(String emplid)(Code) | | Performs validation on emplid
Parameters: emplid - - id to validate boolean - true if id is valid, false if invalid |
isValidTransferAmount | protected boolean isValidTransferAmount(Map<String, ExpenseTransferAccountingLine> accountingLineGroupMap)(Code) | | determine whether the amount to be tranferred is only up to the amount in ledger balance for a given pay period
Parameters: accountingDocument - the given accounting document true if the amount to be tranferred is only up to the amount in ledger balance for a given pay period; otherwise,false |
processGenerateGeneralLedgerPendingEntries | public boolean processGenerateGeneralLedgerPendingEntries(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)(Code) | | Overriding hook into generate general ledger pending entries, so no GL pending entries are created.
See Also: org.kuali.core.rule.GenerateGeneralLedgerPendingEntriesRule.processGenerateGeneralLedgerPendingEntries(org.kuali.core.document.AccountingDocumentorg.kuali.core.bo.AccountingLineorg.kuali.core.util.GeneralLedgerPendingEntrySequenceHelper) |
Fields inherited from org.kuali.kfs.rules.AccountingDocumentRuleBase | protected static org.apache.log4j.Logger LOG(Code)(Java Doc)
|
Methods inherited from org.kuali.kfs.rules.AccountingDocumentRuleBase | protected boolean accountIsAccessible(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected void buildTotalChangeErrorMessage(String propertyName, KualiDecimal persistedSourceLineTotal, KualiDecimal currentSourceLineTotal)(Code)(Java Doc) protected boolean checkAccountingLineAccountAccessibility(AccountingDocument financialDocument, AccountingLine accountingLine, AccountingLineAction action)(Code)(Java Doc) protected void customizeExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)(Code)(Java Doc) protected boolean customizeOffsetGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)(Code)(Java Doc) protected Class getAccountingLineDocumentClass(AccountingDocument financialDocument)(Code)(Java Doc) protected KualiDecimal getGeneralLedgerPendingEntryAmountForAccountingLine(AccountingLine accountingLine)(Code)(Java Doc) protected ParameterService getParameterService()(Code)(Java Doc) final protected void handleNonExistentDocumentWhenApproving(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean hasAccessibleAccountingLines(AccountingDocument financialDocument, int min)(Code)(Java Doc) protected boolean isAccountingLineTotalsUnchanged(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean isAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) public boolean isAmountValid(AccountingDocument document, AccountingLine accountingLine)(Code)(Java Doc) final public boolean isAsset(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isAssetTypeCode(String objectTypeCode)(Code)(Java Doc) final public boolean isBudgetOnlyCodesSubType(String objectCode)(Code)(Java Doc) final public boolean isCashSubType(String objectCode)(Code)(Java Doc) final public boolean isCostRecoveryExpenseSubType(String objectCode)(Code)(Java Doc) public boolean isCredit(AccountingLine accountingLine, AccountingDocument financialDocument) throws IllegalStateException(Code)(Java Doc) protected boolean isDocumentBalanceValid(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean isDocumentBalanceValidConsideringDebitsAndCredits(AccountingDocument accountingDocument)(Code)(Java Doc) protected boolean isErrorCorrection(AccountingDocument accountingDocument)(Code)(Java Doc) public boolean isExpense(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isExpenseOrAsset(AccountingLine line)(Code)(Java Doc) final public boolean isFringeBenefitsSubType(String objectCode)(Code)(Java Doc) final public boolean isFundBalanceCode(String objectCode)(Code)(Java Doc) final public boolean isFundBalanceSubType(String objectCode)(Code)(Java Doc) public boolean isFundGroupAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) protected boolean isFundGroupSetBalanceValid(AccountingDocument tranDoc, Class componentClass, String parameterName)(Code)(Java Doc) final public boolean isHourlyWagesSubType(String objectCode)(Code)(Java Doc) final public boolean isIncome(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isIncomeOrLiability(AccountingLine line)(Code)(Java Doc) final public boolean isLiability(AccountingLine accountingLine)(Code)(Java Doc) final public boolean isLiabilityTypeCode(String objectTypeCode)(Code)(Java Doc) final public boolean isMandatoryTransfersSubType(String objectSubTypeCode)(Code)(Java Doc) final public boolean isNonMandatoryTransfersSubType(String objectSubTypeCode)(Code)(Java Doc) public boolean isObjectCodeAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectConsolidationAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectLevelAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectSubTypeAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) public boolean isObjectTypeAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) protected boolean isOptionalOneSidedDocumentAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) final public boolean isRevenue(AccountingLine line)(Code)(Java Doc) final public boolean isSalariesSubType(String objectCode)(Code)(Java Doc) protected boolean isSourceAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) public boolean isSubFundGroupAllowed(Class documentClass, AccountingLine accountingLine)(Code)(Java Doc) protected boolean isTargetAccountingLinesRequiredNumberForRoutingMet(AccountingDocument accountingDocument)(Code)(Java Doc) final public boolean isValuationsAndAdjustmentsSubType(String objectSubTypeCode)(Code)(Java Doc) protected void populateExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntry explicitEntry)(Code)(Java Doc) public boolean processAddAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomAddAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomApproveDocumentBusinessRules(ApproveDocumentEvent approveEvent)(Code)(Java Doc) protected boolean processCustomDeleteAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, boolean lineWasAlreadyDeletedFromDocument)(Code)(Java Doc) protected boolean processCustomReviewAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) protected boolean processCustomRouteDocumentBusinessRules(Document document)(Code)(Java Doc) protected boolean processCustomUpdateAccountingLineBusinessRules(AccountingDocument accountingDocument, AccountingLine originalAccountingLine, AccountingLine updatedAccountingLine)(Code)(Java Doc) public boolean processDeleteAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, boolean lineWasAlreadyDeletedFromDocument)(Code)(Java Doc) protected boolean processExplicitGeneralLedgerPendingEntry(AccountingDocument accountingDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)(Code)(Java Doc) public boolean processGenerateGeneralLedgerPendingEntries(AccountingDocument accountingDocument, AccountingLine accountingLine, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)(Code)(Java Doc) protected boolean processOffsetGeneralLedgerPendingEntry(AccountingDocument accountingDocument, GeneralLedgerPendingEntrySequenceHelper sequenceHelper, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)(Code)(Java Doc) public boolean processReviewAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine)(Code)(Java Doc) public boolean processUpdateAccountingLineBusinessRules(AccountingDocument financialDocument, AccountingLine accountingLine, AccountingLine updatedAccountingLine)(Code)(Java Doc) public static void putRequiredPropertyError(BusinessObjectEntry boe, String propertyName)(Code)(Java Doc) protected void reportError(String propertyName, String errorKey, String... errorParams)(Code)(Java Doc) protected AccountingDocument retrievePersistedDocument(AccountingDocument accountingDocument)(Code)(Java Doc)
|
|
|