public class UpgradeUtil
extends java.lang.Object
Constructor and Description |
---|
UpgradeUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Integer |
getConceptIdForUnits(java.lang.String units)
Returns conceptId for the given units from DatabaseUtil#ORDER_ENTRY_UPGRADE_SETTINGS_FILENAME
located in application data directory.
|
static java.lang.String |
getConceptUuid(java.sql.Connection connection,
int conceptId) |
static java.lang.String |
getGlobalProperty(java.sql.Connection connection,
java.lang.String gp) |
static java.util.List<java.lang.Integer> |
getMemberSetIds(java.sql.Connection connection,
java.lang.String conceptUuid) |
static java.lang.Integer |
getOrderFrequencyIdForConceptId(java.sql.Connection connection,
java.lang.Integer conceptIdForFrequency) |
public static java.lang.Integer getConceptIdForUnits(java.lang.String units)
units
- public static java.lang.String getConceptUuid(java.sql.Connection connection, int conceptId) throws java.sql.SQLException
java.sql.SQLException
public static java.lang.String getGlobalProperty(java.sql.Connection connection, java.lang.String gp) throws java.sql.SQLException
java.sql.SQLException
public static java.util.List<java.lang.Integer> getMemberSetIds(java.sql.Connection connection, java.lang.String conceptUuid) throws java.sql.SQLException
java.sql.SQLException
public static java.lang.Integer getOrderFrequencyIdForConceptId(java.sql.Connection connection, java.lang.Integer conceptIdForFrequency) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.