@AccessLevel(value=EXTERNAL) public interface ServiceAuthorizationDAO extends curam.util.persistence.StandardDAO<ServiceAuthorization>
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
countNoOfClientsServed(ProviderOffering providerOfferingObj,
curam.codetable.impl.RECORDSTATUSEntry recordStatus)
Retrieves the number of clients served by the provider offering.
|
java.lang.Double |
countNoOfClientsServed(Provider providerObj,
curam.codetable.impl.RECORDSTATUSEntry recordStatus)
Retrieves the number of clients served by the provider.
|
ServiceAuthorization |
createServiceAuthorization(curam.serviceauthorization.impl.CreateServiceAuthorizationRequest request)
Creates a Service Authorization and its constituent line items.
|
ServiceAuthorization |
findByReferenceNumber(java.lang.String serviceAuthorizationReferenceNo)
Find the Service Authorization by Service Authorization Reference Number.
|
java.util.Set<ServiceAuthorization> |
readAll()
Fetch all the Service Authorization records.
|
java.util.Set<ServiceAuthorization> |
searchByCaseParticipantRoleID(curam.core.sl.entity.struct.CaseParticipantRoleKey caseParticipantRoleKey)
Searches the Service Authorization by caseParticipantRoleID.
|
java.util.Set<ServiceAuthorization> |
searchByCaseParticipantRoles(java.util.Set<curam.piwrapper.casemanager.impl.CaseParticipantRole> caseParticipantRoleList)
Searches service authorization by case participant role list.
|
java.util.Set<ServiceAuthorization> |
searchByConcernRoleID(curam.cpm.sl.entity.struct.ConcernRoleKey concernRoleKey)
Searches all the Service Authorization for the given ConcernRoleID.
|
java.util.Set<ServiceAuthorization> |
searchByConcernRoleIDAndCaseID(curam.cpm.sl.entity.struct.ConcernRoleAndCaseIDKey concernRoleAndCaseIDKey)
Searches the Service Authorization by caseID and ConcernroleID.
|
java.util.Set<ServiceAuthorization> |
searchByConcernRoles(java.util.Set<curam.participant.impl.ConcernRole> concernRoles)
Searches service authorization by list of concern roles.
|
java.util.Set<ServiceAuthorization> |
searchByConcernRolesAndCase(java.util.Set<curam.participant.impl.ConcernRole> concernRoles,
long caseID)
Searches service authorization by list of concern roles.
|
curam.core.struct.BatchProcessingIDList |
searchByServiceAndDateRange(curam.cpm.sl.entity.struct.SearchByServiceStatusAndDateRangeKey searchByServiceStatusAndDateRangeKey)
Searches all the case participant role ids for a given service, status and
date range, wraps them in the batch processing id object and returns the
same.
|
java.util.Set<ServiceAuthorization> searchByConcernRoleIDAndCaseID(curam.cpm.sl.entity.struct.ConcernRoleAndCaseIDKey concernRoleAndCaseIDKey)
concernRoleAndCaseIDKey
- CaseID and ConcernroleId to search for Service Authorization.java.util.Set<ServiceAuthorization> searchByCaseParticipantRoleID(curam.core.sl.entity.struct.CaseParticipantRoleKey caseParticipantRoleKey)
caseParticipantRoleKey
- CaseParticipantRoleID to search for Service Authorization.ServiceAuthorization findByReferenceNumber(java.lang.String serviceAuthorizationReferenceNo)
serviceAuthorizationReferenceNo
- ServiceAuthorizationReferenceNo to search for Service
Authorization.java.util.Set<ServiceAuthorization> readAll()
ServiceAuthorization createServiceAuthorization(curam.serviceauthorization.impl.CreateServiceAuthorizationRequest request) throws curam.serviceauthorization.impl.DuplicateLineItemException, curam.serviceauthorization.impl.InactiveCaseParticipantException, curam.serviceauthorization.impl.InvalidServiceSpecificationException, curam.serviceauthorization.impl.InvalidProviderSpecificationException, curam.util.exception.InformationalException, curam.util.exception.AppException
request
- details of the Service Authorization and its line items.curam.util.exception.InformationalException
- Generic Exception Signature.InvalidServiceSpecificationException
- Generic Exception Signature.InactiveCaseParticipantException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.DuplicateLineItemException
- Generic Exception Signature.InvalidProviderSpecificationException
- Generic Exception Signature.java.util.Set<ServiceAuthorization> searchByConcernRoleID(curam.cpm.sl.entity.struct.ConcernRoleKey concernRoleKey)
concernRoleKey
- Concern Role ID.java.util.Set<ServiceAuthorization> searchByCaseParticipantRoles(java.util.Set<curam.piwrapper.casemanager.impl.CaseParticipantRole> caseParticipantRoleList) throws curam.util.exception.AppException, curam.util.exception.InformationalException
caseParticipantRoleList
- List of case participant roles.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<ServiceAuthorization> searchByConcernRoles(java.util.Set<curam.participant.impl.ConcernRole> concernRoles) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoles
- List of concern roles.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<ServiceAuthorization> searchByConcernRolesAndCase(java.util.Set<curam.participant.impl.ConcernRole> concernRoles, long caseID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoles
- List of concern roles.caseID
- Unique ID of the case.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.lang.Double countNoOfClientsServed(Provider providerObj, curam.codetable.impl.RECORDSTATUSEntry recordStatus) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerObj
- Contains the provider details.recordStatus
- Contains the record status.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.java.lang.Double countNoOfClientsServed(ProviderOffering providerOfferingObj, curam.codetable.impl.RECORDSTATUSEntry recordStatus) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerOfferingObj
- Contains the provider offering details.recordStatus
- Contains the record status.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.curam.core.struct.BatchProcessingIDList searchByServiceAndDateRange(curam.cpm.sl.entity.struct.SearchByServiceStatusAndDateRangeKey searchByServiceStatusAndDateRangeKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
searchByServiceStatusAndDateRangeKey
- Contains the key for service offering, status and date range.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.