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

Field Summary
protected  java.lang.String aString
           
protected  java.lang.String auctionId
           
static java.lang.String COPYRIGHT
           
protected  MemberAuctionRelationDataBean[] fMemberAuctionRelations
           
protected  java.lang.String memberId
           
protected  java.lang.String relationType
           
 
Fields inherited from class com.ibm.commerce.negotiation.beans.NegotiationListBean
listSize, sortingAtt
 
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
MemberAuctionRelationListBean()
          MemberAuctionRelationListBean() Constructs MemberAuctionRelationListBean, initializes fields to emptyString.
 
Method Summary
 java.lang.String getAuctionId()
          Gets the auctionId.
 MemberAuctionRelationDataBean[] getMemberAuctionRelations()
          Gets a sorted list of MemberAuctionRelationDataBean objects.
 java.lang.String getMemberId()
          Gets the memberId.
 java.lang.String getOwnerId()
          Gets the value of the ownerId field; currently implemented to return null.
 java.lang.String getRelationType()
          Gets the relationType.
 void populate()
          Looks up a sorted list of MemberAuctionRelationAccessBean, then populates an array of MemberAuctionRelationDataBean objects from the list entries.
 void setAuctionId(java.lang.String newAuctionId)
          Sets the auctionId.
 void setMemberAuctionRelations(MemberAuctionRelationDataBean[] newMemberAuctionRelations)
          Loads the array of MemberAuctionRelationDataBean.
 void setMemberId(java.lang.String newMemberId)
          Sets the memberId.
 void setRelationType(java.lang.String newRelationType)
          Sets the relationType.
 
Methods inherited from class com.ibm.commerce.negotiation.beans.NegotiationListBean
getLength, getSortAtt, setSortAtt
 
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
 
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.beans.InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail

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
Constructor Detail

MemberAuctionRelationListBean

public MemberAuctionRelationListBean()
MemberAuctionRelationListBean() Constructs MemberAuctionRelationListBean, initializes fields to emptyString.
Method Detail

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