@AccessLevel(value=EXTERNAL)
public interface Placement
extends curam.place.impl.PlacementAccessor, curam.util.persistence.Insertable, curam.util.persistence.helper.Commented, curam.util.type.DateTimeRanged, curam.util.persistence.OptimisticLockModifiable
Modifier and Type | Interface and Description |
---|---|
static interface |
Placement.PlacementCancelEvents
Interface to the placement events functionality surrounding the cancel
method.
|
static interface |
Placement.PlacementGetOverlappingPlacementForClientEvents
Interface to the placement events functionality surrounding the get
overlapping placement for client method.
|
static interface |
Placement.PlacementInsertEvents
Interface to the placement events functionality surrounding the insert
method.
|
static interface |
Placement.PlacementModifyEvents
Interface to the placement events functionality surrounding the modify
method.
|
static interface |
Placement.PlacementTransferClientEvents
Interface to the placement events functionality surrounding the
transferClient method.
|
static interface |
Placement.PlacementTransferClientToReservationEvents
Interface to the placement events functionality surrounding the
transferClientToReservation method.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel(int versionNo,
boolean reAssessPayment)
Cancels an existing placement.
|
curam.participant.person.impl.Person |
getClient() |
curam.financial.impl.ProviderPlacementEvidence |
getLatestEvidence()
Gets the latest evidence for the placement.
|
Placement |
getOverlappingPlacementForClient(long caseParticipantRoleID,
curam.util.type.DateTimeRange dateRange)
Get Placement details for a given client in the specified date range.
|
Place |
getPlace() |
ProviderOffering |
getProviderOffering() |
java.util.Set<curam.financial.impl.ProviderPlacementEvidence> |
getProviderPlacementEvidences() |
void |
setCaseID(long caseID)
Sets the Case ID the Placement is associated with.
|
void |
setCaseParticipantRoleID(long value)
Sets the Case Participant of the Placement.
|
void |
setDateTimeRange(curam.util.type.DateTimeRange value)
Sets the date and time range for the Placement.
|
void |
setPlace(Place value)
Sets the Place where the Placement is to be made.
|
void |
setProviderOffering(ProviderOffering value)
Sets the Provider Offering of the Placement.
|
void |
setTotalCost(curam.util.type.Money totalCost)
Sets the total cost for the Placement.
|
void |
setUnitAmount(curam.util.type.Money unitAmount)
Sets the unit amount for the Placement.
|
void |
setUnitAmountFixedIndicator(boolean unitAmountFixedIndicator)
Sets the unit amount fixed indicator for the Placement.
|
long |
transferClient(curam.util.type.DateTime transferFromDate,
Place place,
int placementVersionNo)
Transfers the client from existing place to the place specified.
|
long |
transferClientToReservation(curam.util.type.DateTime transferFromDate,
Place place,
int placementVersionNo)
Transfers the client from existing place and creates reservation for the
new place specified.
|
getCaseID, getCaseParticipantRoleID, getLifecycleState, getTotalCost, getUnitAmount, getUnitAmountFixedIndicator
ProviderOffering getProviderOffering()
getProviderOffering
in interface curam.place.impl.PlacementAccessor
void setProviderOffering(ProviderOffering value)
value
- Contains providerOfferingID.Place getPlace()
getPlace
in interface curam.place.impl.PlacementAccessor
void setPlace(Place value)
value
- The Place details.void setCaseParticipantRoleID(long value)
value
- The case Participant details.curam.participant.person.impl.Person getClient()
getClient
in interface curam.place.impl.PlacementAccessor
void setDateTimeRange(curam.util.type.DateTimeRange value)
value
- The date range for which the placement is to be done.The default
implementation.
curam.place.impl.Placement#setDateTimeRange(DateTimeRange).
java.util.Set<curam.financial.impl.ProviderPlacementEvidence> getProviderPlacementEvidences()
getProviderPlacementEvidences
in interface curam.place.impl.PlacementAccessor
void setUnitAmount(curam.util.type.Money unitAmount)
unitAmount
- The unit amount.void setUnitAmountFixedIndicator(boolean unitAmountFixedIndicator)
unitAmountFixedIndicator
- The unit amount fixed indicator.void setTotalCost(curam.util.type.Money totalCost)
totalCost
- The total cost of Placement.void setCaseID(long caseID)
caseID
- The system identifier for the case.curam.financial.impl.ProviderPlacementEvidence getLatestEvidence() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) void cancel(int versionNo, boolean reAssessPayment) throws curam.util.exception.AppException, curam.util.exception.InformationalException
versionNo
- The version Number of the placement.reAssessPayment
- The indicator for the re-assessment of placement
payment.curam.util.exception.AppException
curam.util.exception.InformationalException
Placement, FinancialComponent, ServiceAuthorizationLineItem |
Placement getOverlappingPlacementForClient(long caseParticipantRoleID, curam.util.type.DateTimeRange dateRange) throws curam.util.exception.AppException, curam.util.exception.InformationalException
getOverlappingPlacementForClient
in interface curam.place.impl.PlacementAccessor
caseParticipantRoleID
- The Case Participant details.dateRange
- The dateRange details.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.The default implementation -
curam.place.impl.PlacementImpl#getOverlappingPlacementForClient( long,
DateTimeRange).
long transferClient(curam.util.type.DateTime transferFromDate, Place place, int placementVersionNo) throws curam.util.exception.AppException, curam.util.exception.InformationalException
transferFromDate
- The date time from which client needs to be transfered.place
- The place details where client is been transfered.placementVersionNo
- The version number for placement.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.The default implementation -
curam.place.impl.PlacementImpl#transferClient(DateTime, Place, int)
long transferClientToReservation(curam.util.type.DateTime transferFromDate, Place place, int placementVersionNo) throws curam.util.exception.AppException, curam.util.exception.InformationalException
transferFromDate
- The date time from which client needs to be transferredplace
- The place details where client is been transferedplacementVersionNo
- The version no for existing placement datacuram.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.The default implementation -
curam.place.impl.PlacementImpl#transferClientToReservation(DateTime,
Place, int)