com.ibm.commerce.utf.beans
Class RFQDataBean

com.ibm.commerce.utf.beans.RFQDataBean
All Implemented Interfaces:
DataBean, InputDataBean, RFQInputDataBean, RFQSmartDataBean, java.io.Serializable, SmartDataBean

public class RFQDataBean
implements RFQInputDataBean, RFQSmartDataBean, SmartDataBean

Interfaces to the data members of the RFQAccessBean.

See Also:
Serialized Form

Field Summary
protected  CommandContext commandContext
           
static java.lang.String COPYRIGHT
           
protected  TypedProperty requestProperties
           
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
RFQDataBean()
          Constructs RFQDataBean, initializes fields to null.
RFQDataBean(RFQAccessBean anAccessBean)
          Constructs RFQDataBean, initializes fields to null.
 
Method Summary
 CommandContext getCommandContext()
          Gets the active commandContext.
 TypedProperty getRequestProperties()
          Returns the request parameters as a TypedProperty.
 java.lang.String getRfqId()
          Gets the rfqId.
 void populate()
          Fetches field values from the access bean.
 void setCommandContext(CommandContext newCommandContext)
          Sets the active commandContext.
 void setRequestProperties(TypedProperty newRequestProperties)
          Copies the TypedProperty input parameters.
 void setRfqId(java.lang.String newRfqId)
          Sets the rfqId field and uses it to set the referenceNumber key field of the access bean.
 void setRfqName(java.lang.String newName)
           
 void setRfqNameAndVersion(java.lang.String newName, java.lang.Integer newMajorVersion, java.lang.Integer newMinorVersion)
           
 

Field Detail

commandContext

protected CommandContext commandContext

COPYRIGHT

public static final java.lang.String COPYRIGHT

requestProperties

protected TypedProperty requestProperties
Constructor Detail

RFQDataBean

public RFQDataBean()
Constructs RFQDataBean, initializes fields to null.

RFQDataBean

public RFQDataBean(RFQAccessBean anAccessBean)
            throws java.lang.Exception
Constructs RFQDataBean, initializes fields to null.
Parameters:
anAccessBean - com.ibm.commerce.utf.objects.RFQAccessBean
Throws:
ECException -  
Method Detail

getCommandContext

public CommandContext getCommandContext()
Gets the active commandContext.
Specified by:
getCommandContext in interface SmartDataBean
Returns:
the active commandContext.

getRequestProperties

public TypedProperty getRequestProperties()
Returns the request parameters as a TypedProperty.
Specified by:
getRequestProperties in interface InputDataBean
Returns:
com.ibm.commerce.datatype.TypedProperty

getRfqId

public java.lang.String getRfqId()
Gets the rfqId.
Specified by:
getRfqId in interface RFQSmartDataBean

populate

public void populate()
              throws java.lang.Exception
Fetches field values from the access bean.
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception - On any access bean error.

setCommandContext

public void setCommandContext(CommandContext newCommandContext)
Sets the active commandContext.
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
newCommandContext - the active command context.

setRequestProperties

public void setRequestProperties(TypedProperty newRequestProperties)
Copies the TypedProperty input parameters.
Specified by:
setRequestProperties in interface InputDataBean
Parameters:
newRequestProperties - com.ibm.commerce.datatype.TypedProperty

setRfqId

public void setRfqId(java.lang.String newRfqId)
Sets the rfqId field and uses it to set the referenceNumber key field of the access bean.
Specified by:
setRfqId in interface RFQInputDataBean
Parameters:
newRfqId - the relevant referenceNumber.

setRfqName

public void setRfqName(java.lang.String newName)
                throws java.lang.Exception
Specified by:
setRfqName in interface RFQInputDataBean

setRfqNameAndVersion

public void setRfqNameAndVersion(java.lang.String newName,
                                 java.lang.Integer newMajorVersion,
                                 java.lang.Integer newMinorVersion)
                          throws java.lang.Exception
Specified by:
setRfqNameAndVersion in interface RFQInputDataBean