@AccessLevel(value=EXTERNAL)
public class CodetableUtil
extends java.lang.Object
Constructor and Description |
---|
CodetableUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCachedCodetableDescription(java.lang.String tableName,
java.lang.String codetableCode)
Retrieves the description of a codetable item from the cache.
|
static java.lang.String |
getCodetableDescription(java.lang.String tableName,
java.lang.String codetableCode)
Reads the codetable description for the specified codetable code from the
specified codetable and the locale of the currently logged in user.
|
static java.util.ArrayList<java.lang.String> |
listEnabledCodesByLocale(java.lang.String tableName)
Lists enabled codes of code table for specific table and current locale.
|
@AccessLevel(value=EXTERNAL) public static java.lang.String getCodetableDescription(java.lang.String tableName, java.lang.String codetableCode)
tableName
- Code table name.codetableCode
- Code table code.@AccessLevel(value=EXTERNAL) public static java.util.ArrayList<java.lang.String> listEnabledCodesByLocale(java.lang.String tableName) throws curam.util.exception.AppException, curam.util.exception.InformationalException
tableName
- The table name.curam.util.exception.InformationalException
curam.util.exception.InformationalException
curam.util.exception.AppException
public static java.lang.String getCachedCodetableDescription(java.lang.String tableName, java.lang.String codetableCode)
tableName
- codetableCode
-