org.kuali.kfs.sys.document.service
Interface AccountPresenceService

All Known Implementing Classes:
AccountPresenceServiceImpl

public interface AccountPresenceService

This service interface defines methods that an AccountPresenceService implementation must provide.


Method Summary
 boolean isObjectCodeBudgetedForAccountPresence(Account account, ObjectCode objectCode)
          Checks the given account for presence control turned on.
 

Method Detail

isObjectCodeBudgetedForAccountPresence

boolean isObjectCodeBudgetedForAccountPresence(Account account,
                                               ObjectCode objectCode)
Checks the given account for presence control turned on. If turned on, the object code must have a budget record in the gl balance table, otherwise this method returns false. If presence control is turned off, method returns true.

Parameters:
account - The account to be checked for presense control.
objectCode - The object code to be looked up in the gl balance table.
Returns:
True if presence control is turned on and obj code is in gl balance table, false otherwise.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.