public class CRMBOWalletAllotmentGroupConditionBean extends CRMBO
| Constructor and Description | 
|---|
CRMBOWalletAllotmentGroupConditionBean()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.ArrayList<java.lang.String> | 
getDefaultAssociations()
Returns the default associated data objects of a wallet allotment group condition. 
 | 
java.lang.Boolean | 
isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
       com.crm.dataobject.products.CRMDOProduct product)
Return true if group condition is valid based on product. 
 | 
java.lang.Boolean | 
isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
       com.crm.dataobject.products.CRMDOProduct product,
       com.crm.dataobject.products.CRMDOProductType productType,
       com.crm.dataobject.networkmanagement.CRMDOUnit unit,
       com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
       java.util.Date asOfDate)
Return true if group condition is valid based on the parameters given. 
 | 
java.lang.Boolean | 
isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
       com.crm.dataobject.products.CRMDOProduct product,
       com.crm.dataobject.products.CRMDOProductType productType,
       com.crm.dataobject.networkmanagement.CRMDOUnit unit,
       com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
       com.crm.framework.util.DayOfWeek dayOfWeek,
       java.lang.Integer hour)
Return true if group condition is valid based on the parameters given. 
 | 
java.lang.Boolean | 
isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
       com.crm.dataobject.products.CRMDOProduct product,
       com.crm.dataobject.networkmanagement.CRMDOUnit unit)
Return true if group condition is valid based on product and unit. 
 | 
java.lang.Boolean | 
isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
       com.crm.dataobject.products.CRMDOProduct product,
       com.crm.dataobject.networkmanagement.CRMDOUnit unit,
       java.util.Date asOfDate)
Return true if group condition is valid based on the parameters given. 
 | 
java.util.ArrayList<com.crm.dataobject.CRMDO> | 
load(com.crm.dataobject.wallets.CRMDOWallet wallet)
Loads a list of wallet allotment group conditions of a wallet. 
 | 
java.util.ArrayList<com.crm.dataobject.CRMDO> | 
load(com.crm.dataobject.wallets.CRMDOWallet wallet,
    java.lang.Boolean initializeAllotments,
    java.lang.Boolean initializeConditions)
Loads a list of wallet allotment group conditions of a wallet. 
 | 
java.util.ArrayList<com.crm.dataobject.CRMDO> | 
load(com.crm.dataobject.wallets.CRMDOWallet wallet,
    java.lang.Boolean initializeAllotments,
    java.lang.Boolean initializeConditions,
    java.util.ArrayList<java.lang.String> associations)
Loads a list of wallet allotment group conditions of a wallet. 
 | 
com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition | 
loadGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                  java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> productConditions,
                  java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> unitConditions,
                  java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> timeConditions,
                  java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> dayOfWeekConditions)
Returns a wallet allotment group condition based on the given conditions. 
 | 
java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> | 
loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                       com.crm.dataobject.products.CRMDOProduct product)
Loads a list of valid group conditions based on a product and a unit. 
 | 
java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> | 
loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                       com.crm.dataobject.products.CRMDOProduct product,
                       com.crm.dataobject.products.CRMDOProductType productType,
                       com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                       com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
                       java.util.Date asOfDate)
Loads a list of valid group conditions based on the parameters given. 
 | 
java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> | 
loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                       com.crm.dataobject.products.CRMDOProduct product,
                       com.crm.dataobject.products.CRMDOProductType productType,
                       com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                       com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
                       com.crm.framework.util.DayOfWeek dayOfWeek,
                       java.lang.Integer hour)
Loads a list of valid group conditions based on the parameters given. 
 | 
java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> | 
loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                       com.crm.dataobject.products.CRMDOProduct product,
                       com.crm.dataobject.networkmanagement.CRMDOUnit unit)
Loads a list of valid group conditions based on a product and a unit. 
 | 
java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> | 
loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                       com.crm.dataobject.products.CRMDOProduct product,
                       com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                       java.util.Date asOfDate)
Loads a list of valid group conditions based on a product, unit and an as of date. 
 | 
com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition | 
loadWithoutConditions(com.crm.dataobject.wallets.CRMDOWallet wallet)  | 
construct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, parseAssociations, save, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateOnDelete, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSavedispatch, getCRMSession, getCRMSessionHandle, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContextpublic CRMBOWalletAllotmentGroupConditionBean()
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.wallets.CRMDOWallet wallet)
                                                   throws java.lang.Exception
wallet - - the wallet to load the group conditions fromjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                 java.lang.Boolean initializeAllotments,
                                                 java.lang.Boolean initializeConditions)
                                                   throws java.lang.Exception
wallet - - the wallet to load the group conditions fromjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                 java.lang.Boolean initializeAllotments,
                                                 java.lang.Boolean initializeConditions,
                                                 java.util.ArrayList<java.lang.String> associations)
                                                   throws java.lang.Exception
