public class CRMBORewardParticipatingSchemeBean extends CRMBO
Constructor and Description |
---|
CRMBORewardParticipatingSchemeBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a reward participating scheme.
|
java.lang.Boolean |
isUniqueReferenceCode(java.lang.String referenceCode,
com.crm.dataobject.rewards.CRMDORewardParticipatingScheme rewardParticipatingScheme)
Checks if the given reference code was not already specified on an effective participating scheme with the given reward scheme.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.rewards.CRMDORewardParticipant participant)
Loads the schemes of a Rewards Participant.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
java.util.ArrayList<java.lang.String> associations)
Loads the schemes of a Rewards Participant.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffective(com.crm.dataobject.rewards.CRMDORewardParticipant participant)
Loads the schemes of a Rewards Participant which effective.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffective(com.crm.dataobject.rewards.CRMDORewardParticipant participant,
java.util.ArrayList<java.lang.String> associations)
Loads the schemes of a Rewards Participant which effective.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveByReferenceCode(java.lang.String referenceCode,
com.crm.dataobject.rewards.CRMDORewardParticipatingScheme rewardParticipatingScheme)
Loads the effective rewards participating schemes based on a reference code and a reward participating scheme.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveByReferenceCode(java.lang.String referenceCode,
com.crm.dataobject.rewards.CRMDORewardParticipatingScheme rewardParticipatingScheme,
java.util.ArrayList<java.lang.String> associations)
Loads the effective rewards participating schemes based on a reference code and a reward scheme.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadSignOff(com.crm.dataobject.rewards.CRMDORewardParticipant participant)
Loads the sing off schemes of a Rewards Participant.
|
void |
validateUniqueness(com.crm.dataobject.rewards.CRMDORewardParticipant rewardParticipant)
Validates that the reward participating scheme exists only one time for a Rewards Participant.
|
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 CRMBORewardParticipatingSchemeBean()
public void validateUniqueness(com.crm.dataobject.rewards.CRMDORewardParticipant rewardParticipant) throws java.lang.Exception, com.crm.exception.OnlyOneRecordException
rewardParticipant
- - the Rewards Participant its participating schemes are to be validatedjava.lang.Exception
com.crm.exception.OnlyOneRecordException
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations
in class CRMBO
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffective(com.crm.dataobject.rewards.CRMDORewardParticipant participant) throws java.lang.Exception
participant
- - the Rewards Participant to load the schemes fromjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffective(com.crm.dataobject.rewards.CRMDORewardParticipant participant, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
participant
- - the Rewards Participant to load the schemes fromassociations
- - the associations you want to initializejava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadSignOff(com.crm.dataobject.rewards.CRMDORewardParticipant participant) throws java.lang.Exception
participant
- - the Rewards Participant to load the schemes fromjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.rewards.CRMDORewardParticipant participant) throws java.lang.Exception
participant
- - the Rewards Participant to load the schemes fromjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.rewards.CRMDORewardParticipant participant, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
participant
- - the Rewards Participant to load the schemes fromjava.lang.Exception
public java.lang.Boolean isUniqueReferenceCode(java.lang.String referenceCode, com.crm.dataobject.rewards.CRMDORewardParticipatingScheme rewardParticipatingScheme) throws java.lang.Exception
referenceCode
- - the reference code to check its uniquenessrewardParticipatingScheme
- - the reward participating schemejava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveByReferenceCode(java.lang.String referenceCode, com.crm.dataobject.rewards.CRMDORewardParticipatingScheme rewardParticipatingScheme) throws java.lang.Exception
referenceCode
- - the reference code to load the participating schemes fromrewardParticipatingScheme
- - the reward participating schemejava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveByReferenceCode(java.lang.String referenceCode, com.crm.dataobject.rewards.CRMDORewardParticipatingScheme rewardParticipatingScheme, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
referenceCode
- - the reference code to load the participating schemes fromrewardParticipatingScheme
- - the reward participating scheme that has the given reference codeassociations
- - a list of associated objectsjava.lang.Exception