@AccessLevel(value=EXTERNAL) public interface ServiceOfferingDAO extends curam.piwrapper.outcomeplan.impl.OutcomePlanActivityAdminBaseDAO<ServiceOffering>
Modifier and Type | Method and Description |
---|---|
java.util.Set<ServiceOffering> |
getActiveServiceOfferings()
Finds all active service offerings by name and/or unit of measure.
|
java.util.Set<ServiceOffering> |
getActiveServiceOfferingsByEndDate(curam.util.type.Date date)
Finds all active service offerings with their end dates on or before the
given date.
|
java.util.Set<ServiceOffering> |
getActiveServiceOfferingsForCaseParticipantRole(curam.core.sl.entity.struct.CaseParticipantRoleKey caseParticipantRoleKey,
curam.util.type.Date date)
Finds all active service offerings for the given case participant role that
have not ended on or before the date specified.
|
ServiceOffering |
readActiveByReference(java.lang.String reference)
Returns an active ServiceOffering record for the given reference code if
one exists, otherwise returns null.
|
java.util.Set<ServiceOffering> |
readAll()
Returns all the service offerings on the system.
|
java.util.Set<ServiceOffering> |
searchActiveByProvisionMethod(curam.codetable.impl.PROVISIONMETHODEntry provisionMethod)
Searches for active service offerings by provision method.
|
java.util.Set<ServiceOffering> |
searchBy(java.lang.String name)
Searches the service offerings by name.
|
java.util.Set<ServiceOffering> |
searchBy(java.lang.String serviceName,
java.lang.String unitOfMeasure)
Searches the service offerings by name and/or unit of measure:
If the name is specified, only service offerings containing the
specified name (in a case-insensitive way) are returned;
If the unit of measure is specified, only service offerings with that
unit of measure are returned; or
If both criteria are specified then only service offerings which match
both criteria are returned.
|
java.util.Set<ServiceOffering> |
searchBy(java.lang.String name,
curam.serviceoffering.impl.UnitOfMeasureEntry unitOfMeasure,
java.lang.String reference)
Searches the service offerings by name and/or unit of measure and/or
reference.
|
java.util.Set<ServiceOffering> |
searchByLocale(java.lang.String nameLocalizableText,
java.lang.String localeCode)
Searches the service offerings by name and locale.
|
java.util.Set<ServiceOffering> |
searchByReference(java.lang.String reference)
Searches the service offerings by service offering reference.
|
java.util.Set<ServiceOffering> |
searchByUnitOfMeasure(curam.serviceoffering.impl.UnitOfMeasureEntry unitOfMeasure)
Searches the service offerings by given unit of measure.
|
curam.cpm.sl.entity.struct.SOAndProviderDetailsList |
searchNonReferralServices(curam.cpm.sl.entity.struct.ProvisionMethodKey provisionMethodKey)
Searches the Non-Referral Services.
|
curam.cpm.sl.entity.struct.SOAndProviderDetailsList |
searchReferralServices(curam.cpm.sl.entity.struct.ProvisionMethodKey provisionMethodKey)
Searches the Referral Services.
|
java.util.Set<ServiceOffering> getActiveServiceOfferings()
java.util.Set<ServiceOffering> readAll()
java.util.Set<ServiceOffering> searchByReference(java.lang.String reference)
reference
- The service offering reference.java.util.Set<ServiceOffering> searchBy(java.lang.String name)
name
- The name to search for (case is ignored).java.util.Set<ServiceOffering> searchBy(java.lang.String serviceName, java.lang.String unitOfMeasure)
serviceName
- The name to search for, or null/empty string if this criterion is
not required.unitOfMeasure
- The unit of measure to search for, or null/empty string if this
criterion is not required.java.util.Set<ServiceOffering> searchBy(java.lang.String name, curam.serviceoffering.impl.UnitOfMeasureEntry unitOfMeasure, java.lang.String reference) throws curam.util.exception.AppException, curam.util.exception.InformationalException
name
- The service offerings name to search for, or null/empty string if
this criterion is not required.unitOfMeasure
- The unit of measure to search for, or null/empty string if this
criterion is not required.reference
- The service offerings reference to search for, or null/empty
string if this criterion is not required.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<ServiceOffering> searchByLocale(java.lang.String nameLocalizableText, java.lang.String localeCode) throws curam.util.exception.AppException, curam.util.exception.InformationalException
nameLocalizableText
- The service offerings name to search for.localeCode
- The code to identify the locale.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.curam.cpm.sl.entity.struct.SOAndProviderDetailsList searchNonReferralServices(curam.cpm.sl.entity.struct.ProvisionMethodKey provisionMethodKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
provisionMethodKey
- Search criteria values like provider offering status, provider
status and provision method type.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.curam.cpm.sl.entity.struct.SOAndProviderDetailsList searchReferralServices(curam.cpm.sl.entity.struct.ProvisionMethodKey provisionMethodKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
provisionMethodKey
- Search criteria values like provider offering status, provider
status and provision method type.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<ServiceOffering> searchActiveByProvisionMethod(curam.codetable.impl.PROVISIONMETHODEntry provisionMethod)
provisionMethod
- code representing the provision method to filter byjava.util.Set<ServiceOffering> searchByUnitOfMeasure(curam.serviceoffering.impl.UnitOfMeasureEntry unitOfMeasure) throws curam.util.exception.AppException, curam.util.exception.InformationalException
unitOfMeasure
- Contains the unit of measure to search for.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<ServiceOffering> getActiveServiceOfferingsByEndDate(curam.util.type.Date date)
date
- -
Date before which all active service offerings are to be
considered.java.util.Set<ServiceOffering> getActiveServiceOfferingsForCaseParticipantRole(curam.core.sl.entity.struct.CaseParticipantRoleKey caseParticipantRoleKey, curam.util.type.Date date) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseParticipantRoleKey
- -
Contains case participant role to be considered.date
- -
Date before which all active service offerings are to be
considered.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.ServiceOffering readActiveByReference(java.lang.String reference)
readActiveByReference
in interface curam.piwrapper.outcomeplan.impl.OutcomePlanActivityAdminBaseDAO<ServiceOffering>
reference
- unique reference number to search byServiceOffering
object matching the
reference if one exists.