org.kuali.kfs.module.bc.document.dataaccess
Interface BudgetConstructionLockDao

All Known Implementing Classes:
BudgetConstructionLockDaoOjb

public interface BudgetConstructionLockDao

Provides methods for retrieving locks.


Method Summary
 List<BudgetConstructionHeader> getAllAccountLocks(String lockUnivId)
          Retrieves all current account locks for the given user (or all locks if user is null/empty).
 List<PendingBudgetConstructionAppointmentFunding> getAllPositionFundingLocks(String lockUnivId)
          Retrieves all current position/funding locks for the given user (or all locks if user is null/empty).
 List<BudgetConstructionHeader> getAllTransactionLocks(String lockUnivId)
          Retrieves all current transaction locks for the given user (or all locks if user is null/empty).
 List<BudgetConstructionFundingLock> getOrphanedFundingLocks(String lockUnivId)
          Retrieves all funding locks that do not have a corresponding position lock for the given user (or all locks if user is null/empty).
 List<BudgetConstructionPosition> getOrphanedPositionLocks(String lockUnivId)
          Retrieves all current position locks without a funding lock for the given user (or all locks if user is null/empty).
 

Method Detail

getAllAccountLocks

List<BudgetConstructionHeader> getAllAccountLocks(String lockUnivId)
Retrieves all current account locks for the given user (or all locks if user is null/empty).

Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
budget headers that are locked

getAllTransactionLocks

List<BudgetConstructionHeader> getAllTransactionLocks(String lockUnivId)
Retrieves all current transaction locks for the given user (or all locks if user is null/empty).

Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
budget headers that are locked

getOrphanedFundingLocks

List<BudgetConstructionFundingLock> getOrphanedFundingLocks(String lockUnivId)
Retrieves all funding locks that do not have a corresponding position lock for the given user (or all locks if user is null/empty).

Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
funding locks records

getAllPositionFundingLocks

List<PendingBudgetConstructionAppointmentFunding> getAllPositionFundingLocks(String lockUnivId)
Retrieves all current position/funding locks for the given user (or all locks if user is null/empty).

Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
position/funding records that are locked.

getOrphanedPositionLocks

List<BudgetConstructionPosition> getOrphanedPositionLocks(String lockUnivId)
Retrieves all current position locks without a funding lock for the given user (or all locks if user is null/empty).

Parameters:
lockUnivId - universal id that will be used in lock query
Returns:
positions that are locked.


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