public class ContractDataBean extends java.lang.Object implements SmartDataBean, Protectable, Delegator
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | storeId |
Constructor and Description |
---|
ContractDataBean()
Creates a ContractDataBean
|
ContractDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
Constructs a ContractDataBean from an existing Contract identifier
|
Modifier and Type | Method and Description |
---|---|
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()
Gets the account identifier of the account this contract belongs to If can't get the id, it will return null.
|
java.util.Vector | getBaseContractIds()
Gets the base contract IDs of this contract
|
java.util.Vector | getBuyerName()
Gets the customer names assigned to the contract
|
java.lang.String | getBuyerName(int index)
Gets a customer name assigned to the contract
|
java.lang.String | getBuyerNumber(int index)
Gets a customer identifier assigned to the contract
|
CommandContext | getCommandContext()
Returns the current command's context
|
java.lang.String | getContractAccount()
Gets the name of the account of the contract that this contract refers to
|
java.util.Vector | getContractAttachments()
Gets the list of attachments on the contract
|
java.lang.String | getContractComment()
Gets the comments in the contract
|
java.lang.String | getContractDescription()
Gets the description of the contract
|
java.lang.String | getContractId()
Gets the identifier of the contract
|
java.lang.String | getContractName()
Gets the name of the contract
|
java.lang.String | getContractOrigin()
Gets the origin of the contract
|
java.lang.String | getContractOriginValue()
Gets the origin of the contract as the numeric value.
|
java.lang.String | getContractState()
Gets the state of the contract
|
java.lang.String | getContractStore()
Gets the name of the store of the contract that this contract refers to
|
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()
Gets the title of the contract
|
java.lang.String | getContractUsage()
Gets the usage type of the contract
|
java.sql.Timestamp | getCreateDate()
Gets the creation date of the contract
|
boolean | getCreditLineAllowed()
Gets where the contract can use the credit line defined in the account
|
java.lang.String | getCustomerName()
Gets the customer name, used when account is also listed
|
Protectable | getDelegate()
Returns the access control delegate of this data bean
|
java.sql.Timestamp | getEndDate()
Gets the end date of the contract
|
java.lang.Long | getEntityId()
Gets the entity identifier for UBF
|
java.lang.String | getFamilyId()
Gets the family identifier of the contract
|
java.lang.String | getMajorVersionNumber()
Gets the major version number of the contract
|
java.lang.String | getMemberGroupId(int index)
Gets the owner of a member group assigned to the contract.
|
java.util.Vector | getMemberGroupName()
Gets the member groups assigned to the contract.
|
java.lang.String | getMemberGroupName(int index)
Gets a member group assigned to the contract.
|
java.util.Vector | getMemberGroupName(java.lang.String role)
Gets the member groups assigned to the contract with the assigned role.
|
java.lang.Long | getMemberId()
Gets the member identifier of the owner of the contract
|
java.lang.String | getMinorVersionNumber()
Gets the minor version number of the contract
|
java.lang.Long | getOwner()
Gets the owner of the contract
|
java.lang.String | getPriceListType()
Gets the price list type associated with this contract, or any base contract, catalog filter term and condition
|
java.lang.String | getPriceListType(boolean thisContractOnly)
Gets the price list type associated with this contract, or any base contract, catalog filter term and condition
|
java.lang.String | getReferenceContractAccount()
Gets the name of the account of the contract that this contract refers to
|
java.lang.String | getReferenceContractId()
Gets the id of the contract this contract refers to
|
java.lang.String | getReferenceContractName()
Gets the name of the contract this contract refers to
|
java.lang.String | getReferenceContractStore()
Gets the name of the store of the contract that this contract refers to
|
java.lang.String | getReferenceFamilyId()
Gets the referred contract family id that this contract refers to.
|
TypedProperty | getRequestProperties()
Gets the request properties
|
java.sql.Timestamp | getStartDate()
Gets the start date of the contract
|
java.lang.Integer | getStateIdentifier()
Gets 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()
Gets the update date of the contract
|
boolean | isDeployedToStore(java.lang.Integer storeId)
Checks if a Contract is deployed to a store
|
void | populate()
This method is used to retrieve the data for the contract.
|
void | save()
Method for UBF
|
void | setBuyerName(java.lang.String newBuyerName, int index)
Sets a customer name assigned to the contract
|
void | setCommandContext(CommandContext newICommandContext)
Sets 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)
Sets the entity identifier for UBF
|
void | setFamilyId(java.lang.String familyId)
Sets the family id
|
void | setMajorVersionNumber(java.lang.String number)
Sets the major version number
|
void | setMinorVersionNumber(java.lang.String number)
Sets the minor version number
|
void | setRequestProperties(TypedProperty param)
Sets the request properties.
|
void | setStartDate(java.sql.Timestamp startDate)
Sets the start date
|
void | setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier for UBF
|
public ContractDataBean()
public ContractDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
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 java.util.Vector getMemberGroupName()
public java.util.Vector getMemberGroupName(java.lang.String role)
public java.lang.String getMemberGroupName(int index)
public java.lang.String getMemberGroupId(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 getContractOriginValue()
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 getReferenceContractAccount()
public java.lang.String getReferenceContractStore()
public java.lang.String getReferenceFamilyId()
public java.lang.String getContractAccount()
public java.lang.String getContractStore()
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 setMajorVersionNumber(java.lang.String number)
public void setMinorVersionNumber(java.lang.String number)
public void setContractName(java.lang.String newContractName)
public void setFamilyId(java.lang.String familyId)
public java.lang.String getFamilyId()
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()
public java.lang.String getPriceListType(boolean thisContractOnly)
public java.lang.String getPriceListType()
public java.util.Vector getBaseContractIds()
public boolean isDeployedToStore(java.lang.Integer storeId)