public class AddressBookTCDataBean extends java.lang.Object implements SmartDataBean, Delegator
Constructor and Description |
---|
AddressBookTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId, java.lang.String type)
Constructs an AddressBookTCDataBean from an existing contract identifier Find the Address Book terms and conditions in the contract
|
Modifier and Type | Method and Description |
---|---|
CommandContext | getCommandContext()
Returns the current command's context
|
java.lang.Long | getContractId()
Gets the contract identifier for the contract this term and condition are in
|
Protectable | getDelegate()
Returns the access control delegate of this data bean
|
boolean | getHasTC()
Determines whether the contract has an address book term and condition.
|
java.lang.String | getReferenceNumber()
Gets the reference number of the order approval term and condition in the contract
|
TypedProperty | getRequestProperties()
Gets the request properties
|
boolean | getUseAccountAddressBook()
Returns if the customer can use addresses from their account's organization's address book.
|
boolean | getUseParentOrgAddressBook()
Returns if the customer can use addresses from their parent organization's address book.
|
boolean | getUsePersonalAddressBook()
Returns whether the customer can use addresses from their personal address book.
|
void | populate()
This method is used to retrieve the Address Book data in the contract.
|
void | setCommandContext(CommandContext newICommandContext)
Sets the command context
|
void | setRequestProperties(TypedProperty param)
Sets the request properties.
|
public AddressBookTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId, java.lang.String type)
public CommandContext getCommandContext()
public java.lang.Long getContractId()
public boolean getUsePersonalAddressBook()
public boolean getUseParentOrgAddressBook()
public boolean getUseAccountAddressBook()
public Protectable getDelegate() throws java.lang.Exception
public java.lang.String getReferenceNumber()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext newICommandContext)
public void setRequestProperties(TypedProperty param)
public boolean getHasTC()