com.beasys.commerce.ebusiness.customer
Interface CustomerDelegate

All Superinterfaces
com.beasys.commerce.axiom.contact.Contact, RemoteRelationalReference
All Known Subinterfaces:
Customer

public interface CustomerDelegate
extends com.beasys.commerce.axiom.contact.Contact, RemoteRelationalReference

Stores the information required to do business with a customer. It inherits most attributes from the Person object and adds the ability to authenticate and to bill for product via a credit card.


Method Summary
 void clearCreditCardsMap()
          Removes all mappings from this map (optional operation).
 void clearShippingAddressMap()
          Removes all mappings from this map (optional operation).
 boolean creditCardsMapContainsKey(Object key)
          Returns true if this map contains a mapping for the specified key.
 boolean creditCardsMapContainsValue(com.beasys.commerce.axiom.contact.CreditCard element)
          Returns true if this map maps one or more keys to the specified value.
 Set creditCardsMapEntrySet()
          Returns a set view of the mappings contained in this map.
 int creditCardsMapHashCode()
          Returns the hash code value for this map.
 Set creditCardsMapKeySet()
          Returns a set view of the keys contained in this map.
 int creditCardsMapSize()
          Returns the number of key-value mappings in this map.
 Collection creditCardsMapValues()
          Returns a collection view of the values contained in this map.
 boolean equalsCreditCardsMap(Object object)
          Compares the specified object with this map for equality.
 boolean equalsShippingAddressMap(Object object)
          Compares the specified object with this map for equality.
 com.beasys.commerce.axiom.contact.CreditCard getCreditCards(Object key)
          Returns the value to which this map maps the specified key.
 Map getCreditCardsMap()
          Returns the entire map
 CustomerValue getCustomerByValue()
          Get all of Customer's attributes.
 String getCustomerType()
          Get the value of customerType
 String getDefaultShippingAddressCity()
           
 String getDefaultShippingAddressCountry()
           
 String getDefaultShippingAddressCounty()
           
 String getDefaultShippingAddressDescription()
           
 String getDefaultShippingAddressGeoCode()
           
 String getDefaultShippingAddressPoBox()
           
 String getDefaultShippingAddressPostalCode()
           
 String getDefaultShippingAddressPostalCodeType()
           
 String getDefaultShippingAddressState()
           
 String getDefaultShippingAddressStreet1()
           
 String getDefaultShippingAddressStreet2()
           
 String getIdentifier()
          Returns the identifier (primary key field) for this user.
 com.beasys.commerce.axiom.contact.Address getShippingAddress(Object key)
          Returns the value to which this map maps the specified key.
 Map getShippingAddressMap()
          Returns the entire map
 boolean isCreditCardsMapEmpty()
          Returns true if this map contains no key-value mappings.
 boolean isShippingAddressMapEmpty()
          Returns true if this map contains no key-value mappings.
 com.beasys.commerce.axiom.contact.CreditCard putCreditCards(Object key, com.beasys.commerce.axiom.contact.CreditCard element)
          Associates the specified value with the specified key in this map (optional operation).
 void putCreditCardsMap(Map map)
          Copies all of the mappings from the specified map to this map (optional operation).
 com.beasys.commerce.axiom.contact.Address putShippingAddress(Object key, com.beasys.commerce.axiom.contact.Address element)
          Associates the specified value with the specified key in this map (optional operation).
 void putShippingAddressMap(Map map)
          Copies all of the mappings from the specified map to this map (optional operation).
 com.beasys.commerce.axiom.contact.CreditCard removeCreditCards(Object key)
          Removes the mapping for this key from this map if present (optional operation).
 com.beasys.commerce.axiom.contact.Address removeShippingAddress(Object key)
          Removes the mapping for this key from this map if present (optional operation).
 void setCreditCardsMap(Map map)
          Sets the entire map
 void setCustomerByValue(CustomerValue value)
          Set all of Customer's attributes to the passed in value.
 void setCustomerType(String customerType)
          Set the value of customerType
 void setDefaultShippingAddressCity(String city)
           
 void setDefaultShippingAddressCountry(String country)
           
 void setDefaultShippingAddressCounty(String county)
           
 void setDefaultShippingAddressGeoCode(String geoCode)
           
 void setDefaultShippingAddressPoBox(String poBox)
           
 void setDefaultShippingAddressPostalCode(String postalCode)
           
 void setDefaultShippingAddressPostalCodeType(String postalCodeType)
           
 void setDefaultShippingAddressState(String state)
           
 void setDefaultShippingAddressStreet1(String street1)
           
 void setDefaultShippingAddressStreet2(String street2)
           
 void setDefaultShippingDescription(String description)
           
 void setShippingAddressMap(Map map)
          Sets the entire map
 boolean shippingAddressMapContainsKey(Object key)
          Returns true if this map contains a mapping for the specified key.
 boolean shippingAddressMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
          Returns true if this map maps one or more keys to the specified value.
 Set shippingAddressMapEntrySet()
          Returns a set view of the mappings contained in this map.
 int shippingAddressMapHashCode()
          Returns the hash code value for this map.
 Set shippingAddressMapKeySet()
          Returns a set view of the keys contained in this map.
 int shippingAddressMapSize()
          Returns the number of key-value mappings in this map.
 Collection shippingAddressMapValues()
          Returns a collection view of the values contained in this map.
 
