com.ibm.commerce.utf.beans
Class RFQDataBean

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

public class RFQDataBean
extends RFQDataBeanBase
implements Groupable, RFQInputDataBean, RFQSmartDataBean, SmartDataBean

Interfaces to the data members of the RFQAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
The IBM Copyright
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)
Sets the name value.
void setRfqNameAndVersion(java.lang.String newName, java.lang.Integer newMajorVersion, java.lang.Integer newMinorVersion)
Sets the name, majorVersion, and minorVersion value.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.commerce.grouping.Groupable
getGroupingAttributeValue
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The IBM Copyright
See Also:
Constant Field Values
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
java.lang.Exception
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
Returns:
java.lang.String

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
Sets the name value. This method will find active RFQ by name.
Specified by:
setRfqName in interface RFQInputDataBean
Parameters:
newName - relevant name.
Throws:
java.lang.Exception

setRfqNameAndVersion

public void setRfqNameAndVersion(java.lang.String newName,
                                 java.lang.Integer newMajorVersion,
                                 java.lang.Integer newMinorVersion)
                          throws java.lang.Exception
Sets the name, majorVersion, and minorVersion value. This method will find RFQ by name and versions.
Specified by:
setRfqNameAndVersion in interface RFQInputDataBean
Parameters:
newName - relevant name.
newMajorVersion - relevant majorVersion.
newMinorVersion - relevant minorVersion.
Throws:
java.lang.Exception

Feedback