wallet - - the wallet to load the group conditions frominitializeAllotments - - if its true loads the allotments of each groupinitializeConditions - - if its true loads the conditions of each groupassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition loadWithoutConditions(com.crm.dataobject.wallets.CRMDOWallet wallet)
                                                                                    throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                                                                         com.crm.dataobject.products.CRMDOProduct product)
                                                                                                           throws java.lang.Exception
product - - the product to usejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                                                                         com.crm.dataobject.products.CRMDOProduct product,
                                                                                                         com.crm.dataobject.networkmanagement.CRMDOUnit unit)
                                                                                                           throws java.lang.Exception
product - - the product to useunit - - the unit to usejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                                                                         com.crm.dataobject.products.CRMDOProduct product,
                                                                                                         com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                                                                                                         java.util.Date asOfDate)
                                                                                                           throws java.lang.Exception
product - - the product to useunit - - the unit to useasOfDate - - the as of date to usejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                                                                         com.crm.dataobject.products.CRMDOProduct product,
                                                                                                         com.crm.dataobject.products.CRMDOProductType productType,
                                                                                                         com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                                                                                                         com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
                                                                                                         java.util.Date asOfDate)
                                                                                                           throws java.lang.Exception
product - - the product to useproductType - - the product type to useunit - - the unit to useunitGroup - - the group to usedayOfWeek - - the day of week to useasOfDate - - the as of date to usejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition> loadValidGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                                                                         com.crm.dataobject.products.CRMDOProduct product,
                                                                                                         com.crm.dataobject.products.CRMDOProductType productType,
                                                                                                         com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                                                                                                         com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
                                                                                                         com.crm.framework.util.DayOfWeek dayOfWeek,
                                                                                                         java.lang.Integer hour)
                                                                                                           throws java.lang.Exception
product - - the product to useproductType - - the product type to useunit - - the unit to useunitGroup - - the group to usedayOfWeek - - the day of week to usehour - - the hour to usejava.lang.Exceptionpublic com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition loadGroupCondition(com.crm.dataobject.wallets.CRMDOWallet wallet,
                                                                               java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> productConditions,
                                                                               java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> unitConditions,
                                                                               java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> timeConditions,
                                                                               java.util.Set<com.crm.dataobject.wallets.CRMDOWalletAllotmentCondition> dayOfWeekConditions)
                                                                                 throws java.lang.Exception
productConditions - - the product conditions to checkunitConditions - - the unit conditions to checktimeConditions - - the time conditions to checkdayOfWeekConditions - - the day of week conditions to checkjava.lang.Exceptionpublic java.lang.Boolean isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
                        com.crm.dataobject.products.CRMDOProduct product)
                          throws java.lang.Exception
allotmentGroupCondition - - the allotment Group Condition to validproduct - - the product to usejava.lang.Exceptionpublic java.lang.Boolean isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
                        com.crm.dataobject.products.CRMDOProduct product,
                        com.crm.dataobject.networkmanagement.CRMDOUnit unit)
                          throws java.lang.Exception
allotmentGroupCondition - - the allotment Group Condition to validproduct - - the product to useunit - - the unit to usejava.lang.Exceptionpublic java.lang.Boolean isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
                        com.crm.dataobject.products.CRMDOProduct product,
                        com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                        java.util.Date asOfDate)
                          throws java.lang.Exception
allotmentGroupCondition - - the allotment Group Condition to validproduct - - the product to useunit - - the unit to useasOfDate - - the as of date to usejava.lang.Exceptionpublic java.lang.Boolean isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
                        com.crm.dataobject.products.CRMDOProduct product,
                        com.crm.dataobject.products.CRMDOProductType productType,
                        com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                        com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
                        java.util.Date asOfDate)
                          throws java.lang.Exception
allotmentGroupCondition - - the allotment Group Condition to validproduct - - the product to useproductType - - the product type to useunit - - the unit to useunitGroup - - the group to usedayOfWeek - - the day of week to useasOfDate - - the as of date to usejava.lang.Exceptionpublic java.lang.Boolean isValid(com.crm.dataobject.wallets.CRMDOWalletAllotmentGroupCondition allotmentGroupCondition,
                        com.crm.dataobject.products.CRMDOProduct product,
                        com.crm.dataobject.products.CRMDOProductType productType,
                        com.crm.dataobject.networkmanagement.CRMDOUnit unit,
                        com.crm.dataobject.networkmanagement.CRMDOUnitGroup unitGroup,
                        com.crm.framework.util.DayOfWeek dayOfWeek,
                        java.lang.Integer hour)
                          throws java.lang.Exception
allotmentGroupCondition - - the allotment Group Condition to validproduct - - the product to useproductType - - the product type to useunit - - the unit to useunitGroup - - the group to usedayOfWeek - - the day of week to usehour - - the hour to usejava.lang.Exception