Methods inherited from interface com.beasys.commerce.axiom.contact.Contact
getBusinessPhone, getContactAddress, getContactAddressCity, getContactAddressCountry, getContactAddressCounty, getContactAddressGeoCode, getContactAddressPoBox, getContactAddressPostalCode, getContactAddressPostalCodeType, getContactAddressState, getContactAddressStreet1, getContactAddressStreet2, getContactByValue, getEmail, getFax, getFirstName, getHomePhone, getLastName, getMiddleName, getSuffix, getTitle, setBusinessPhone, setContactAddress, setContactAddressCity, setContactAddressCountry, setContactAddressCounty, setContactAddressGeoCode, setContactAddressPoBox, setContactAddressPostalCode, setContactAddressPostalCodeType, setContactAddressState, setContactAddressStreet1, setContactAddressStreet2, setContactByValue, setEmail, setFax, setFirstName, setHomePhone, setLastName, setMiddleName, setSuffix, setTitle
 
Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey
 

Method Detail

getIdentifier

String getIdentifier()
                     throws RemoteException
Returns the identifier (primary key field) for this user.

Returns
the identifier (primary key field) for this user
Throws
RemoteException

getCustomerByValue

CustomerValue getCustomerByValue()
                                 throws RemoteException
Get all of Customer's attributes.

Returns
CustomerValue the Customer value object
Throws
RemoteException

setCustomerByValue

void setCustomerByValue(CustomerValue value)
                        throws RemoteException
Set all of Customer's attributes to the passed in value. Note: Primary key attributes are not set.

Parameters
CustomerValue - the Customer value object
Throws
RemoteException

getCreditCardsMap

Map getCreditCardsMap()
                      throws RemoteException
Returns the entire map

Throws
RemoteException

setCreditCardsMap

void setCreditCardsMap(Map map)
                       throws RemoteException
Sets the entire map

Throws
RemoteException

clearCreditCardsMap

void clearCreditCardsMap()
                         throws RemoteException
Removes all mappings from this map (optional operation).

Throws
RemoteException

creditCardsMapContainsKey

boolean creditCardsMapContainsKey(Object key)
                                  throws RemoteException
Returns true if this map contains a mapping for the specified key.

Throws
RemoteException

creditCardsMapContainsValue

boolean creditCardsMapContainsValue(com.beasys.commerce.axiom.contact.CreditCard element)
                                    throws RemoteException
Returns true if this map maps one or more keys to the specified value.

Throws
RemoteException

creditCardsMapEntrySet

Set creditCardsMapEntrySet()
                           throws RemoteException
Returns a set view of the mappings contained in this map.

Throws
RemoteException

equalsCreditCardsMap

boolean equalsCreditCardsMap(Object object)
                             throws RemoteException
