public interface ProviderDAO
Modifier and Type | Method and Description |
---|---|
void |
deleteProvider(Provider provider)
deletes an exisiting Provider
|
void |
deleteProviderAttributeType(ProviderAttributeType providerAttributeType) |
java.util.List<ProviderAttributeType> |
getAllProviderAttributeTypes(boolean includeRetired) |
java.util.List<Provider> |
getAllProviders(boolean includeRetired)
Gets all Providers
|
java.lang.Long |
getCountOfProviders(java.lang.String name,
boolean includeRetired) |
Provider |
getProvider(java.lang.Integer id) |
ProviderAttribute |
getProviderAttribute(java.lang.Integer providerAttributeID) |
ProviderAttribute |
getProviderAttributeByUuid(java.lang.String uuid) |
ProviderAttributeType |
getProviderAttributeType(java.lang.Integer providerAttributeTypeId) |
ProviderAttributeType |
getProviderAttributeTypeByUuid(java.lang.String uuid) |
Provider |
getProviderByIdentifier(java.lang.String identifier) |
Provider |
getProviderByUuid(java.lang.String uuid) |
java.util.List<Provider> |
getProviders(java.lang.String name,
java.util.Map<ProviderAttributeType,java.lang.String> serializedAttributeValues,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired) |
java.util.Collection<Provider> |
getProvidersByPerson(Person person,
boolean includeRetired) |
boolean |
isProviderIdentifierUnique(Provider provider) |
Provider |
saveProvider(Provider provider)
Saves/Updates a given Provider
|
ProviderAttributeType |
saveProviderAttributeType(ProviderAttributeType providerAttributeType) |
java.util.List<Provider> getAllProviders(boolean includeRetired)
includeRetired
- - whether or not to include retired Providervoid deleteProvider(Provider provider)
Provider getProvider(java.lang.Integer id)
id
- Provider getProviderByUuid(java.lang.String uuid)
uuid
- java.util.Collection<Provider> getProvidersByPerson(Person person, boolean includeRetired)
java.util.List<Provider> getProviders(java.lang.String name, java.util.Map<ProviderAttributeType,java.lang.String> serializedAttributeValues, java.lang.Integer start, java.lang.Integer length, boolean includeRetired)
name
- serializedAttributeValues
- start
- length
- includeRetired
- java.lang.Long getCountOfProviders(java.lang.String name, boolean includeRetired)
name
- includeRetired
- java.util.List<ProviderAttributeType> getAllProviderAttributeTypes(boolean includeRetired)
ProviderAttributeType getProviderAttributeType(java.lang.Integer providerAttributeTypeId)
ProviderAttributeType getProviderAttributeTypeByUuid(java.lang.String uuid)
ProviderAttributeType saveProviderAttributeType(ProviderAttributeType providerAttributeType)
void deleteProviderAttributeType(ProviderAttributeType providerAttributeType)
ProviderAttribute getProviderAttribute(java.lang.Integer providerAttributeID)
ProviderAttribute getProviderAttributeByUuid(java.lang.String uuid)
boolean isProviderIdentifierUnique(Provider provider) throws DAOException
DAOException
ProviderService.isProviderIdentifierUnique(Provider)
Provider getProviderByIdentifier(java.lang.String identifier)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.