@AccessLevel(value=EXTERNAL) public interface ContractVersionProviderOffering extends ContractVersionProviderOfferingAccessor, curam.util.persistence.helper.LinkTable<ContractVersion,ProviderOffering>
Modifier and Type | Interface and Description |
---|---|
static interface |
ContractVersionProviderOffering.ContractVerPOCheckForDuplicatePOOnLiveContractEvents
Interface to the Contract Version Provider Offering events functionality
surrounding the checkForDuplicateProviderOfferingOnLiveContract method.
|
static interface |
ContractVersionProviderOffering.ContractVerPOCreateContractedPORForPeriodEvents
Interface to the Contract Version Provider Offering events functionality
surrounding the createContractedPORForPeriod method.
|
static interface |
ContractVersionProviderOffering.ContractVerProvOfferCopyNonContractPORToContractEvents
Interface to the Contract Version Provider Offering events functionality
surrounding the copyNonContractedPORToContract method.
|
static interface |
ContractVersionProviderOffering.ContractVerProvOfferCreateDefaultRateEvents
Interface to the Contract Version Provider Offering events functionality
surrounding the createDefaultRate method.
|
Modifier and Type | Method and Description |
---|---|
ContractVersionProviderOffering |
checkForDuplicateProviderOfferingOnLiveContract(curam.util.type.DateRange dateRange)
Checks if the
provider
offering / provider pairs for the
contract
version provider offering already exists on another live contract for a
specified period of time. |
java.util.Set<curam.providerservice.impl.ProviderOfferingRate> |
copyNonContractedPORToContract(curam.providerservice.impl.ProviderOfferingRate[] providerOfferingRateArray,
curam.util.type.DateRange contractPeriod)
Copies the non contracted provider offering rates to contract.
|
void |
createContractedPORForPeriod(curam.providerservice.impl.ProviderOfferingRate[] providerOfferingRateArray,
curam.util.type.DateRange contractVersionPeriod)
Creates contracted provider offering rate when non contracted provider
offering rate does not exist.
|
void |
createDefaultRate()
|
ContractVersion |
getContractVersion()
Gets the contract version.
|
ProviderOffering |
getProviderOffering()
Gets the provider offering.
|
void |
setContractVersion(ContractVersion value)
Sets the contract version.
|
void |
setProviderOffering(ProviderOffering value)
Sets the provider offering.
|
@AccessLevel(value=EXTERNAL) ContractVersion getContractVersion()
getContractVersion
in interface ContractVersionProviderOfferingAccessor
FlatRateContract, UtilizationContract |
@AccessLevel(value=EXTERNAL) ProviderOffering getProviderOffering()
getProviderOffering
in interface ContractVersionProviderOfferingAccessor
ProviderService |
void setContractVersion(ContractVersion value)
value
- the contract version.The default implementation -
curam.contracts.impl.ContractVersionProviderOfferingImpl#setContractVersion
(ContractVersion)
void setProviderOffering(ProviderOffering value)
value
- the provider offering.The default implementation -
curam.contracts.impl.ContractVersionProviderOfferingImpl#
setProviderOffering(ProviderOffering)
void createDefaultRate() throws curam.util.exception.InformationalException
provider offering rate
for this provider
based on the service rate
.
The provider offering rate's date range will be the same as the contract.
The rate value(s) will be based on the non-contracted provider offering
rate for the provider
offering
which applies on the contract's start date.
If no applicable provider offering rate exists, the service rate for the provider offering's service, applicable on the contract's start date, will be used to get value(s) for the ProviderOfferingRate.
curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.contracts.impl.ContractVersionProviderOfferingImpl#createDefaultRate(
)
ContractVersionProviderOffering checkForDuplicateProviderOfferingOnLiveContract(curam.util.type.DateRange dateRange)
provider
offering
/ provider
pairs for the
contract
version provider offering already exists on another live contract for a
specified period of time.
If a duplicate exists it is returned, otherwise a null value is returned.
dateRange
- the date range.The default implementation -
curam.contracts.impl.ContractVersionProviderOfferingImpl#
checkForDuplicateProviderOfferingOnLiveContract(DateRange)
java.util.Set<curam.providerservice.impl.ProviderOfferingRate> copyNonContractedPORToContract(curam.providerservice.impl.ProviderOfferingRate[] providerOfferingRateArray, curam.util.type.DateRange contractPeriod) throws curam.util.exception.InformationalException
providerOfferingRateArray
- Provider offering rate array needs to be copied to contractcontractPeriod
- Contract periodcuram.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.contracts.impl.ContractVersionProviderOfferingImpl#
copyNonContractedPORToContract(ProviderOfferingRate[],DateRange)
void createContractedPORForPeriod(curam.providerservice.impl.ProviderOfferingRate[] providerOfferingRateArray, curam.util.type.DateRange contractVersionPeriod) throws curam.util.exception.InformationalException
providerOfferingRateArray
- contains non contracted provider offering rate list.contractVersionPeriod
- contract periodcuram.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.contracts.impl.ContractVersionProviderOfferingImpl#
createContractedPORForPeriod(ProviderOfferingRate[],DateRange)