Compares the specified object with this map for equality.

Throws
RemoteException

getCreditCards

com.beasys.commerce.axiom.contact.CreditCard getCreditCards(Object key)
                                                            throws RemoteException
Returns the value to which this map maps the specified key.

Throws
RemoteException

creditCardsMapHashCode

int creditCardsMapHashCode()
                           throws RemoteException
Returns the hash code value for this map.

Throws
RemoteException

isCreditCardsMapEmpty

boolean isCreditCardsMapEmpty()
                              throws RemoteException
Returns true if this map contains no key-value mappings.

Throws
RemoteException

creditCardsMapKeySet

Set creditCardsMapKeySet()
                         throws RemoteException
Returns a set view of the keys contained in this map.

Throws
RemoteException

putCreditCards

com.beasys.commerce.axiom.contact.CreditCard putCreditCards(Object key,
                                                            com.beasys.commerce.axiom.contact.CreditCard element)
                                                            throws RemoteException
Associates the specified value with the specified key in this map (optional operation).

Throws
RemoteException

putCreditCardsMap

void putCreditCardsMap(Map map)
                       throws RemoteException
Copies all of the mappings from the specified map to this map (optional operation).

Throws
RemoteException

removeCreditCards

com.beasys.commerce.axiom.contact.CreditCard removeCreditCards(Object key)
                                                               throws RemoteException
Removes the mapping for this key from this map if present (optional operation).

Throws
RemoteException

creditCardsMapSize

int creditCardsMapSize()
                       throws RemoteException
Returns the number of key-value mappings in this map.

Throws
RemoteException

creditCardsMapValues

Collection creditCardsMapValues()
                                throws RemoteException
Returns a collection view of the values contained in this map.

Throws
RemoteException

getCustomerType

String getCustomerType()
                       throws RemoteException
Get the value of customerType

Returns
customerType.
Throws
RemoteException

setCustomerType

void setCustomerType(String customerType)
                     throws RemoteException
Set the value of customerType

Parameters
customerType - customerType to be added
Throws
RemoteException

getShippingAddressMap

Map getShippingAddressMap()
                          throws RemoteException
Returns the entire map

Throws
RemoteException

setShippingAddressMap

void setShippingAddressMap(Map map)
                           throws RemoteException
Sets the entire map

Throws
RemoteException

clearShippingAddressMap

void clearShippingAddressMap()
                             throws RemoteException
Removes all mappings from this map (optional operation).

Throws
RemoteException

shippingAddressMapContainsKey

boolean shippingAddressMapContainsKey(Object key)
                                      throws RemoteException
Returns true if this map contains a mapping for the specified key.

Throws
RemoteException

shippingAddressMapContainsValue

boolean shippingAddressMapContainsValue(com.beasys.commerce.axiom.contact.Address element)
                                        throws RemoteException
Returns true if this map maps one or more keys to the specified value.

Throws
RemoteException

shippingAddressMapEntrySet

Set shippingAddressMapEntrySet()
                               throws RemoteException
Returns a set view of the mappings contained in this map.

Throws
RemoteException

equalsShippingAddressMap

boolean equalsShippingAddressMap(Object object)
                                 throws RemoteException
Compares the specified object with this map for equality.

Throws
RemoteException

getShippingAddress

com.beasys.commerce.axiom.contact.Address getShippingAddress(Object key)
                                                             throws RemoteException
Returns the value to which this map maps the specified key.

Throws
RemoteException

shippingAddressMapHashCode

int shippingAddressMapHashCode()
                               throws RemoteException
Returns the hash code value for this map.

Throws
RemoteException

isShippingAddressMapEmpty

boolean isShippingAddressMapEmpty()
                                  throws RemoteException
Returns true if this map contains no key-value mappings.

Throws
RemoteException

shippingAddressMapKeySet

Set shippingAddressMapKeySet()
                             throws RemoteException
Returns a set view of the keys contained in this map.

Throws
RemoteException

putShippingAddress

