Method Summary |
|
public static AccountingLineOverride | determineNeededOverrides(AccountingLine line) Determines what overrides the given line needs. |
public String | getCode() Gets the code of this override. |
public boolean | hasComponent(Integer component) Checks whether this override contains the given component. |
public static boolean | isValidCode(String code) Returns whether the given String is a valid override code. |
public static boolean | isValidComponentSet(Integer[] components) Returns whether the given Integers are a valid set of components. |
public boolean | isValidMask(AccountingLineOverride mask) Returns whether this override, when masked by the given override, is valid. |
public AccountingLineOverride | mask(AccountingLineOverride mask) Returns the AccountingLineOverride that has the components of this AccountingLineOverride minus any components not in the
given mask. |
public static boolean | needsExpiredAccountOverride(Account account) Returns whether the given account needs an expired account override. |
public static boolean | needsNonFringAccountOverride(Account account) Returns whether the given account needs an expired account override. |
public static boolean | needsObjectBudgetOverride(Account account, ObjectCode objectCode) |
public static void | populateFromInput(AccountingLine line) On the given AccountingLine, converts override input checkboxes from a Struts Form into a persistable override code. |
public static void | processForOutput(AccountingLine line) Prepares the given AccountingLine in a Struts Action for display by a JSP. |
public String | toString() |
public static AccountingLineOverride | valueOf(String code) Factory method from code. |
public static AccountingLineOverride | valueOf(Integer[] components) Factory method from components. |