public class CRMBOCountryBean extends CRMBO
| Constructor and Description |
|---|
CRMBOCountryBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a country.
|
java.lang.Boolean |
isNotificationSettingsValid(com.crm.dataobject.platform.CRMDOCountry country,
java.util.Date notificationDate)
Checks if notification settings are valid
|
java.lang.Boolean |
isRelatedWithCommunity(com.crm.dataobject.platform.CRMDOCountry country)
Checks if a country is related with a community.
|
java.lang.Boolean |
isRelatedWithCommunity(com.crm.dataobject.platform.CRMDOCountry country,
com.crm.dataobject.networkmanagement.CRMDOCommunity excludeCommunity)
Checks if a country is related with a community.
|
java.lang.Boolean |
isUsedByTaxRate(com.crm.dataobject.platform.CRMDOCountry country)
Checks if a country is used by a tax rate.
|
java.lang.Boolean |
isUsedByVatRate(com.crm.dataobject.platform.CRMDOCountry country)
Checks if a country is used by a VAT rate.
|
com.crm.dataobject.platform.CRMDOCountry |
loadByAltCode(java.lang.String altCode) |
com.crm.dataobject.platform.CRMDOCountry |
loadByName(java.lang.String name)
Loads a country by a name.
|
com.crm.dataobject.platform.CRMDOCountry |
loadByName(java.lang.String name,
java.util.ArrayList<java.lang.String> associations)
Loads a country by a name.
|
com.crm.dataobject.platform.CRMDOCountry |
loadByThreeCharacterCode(java.lang.String threeCharacterCode) |
com.crm.dataobject.platform.CRMDOCountry |
loadByTwoCharacterCode(java.lang.String twoCharacterCode) |
com.crm.dataobject.platform.CRMDOCountry |
loadByTwoCharacterCode(java.lang.String twoCharacterCode,
java.util.ArrayList<java.lang.String> associations) |
com.crm.dataobject.platform.CRMDOCountry |
setObjectsFromXML(com.crm.dataobject.platform.CRMDOCountry country)
Sets the objects of a country from an xml file.
|
com.crm.dataobject.platform.CRMDOCountry |
setXMLFromObjects(com.crm.dataobject.platform.CRMDOCountry country)
Creates xml file from the objects of a country.
|
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 java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOpublic com.crm.dataobject.platform.CRMDOCountry loadByName(java.lang.String name)
throws java.lang.Exception
name - - the country namejava.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry loadByName(java.lang.String name,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
name - - the country nameassociations - - the associated objectsjava.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry loadByAltCode(java.lang.String altCode)
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry loadByTwoCharacterCode(java.lang.String twoCharacterCode)
throws com.crm.exception.businessnetwork.CannotViewRecordException,
java.lang.Exception
com.crm.exception.businessnetwork.CannotViewRecordExceptionjava.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry loadByTwoCharacterCode(java.lang.String twoCharacterCode,
java.util.ArrayList<java.lang.String> associations)
throws com.crm.exception.businessnetwork.CannotViewRecordException,
java.lang.Exception
com.crm.exception.businessnetwork.CannotViewRecordExceptionjava.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry loadByThreeCharacterCode(java.lang.String threeCharacterCode)
throws com.crm.exception.businessnetwork.CannotViewRecordException,
java.lang.Exception
com.crm.exception.businessnetwork.CannotViewRecordExceptionjava.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry setObjectsFromXML(com.crm.dataobject.platform.CRMDOCountry country)
throws java.lang.Exception
country - - the country to set the objects forjava.lang.Exceptionpublic com.crm.dataobject.platform.CRMDOCountry setXMLFromObjects(com.crm.dataobject.platform.CRMDOCountry country)
throws java.lang.Exception
country - - the country to get the objects to create the xml filejava.lang.Exceptionpublic java.lang.Boolean isNotificationSettingsValid(com.crm.dataobject.platform.CRMDOCountry country,
java.util.Date notificationDate)
throws java.lang.Exception
country - - the country to validatenotificationDate - - the date to validatejava.lang.Exceptionpublic java.lang.Boolean isRelatedWithCommunity(com.crm.dataobject.platform.CRMDOCountry country)
throws java.lang.Exception
country - - the country to check whether it is related with a communityjava.lang.Exceptionpublic java.lang.Boolean isRelatedWithCommunity(com.crm.dataobject.platform.CRMDOCountry country,
com.crm.dataobject.networkmanagement.CRMDOCommunity excludeCommunity)
throws java.lang.Exception
country - - the country to check whether it is related with a communityexcludeCommunity - - the community to be excludedjava.lang.Exceptionpublic java.lang.Boolean isUsedByVatRate(com.crm.dataobject.platform.CRMDOCountry country)
throws java.lang.Exception
country - - the country to check whether it is used by a VAT ratejava.lang.Exceptionpublic java.lang.Boolean isUsedByTaxRate(com.crm.dataobject.platform.CRMDOCountry country)
throws java.lang.Exception
country - - the country to check whether it is used by a tax ratejava.lang.Exception