java.lang.Objectcom.ibm.commerce.tools.contract.beans.ContractDataBean
Retrieve all the data associated with an Contract. Set the Contract and language identifiers in order to populate the bean.
Field Summary | |
protected java.lang.String | storeId |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
ContractDataBean() Create a ContractDataBean |
|
ContractDataBean(java.lang.Long newContractId, java.lang.Integer newLangId) Construct an ContractDataBean from an existing Contract identifier |
Method Summary | |
boolean | fulfills(java.lang.Long member, java.lang.String relationship) Determines if a given member fulfills a given relationship with the resource. |
java.lang.Long | getAccountId() Get the account identifier of the account this contract belongs to |
java.util.Vector | getBuyerName() Get the customer names assigned to the contract |
java.lang.String | getBuyerName(int index) Get a customer name assigned to the contract |
java.lang.String | getBuyerNumber(int index) Get a customer identifer assigned to the contract |
CommandContext | getCommandContext() Returns the current command's context |
java.util.Vector | getContractAttachments() Get the list of attachments on the contract |
java.lang.String | getContractComment() Get the comments in the contract |
java.lang.String | getContractDescription() Get the description of the contract |
java.lang.String | getContractId() Get the identifier of the contract |
java.lang.String | getContractName() Get the name of the contract |
java.lang.String | getContractOrigin() Get the origin of the contract |
java.lang.String | getContractState() Get the state of the contract |
java.lang.String | getContractStoreId() Gets the contract store id |
java.lang.String | getContractStoreName() Gets the contractStoreName |
java.lang.String | getContractStoreStatus() Gets the contract store status |
java.lang.String | getContractStoreURL() Gets the contract store URL |
java.lang.String | getContractTitle() Get the title of the contract |
java.lang.String | getContractUsage() Get the usage type of the contract |
java.sql.Timestamp | getCreateDate() Get the creation date of the contract |
boolean | getCreditLineAllowed() Can the contract use the credit line defined in the account |
java.lang.String | getCustomerName() Gets the customer name, used when account is also listed |
Protectable | getDelegate() Return the access control delegate of this databean |
java.sql.Timestamp | getEndDate() Get the end date of the contract |
java.lang.Long | getEntityId() Get the entity identifier for UBF |
java.lang.String | getMajorVersionNumber() Get the major version number of the contract |
java.lang.Long | getMemberId() Get the member identifier of the owner of the contract |
java.lang.String | getMinorVersionNumber() Get the minor version number of the contract |
java.lang.Long | getOwner() Get the owner of the contract |
java.lang.String | getReferenceContractId() Get the id of the contract this contract refers to |
java.lang.String | getReferenceContractName() Get the name of the contract this contract refers to |
TypedProperty | getRequestProperties() Get the request properties |
java.sql.Timestamp | getStartDate() Get the start date of the contract |
java.lang.Integer | getStateIdentifier() Get the state identifier for UBF |
java.lang.String[] | getStoreentIndentifiersFromContract() Gets the storeent identifiers (Hosted Reseller Store Name) with given contract Id |
java.lang.String | getUpdateDate() Get the update date of the contract |
void | populate() Retreive the data for the contract This method does nothing because we do not want to load all of the data at one time. |
void | save() Method for UBF |
void | setBuyerName(java.lang.String newBuyerName, int index) Set a customer name assigned to the contract |
void | setCommandContext(CommandContext newICommandContext) Set the command context |
void | setContractId(java.lang.String contractId) Sets the contract id |
void | setContractName(java.lang.String newContractName) Sets the contract's name |
void | setContractState(java.lang.String state) Sets the state |
void | setContractStoreId(java.lang.String contractStoreId) Sets the contract store id |
void | setContractStoreName(java.lang.String contractStoreName) Sets the contract store name |
void | setContractStoreStatus(java.lang.String contractStoreStatus) Sets the contract store status |
void | setContractTitle(java.lang.String contractDescription) Sets the description |
void | setCreateDate(java.sql.Timestamp newCreateDate) Sets the create date |
void | setCustomerName(java.lang.String customerName) Sets the customer name, used when account is also listed |
void | setEndDate(java.sql.Timestamp newEndDate) Sets the end date |
void | setEntityId(java.lang.Long aId) Set the entity identifier for UBF |
void | setRequestProperties(TypedProperty param) Set the requestProperties associated with the data bean. |
void | setStartDate(java.sql.Timestamp startDate) Sets the start date |
void | setStateIdentifier(java.lang.Integer aStateIdentifier) Set the state identifier for UBF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String storeId
Constructor Detail |
public ContractDataBean()
public ContractDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
Method Detail |
public java.lang.Long getAccountId()
public java.util.Vector getBuyerName()
public java.lang.String getBuyerName(int index)
public java.lang.String getBuyerNumber(int index)
public CommandContext getCommandContext()
public java.util.Vector getContractAttachments()
public java.lang.String getContractComment()
public java.lang.String getContractDescription()
public java.lang.String getContractId()
public java.lang.String getContractName()
public java.lang.String getContractOrigin()
public java.lang.String getContractState()
public java.lang.String getContractTitle()
public java.lang.String getContractUsage()
public java.sql.Timestamp getCreateDate()
public java.lang.String getUpdateDate()
public boolean getCreditLineAllowed()
public java.lang.String getReferenceContractId()
public java.lang.String getReferenceContractName()
public java.lang.String getCustomerName()
public Protectable getDelegate() throws java.lang.Exception
public java.sql.Timestamp getEndDate()
public java.lang.Long getEntityId()
public java.lang.String getMajorVersionNumber()
public java.lang.Long getMemberId()
public java.lang.String getMinorVersionNumber()
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
public TypedProperty getRequestProperties()
public java.sql.Timestamp getStartDate()
public java.lang.Integer getStateIdentifier()
public void populate() throws java.lang.Exception
public void save()
public void setBuyerName(java.lang.String newBuyerName, int index)
public void setCommandContext(CommandContext newICommandContext)
public void setCustomerName(java.lang.String customerName)
public void setEntityId(java.lang.Long aId)
public void setRequestProperties(TypedProperty param)
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception, java.rmi.RemoteException
public void setContractId(java.lang.String contractId)
public void setStartDate(java.sql.Timestamp startDate)
public void setEndDate(java.sql.Timestamp newEndDate)
public void setCreateDate(java.sql.Timestamp newCreateDate)
public void setContractTitle(java.lang.String contractDescription)
public void setContractName(java.lang.String newContractName)
public void setContractState(java.lang.String state)
public java.lang.String getContractStoreName()
public void setContractStoreName(java.lang.String contractStoreName)
public java.lang.String getContractStoreStatus()
public void setContractStoreStatus(java.lang.String contractStoreStatus)
public java.lang.String getContractStoreId()
public java.lang.String getContractStoreURL()
public void setContractStoreId(java.lang.String contractStoreId)
public java.lang.String[] getStoreentIndentifiersFromContract()
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.