public class AdministrationServiceImpl extends BaseOpenmrsService implements AdministrationService, GlobalPropertyListener
AdministrationService
,
Context
Modifier and Type | Field and Description |
---|---|
protected AdministrationDAO |
dao |
protected org.apache.commons.logging.Log |
log |
protected SortedMap<String,String> |
systemVariables
Static-ish variable used to cache the system variables.
|
Constructor and Description |
---|
AdministrationServiceImpl()
Default empty constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addGlobalProperty(GlobalProperty gp)
Deprecated.
|
void |
addGlobalProperty(String propertyName,
String propertyValue)
Deprecated.
|
void |
addGlobalPropertyListener(GlobalPropertyListener listener)
Allows code to be notified when a global property is created/edited/deleted.
|
void |
createConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
createConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
createConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
createEncounterType(EncounterType encounterType)
Deprecated.
|
void |
createFieldType(FieldType fieldType)
Deprecated.
|
void |
createLocation(Location location)
Deprecated.
|
void |
createMimeType(MimeType mimeType)
Deprecated.
|
void |
createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
createPrivilege(Privilege privilege)
Deprecated.
|
void |
createReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
createReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
createRole(Role role)
Deprecated.
|
void |
createTribe(Tribe tribe)
Deprecated.
|
void |
deleteConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
deleteConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
deleteEncounterType(EncounterType encounterType)
Deprecated.
|
void |
deleteFieldType(FieldType fieldType)
Deprecated.
|
void |
deleteGlobalProperty(String propertyName)
Deprecated.
|
void |
deleteLocation(Location location)
Deprecated.
|
void |
deleteMimeType(MimeType mimeType)
Deprecated.
|
void |
deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
deletePrivilege(Privilege privilege)
Deprecated.
|
void |
deleteReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
deleteReportObject(Integer reportObjectId)
Deprecated.
see reportingcompatibility module
|
void |
deleteRole(Role role)
Deprecated.
|
void |
deleteTribe(Tribe tribe)
Deprecated.
|
List<List<Object>> |
executeSQL(String sql,
boolean selectOnly)
Runs the
sql on the database. |
List<GlobalProperty> |
getAllGlobalProperties()
Get a list of all global properties in the system
|
List<Locale> |
getAllowedLocales()
Gets the list of locales which the administrator has allowed for use on the system.
|
List<GlobalProperty> |
getGlobalProperties()
Deprecated.
|
List<GlobalProperty> |
getGlobalPropertiesByPrefix(String prefix)
Gets all global properties that begin with
prefix . |
List<GlobalProperty> |
getGlobalPropertiesBySuffix(String suffix)
Gets all global properties that end with
suffix . |
String |
getGlobalProperty(String propertyName)
Gets the global property that has the given
propertyName . |
String |
getGlobalProperty(String propertyName,
String defaultValue)
Gets the global property that has the given
propertyName |
GlobalProperty |
getGlobalPropertyByUuid(String uuid)
Get a global property by its uuid.
|
GlobalProperty |
getGlobalPropertyObject(String propertyName)
Gets the global property that has the given
propertyName |
<T> T |
getGlobalPropertyValue(String propertyName,
T defaultValue)
Returns a global property according to the type specified
|
ImplementationId |
getImplementationId()
Get the implementation id stored for this server Returns null if no implementation id has
been successfully set yet
|
Collection<?> |
getMRNGeneratorLog()
Deprecated.
|
Set<Locale> |
getPresentationLocales()
Gets the list of locales for which localized messages are available for the user interface
(presentation layer).
|
List<Locale> |
getSearchLocales()
Returns a list of locales used by the user when searching.
|
SortedMap<String,String> |
getSystemVariables()
Get a listing or important variables used in openmrs
|
void |
globalPropertyChanged(GlobalProperty newValue)
Called after a global property is created or updated
|
void |
globalPropertyDeleted(String propertyName)
Called after a global property is deleted
|
void |
mapConceptProposalToConcept(ConceptProposal cp,
Concept mappedConcept)
Deprecated.
moved to ConceptService
|
void |
mrnGeneratorLog(String site,
Integer start,
Integer count)
Deprecated.
|
void |
purgeGlobalProperties(List<GlobalProperty> globalProperties)
Completely remove the given global properties from the database
|
void |
purgeGlobalProperty(GlobalProperty globalProperty)
Completely remove the given global property from the database
|
void |
rejectConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
removeGlobalPropertyListener(GlobalPropertyListener listener)
Removes a GlobalPropertyListener previously registered by
AdministrationService.addGlobalPropertyListener(GlobalPropertyListener) |
void |
retireTribe(Tribe tribe)
Deprecated.
|
List<GlobalProperty> |
saveGlobalProperties(List<GlobalProperty> props)
Save the given list of global properties to the database overwriting all values with the
given values.
|
GlobalProperty |
saveGlobalProperty(GlobalProperty gp)
Save the given global property to the database
|
void |
setAdministrationDAO(AdministrationDAO dao)
Used by Spring to set the specific/chosen database access implementation
|
void |
setEventListeners(EventListeners eventListeners) |
void |
setGlobalLocaleList(GlobalLocaleList gll)
Used by spring to set the GlobalLocaleList on this implementation
|
void |
setGlobalProperties(List<GlobalProperty> props)
Deprecated.
|
void |
setGlobalProperty(GlobalProperty gp)
Deprecated.
|
void |
setGlobalProperty(String propertyName,
String propertyValue)
Deprecated.
|
void |
setImplementationId(ImplementationId implementationId)
Set the given
implementationId as this implementation's unique id |
boolean |
supportsPropertyName(String propertyName)
Asks this listener whether it wants to be notified about the given property name
|
void |
unretireTribe(Tribe tribe)
Deprecated.
|
void |
updateConceptClass(ConceptClass cc)
Deprecated.
moved to ConceptService
|
void |
updateConceptDatatype(ConceptDatatype cd)
Deprecated.
moved to ConceptService
|
void |
updateConceptProposal(ConceptProposal cp)
Deprecated.
moved to ConceptService
|
void |
updateConceptSetDerived()
Deprecated.
moved to ConceptService
|
void |
updateConceptSetDerived(Concept concept)
Deprecated.
moved to ConceptService
|
void |
updateConceptWord(Concept concept)
Deprecated.
moved to ConceptServiceImpl
|
void |
updateConceptWords()
Deprecated.
moved to ConceptServiceImpl
|
void |
updateConceptWords(Integer conceptIdStart,
Integer conceptIdEnd)
Deprecated.
moved to ConceptService
|
void |
updateEncounterType(EncounterType encounterType)
Deprecated.
|
void |
updateFieldType(FieldType fieldType)
Deprecated.
|
void |
updateLocation(Location location)
Deprecated.
|
void |
updateMimeType(MimeType mimeType)
Deprecated.
|
void |
updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
updatePrivilege(Privilege privilege)
Deprecated.
|
void |
updateReport(Report report)
Deprecated.
see reportingcompatibility module
|
void |
updateReportObject(AbstractReportObject reportObject)
Deprecated.
see reportingcompatibility module
|
void |
updateRole(Role role)
Deprecated.
|
void |
updateTribe(Tribe tribe)
Deprecated.
|
onShutdown, onStartup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onShutdown, onStartup
protected org.apache.commons.logging.Log log
protected AdministrationDAO dao
public AdministrationServiceImpl()
public void setAdministrationDAO(AdministrationDAO dao)
AdministrationService
setAdministrationDAO
in interface AdministrationService
dao
- The dao implementation to useAdministrationService.setAdministrationDAO(org.openmrs.api.db.AdministrationDAO)
public void setEventListeners(EventListeners eventListeners)
@Deprecated public void createEncounterType(EncounterType encounterType) throws APIException
createEncounterType
in interface AdministrationService
APIException
AdministrationService.createEncounterType(org.openmrs.EncounterType)
@Deprecated public void updateEncounterType(EncounterType encounterType) throws APIException
updateEncounterType
in interface AdministrationService
APIException
AdministrationService.updateEncounterType(org.openmrs.EncounterType)
@Deprecated public void deleteEncounterType(EncounterType encounterType) throws APIException
deleteEncounterType
in interface AdministrationService
APIException
AdministrationService.deleteEncounterType(org.openmrs.EncounterType)
@Deprecated public void createPatientIdentifierType(PatientIdentifierType patientIdentifierType) throws APIException
PatientService.savePatientIdentifierType(PatientIdentifierType)
createPatientIdentifierType
in interface AdministrationService
APIException
PatientService.savePatientIdentifierType(PatientIdentifierType)
@Deprecated public void updatePatientIdentifierType(PatientIdentifierType patientIdentifierType) throws APIException
PatientService.savePatientIdentifierType(PatientIdentifierType)
updatePatientIdentifierType
in interface AdministrationService
APIException
PatientService.savePatientIdentifierType(PatientIdentifierType)
@Deprecated public void deletePatientIdentifierType(PatientIdentifierType patientIdentifierType) throws APIException
PatientService.purgePatientIdentifierType(PatientIdentifierType)
deletePatientIdentifierType
in interface AdministrationService
APIException
PatientService.purgePatientIdentifierType(PatientIdentifierType)
@Deprecated public void createTribe(Tribe tribe) throws APIException
createTribe
in interface AdministrationService
tribe
- Tribe to createAPIException
@Deprecated public void updateTribe(Tribe tribe) throws APIException
updateTribe
in interface AdministrationService
tribe
- Tribe to updateAPIException
@Deprecated public void deleteTribe(Tribe tribe) throws APIException
deleteTribe
in interface AdministrationService
tribe
- Tribe to deleteAPIException
@Deprecated public void retireTribe(Tribe tribe) throws APIException
retireTribe
in interface AdministrationService
tribe
- Tribe to retireAPIException
@Deprecated public void unretireTribe(Tribe tribe) throws APIException
unretireTribe
in interface AdministrationService
tribe
- Tribe to unretireAPIException
@Deprecated public void createFieldType(FieldType fieldType) throws APIException
createFieldType
in interface AdministrationService
APIException
@Deprecated public void updateFieldType(FieldType fieldType) throws APIException
updateFieldType
in interface AdministrationService
APIException
@Deprecated public void deleteFieldType(FieldType fieldType) throws APIException
deleteFieldType
in interface AdministrationService
APIException
@Deprecated public void createMimeType(MimeType mimeType) throws APIException
ObsService.saveMimeType(MimeType)
createMimeType
in interface AdministrationService
APIException
@Deprecated public void updateMimeType(MimeType mimeType) throws APIException
ObsService.saveMimeType(MimeType)
updateMimeType
in interface AdministrationService
APIException
@Deprecated public void deleteMimeType(MimeType mimeType) throws APIException
ObsService.purgeMimeType(MimeType)
deleteMimeType
in interface AdministrationService
APIException
@Deprecated public void createLocation(Location location) throws APIException
createLocation
in interface AdministrationService
APIException
AdministrationService.createLocation(org.openmrs.Location)
@Deprecated public void updateLocation(Location location) throws APIException
updateLocation
in interface AdministrationService
APIException
AdministrationService.updateLocation(org.openmrs.Location)
@Deprecated public void deleteLocation(Location location) throws APIException
deleteLocation
in interface AdministrationService
APIException
AdministrationService.deleteLocation(org.openmrs.Location)
@Deprecated public void createRole(Role role) throws APIException
createRole
in interface AdministrationService
APIException
AdministrationService.createRole(org.openmrs.Role)
@Deprecated public void updateRole(Role role) throws APIException
updateRole
in interface AdministrationService
APIException
AdministrationService.updateRole(org.openmrs.Role)
@Deprecated public void deleteRole(Role role) throws APIException
deleteRole
in interface AdministrationService
APIException
AdministrationService.deleteRole(org.openmrs.Role)
@Deprecated public void createPrivilege(Privilege privilege) throws APIException
createPrivilege
in interface AdministrationService
APIException
AdministrationService.createPrivilege(org.openmrs.Privilege)
@Deprecated public void updatePrivilege(Privilege privilege) throws APIException
updatePrivilege
in interface AdministrationService
APIException
AdministrationService.updatePrivilege(org.openmrs.Privilege)
@Deprecated public void deletePrivilege(Privilege privilege) throws APIException
deletePrivilege
in interface AdministrationService
APIException
AdministrationService.deletePrivilege(org.openmrs.Privilege)
@Deprecated public void createConceptClass(ConceptClass cc) throws APIException
AdministrationService
createConceptClass
in interface AdministrationService
cc
- ConceptClass to createAPIException
@Deprecated public void updateConceptClass(ConceptClass cc) throws APIException
AdministrationService
updateConceptClass
in interface AdministrationService
cc
- ConceptClass to updateAPIException
@Deprecated public void deleteConceptClass(ConceptClass cc) throws APIException
AdministrationService
deleteConceptClass
in interface AdministrationService
cc
- ConceptClass to deleteAPIException
@Deprecated public void createConceptDatatype(ConceptDatatype cd) throws APIException
AdministrationService
createConceptDatatype
in interface AdministrationService
cd
- ConceptDatatype to createAPIException
@Deprecated public void updateConceptDatatype(ConceptDatatype cd) throws APIException
AdministrationService
updateConceptDatatype
in interface AdministrationService
cd
- ConceptDatatype to updateAPIException
@Deprecated public void deleteConceptDatatype(ConceptDatatype cd) throws APIException
AdministrationService
deleteConceptDatatype
in interface AdministrationService
cd
- ConceptDatatype to deleteAPIException
@Deprecated public void createReport(Report report) throws APIException
createReport
in interface AdministrationService
report
- Report to createAPIException
@Deprecated public void updateReport(Report report) throws APIException
updateReport
in interface AdministrationService
report
- Report to updateAPIException
@Deprecated public void deleteReport(Report report) throws APIException
deleteReport
in interface AdministrationService
report
- Report to deleteAPIException
@Deprecated public void createReportObject(AbstractReportObject reportObject) throws APIException
createReportObject
in interface AdministrationService
reportObject
- Report Object to createAPIException
@Deprecated public void updateReportObject(AbstractReportObject reportObject) throws APIException
updateReportObject
in interface AdministrationService
reportObject
- Report Object to updateAPIException
@Deprecated public void deleteReportObject(Integer reportObjectId) throws APIException
deleteReportObject
in interface AdministrationService
reportObjectId
- Internal Integer identifier of Report Object to deleteAPIException
@Deprecated public void updateConceptWord(Concept concept) throws APIException
AdministrationService
updateConceptWord
in interface AdministrationService
APIException
@Deprecated public void updateConceptWords() throws APIException
AdministrationService
updateConceptWords
in interface AdministrationService
APIException
@Deprecated public void updateConceptWords(Integer conceptIdStart, Integer conceptIdEnd) throws APIException
AdministrationService
conceptIdStart
and
conceptIdEnd
(inclusive) calling updateConceptWord(concept)updateConceptWords
in interface AdministrationService
APIException
@Deprecated public void updateConceptSetDerived(Concept concept) throws APIException
AdministrationService
updateConceptSetDerived
in interface AdministrationService
APIException
@Deprecated public void updateConceptSetDerived() throws APIException
AdministrationService
updateConceptSetDerived
in interface AdministrationService
APIException
@Deprecated public void createConceptProposal(ConceptProposal cp) throws APIException
AdministrationService
createConceptProposal
in interface AdministrationService
APIException
@Deprecated public void updateConceptProposal(ConceptProposal cp) throws APIException
AdministrationService
updateConceptProposal
in interface AdministrationService
APIException
@Deprecated public void mapConceptProposalToConcept(ConceptProposal cp, Concept mappedConcept) throws APIException
AdministrationService
mapConceptProposalToConcept
in interface AdministrationService
APIException
@Deprecated public void rejectConceptProposal(ConceptProposal cp)
AdministrationService
rejectConceptProposal
in interface AdministrationService
AdministrationService.rejectConceptProposal(org.openmrs.ConceptProposal)
@Deprecated public void mrnGeneratorLog(String site, Integer start, Integer count) throws APIException
mrnGeneratorLog
in interface AdministrationService
APIException
AdministrationService.mrnGeneratorLog(java.lang.String,
java.lang.Integer, java.lang.Integer)
@Deprecated public Collection<?> getMRNGeneratorLog() throws APIException
getMRNGeneratorLog
in interface AdministrationService
APIException
AdministrationService.getMRNGeneratorLog()
public SortedMap<String,String> getSystemVariables() throws APIException
AdministrationService
getSystemVariables
in interface AdministrationService
APIException
AdministrationService.getSystemVariables()
public String getGlobalProperty(String propertyName) throws APIException
AdministrationService
propertyName
.
If propertyName
is not found in the list of Global Properties currently in the
database, a null value is returned. This method should not have any authorization check.
getGlobalProperty
in interface AdministrationService
propertyName
- property key to look forAPIException
AdministrationService.getGlobalProperty(java.lang.String)
public String getGlobalProperty(String propertyName, String defaultValue) throws APIException
AdministrationService
propertyName
If propertyName is not found in the list of Global Properties currently in the database, a
defaultValue
is returned
This method should not have any authorization check
getGlobalProperty
in interface AdministrationService
propertyName
- property key to look fordefaultValue
- value to return if propertyName is not foundAPIException
AdministrationService.getGlobalProperty(java.lang.String,
java.lang.String)
public GlobalProperty getGlobalPropertyObject(String propertyName)
AdministrationService
propertyName
getGlobalPropertyObject
in interface AdministrationService
propertyName
- property key to look forpropertyName
AdministrationService.getGlobalPropertyObject(java.lang.String)
@Deprecated public List<GlobalProperty> getGlobalProperties() throws APIException
getGlobalProperties
in interface AdministrationService
APIException
AdministrationService.getGlobalProperties()
@Deprecated public void setGlobalProperties(List<GlobalProperty> props) throws APIException
setGlobalProperties
in interface AdministrationService
APIException
AdministrationService.setGlobalProperties(java.util.List)
@Deprecated public void deleteGlobalProperty(String propertyName) throws APIException
AdministrationService
purgeGlobalProperty(new GlobalProperty(propertyName));
deleteGlobalProperty
in interface AdministrationService
APIException
AdministrationService.deleteGlobalProperty(java.lang.String)
@Deprecated public void setGlobalProperty(String propertyName, String propertyValue) throws APIException
AdministrationService
purgeGlobalProperty(new GlobalProperty(propertyName, propertyValue));
setGlobalProperty
in interface AdministrationService
APIException
AdministrationService.setGlobalProperty(java.lang.String,
java.lang.String)
@Deprecated public void setGlobalProperty(GlobalProperty gp) throws APIException
setGlobalProperty
in interface AdministrationService
APIException
AdministrationService.setGlobalProperty(org.openmrs.GlobalProperty)
@Deprecated public void addGlobalProperty(GlobalProperty gp)
addGlobalProperty
in interface AdministrationService
AdministrationService.addGlobalProperty(org.openmrs.GlobalProperty)
@Deprecated public void addGlobalProperty(String propertyName, String propertyValue) throws APIException
addGlobalProperty
in interface AdministrationService
APIException
AdministrationService.addGlobalProperty(java.lang.String,
java.lang.String)
public List<GlobalProperty> getAllGlobalProperties() throws APIException
AdministrationService
getAllGlobalProperties
in interface AdministrationService
APIException
AdministrationService.getAllGlobalProperties()
public List<GlobalProperty> getGlobalPropertiesByPrefix(String prefix)
AdministrationService
prefix
.getGlobalPropertiesByPrefix
in interface AdministrationService
prefix
- The beginning of the property name to match.List
of GlobalProperty
s that match prefix
AdministrationService.getGlobalPropertiesByPrefix(java.lang.String)
public List<GlobalProperty> getGlobalPropertiesBySuffix(String suffix)
AdministrationService
suffix
.getGlobalPropertiesBySuffix
in interface AdministrationService
List
of GlobalProperty
s that match .*suffix
AdministrationService.getGlobalPropertiesBySuffix(java.lang.String)
public void purgeGlobalProperty(GlobalProperty globalProperty) throws APIException
AdministrationService
purgeGlobalProperty
in interface AdministrationService
globalProperty
- the global property to delete/remove from the databaseAPIException
AdministrationService.purgeGlobalProperty(org.openmrs.GlobalProperty)
public List<GlobalProperty> saveGlobalProperties(List<GlobalProperty> props) throws APIException
AdministrationService
saveGlobalProperties
in interface AdministrationService
props
- list of GlobalProperty objects to saveAPIException
AdministrationService.saveGlobalProperties(java.util.List)
public GlobalProperty saveGlobalProperty(GlobalProperty gp) throws APIException
AdministrationService
saveGlobalProperty
in interface AdministrationService
gp
- global property to saveAPIException
AdministrationService.saveGlobalProperty(org.openmrs.GlobalProperty)
public List<List<Object>> executeSQL(String sql, boolean selectOnly) throws APIException
AdministrationService
sql
on the database. If selectOnly
is flagged then any
non-select sql statements will be rejected.executeSQL
in interface AdministrationService
APIException
AdministrationService.executeSQL(java.lang.String, boolean)
public void addGlobalPropertyListener(GlobalPropertyListener listener)
AdministrationService
addGlobalPropertyListener
in interface AdministrationService
listener
- The listener to registerAdministrationService.addGlobalPropertyListener(GlobalPropertyListener)
public void removeGlobalPropertyListener(GlobalPropertyListener listener)
AdministrationService
AdministrationService.addGlobalPropertyListener(GlobalPropertyListener)
removeGlobalPropertyListener
in interface AdministrationService
AdministrationService.removeGlobalPropertyListener(GlobalPropertyListener)
public ImplementationId getImplementationId() throws APIException
AdministrationService
getImplementationId
in interface AdministrationService
APIException
AdministrationService.getImplementationId()
public void setImplementationId(ImplementationId implementationId) throws APIException
AdministrationService
implementationId
as this implementation's unique idsetImplementationId
in interface AdministrationService
implementationId
- the ImplementationId to saveAPIException
- if implementationId is empty or is invalid according to central id serverAdministrationService.setImplementationId(org.openmrs.ImplementationId)
public List<Locale> getAllowedLocales()
AdministrationService
OpenmrsConstants.GLOBAL_PROPERTY_LOCALE_ALLOWED_LIST
.getAllowedLocales
in interface AdministrationService
AdministrationService.getAllowedLocales()
public void setGlobalLocaleList(GlobalLocaleList gll)
gll
- the GlobalLocaleList object that is registered to the GlobalPropertyListeners as wellpublic Set<Locale> getPresentationLocales()
AdministrationService
getPresentationLocales
in interface AdministrationService
AdministrationService.getPresentationLocales()
public void globalPropertyChanged(GlobalProperty newValue)
GlobalPropertyListener
globalPropertyChanged
in interface GlobalPropertyListener
newValue
- the new value of the property that was just savedGlobalPropertyListener.globalPropertyChanged(org.openmrs.GlobalProperty)
public void globalPropertyDeleted(String propertyName)
GlobalPropertyListener
globalPropertyDeleted
in interface GlobalPropertyListener
propertyName
- the name of the property that was just deletedGlobalPropertyListener.globalPropertyDeleted(java.lang.String)
public boolean supportsPropertyName(String propertyName)
GlobalPropertyListener
supportsPropertyName
in interface GlobalPropertyListener
GlobalPropertyListener.supportsPropertyName(java.lang.String)
public GlobalProperty getGlobalPropertyByUuid(String uuid)
AdministrationService
getGlobalPropertyByUuid
in interface AdministrationService
AdministrationService.getGlobalPropertyByUuid(java.lang.String)
public <T> T getGlobalPropertyValue(String propertyName, T defaultValue) throws APIException
AdministrationService
getGlobalPropertyValue
in interface AdministrationService
APIException
AdministrationService.getGlobalPropertyValue(java.lang.String,
java.lang.Object)
public void purgeGlobalProperties(List<GlobalProperty> globalProperties) throws APIException
AdministrationService
purgeGlobalProperties
in interface AdministrationService
globalProperties
- the global properties to delete/remove from the databaseAPIException
AdministrationService.purgeGlobalProperties(java.util.List)
public List<Locale> getSearchLocales() throws APIException
AdministrationService
The list is constructed from a currently selected locale and allowed user proficient locales.
getSearchLocales
in interface AdministrationService
APIException
org.openmrs.api.AdministrationService#getSearchLocales(org.openmrs.User)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.