java.lang.Objectcom.ibm.commerce.tools.contract.beans.AccountDataBean
Retrieve all the data associated with an account. Set the account 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 | |
AccountDataBean() Construct an AccountDataBean |
|
AccountDataBean(AccountAccessBean newAccountAccessBean, java.lang.Integer newLangId) Construct an AccountDataBean by retrieving the account identifier from an existing AccountAccessBean |
|
AccountDataBean(java.lang.Long newAccountId, java.lang.Integer newLangId) Construct an AccountDataBean from an existing account 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.String | getAccountId() Get the account identifier |
java.lang.String | getAccountName() Get the name of the account |
java.lang.String | getAccountRemarks() Get the remarks in the account |
boolean | getAllowCatalogPurchases() Return if the user can purchase under the default contract |
CommandContext | getCommandContext() Returns the current command's context |
java.lang.String | getCustomerContactId() Get the member id of the customer contact person |
java.lang.String | getCustomerContactInformation() Get the customer contact information |
java.lang.String | getCustomerContactName() Get the name of the customer contact person |
java.lang.String | getCustomerId() Get the customer organization identifier |
java.lang.String | getCustomerName() Get the name of the customer organization |
Protectable | getDelegate() Return the access control delegate of this databean |
java.lang.String | getNumberOfContracts() Return the number of contracts in this account |
java.lang.Long | getOwner() Return the member reference number of the owner of this account |
java.lang.String | getOwnerReferenceNumber() Get the member reference number of the owner of the account |
java.lang.String | getRepresentativeContactId() Get the member reference number of the representative contact person |
java.lang.String | getRepresentativeContactName() Get the name of the representative contact person |
java.lang.String | getRepresentativeId() Get the member reference number of the account representative organization |
java.lang.String | getRepresentativeName() Get the name of the account representative organization |
TypedProperty | getRequestProperties() Get the request properties |
java.lang.String | getSellingOrgId() Get the member reference number of the selling organization |
java.lang.String | getSellingOrgName() Get the name of the selling organization |
java.lang.String | getStoreId() Get the store identifier in which to find the account |
java.lang.String | getUpdateDate() Get the update date of the contract |
void | populate() Populates the databean with data elements. |
void | setAccountId(java.lang.String newAccountId) Set the ID of the account |
void | setAccountName(java.lang.String newAccountName) Set the name of the account |
void | setCommandContext(CommandContext newICommandContext) Set the command context |
void | setContractId(java.lang.String param) Sets the contract identifier for access control purposes |
void | setCustomerContactName(java.lang.String newCustomerContactName) Set the name of the customer contact person |
void | setCustomerName(java.lang.String newCustomerName) Set the name of the customer organization |
void | setNumberOfContracts(java.lang.String newNumberOfContracts) Return the number of contracts in this account |
void | setRepresentativeName(java.lang.String newRepresentativeName) Set the name of the representative contact person |
void | setRequestProperties(TypedProperty param) Set the request properties. |
void | setStoreId(java.lang.String newStoreId) Set the store identifier in which to find the account |
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 AccountDataBean()
public AccountDataBean(AccountAccessBean newAccountAccessBean, java.lang.Integer newLangId)
public AccountDataBean(java.lang.Long newAccountId, java.lang.Integer newLangId)
Method Detail |
public java.lang.String getAccountId()
public java.lang.String getAccountName()
public java.lang.String getAccountRemarks()
public boolean getAllowCatalogPurchases()
public CommandContext getCommandContext()
public java.lang.String getCustomerContactId()
public java.lang.String getCustomerContactInformation()
public java.lang.String getCustomerContactName()
public java.lang.String getCustomerId()
public java.lang.String getCustomerName()
public Protectable getDelegate() throws java.lang.Exception
public java.lang.String getNumberOfContracts()
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
public java.lang.String getOwnerReferenceNumber()
public java.lang.String getRepresentativeContactId()
public java.lang.String getRepresentativeContactName()
public java.lang.String getRepresentativeId()
public java.lang.String getRepresentativeName()
public TypedProperty getRequestProperties()
public java.lang.String getSellingOrgId()
public java.lang.String getSellingOrgName()
public java.lang.String getStoreId()
public java.lang.String getUpdateDate()
public void populate() throws java.lang.Exception
public void setAccountId(java.lang.String newAccountId)
public void setAccountName(java.lang.String newAccountName)
public void setCustomerContactName(java.lang.String newCustomerContactName)
public void setCustomerName(java.lang.String newCustomerName)
public void setNumberOfContracts(java.lang.String newNumberOfContracts)
public void setRepresentativeName(java.lang.String newRepresentativeName)
public void setStoreId(java.lang.String newStoreId)
public void setCommandContext(CommandContext newICommandContext)
public void setContractId(java.lang.String param)
public void setRequestProperties(TypedProperty param)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.