@AccessLevel(value=EXTERNAL) public interface ContractVersion extends ContractVersionAccessor, curam.util.persistence.Insertable, curam.util.persistence.helper.Named, curam.util.persistence.helper.Commented, curam.util.type.DateRanged, curam.util.persistence.OptimisticLockModifiable, curam.util.persistence.helper.Lifecycle<curam.codetable.impl.CONTRACTSTATUSEntry>
Modifier and Type | Interface and Description |
---|---|
static interface |
ContractVersion.ContractVersionInsertEvents
Interface to the contract version events functionality surrounding the
insert method.
|
static interface |
ContractVersion.ContractVersionModifyEvents
Interface to the contract version events functionality surrounding the
modify method.
|
static interface |
ContractVersion.ContractVersionPreviewContractEvents
Interface to the contract version events functionality surrounding the
previewContract method.
|
static interface |
ContractVersion.ContractVersionPrintContractEvents
Interface to the contract version events functionality surrounding the
printContract method.
|
static interface |
ContractVersion.ContractVersionValidateContractedProviderOfferingPlaceLimitsEvents
Interface to the contract version events functionality surrounding the
validateContractedProviderOfferingPlaceLimits method.
|
static interface |
ContractVersion.ContractVersionValidateContractedProviderOfferingRatesEvents
Interface to the contract version events functionality surrounding the
validateContractedProviderOfferingRates method.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ServiceOffering> |
getCommonApprovedProviderServiceOfferings()
Gets the service offerings which are approved to be provided by all
the providers on this contract version.
|
java.util.Set<curam.contracts.impl.ContractContact> |
getContacts()
Gets the set of contacts for contract version.
|
CPMContract |
getCPMContract()
Gets the related CPMContract.
|
java.util.Set<ProviderOffering> |
getProviderOfferings()
Gets the set of provider offerings specified on this contract version.
|
ProviderOrganization |
getProviderOrganization()
Gets the provider organization to which this contract version belongs.
|
java.util.Set<Provider> |
getProviders()
Gets the set of providers to which this contract version belongs.
|
java.util.List<curam.contracts.impl.ContractStatusHistory> |
getStatusHistory()
Gets the history of changes to the state of this contract version.
|
curam.cpm.facade.struct.ContractReturnDocDetails |
previewContract(curam.cpm.facade.struct.ContractNotificationKey key)
Previews the contract that matches the key.
|
void |
printContract(curam.cpm.facade.struct.ContractNotificationKey key)
Prints the contract.
|
void |
setContractServicesType(curam.contracts.impl.ContractServicesTypeEntry value)
Sets the contract services type of the contract.
|
void |
setCPMContract(CPMContract value)
Sets the CPMContract instance.
|
void |
setDateRange(curam.util.type.DateRange value)
Sets the lifetime of the contract version.
|
void |
setDateSigned(curam.util.type.Date value)
Sets the date the contract was signed.
|
void |
setGenerationDate(curam.util.type.Date value)
Sets the date the contract was generated.
|
void |
setGenerationReason(curam.contracts.impl.ContractGenerationReasonEntry value)
Sets the contract generation reason.
|
void |
setProviderOrganization(ProviderOrganization value)
Sets the provider organization to which this contract version belongs.
|
void |
setRenewedFromContractVersion(boolean value)
Sets the contract renewed indicator of the contract version.
|
void |
setRequiredLicenseType(curam.provider.impl.LicenseTypeEntry value)
Sets the required license type of the contract.
|
void |
setTerminationReason(curam.contracts.impl.ContractTerminationReasonEntry value)
Sets the contract termination reason.
|
void |
validateContractedProviderOfferingPlaceLimits()
Checks for overlapping Place Limits and gaps in coverage.
|
void |
validateContractedProviderOfferingRates()
Checks for overlapping Provider Offering Rates and gaps in coverage.
|
getAmendmentVersionNumber, getContractServicesType, getContractType, getCreatedBy, getDateSigned, getGenerationDate, getGenerationReason, getLastTransitionedBy, getRenewedContractInd, getRequiredLicenseType, getTerminationDateTime, getTerminationReason
java.util.Set<curam.contracts.impl.ContractContact> getContacts()
getContacts
in interface ContractVersionAccessor
ProviderOrganization getProviderOrganization()
getProviderOrganization
in interface ContractVersionAccessor
java.util.Set<Provider> getProviders()
getProviders
in interface ContractVersionAccessor
@AccessLevel(value=EXTERNAL) java.util.Set<ProviderOffering> getProviderOfferings()
getProviderOfferings
in interface ContractVersionAccessor
FlatRateContract, UtilizationContract, ProviderService |
java.util.List<curam.contracts.impl.ContractStatusHistory> getStatusHistory()
getStatusHistory
in interface ContractVersionAccessor
CPMContract getCPMContract()
getCPMContract
in interface ContractVersionAccessor
void setDateSigned(curam.util.type.Date value)
value
- the date the contract was signedvoid setRequiredLicenseType(curam.provider.impl.LicenseTypeEntry value)
value
- the required license type of the contractvoid setContractServicesType(curam.contracts.impl.ContractServicesTypeEntry value)
value
- the contract services type of the contractvoid setGenerationReason(curam.contracts.impl.ContractGenerationReasonEntry value)
value
- the contract generation reasonvoid setTerminationReason(curam.contracts.impl.ContractTerminationReasonEntry value)
value
- the contract termination reasonvoid setGenerationDate(curam.util.type.Date value)
value
- the date the contract was generatedvoid setProviderOrganization(ProviderOrganization value)
value
- the provider organization to which this contract version belongsvoid setDateRange(curam.util.type.DateRange value)
value
- the lifetime of the contract versionThe
default implementation -
curam.contracts.impl.ContractVersionImpl#setDateRange(DateRange).
void setCPMContract(CPMContract value)
value
- CPMContract instancevoid setRenewedFromContractVersion(boolean value)
value
- boolean value to say if contract version is renewedvoid printContract(curam.cpm.facade.struct.ContractNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- the key that specifies the contract notification details.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.curam.cpm.facade.struct.ContractReturnDocDetails previewContract(curam.cpm.facade.struct.ContractNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- contractVersionID and event of the contractcuram.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<ServiceOffering> getCommonApprovedProviderServiceOfferings()
getCommonApprovedProviderServiceOfferings
in interface ContractVersionAccessor
void validateContractedProviderOfferingRates() throws curam.util.exception.InformationalException
If the contract is IN EDIT, informational messages are raised. If the contract is in any other state, the messages are treated as errors.
curam.util.exception.InformationalException
- Generic Exception Signature.void validateContractedProviderOfferingPlaceLimits() throws curam.util.exception.InformationalException
If the contract is IN EDIT, informational messages are raised. If the contract is in any other state, the messages are treated as errors.
curam.util.exception.InformationalException
- Generic Exception Signature.