public class CRMBORewardParticipantBean extends CRMBOCacheableEntity
| Constructor and Description |
|---|
CRMBORewardParticipantBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a Rewards Participant.
|
java.lang.Boolean |
isMerchantAuthorised(com.crm.dataobject.rewards.CRMDORewardParticipant rewardParticipant,
com.crm.dataobject.rewards.CRMDORewardsParticipatingMerchant rewardsParticipatingMerchant) |
java.lang.Boolean |
isParticipating(com.crm.dataobject.rewards.CRMDORewardParticipant rewardParticipant,
com.crm.dataobject.rewards.CRMDORewardScheme rewardScheme,
java.util.Date asOfDate) |
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Loads a Rewards Participant based on an Accounts Receivable.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState)
Loads a Rewards Participant based on an Accounts Receivable and a list of Life Cycle States.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
Loads a Rewards Participant based on an Accounts Receivable.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Loads a list of Rewards Participants based on a number of criteria.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState)
Loads a list of Rewards Participants based on a number of criteria.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
Loads a list of Rewards Participants based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(com.crm.dataobject.wallets.CRMDOWallet wallet)
Loads a Rewards Participant based on an wallet.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(com.crm.dataobject.wallets.CRMDOWallet wallet,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState)
Loads a list of Rewards Participants based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(com.crm.dataobject.wallets.CRMDOWallet wallet,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
Loads a list of Rewards Participants based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
Loads a Rewards Participant based on an Accounts Receivable.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
Loads a list of Rewards Participants based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.wallets.CRMDOWallet wallet,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
Loads a list of Rewards Participants based on a number of criteria.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
loadByAccessTokenAuthenticationCode(java.lang.String authenticationCode,
java.util.ArrayList<java.lang.String> associations)
Loads a Rewards Participant based on the related access token authentication code
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
loadByNumber(java.lang.String value)
Loads a Rewards Participant based on a number.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
loadByNumber(java.lang.String value,
java.util.ArrayList<java.lang.String> associations)
Loads a Rewards Participant based on a number.
|
com.crm.dataobject.rewards.CRMDORewardParticipant |
terminate(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.rewards.CRMDORewardParticipant replacement,
com.crm.dataobject.rewards.RewardsParticipantTerminationReason terminationReason)
Terminate a Rewards Participant
|
void |
validateAccessTokenSettingsOnSave(java.util.ArrayList<com.crm.dataobject.CRMDO> accessTokens,
int numOfAccessTokens,
java.util.LinkedHashMap<java.lang.String,java.lang.Integer> accessTokensPerClassification)
Validates access tokens settings before save
|
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, validateOnSavedeepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContextpublic CRMBORewardParticipantBean()
public void validateAccessTokenSettingsOnSave(java.util.ArrayList<com.crm.dataobject.CRMDO> accessTokens,
int numOfAccessTokens,
java.util.LinkedHashMap<java.lang.String,java.lang.Integer> accessTokensPerClassification)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
accessTokens - - the access tokens to validate.numOfAccessTokens - - the number of access tokensaccessTokensPerClassification - java.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOCacheableEntitypublic com.crm.dataobject.rewards.CRMDORewardParticipant loadByNumber(java.lang.String value)
throws java.lang.Exception
value - - the Rewards Participant numberjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant loadByNumber(java.lang.String value,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
value - - the Rewards Participant numberassociations - - a list of related Rewards Participant's association objectsjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
throws java.lang.Exception
accountReceivable - - the Rewards Participant Accounts Receivablejava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState)
throws java.lang.Exception
accountReceivable - - the Rewards Participant Accounts ReceivablelifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
accountReceivable - - the Rewards Participant Accounts ReceivablelifeCycleState - - the Rewards Participant life Cycle Stateassociations - - a list of related Rewards Participant's association objectsjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
numberOfResults - - The number of results that can be retrievedorderBy - - the ordering fieldoffset - - It defines the number of entities that should be skipped from the resultsaccountReceivable - - the Rewards Participant Accounts ReceivablelifeCycleState - - the Rewards Participant life Cycle Stateassociations - - a list of related Rewards Participant's association objectsjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
throws java.lang.Exception
contactInformation - - the contact information of the Rewards Participantjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState)
throws java.lang.Exception
contactInformation - - the contact information of the Rewards ParticipantlifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
contactInformation - - the contact information of the Rewards Participantassociations - - a list of related Rewards Participant's association objectslifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
numberOfResults - - The number of results that can be retrievedorderBy - - the ordering fieldoffset - - It defines the number of entities that should be skipped from the resultscontactInformation - - the contact information of the Rewards Participantassociations - - a list of related Rewards Participant's association objectslifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(com.crm.dataobject.wallets.CRMDOWallet wallet)
throws java.lang.Exception
wallet - - the Rewards Participant of walletjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(com.crm.dataobject.wallets.CRMDOWallet wallet,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState)
throws java.lang.Exception
wallet - - the wallet of the Rewards ParticipantlifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(com.crm.dataobject.wallets.CRMDOWallet wallet,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
wallet - - the wallet of the Rewards Participantassociations - - a list of related Rewards Participant's association objectslifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
com.crm.dataobject.wallets.CRMDOWallet wallet,
com.crm.dataobject.rewards.RewardsParticipantLifeCycleState lifeCycleState,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
numberOfResults - - The number of results that can be retrievedorderBy - - the ordering fieldoffset - - It defines the number of entities that should be skipped from the resultswallet - - the wallet of the Rewards Participantassociations - - a list of related Rewards Participant's association objectslifeCycleState - - the Rewards Participant life Cycle Statejava.lang.Exceptionpublic java.lang.Boolean isParticipating(com.crm.dataobject.rewards.CRMDORewardParticipant rewardParticipant,
com.crm.dataobject.rewards.CRMDORewardScheme rewardScheme,
java.util.Date asOfDate)
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant loadByAccessTokenAuthenticationCode(java.lang.String authenticationCode,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
authenticationCode - - the authentication code of the rewards participant related access tokenjava.lang.Exceptionpublic com.crm.dataobject.rewards.CRMDORewardParticipant terminate(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
com.crm.dataobject.rewards.CRMDORewardParticipant replacement,
com.crm.dataobject.rewards.RewardsParticipantTerminationReason terminationReason)
throws java.lang.Exception
participant - - the Rewards Participant to terminatereplacement - - the Rewards Participant to replace the Terminated ParticipantterminationReason - - the termination reason of the participantjava.lang.Exceptionpublic java.lang.Boolean isMerchantAuthorised(com.crm.dataobject.rewards.CRMDORewardParticipant rewardParticipant,
com.crm.dataobject.rewards.CRMDORewardsParticipatingMerchant rewardsParticipatingMerchant)
throws java.lang.Exception
java.lang.Exception