com.aurel.track.dao
Interface BudgetDAO

All Known Implementing Classes:
TBudgetPeer

public interface BudgetDAO

DAO for Budget

Author:
Tamas Ruff

Method Summary
 java.util.List getByWorkItemAndPerson(java.lang.Integer workItemID, java.lang.Integer personID)
          Get the budget history for an item
 java.util.List loadByWorkItemKeys(int[] workItemKeys)
          Loads a BudgetBean list by workItemKeys
 java.util.List loadLastBudgetForWorkItems()
          Gets a list of TComputedValuesBean with the last cost/time values grouped by workItems
 TBudgetBean loadLastByWorkItemKey1(java.lang.Integer objectID)
          Loads the last BudgetBean by workItemKey
 java.lang.Integer save(TBudgetBean budgetBean)
          Saves a BudgetBean in the TBudget table
 

Method Detail

loadLastByWorkItemKey1

TBudgetBean loadLastByWorkItemKey1(java.lang.Integer objectID)
Loads the last BudgetBean by workItemKey

Parameters:
objectID -
Returns:

loadByWorkItemKeys

java.util.List loadByWorkItemKeys(int[] workItemKeys)
Loads a BudgetBean list by workItemKeys

Parameters:
workItemKeys -
Returns:

save

java.lang.Integer save(TBudgetBean budgetBean)
Saves a BudgetBean in the TBudget table

Parameters:
budgetBean -
Returns:

getByWorkItemAndPerson

java.util.List getByWorkItemAndPerson(java.lang.Integer workItemID,
                                      java.lang.Integer personID)
Get the budget history for an item

Parameters:
workItemKey -
personID - if not null filter also by personID
Returns:

loadLastBudgetForWorkItems

java.util.List loadLastBudgetForWorkItems()
Gets a list of TComputedValuesBean with the last cost/time values grouped by workItems

Returns:


Issue Tracking with Track+: Home Page      Copyright © 2008 Trackplus. All Rights Reserved.