Modifier and Type | Field and Description |
---|---|
static java.lang.String | CONTEXT_NAME
The name that will identify this context in the CTXDATA table.
|
static java.lang.String | CONTRACT_SEP
The delimiter used in lists of contract IDs.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | KEY_CONTRACT_ID
The name of the contractId URL parameter in ActivityData objects.
|
Modifier and Type | Method and Description |
---|---|
void | clearTradingAgreements()
Clears the trading agreements from the entitlement context.
|
java.lang.Long | getActiveOrganizationId()
Gets the active organization for the current store.
|
java.lang.String | getCurrentTradingAgreementIds()
Gets the contracts that are currently in use in this context.
|
java.lang.String | getEligibleTradingAgreementIds()
Gets the contracts that can be used in this context.
|
java.lang.String | getSessionTradingAgreementIds()
Gets the contracts in this context that are associated with the current session.
|
void | invalidateTradingAgreement(java.lang.String id)
Removes a contract from this context.
|
java.lang.String | reloadEligibleTradingAgreementIds()
Reload from the database the contracts that can be used in this context.
|
void | setActiveOrganizationId(java.lang.Long nOrganizationId)
Sets the active organization for the current store.
|
void | setCurrentTradingAgreementIds(java.lang.String strIds)
Sets the contract IDs that are currently in use.
|
void | setSessionTradingAgreementIds(java.lang.String strIds)
Sets the contracts in this context that are associated with the current session.
|
static final java.lang.String COPYRIGHT
static final java.lang.String CONTEXT_NAME
static final java.lang.String CONTRACT_SEP
static final java.lang.String KEY_CONTRACT_ID
java.lang.String getCurrentTradingAgreementIds()
java.lang.String getEligibleTradingAgreementIds()
java.lang.String reloadEligibleTradingAgreementIds()
java.lang.String getSessionTradingAgreementIds()
void setCurrentTradingAgreementIds(java.lang.String strIds)
void setSessionTradingAgreementIds(java.lang.String strIds)
void invalidateTradingAgreement(java.lang.String id) throws BusinessContextException
void clearTradingAgreements()
java.lang.Long getActiveOrganizationId()
void setActiveOrganizationId(java.lang.Long nOrganizationId)