com.aurel.track.item.budgetCost
Class AccountingAction

java.lang.Object
  extended by ActionSupport
      extended by com.aurel.track.item.budgetCost.AccountingAction

public class AccountingAction
extends ActionSupport

Action class for accounting operations

Author:
Tamas Ruff

Constructor Summary
AccountingAction()
           
 
Method Summary
 java.lang.String addEffort()
          Adds new cost/effort
 java.lang.String applyFilter()
          Sets the filtered users for showing the new cost/effort report
 java.lang.String cancelEffort()
          Cancels editing the cost/effort
 java.lang.String deleteEffort()
          Deletes cost/effort
 java.lang.String editEffort()
          Edits cost/effort
 java.lang.String execute()
          Tab change to this tab
 AccountingForm getAccountingForm()
           
 java.lang.Integer getEffortID()
           
 java.lang.String getForwardAction()
           
 java.lang.String getJsDateFormat()
           
 boolean isCreate()
           
 boolean isEnableAdd()
          show add cost/effort part
 boolean isEnableBudgetModify()
          Enable modifying of the budget (total or estimated)
 boolean isEnableEstimatedValues()
          Enable the direct editing of the remaining value
 boolean isExpenseEditMode()
           
 boolean isShowLists()
          show the list(s) of effort/cost
 boolean isShowPersons()
          show users part
 java.lang.String modifyRemainingBudget()
          Saves the estimated remaining budget Do not recalculate (firstBudget==false) and do not modify (costBean=null) the estimated remaining budget, simply save the actual value
 java.lang.String modifyTotalBudget()
          Saves the total budget
 void prepare()
           
 void setAccountingForm(AccountingForm accountingForm)
           
 void setEffortID(java.lang.Integer effortID)
           
 void setExpenseEditMode(boolean expenseEditMode)
           
 void setForwardAction(java.lang.String forwardAction)
           
 void setOperation(java.lang.String operation)
           
 void setSession(java.util.Map session)
           
 java.lang.String submit()
          Submit after tab change from this tab to save the content of the tab into the AccountingForm but no other business logic executed
 java.lang.String updateEffort()
          Updates the edited cost/effort
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingAction

public AccountingAction()
Method Detail

prepare

public void prepare()
             throws java.lang.Exception
Throws:
java.lang.Exception

execute

public java.lang.String execute()
Tab change to this tab

Returns:

submit

public java.lang.String submit()
Submit after tab change from this tab to save the content of the tab into the AccountingForm but no other business logic executed

Returns:

modifyTotalBudget

public java.lang.String modifyTotalBudget()
Saves the total budget

Returns:

modifyRemainingBudget

public java.lang.String modifyRemainingBudget()
Saves the estimated remaining budget Do not recalculate (firstBudget==false) and do not modify (costBean=null) the estimated remaining budget, simply save the actual value

Returns:

addEffort

public java.lang.String addEffort()
Adds new cost/effort

Returns:

editEffort

public java.lang.String editEffort()
Edits cost/effort

Returns:

cancelEffort

public java.lang.String cancelEffort()
Cancels editing the cost/effort

Returns:

updateEffort

public java.lang.String updateEffort()
Updates the edited cost/effort

Returns:

deleteEffort

public java.lang.String deleteEffort()
Deletes cost/effort

Returns:

applyFilter

public java.lang.String applyFilter()
Sets the filtered users for showing the new cost/effort report

Returns:

validate

public void validate()

getJsDateFormat

public java.lang.String getJsDateFormat()

isCreate

public boolean isCreate()

setOperation

public void setOperation(java.lang.String operation)

setSession

public void setSession(java.util.Map session)

getAccountingForm

public AccountingForm getAccountingForm()

setAccountingForm

public void setAccountingForm(AccountingForm accountingForm)

isEnableBudgetModify

public boolean isEnableBudgetModify()
Enable modifying of the budget (total or estimated)

Returns:

isEnableEstimatedValues

public boolean isEnableEstimatedValues()
Enable the direct editing of the remaining value

Returns:

isEnableAdd

public boolean isEnableAdd()
show add cost/effort part

Returns:

isShowPersons

public boolean isShowPersons()
show users part

Returns:

isShowLists

public boolean isShowLists()
show the list(s) of effort/cost

Returns:

getEffortID

public java.lang.Integer getEffortID()
Returns:
the effortID

setEffortID

public void setEffortID(java.lang.Integer effortID)
Parameters:
effortID - the effortID to set

isExpenseEditMode

public boolean isExpenseEditMode()
Returns:
the expenseEditMode

setExpenseEditMode

public void setExpenseEditMode(boolean expenseEditMode)
Parameters:
expenseEditMode - the expenseEditMode to set

getForwardAction

public java.lang.String getForwardAction()

setForwardAction

public void setForwardAction(java.lang.String forwardAction)


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