planetj.database.possiblevalues
Class PossibleValueManager
java.lang.Object
|
+--planetj.database.possiblevalues.PossibleValueManager
- All Implemented Interfaces:
- IPossibleValue
- public class PossibleValueManager
- extends Object
- implements IPossibleValue
This class can be used to get possible values and configuration properties
for a given owner.
- Author:
- PlanetJ Corporation
Fields inherited from interface planetj.database.possiblevalues.IPossibleValue |
DISPLAY_ORDER, DISPLAY_VALUE, DISPLAY_VALUE_SQL_TYPE, FIELD_NAME, KEY, LIBRARY_NAME, OWNER_ID, POSSIBLE_VALUES_TABLE_NAME, SYSTEM_ALIAS, TABLE_NAME, TYPE, TYPE_CONFIG_PROPERTY, VALUE |
Method Summary |
static RowCollection |
getConfigProperties(String metaDataSystemAlias,
String key,
String[] orderByColumnNames,
int ownerId)
This will return a RowCollection fo PossibleValues with the givin key @ pKey |
static Row |
getConfigProperty(String metaDataSystemAlias,
String key,
String[] orderByColumnNames,
int ownerId)
This will return a RowCollection of configuration properties. |
static RowCollection |
getPossibleValues(String metaDataSystemAlias,
String key,
String[] orderByColumnNames)
This will return a RowCollection fo PossibleValues with the givin key @ pKey |
static RowCollection |
getPossibleValues(String metaDataSystemAlias,
String key,
String[] orderByColumnNames,
int ownerId)
This will return a RowCollection fo PossibleValues with the givin key @ pKey |
static boolean |
isPVFileUsed()
|
static void |
setPVFileUsed(boolean pPVFileUsed)
|
TYPE_POSSIBLE_VALUE
public static final int TYPE_POSSIBLE_VALUE
- See Also:
- Constant Field Values
SQL_KEY
public static final String SQL_KEY
- See Also:
- Constant Field Values
PossibleValueManager
public PossibleValueManager()
getConfigProperties
public static RowCollection getConfigProperties(String metaDataSystemAlias,
String key,
String[] orderByColumnNames,
int ownerId)
throws CMException
- This will return a RowCollection fo PossibleValues with the givin key @ pKey
- Parameters:
metaDataSystemAlias
- system alias where metadata is locatedkey
- key of possible values to retrieveorderByColumnNames
- names of columns to order byownerId
- id of owner to which possible values belong
- Returns:
- RowCollection of possible values
CMException
getConfigProperty
public static Row getConfigProperty(String metaDataSystemAlias,
String key,
String[] orderByColumnNames,
int ownerId)
throws CMException
- This will return a RowCollection of configuration properties.
- Parameters:
metaDataSystemAlias
- system alias where metadata is locatedkey
- key of possible values to retrieveorderByColumnNames
- names of columns to order byownerId
- id of owner to which possible values belong
- Returns:
- RowCollection of possible values
CMException
getPossibleValues
public static RowCollection getPossibleValues(String metaDataSystemAlias,
String key,
String[] orderByColumnNames)
throws CMException
- This will return a RowCollection fo PossibleValues with the givin key @ pKey
- Parameters:
metaDataSystemAlias
- system alias where metadata is locatedkey
- key of possible values to retrieveorderByColumnNames
- names of columns to order by
- Returns:
- RowCollection of possible values
CMException
getPossibleValues
public static RowCollection getPossibleValues(String metaDataSystemAlias,
String key,
String[] orderByColumnNames,
int ownerId)
throws CMException
- This will return a RowCollection fo PossibleValues with the givin key @ pKey
- Parameters:
metaDataSystemAlias
- system alias where metadata is locatedkey
- key of possible values to retrieveorderByColumnNames
- names of columns to order byownerId
- id of owner to which possible values belong
- Returns:
- RowCollection of possible values
CMException
isPVFileUsed
public static boolean isPVFileUsed()
setPVFileUsed
public static void setPVFileUsed(boolean pPVFileUsed)