com.ibm.commerce.negotiation.beans
Class MemberAuctionRelationListBean
java.lang.Object
|
+--com.ibm.commerce.beans.InputDataBeanImpl
|
+--com.ibm.commerce.beans.SmartDataBeanImpl
|
+--com.ibm.commerce.negotiation.beans.NegotiationListBean
|
+--com.ibm.commerce.negotiation.beans.MemberAuctionRelationListBean
- All Implemented Interfaces:
- DataBean, InputDataBean, MemberAuctionRelationListInputDataBean, NegotiationListInputDataBean, NegotiationListSmartDataBean, java.io.Serializable, SmartDataBean
- public class MemberAuctionRelationListBean
- extends NegotiationListBean
- implements MemberAuctionRelationListInputDataBean
Provides sorted lists of MemberAuctionRelationDataBean objects.
- See Also:
NegotiationListBean
,
CommandDataBean
, Serialized Form
Constructor Summary |
MemberAuctionRelationListBean()
MemberAuctionRelationListBean()
Constructs MemberAuctionRelationListBean, initializes fields to emptyString. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aString
protected java.lang.String aString
auctionId
protected java.lang.String auctionId
COPYRIGHT
public static final java.lang.String COPYRIGHT
fMemberAuctionRelations
protected MemberAuctionRelationDataBean[] fMemberAuctionRelations
memberId
protected java.lang.String memberId
relationType
protected java.lang.String relationType
MemberAuctionRelationListBean
public MemberAuctionRelationListBean()
- MemberAuctionRelationListBean()
Constructs MemberAuctionRelationListBean, initializes fields to emptyString.
getAuctionId
public java.lang.String getAuctionId()
- Gets the auctionId.
- Specified by:
getAuctionId
in interface MemberAuctionRelationListInputDataBean
- Returns:
- the auction id.
getMemberAuctionRelations
public MemberAuctionRelationDataBean[] getMemberAuctionRelations()
- Gets a sorted list of MemberAuctionRelationDataBean objects.
- Specified by:
getMemberAuctionRelations
in interface MemberAuctionRelationListInputDataBean
- Returns:
- sorted array of MemberAuctionRelationDataBean.
getMemberId
public java.lang.String getMemberId()
- Gets the memberId.
- Specified by:
getMemberId
in interface MemberAuctionRelationListInputDataBean
- Returns:
- the member Id
getOwnerId
public java.lang.String getOwnerId()
- Gets the value of the ownerId field; currently implemented
to return null.
- Specified by:
getOwnerId
in interface MemberAuctionRelationListInputDataBean
- Returns:
- always null
getRelationType
public java.lang.String getRelationType()
- Gets the relationType.
- Specified by:
getRelationType
in interface MemberAuctionRelationListInputDataBean
- Returns:
- the relation type; null, Viewed rules, in Gallery, or VG
populate
public void populate()
throws java.lang.Exception
- Looks up a sorted list of MemberAuctionRelationAccessBean, then populates an array of
MemberAuctionRelationDataBean objects from the list entries.
- Overrides:
populate
in class SmartDataBeanImpl
- Throws:
java.lang.Exception
- if an MemberAuctionRelationAccessBean could not be created.
setAuctionId
public void setAuctionId(java.lang.String newAuctionId)
- Sets the auctionId.
- Specified by:
setAuctionId
in interface MemberAuctionRelationListInputDataBean
- Parameters:
newAuctionId
- the relevant auctionId.
setMemberAuctionRelations
public void setMemberAuctionRelations(MemberAuctionRelationDataBean[] newMemberAuctionRelations)
- Loads the array of MemberAuctionRelationDataBean.
- Specified by:
setMemberAuctionRelations
in interface MemberAuctionRelationListInputDataBean
- Parameters:
newMemberAuctionRelations
- new array of MemberAuctionRelationDataBean objects.
setMemberId
public void setMemberId(java.lang.String newMemberId)
- Sets the memberId.
- Specified by:
setMemberId
in interface MemberAuctionRelationListInputDataBean
- Parameters:
newMemberId
- the member id.
setRelationType
public void setRelationType(java.lang.String newRelationType)
- Sets the relationType.
- Specified by:
setRelationType
in interface MemberAuctionRelationListInputDataBean
- Parameters:
newRelationType
- the relation type; null, Viewed rules, in Gallery, or VG