public class CRMBOFavoriteItemBean extends CRMBOConfigurationEntity
Constructor and Description |
---|
CRMBOFavoriteItemBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a favorite item.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Loads a list of favorite items based on the given account receivable and product.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.products.CRMDOProductType product)
Loads a list of favorite items based on the given account receivable and product.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.products.CRMDOProductType product,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
java.util.ArrayList<java.lang.String> associations)
Loads a list of favorite items based on the given account receivable and product.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
java.util.ArrayList<java.lang.String> associations)
Loads a list of favorite items by number of results, offset and associations.
|
com.crm.dataobject.accounts.CRMDOFavoriteItem |
loadByNumber(java.lang.String number)
Loads a favorite item by a number.
|
com.crm.dataobject.accounts.CRMDOFavoriteItem |
loadByNumber(java.lang.String number,
java.util.ArrayList<java.lang.String> associations)
Loads a favorite item by a number.
|
void |
validateUniqueness(java.util.ArrayList<com.crm.dataobject.CRMDO> favoriteItems)
Validates that the favorite item exists only one time in the account receivable favorite items.
|
isDefault, loadDefault, setDefault
construct, construct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, isAssignable, load, load, load, load, load, load, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, loadAllEntityStatusDO, loadAllEntityStatusDO, loadDataObject, loadDataObject, loadDataObject, loadDataObjects, loadDataObjects, loadEntityCategoryDO, loadEntityCategoryDO, loadEntityDO, loadEntityDO, loadEntityStatusDO, loadEntityStatusDO, parseAssociations, parseAssociations, parseAssociations, save, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateApprovalRequestEntity, validateFormatSettings, validateFormatSettings, validateOnDelete, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSave
deepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContext
public void validateUniqueness(java.util.ArrayList<com.crm.dataobject.CRMDO> favoriteItems) throws java.lang.Exception, com.crm.exception.OnlyOneRecordException
favoriteItems
- - the favorite items to be validatedjava.lang.Exception
com.crm.exception.OnlyOneRecordException
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations
in class CRMBOConfigurationEntity
public com.crm.dataobject.accounts.CRMDOFavoriteItem loadByNumber(java.lang.String number) throws java.lang.Exception
number
- - the favorite item numberjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOFavoriteItem loadByNumber(java.lang.String number, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
number
- - the favorite item numberassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to load the favorite items forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.products.CRMDOProductType product) throws java.lang.Exception
accountReceivable
- - the account receivable to load the favorite items forproduct
- - the product to load the favorite items forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.products.CRMDOProductType product, java.lang.Integer numberOfResults, java.lang.Integer offset, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable to load the favorite items forproduct
- - the product to load the favorite items fornumberOfResults
- - the number of data objects to retrieveoffset
- - the order by clauseassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(java.lang.String orderBy, java.lang.Integer numberOfResults, java.lang.Integer offset, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
numberOfResults
- - the number of resultsoffset
- - the offset numberassociations
- - a list of associated data objectsjava.lang.Exception