com.ibm.commerce.contract.beans
Class ReferralDataBean

java.lang.Object
  |
  +--com.ibm.commerce.contract.beansrc.ReferralDataBeanBase
        |
        +--com.ibm.commerce.contract.beans.ReferralDataBean

public class ReferralDataBean
extends com.ibm.commerce.contract.beansrc.ReferralDataBeanBase

Retrieve the ReferralInterfaceTC information for a store

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          copyright statement
static java.lang.String POLICY_COMMAND_BATCH_AVAILABILITY
          batch availability request policy command
static java.lang.String POLICY_COMMAND_ORDER_TRANSFER
          order transfer request policy command
static java.lang.String POLICY_COMMAND_QUOTATION
          quotation request policy command
static java.lang.String POLICY_COMMAND_SHOPCART_TRANSFER
          shopcart transfer request policy command
static java.lang.String POLICY_PARAMETER_AUTHENTICATION
          is userid and password required
static java.lang.String POLICY_PARAMETER_BACKORDERS
          are orders with items not in inventory allowed
static java.lang.String POLICY_PARAMETER_ENABLED
          is this request supported
static java.lang.String POLICY_PARAMETER_IDENTITY
          the unique identifier
static java.lang.String POLICY_PARAMETER_TIMEOUT
          the maximum time to wait for the request to return
static java.lang.String POLICY_PARAMETER_UOMSTANDARD
          the UOM standard supported
 
Constructor Summary
ReferralDataBean()
           
 
Method Summary
 boolean getBackOrders()
          Returns whether orders with items which are not in inventory are allowed.
 boolean getBatchAvailabilityRequestAuthenticationRequired()
          Returns whether userid and password are required for batch availability requests.
 boolean getBatchAvailabilityRequestEnabled()
          Returns whether the batch availability request is available in this store.
 int getBatchAvailabilityRequestTimeout()
          Returns the maximum amount of time to wait for a response to a batch availability request.
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyContractId()
          Gets the contract ID.
 java.lang.String getDataBeanKeyStoreId()
          Gets the store ID.
 java.lang.String getIdentifier()
          Gets the store interface ID.
 boolean getOrderRequestAuthenticationRequired()
          Returns whether userid and password are required for order transfer requests.
 boolean getOrderRequestEnabled()
          Returns whether the order transfer request is available in this store.
 int getOrderRequestTimeout()
          Returns the maximum amount of time to wait for a response to a order transfer request.
 boolean getQuoteRequestAuthenticationRequired()
          Returns whether userid and password are required for quotation requests.
 boolean getQuoteRequestEnabled()
          Returns whether the quotation request is available in this store.
 int getQuoteRequestTimeout()
          Returns the maximum amount of time to wait for a response to a quotation request.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 int getRequestTimeout()
          Returns the maximum amount of time to wait for a response to a request.
 boolean getShopcartRequestAuthenticationRequired()
          Returns whether userid and password are required for shopcart transfer requests.
 boolean getShopcartRequestEnabled()
          Returns whether the shopcart transfer request is available in this store.
 int getShopcartRequestTimeout()
          Returns the maximum amount of time to wait for a response to a shopcart transfer request.
 java.lang.String getUomStandard()
          Returns the UOM standard.
 void populate()
          Retrieves data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyContractId(java.lang.Long aContractId)
          Sets the contract in which to find the ReferralInterfaceTC information.
 void setDataBeanKeyStoreId(java.lang.Integer aStoreId)
          Set the store in which to find the ReferralInterfaceTC information.
 void setDataBeanKeyStoreId(java.lang.String aStoreId)
          Set the store in which to find the ReferralInterfaceTC information.
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request property within this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
copyright statement
See Also:
Constant Field Values

POLICY_COMMAND_QUOTATION

public static final java.lang.String POLICY_COMMAND_QUOTATION
quotation request policy command
See Also:
Constant Field Values

POLICY_COMMAND_SHOPCART_TRANSFER

public static final java.lang.String POLICY_COMMAND_SHOPCART_TRANSFER
shopcart transfer request policy command
See Also:
Constant Field Values

POLICY_COMMAND_ORDER_TRANSFER

public static final java.lang.String POLICY_COMMAND_ORDER_TRANSFER
order transfer request policy command
See Also:
Constant Field Values

POLICY_COMMAND_BATCH_AVAILABILITY

public static final java.lang.String POLICY_COMMAND_BATCH_AVAILABILITY
batch availability request policy command
See Also:
Constant Field Values

POLICY_PARAMETER_AUTHENTICATION

public static final java.lang.String POLICY_PARAMETER_AUTHENTICATION
is userid and password required
See Also:
Constant Field Values

POLICY_PARAMETER_ENABLED

public static final java.lang.String POLICY_PARAMETER_ENABLED
is this request supported
See Also:
Constant Field Values

POLICY_PARAMETER_TIMEOUT

