@AccessLevel(value=EXTERNAL) public interface ServiceDeliveryDAO extends curam.piwrapper.outcomeplan.impl.OutcomePlanActivityBaseDAO<ServiceDelivery>
Modifier and Type | Method and Description |
---|---|
ServiceDelivery |
newInstance(curam.serviceoffering.impl.SODELIVERYTYPEEntry deliveryTypeEntry)
Creates a new instance of a logical entity which does not yet exist on the
physical database.
|
ServiceDelivery |
readByServiceAuthorization(ServiceAuthorization serviceAuthorization)
Returns details of a
ServiceDelivery , if an active one exists for
the specified ServiceAuthorization ,
otherwise a null object reference is returned. |
java.util.List<ServiceDelivery> |
searchByCase(curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
Returns a list of all
ServiceDelivery records for the specified
case. |
java.util.List<ServiceDelivery> |
searchByCaseAndCoverPeriod(long caseID,
curam.util.type.Date coverPeriodStartDate,
curam.util.type.Date coverPeriodEndDate)
To retrieve a list of
ServiceDelivery based on case id and cover
period dates. |
java.util.List<ServiceDelivery> |
searchByOwnerAndCase(curam.piwrapper.user.impl.User owner,
curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
Returns a list of
ServiceDelivery records for the specified owner
and case. |
java.util.List<ServiceDelivery> |
searchByProvider(Provider provider)
Returns a list of all service delivery records for a specified provider.
|
java.util.List<ServiceDelivery> |
searchByProviderAndServiceoffering(ProviderOffering providerOffering)
Returns a list of all service delivery records for a specified provider and
service
offering.
|
java.util.List<ServiceDelivery> |
searchByServiceDeliveryStateAndCase(curam.codetable.impl.SERVICEDELIVERYSTATUSEntry status,
long caseID)
Returns a list of all
ServiceDelivery records, with the specified
status and case. |
java.util.List<ServiceDelivery> |
searchByServiceOfferingAndCase(ServiceOffering serviceOffering,
long caseID)
Returns a list of all
ServiceDelivery records for the
ServiceOffering and case specified. |
java.util.List<ServiceDelivery> |
searchByStatus(curam.codetable.impl.SERVICEDELIVERYSTATUSEntry status)
Returns a list of
ServiceDelivery records for the specified status. |
ServiceDelivery newInstance(curam.serviceoffering.impl.SODELIVERYTYPEEntry deliveryTypeEntry)
deliveryTypeEntry
- The type of service delivery to create.ServiceDelivery readByServiceAuthorization(ServiceAuthorization serviceAuthorization)
ServiceDelivery
, if an active one exists for
the specified ServiceAuthorization
,
otherwise a null object reference is returned.serviceAuthorization
- The service authorization to search for a service delivery on.java.util.List<ServiceDelivery> searchByServiceOfferingAndCase(ServiceOffering serviceOffering, long caseID)
ServiceDelivery
records for the
ServiceOffering
and case specified.serviceOffering
- The service offering to search by.caseID
- The caseID of the case we are searching on.ServiceDelivery
records related to the service
offeringjava.util.List<ServiceDelivery> searchByCase(curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
ServiceDelivery
records for the specified
case.caseHeader
- The case instance to search byjava.util.List<ServiceDelivery> searchByServiceDeliveryStateAndCase(curam.codetable.impl.SERVICEDELIVERYSTATUSEntry status, long caseID)
ServiceDelivery
records, with the specified
status and case.status
- Service Delivery status to search by.caseID
- unique identifier of the case to search by.java.util.List<ServiceDelivery> searchByOwnerAndCase(curam.piwrapper.user.impl.User owner, curam.piwrapper.caseheader.impl.CaseHeader caseHeader)
ServiceDelivery
records for the specified owner
and case.owner
- user instance of the user to search for service deliveries for.caseHeader
- case object instance to search for ServiceDelivery
records
on.java.util.List<ServiceDelivery> searchByStatus(curam.codetable.impl.SERVICEDELIVERYSTATUSEntry status)
ServiceDelivery
records for the specified status.status
- Code representing the desired status.java.util.List<ServiceDelivery> searchByProvider(Provider provider) throws curam.util.exception.AppException, curam.util.exception.InformationalException
provider
- The provider for which service delivery records need to be
retrieved.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.List<ServiceDelivery> searchByProviderAndServiceoffering(ProviderOffering providerOffering) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerOffering
- The provider offering for which service delivery records need to be
retrieved.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.List<ServiceDelivery> searchByCaseAndCoverPeriod(long caseID, curam.util.type.Date coverPeriodStartDate, curam.util.type.Date coverPeriodEndDate) throws curam.util.exception.AppException, curam.util.exception.InformationalException
ServiceDelivery
based on case id and cover
period dates.
Records are fetched based on case id and where:caseID
- case id.coverPeriodStartDate
- cover period start date.coverPeriodEndDate
- cover period end date.ServiceDelivery
.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.