com.beasys.commerce.axiom.contact.Address putShippingAddress(Object key,
                                                             com.beasys.commerce.axiom.contact.Address element)
                                                             throws RemoteException
Associates the specified value with the specified key in this map (optional operation).

Throws
RemoteException

putShippingAddressMap

void putShippingAddressMap(Map map)
                           throws RemoteException
Copies all of the mappings from the specified map to this map (optional operation).

Throws
RemoteException

removeShippingAddress

com.beasys.commerce.axiom.contact.Address removeShippingAddress(Object key)
                                                                throws RemoteException
Removes the mapping for this key from this map if present (optional operation).

Throws
RemoteException

shippingAddressMapSize

int shippingAddressMapSize()
                           throws RemoteException
Returns the number of key-value mappings in this map.

Throws
RemoteException

shippingAddressMapValues

Collection shippingAddressMapValues()
                                    throws RemoteException
Returns a collection view of the values contained in this map.

Throws
RemoteException

getDefaultShippingAddressStreet1

String getDefaultShippingAddressStreet1()
                                        throws RemoteException
Throws
RemoteException

setDefaultShippingAddressStreet1

void setDefaultShippingAddressStreet1(String street1)
                                      throws RemoteException
Throws
RemoteException

getDefaultShippingAddressStreet2

String getDefaultShippingAddressStreet2()
                                        throws RemoteException
Throws
RemoteException

setDefaultShippingAddressStreet2

void setDefaultShippingAddressStreet2(String street2)
                                      throws RemoteException
Throws
RemoteException

getDefaultShippingAddressDescription

String getDefaultShippingAddressDescription()
                                            throws RemoteException
Throws
RemoteException

setDefaultShippingDescription

void setDefaultShippingDescription(String description)
                                   throws RemoteException
Throws
RemoteException

getDefaultShippingAddressCity

String getDefaultShippingAddressCity()
                                     throws RemoteException
Throws
RemoteException

setDefaultShippingAddressCity

void setDefaultShippingAddressCity(String city)
                                   throws RemoteException
Throws
RemoteException

getDefaultShippingAddressPostalCodeType

String getDefaultShippingAddressPostalCodeType()
                                               throws RemoteException
Throws
RemoteException

setDefaultShippingAddressPostalCodeType

void setDefaultShippingAddressPostalCodeType(String postalCodeType)
                                             throws RemoteException
Throws
RemoteException

getDefaultShippingAddressCountry

String getDefaultShippingAddressCountry()
                                        throws RemoteException
Throws
RemoteException

setDefaultShippingAddressCountry

void setDefaultShippingAddressCountry(String country)
                                      throws RemoteException
Throws
RemoteException

getDefaultShippingAddressState

String getDefaultShippingAddressState()
                                      throws RemoteException
Throws
RemoteException

setDefaultShippingAddressState

void setDefaultShippingAddressState(String state)
                                    throws RemoteException
Throws
RemoteException

getDefaultShippingAddressGeoCode

String getDefaultShippingAddressGeoCode()
                                        throws RemoteException
Throws
RemoteException

setDefaultShippingAddressGeoCode

void setDefaultShippingAddressGeoCode(String geoCode)
                                      throws RemoteException
Throws
RemoteException

getDefaultShippingAddressPoBox

String getDefaultShippingAddressPoBox()
                                      throws RemoteException
Throws
RemoteException

setDefaultShippingAddressPoBox

void setDefaultShippingAddressPoBox(String poBox)
                                    throws RemoteException
Throws
RemoteException

getDefaultShippingAddressCounty

String getDefaultShippingAddressCounty()
                                       throws RemoteException
Throws
RemoteException

setDefaultShippingAddressCounty

void setDefaultShippingAddressCounty(String county)
                                     throws RemoteException
Throws
RemoteException

getDefaultShippingAddressPostalCode

String getDefaultShippingAddressPostalCode()
                                           throws RemoteException
Throws
RemoteException

setDefaultShippingAddressPostalCode

void setDefaultShippingAddressPostalCode(String postalCode)
                                         throws RemoteException
Throws
RemoteException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved