public interface ProviderDAO
List<Provider> getAllProviders(boolean includeRetired)
includeRetired
- - whether or not to include retired Providervoid deleteProvider(Provider provider)
Provider getProvider(Integer id)
id
- Provider getProviderByUuid(String uuid)
uuid
- Collection<Provider> getProvidersByPerson(Person person, boolean includeRetired)
List<Provider> getProviders(String name, Map<ProviderAttributeType,String> serializedAttributeValues, Integer start, Integer length, boolean includeRetired)
name
- serializedAttributeValues
- start
- length
- includeRetired
- Long getCountOfProviders(String name, boolean includeRetired)
name
- includeRetired
- List<ProviderAttributeType> getAllProviderAttributeTypes(boolean includeRetired)
ProviderAttributeType getProviderAttributeType(Integer providerAttributeTypeId)
ProviderAttributeType getProviderAttributeTypeByUuid(String uuid)
ProviderAttributeType getProviderAttributeTypeByName(String name)
ProviderAttributeType saveProviderAttributeType(ProviderAttributeType providerAttributeType)
void deleteProviderAttributeType(ProviderAttributeType providerAttributeType)
ProviderAttribute getProviderAttribute(Integer providerAttributeID)
ProviderAttribute getProviderAttributeByUuid(String uuid)
boolean isProviderIdentifierUnique(Provider provider) throws DAOException
DAOException
ProviderService.isProviderIdentifierUnique(Provider)
Copyright © 2024 OpenMRS Inc.. All rights reserved.