org.opencrx.kernel.backend
Class Addresses
java.lang.Object
org.opencrx.kernel.backend.AbstractImpl
org.opencrx.kernel.backend.Addresses
public class Addresses
- extends AbstractImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADDRESS_TYPES
public static final String[] ADDRESS_TYPES
postalCountries
public static final Map<Short,String> postalCountries
phoneCountries
public static final Map<Short,Integer> phoneCountries
USAGE_BUSINESS_MOBILE
public static final Short USAGE_BUSINESS_MOBILE
- Deprecated.
USAGE_HOME_MOBILE
public static final Short USAGE_HOME_MOBILE
- Deprecated.
USAGE_MOBILE
public static final Short USAGE_MOBILE
USAGE_BUSINESS_FAX
public static final Short USAGE_BUSINESS_FAX
USAGE_HOME_FAX
public static final Short USAGE_HOME_FAX
USAGE_BUSINESS_MAIN_PHONE
public static final Short USAGE_BUSINESS_MAIN_PHONE
- Deprecated.
USAGE_HOME_MAIN_PHONE
public static final Short USAGE_HOME_MAIN_PHONE
- Deprecated.
USAGE_OTHER
public static final Short USAGE_OTHER
USAGE_BUSINESS
public static final Short USAGE_BUSINESS
USAGE_HOME
public static final Short USAGE_HOME
USAGE_CONTRACT_INVOICE
public static final Short USAGE_CONTRACT_INVOICE
USAGE_CONTRACT_DELIVERY
public static final Short USAGE_CONTRACT_DELIVERY
UNASSIGNED_ADDRESS
public static final String UNASSIGNED_ADDRESS
- See Also:
- Constant Field Values
Addresses
protected Addresses()
register
public static void register()
getInstance
public static Addresses getInstance()
throws ServiceException
- Throws:
ServiceException
mapToPostalCountryText
public String mapToPostalCountryText(short countryCode,
Segment codeSegment)
throws ServiceException
- Throws:
ServiceException
mapToPostalCountryCode
public short mapToPostalCountryCode(String country,
Segment codeSegment)
throws ServiceException
- Throws:
ServiceException
mapToPhoneCountryPrefix
public Integer mapToPhoneCountryPrefix(int countryCode)
throws ServiceException
- Throws:
ServiceException
mapToPhoneCountryCode
public int mapToPhoneCountryCode(int prefix)
throws ServiceException
- Throws:
ServiceException
updatePhoneNumber
public void updatePhoneNumber(PhoneNumberAddressable phoneNumber)
throws ServiceException
- Throws:
ServiceException
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.