public class CRMBOContactInformationBean extends CRMBOMasterEntity
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
IS_NOT_UNIT_RELATED |
java.lang.Integer |
IS_UNIT_RELATED |
java.lang.Integer |
NAME_DISPLAY_RULE_FIRSTNAME_LASTNAME |
java.lang.Integer |
NAME_DISPLAY_RULE_FIRSTNAME_MIDDLENAME_LASTNAME |
java.lang.Integer |
NAME_DISPLAY_RULE_LASTNAME_FIRSTNAME |
java.lang.Integer |
NAME_DISPLAY_RULE_LASTNAME_MIDDLENAME_FIRSTNAME |
java.lang.Integer |
TYPE_COMPANY |
java.lang.Integer |
TYPE_PERSON |
Constructor and Description |
---|
CRMBOContactInformationBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
anonymizeContact(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Anonymizes the given contact information
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
constructAdditionalInformation(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Sets additional information to a contact.
|
com.crm.dataobject.CRMDO |
constructCompany()
Constructs a contact of type company.
|
com.crm.dataobject.CRMDO |
constructCompany(com.crm.dataobject.CRMDO mainDTO)
Constructs a contact of type company.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
constructFullName(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Sets the full name of the contact.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
constructFullName(com.crm.dataobject.contactinfo.CRMDOContactInformation contact,
com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition contactInfoDefinition)
Sets the full name of the contact.
|
java.lang.String |
constructFullName(java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName,
java.lang.String companyName,
java.lang.Boolean isCompany,
com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition contactInfoDefinition)
Sets the full name of the contact.
|
com.crm.dataobject.CRMDO |
constructPerson()
Constructs a contact of type person.
|
com.crm.dataobject.CRMDO |
constructPerson(com.crm.dataobject.CRMDO mainDTO)
Constructs a contact of type person.
|
java.lang.Boolean |
contactInfoPhoneExirgsgssts(java.lang.String phoneNumber)
Checks if there is a contact with the specified phone number.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
expireKYCProfile(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Set the KYC profile of the given contact's as Expired
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
getAdditionalInformationForContactAnonymization(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Loads additional information to anonymizes the given contact information
|
com.crm.dataobject.contactinfo.AnonymizationProcessRunDefinition |
getAnonymizationProcessRunDefinition() |
java.lang.String |
getCanUseContactSQL() |
com.crm.dataobject.contactinfo.ContactConsentFunctionality |
getContactConsentFunctionality(com.crm.dataobject.contactinfo.ConsentState consentState)
Returns the contact consent functionality as defined by the active definition
|
com.crm.dataobject.contactinfo.ContactConsentFunctionality |
getContactConsentFunctionality(com.crm.dataobject.contactinfo.ConsentState consentState,
com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition definition)
Returns the contact consent functionality as defined by the given definition
|
com.crm.dataobject.contactinfo.ContactConsentFunctionality |
getContactConsentFunctionality(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Returns the contact consent functionality as defined by the active definition
|
com.crm.dataobject.contactinfo.ContactConsentFunctionality |
getContactConsentFunctionality(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition definition)
Returns the contact consent functionality as defined by the given definition
|
java.util.ArrayList<java.lang.Object> |
getContactInfoAddresses(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
java.lang.String excludeAddress)
Loads a list of active address of a contact.
|
java.util.ArrayList<java.lang.Object> |
getContactInfoEmails(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
java.lang.String excludeEmail,
java.lang.String currentEmail)
Loads a list of active emails of a contact.
|
java.util.ArrayList<java.lang.Object> |
getContactInfoPhones(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
java.lang.String excludePhone,
java.lang.String currentPhone)
Loads a list of active phones of a contact.
|
com.crm.dataobject.contactinfo.AddressTypes |
getDefaultAddressType(com.crm.dataobject.contactinfo.ContactInformationType contactInformationType) |
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Gets the default associated data objects of the contact information
|
com.crm.dataobject.contactinfo.EmailTypes |
getDefaultEmailType(com.crm.dataobject.contactinfo.ContactInformationType contactInformationType) |
com.crm.dataobject.contactinfo.PhoneTypes |
getDefaultPhoneType(com.crm.dataobject.contactinfo.ContactInformationType contactInformationType) |
java.lang.String |
getName(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) |
java.lang.Boolean |
isRelatedContact(com.crm.dataobject.contactinfo.CRMDOContactInformation contact,
com.crm.dataobject.contactinfo.CRMDOContactInformation relatedContact)
Checks if two contacts are related.
|
java.lang.Boolean |
isUsedByAccount(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by an account.
|
java.lang.Boolean |
isUsedByActivity(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by an activity.
|
java.lang.Boolean |
isUsedByCommunity(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by an organizational community.
|
java.lang.Boolean |
isUsedByDraftCommunication(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by a draft communication.
|
java.lang.Boolean |
isUsedByGroup(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by an organizational group.
|
java.lang.Boolean |
isUsedByJob(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by a job.
|
java.lang.Boolean |
isUsedByNonCompleteServiceRequest(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by a non complete service request.
|
java.lang.Boolean |
isUsedByPresentmentPreference(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by a presentment preference.
|
java.lang.Boolean |
isUsedBySubscription(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by a subscription.
|
java.lang.Boolean |
isUsedByUnit(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by an organizational unit.
|
java.lang.Boolean |
isUsedByUser(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Checks if the contact is used by a user.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(java.lang.String orderBy,
java.lang.Integer numberOfResults,
java.lang.Integer offset,
java.lang.String idNumber,
java.lang.String passportNumber,
java.lang.String socialSecurityNumber,
java.lang.String vatRegistrationNumber,
java.lang.String emailAddress,
java.lang.String phoneNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a list of contacts based on given values.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByIDNumber(java.lang.String idNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a contact based on an id number.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByPassportNumber(java.lang.String passportNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a contact based on a passport number.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByRegistrationNumber(java.lang.String registrationNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a contact based on a registration number.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadBySocialSecurityNumber(java.lang.String socialSecurityNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a contact based on a social security number.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByVatRegistrationNumber(java.lang.String vatRegistrationNumber,
java.util.ArrayList<java.lang.String> associations)
Loads a contact based on a vat registration number.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
loadDemographics(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Loads the demographics of a contact information.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
loadExistingContact(java.lang.String id,
java.lang.String idNumber,
java.lang.String passportNumber,
java.lang.String socialSecurityNumber,
java.lang.String vatRegistrationNumber,
com.crm.dataobject.contactinfo.ContactInformationType type,
java.util.ArrayList<java.lang.String> associations)
Loads a contact based on full name and id number.
|
void |
markAsAnonymized(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Marks the given contact information as anonymized
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
setAdditionalInformation(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Sets additional information to a contact.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
setDefaultOwnerGroupValues(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Set default values on the contact based on identified country settings.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
setPendingVerification(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Sets the state of the given contact's KYC profile to Pending Verification
|
void |
use(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Validates if the given contact can be used
|
void |
use(com.crm.dataobject.contactinfo.CRMDOContactInformation contact,
com.crm.dataobject.CRMDO entityDTO)
Validates if the given contact can be used but the given entity
|
void |
validateAnonymization(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Validates the anonymization of the given contact information can take place
|
setLifeCycleState
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 final java.lang.Integer TYPE_PERSON
public final java.lang.Integer TYPE_COMPANY
public final java.lang.Integer IS_NOT_UNIT_RELATED
public final java.lang.Integer IS_UNIT_RELATED
public final java.lang.Integer NAME_DISPLAY_RULE_FIRSTNAME_LASTNAME
public final java.lang.Integer NAME_DISPLAY_RULE_LASTNAME_FIRSTNAME
public final java.lang.Integer NAME_DISPLAY_RULE_FIRSTNAME_MIDDLENAME_LASTNAME
public final java.lang.Integer NAME_DISPLAY_RULE_LASTNAME_MIDDLENAME_FIRSTNAME
public CRMBOContactInformationBean()
public com.crm.dataobject.contactinfo.AddressTypes getDefaultAddressType(com.crm.dataobject.contactinfo.ContactInformationType contactInformationType) throws com.crm.exception.MandatoryFieldException, java.lang.Exception
com.crm.exception.MandatoryFieldException
java.lang.Exception
public com.crm.dataobject.contactinfo.PhoneTypes getDefaultPhoneType(com.crm.dataobject.contactinfo.ContactInformationType contactInformationType) throws com.crm.exception.MandatoryFieldException, java.lang.Exception
com.crm.exception.MandatoryFieldException
java.lang.Exception
public com.crm.dataobject.contactinfo.EmailTypes getDefaultEmailType(com.crm.dataobject.contactinfo.ContactInformationType contactInformationType) throws com.crm.exception.MandatoryFieldException, java.lang.Exception
com.crm.exception.MandatoryFieldException
java.lang.Exception
public com.crm.dataobject.CRMDO constructPerson() throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.CRMDO constructPerson(com.crm.dataobject.CRMDO mainDTO) throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.CRMDO constructCompany() throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.CRMDO constructCompany(com.crm.dataobject.CRMDO mainDTO) throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation setAdditionalInformation(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to set the additional information tojava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation constructAdditionalInformation(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to set the additional information tojava.lang.Exception
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations
in class CRMBO
public com.crm.dataobject.contactinfo.CRMDOContactInformation setPendingVerification(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
contactInformation
- - the contact information to set its KYC profile state to
Pending Verificationpublic com.crm.dataobject.contactinfo.CRMDOContactInformation constructFullName(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to construct the full name forjava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation constructFullName(com.crm.dataobject.contactinfo.CRMDOContactInformation contact, com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition contactInfoDefinition) throws java.lang.Exception
contact
- - the contact to construct the full name forcontactInfoDefinition
- - the contact information definition declaring how the name
will be constructedjava.lang.Exception
public java.lang.String constructFullName(java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, java.lang.String companyName, java.lang.Boolean isCompany, com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition contactInfoDefinition) throws java.lang.Exception
firstName
- - the firstName of the contact to construct the full name formiddleName
- - the middle Name of the contact to construct the full name forlastName
- - the last Name of the contact to construct the full name forcompanyName
- - the company Name of the contact to construct the full name forcontactInfoDefinition
- - the contact information definition declaring how the name
will be constructedjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadByIDNumber(java.lang.String idNumber, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
idNumber
- - an id numberassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadByPassportNumber(java.lang.String passportNumber, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
passportNumber
- - a passport numberassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadBySocialSecurityNumber(java.lang.String socialSecurityNumber, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
socialSecurityNumber
- - a social security numberassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadByRegistrationNumber(java.lang.String registrationNumber, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
registrationNumber
- - a registration numberassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadByVatRegistrationNumber(java.lang.String vatRegistrationNumber, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
vatRegistrationNumber
- - a vat registration numberassociations
- - a list of associated data objectsjava.lang.Exception
public java.lang.Boolean isUsedByAccount(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedBySubscription(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByActivity(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByJob(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByDraftCommunication(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByNonCompleteServiceRequest(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByUser(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByUnit(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByGroup(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByCommunity(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isUsedByPresentmentPreference(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact to checkjava.lang.Exception
public java.lang.Boolean isRelatedContact(com.crm.dataobject.contactinfo.CRMDOContactInformation contact, com.crm.dataobject.contactinfo.CRMDOContactInformation relatedContact) throws java.lang.Exception
contact
- - the contact to checkrelatedContact
- - the related contact to checkjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(java.lang.String orderBy, java.lang.Integer numberOfResults, java.lang.Integer offset, java.lang.String idNumber, java.lang.String passportNumber, java.lang.String socialSecurityNumber, java.lang.String vatRegistrationNumber, java.lang.String emailAddress, java.lang.String phoneNumber, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
idNumber
- - an id numberpassportNumber
- - a passport numbersocialSecurityNumber
- - a social security numbervatRegistrationNumber
- - a vat registration numberemailAddress
- - a email addressphoneNumber
- - a phone numbernumberOfResults
- - the number of charges to loadoffset
- - how many results to skip (pagination)associations
- - a list of associated data objectsjava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation loadDemographics(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws java.lang.Exception
contactInformation
- - the contact information to load the demographicsjava.lang.Exception
public java.lang.String getName(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws java.lang.Exception
java.lang.Exception
public java.util.ArrayList<java.lang.Object> getContactInfoAddresses(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation, java.lang.String excludeAddress) throws java.lang.Exception
contactInformation
- - the contactInformation to load the addresses fromexcludeAddress
- - the current address to excludejava.lang.Exception
public java.util.ArrayList<java.lang.Object> getContactInfoEmails(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation, java.lang.String excludeEmail, java.lang.String currentEmail) throws java.lang.Exception
contactInformation
- - the contactInformation to load the emails fromexcludeEmail
- - the current email to excludejava.lang.Exception
public java.util.ArrayList<java.lang.Object> getContactInfoPhones(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation, java.lang.String excludePhone, java.lang.String currentPhone) throws java.lang.Exception
contactInformation
- - the contactInformation to load the phones fromexcludePhone
- - the current phone to excludejava.lang.Exception
public java.lang.Boolean contactInfoPhoneExirgsgssts(java.lang.String phoneNumber) throws java.lang.Exception
phoneNumber
- The contact's phone number.java.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation loadExistingContact(java.lang.String id, java.lang.String idNumber, java.lang.String passportNumber, java.lang.String socialSecurityNumber, java.lang.String vatRegistrationNumber, com.crm.dataobject.contactinfo.ContactInformationType type, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
idNumber
- - an id numberassociations
- - a list of associated data objectsjava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation expireKYCProfile(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws java.lang.Exception
contactInformation
- - the contact information to set its KYC profile state to
Expiredjava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation getAdditionalInformationForContactAnonymization(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws com.crm.exception.CannotExecuteActionException, java.lang.Exception
contact
- - the contact information to anonymizejava.lang.Exception
com.crm.exception.CannotExecuteActionException
public com.crm.dataobject.contactinfo.CRMDOContactInformation anonymizeContact(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws com.crm.exception.CannotExecuteActionException, java.lang.Exception
contact
- - the contact information to anonymizejava.lang.Exception
com.crm.exception.CannotExecuteActionException
public void validateAnonymization(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws com.crm.exception.CannotExecuteActionException, java.lang.Exception
contactInformation
- - the contact information to validate the anonymization forjava.lang.Exception
com.crm.exception.CannotExecuteActionException
public void markAsAnonymized(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact information to mark as anonymizedjava.lang.Exception
public com.crm.dataobject.contactinfo.AnonymizationProcessRunDefinition getAnonymizationProcessRunDefinition() throws com.crm.exception.businessnetwork.CannotViewRecordException, java.lang.Exception
com.crm.exception.businessnetwork.CannotViewRecordException
java.lang.Exception
public void use(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the Contact to validatejava.lang.Exception
public void use(com.crm.dataobject.contactinfo.CRMDOContactInformation contact, com.crm.dataobject.CRMDO entityDTO) throws java.lang.Exception
contact
- - the contact to useentityDTO
- - the entity that will use the contactjava.lang.Exception
public com.crm.dataobject.contactinfo.ContactConsentFunctionality getContactConsentFunctionality(com.crm.dataobject.contactinfo.ConsentState consentState) throws com.crm.exception.MandatoryFieldException, java.lang.Exception
consentState
- - the consent state to return the consent functionality forjava.lang.Exception
com.crm.exception.MandatoryFieldException
public com.crm.dataobject.contactinfo.ContactConsentFunctionality getContactConsentFunctionality(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws com.crm.exception.MandatoryFieldException, java.lang.Exception
contactInformation
- - the contact information to return the consent functionality forjava.lang.Exception
com.crm.exception.MandatoryFieldException
public com.crm.dataobject.contactinfo.ContactConsentFunctionality getContactConsentFunctionality(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation, com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition definition)
contactInformation
- - the contact information to return the consent functionality fordefinition
- - the contact information definitionpublic com.crm.dataobject.contactinfo.ContactConsentFunctionality getContactConsentFunctionality(com.crm.dataobject.contactinfo.ConsentState consentState, com.crm.dataobject.contactinfo.CRMDOContactInfoDefinition definition)
consentState
- - the consent state to return the consent functionality fordefinition
- - the contact information definitionpublic java.lang.String getCanUseContactSQL() throws com.crm.exception.MandatoryFieldException, java.lang.Exception
com.crm.exception.MandatoryFieldException
java.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation setDefaultOwnerGroupValues(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws java.lang.Exception
contactInformation
- - the contact to set the default values tojava.lang.Exception