|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.wysiwyg.dynamicvalue.dao.DynamicValueDAO
public class DynamicValueDAO
data access object layer, this class allows executing operation on the table which contains the dynamic values
| Constructor Summary | |
|---|---|
DynamicValueDAO()
|
|
| Method Summary | |
|---|---|
static List<DynamicValue> |
getAllValidDynamicValue(Connection conn)
gets a list of DynamicValue object. |
static DynamicValue |
getValidDynamicValue(Connection conn,
String id)
gets a dynamic value object by his ID. |
static List<DynamicValue> |
searchValidDynamicValue(Connection conn,
String criterion)
realizes a search by criterion.Only the value with a valid start and end date will be returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicValueDAO()
| Method Detail |
|---|
public static DynamicValue getValidDynamicValue(Connection conn,
String id)
throws SQLException
conn - connection object to access databaseid - DynamicValue object identifier
SQLException - whether a SQl error occurred during the process
public static List<DynamicValue> getAllValidDynamicValue(Connection conn)
throws SQLException
conn - connection object to access database
SQLException - whether a SQl error occurred during the process
public static List<DynamicValue> searchValidDynamicValue(Connection conn,
String criterion)
throws SQLException
conn - connection object to access databasecriterion - String used to realize the search
SQLException - whether a SQl error occurred during the process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||