public static final java.lang.String POLICY_PARAMETER_TIMEOUT
the maximum time to wait for the request to return
See Also:
Constant Field Values

POLICY_PARAMETER_UOMSTANDARD

public static final java.lang.String POLICY_PARAMETER_UOMSTANDARD
the UOM standard supported
See Also:
Constant Field Values

POLICY_PARAMETER_IDENTITY

public static final java.lang.String POLICY_PARAMETER_IDENTITY
the unique identifier
See Also:
Constant Field Values

POLICY_PARAMETER_BACKORDERS

public static final java.lang.String POLICY_PARAMETER_BACKORDERS
are orders with items not in inventory allowed
See Also:
Constant Field Values
Constructor Detail

ReferralDataBean

public ReferralDataBean()
Method Detail

getBatchAvailabilityRequestAuthenticationRequired

public boolean getBatchAvailabilityRequestAuthenticationRequired()
Returns whether userid and password are required for batch availability requests.
Returns:
boolean true if userid and password are required for batch availability requests; false otherwise.

getBatchAvailabilityRequestEnabled

public boolean getBatchAvailabilityRequestEnabled()
Returns whether the batch availability request is available in this store.
Returns:
boolean true if the batch availability request is available in this store; false otherwise.

getBatchAvailabilityRequestTimeout

public int getBatchAvailabilityRequestTimeout()
Returns the maximum amount of time to wait for a response to a batch availability request.
Returns:
int Time value in seconds

getBackOrders

public boolean getBackOrders()
Returns whether orders with items which are not in inventory are allowed.
Returns:
boolean true if orders with items not in inventory are allowed; false otherwise.

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
The command context set within this bean.

getDataBeanKeyContractId

public java.lang.String getDataBeanKeyContractId()
Gets the contract ID.
Returns:
The contract ID.

getDataBeanKeyStoreId

public java.lang.String getDataBeanKeyStoreId()
Gets the store ID.
Returns:
The store ID.

getIdentifier

public java.lang.String getIdentifier()
Gets the store interface ID.
Returns:
The store interface ID.

getOrderRequestAuthenticationRequired

public boolean getOrderRequestAuthenticationRequired()
Returns whether userid and password are required for order transfer requests.
Returns:
boolean true if userid and password are required for order transfer requests; false otherwise.

getOrderRequestEnabled

public boolean getOrderRequestEnabled()
Returns whether the order transfer request is available in this store.
Returns:
boolean true if the order transfer request is available in this store; false otherwise.

getOrderRequestTimeout

public int getOrderRequestTimeout()
Returns the maximum amount of time to wait for a response to a order transfer request.
Returns:
int Time value in seconds

getQuoteRequestAuthenticationRequired

public boolean getQuoteRequestAuthenticationRequired()
Returns whether userid and password are required for quotation requests.
Returns:
boolean true if userid and password are required for quotation requests; false otherwise.

getQuoteRequestEnabled

public boolean getQuoteRequestEnabled()
Returns whether the quotation request is available in this store.
Returns:
boolean true if the quotation request is available in this store; false otherwise.

getQuoteRequestTimeout

public int getQuoteRequestTimeout()
Returns the maximum amount of time to wait for a response to a quotation request.
Returns:
int Time value in seconds.

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
The request property set within this bean.

getRequestTimeout

public int getRequestTimeout()
Returns the maximum amount of time to wait for a response to a request.
Returns:
int Time value in seconds.

getShopcartRequestAuthenticationRequired

public boolean getShopcartRequestAuthenticationRequired()
Returns whether userid and password are required for shopcart transfer requests.
Returns:
boolean true if userid and password are required for shopcart transfer requests; false otherwise.

getShopcartRequestEnabled

public boolean getShopcartRequestEnabled()
Returns whether the shopcart transfer request is available in this store.
Returns:
boolean true if the shopcart transfer request is available in this store; false otherwise.

getShopcartRequestTimeout

public int getShopcartRequestTimeout()
Returns the maximum amount of time to wait for a response to a shopcart transfer request.
Returns:
int Time value in seconds

getUomStandard

public java.lang.String getUomStandard()
Returns the UOM standard.
Returns:
The UOM standard.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception - The java.lang.Exception exception.

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - The command context set within this bean.

setDataBeanKeyContractId

public void setDataBeanKeyContractId(java.lang.Long aContractId)
Sets the contract in which to find the ReferralInterfaceTC information.
Parameters:
aContractId - The contract ID.

setDataBeanKeyStoreId

public void setDataBeanKeyStoreId(java.lang.Integer aStoreId)
Set the store in which to find the ReferralInterfaceTC information.
Parameters:
aStoreId - The store ID.

setDataBeanKeyStoreId

public void setDataBeanKeyStoreId(java.lang.String aStoreId)
Set the store in which to find the ReferralInterfaceTC information.
Parameters:
aStoreId - The store ID.

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.