A C D E F G H I L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractColumnValuePredicate - Class in org.silverpeas.components.mydb.model.predicates
-
Abstract implementation of the
ColumnValuePredicate
interface. - AbstractColumnValuePredicate(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
-
Constructs a new predicate on the specified database table's column and with the given reference value.
- add(TableRow) - Method in class org.silverpeas.components.mydb.model.DbTable
-
Adds the specified row into this table.
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Equality
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Identity
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Inclusion
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Inequality
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Inferiority
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Like
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.StrictInferiority
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.StrictSuperiority
- apply(JdbcSqlQuery) - Method in class org.silverpeas.components.mydb.model.predicates.Superiority
C
- checkConnection() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Checks the connection with the remote data source referred in this
MyDBConnectionInfo
instance. - ColumnValuePredicate - Interface in org.silverpeas.components.mydb.model.predicates
-
A predicate the values of a given
DbTable
's column must satisfy. - compareTo(TableFieldValue) - Method in class org.silverpeas.components.mydb.model.TableFieldValue
-
Compares this
TableFieldValue
with the specified one.
D
- DataSourceDefinition - Class in org.silverpeas.components.mydb.model
-
Definition of a data source.
- DataSourceDefinition(String, String) - Constructor for class org.silverpeas.components.mydb.model.DataSourceDefinition
- DbColumn - Class in org.silverpeas.components.mydb.model
-
A column in a database table.
- DbColumn(JdbcRequester.ColumnDescriptor) - Constructor for class org.silverpeas.components.mydb.model.DbColumn
-
Constructs a new
DbColumn
instance of the specified SQL type and with the specified name. - DbTable - Class in org.silverpeas.components.mydb.model
-
Table loaded from the database referred by a
MyDBConnectionInfo
instance. - defaultTable(MyDBConnectionInfo) - Static method in class org.silverpeas.components.mydb.model.DbTable
-
Loads the default table defined in the specified
MyDBConnectionInfo
instance. - delete(TableRow) - Method in class org.silverpeas.components.mydb.model.DbTable
-
Deletes the specified row.
- deleteByInstanceId(String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfoRepository
E
- EMPTY_VALUE - Static variable in class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
- Equality - Class in org.silverpeas.components.mydb.model.predicates
-
The equality predicate.
- Equality(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Equality
-
Constructs a new predicate on the specified database table's column and with the given reference value.
- equals(Object) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- equals(Object) - Method in class org.silverpeas.components.mydb.model.TableFieldValue
F
- findByInstanceId(String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfoRepository
-
Finds all the connection information registered in the specified component instance.
- fromString(String, int) - Static method in class org.silverpeas.components.mydb.model.TableFieldValue
-
Constructs a
TableFieldValue
instance from the specified value represented as aString
object and according to the specified SQL type (a value amongTypes
).
G
- get() - Static method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- getAll() - Static method in class org.silverpeas.components.mydb.model.DataSourceDefinition
- getAllDataSourceDefinitions() - Method in class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- getAllDataSourceDefinitions() - Method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- getById(String) - Static method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- getColumn() - Method in class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
- getColumn() - Method in interface org.silverpeas.components.mydb.model.predicates.ColumnValuePredicate
-
Gets the name of the column on which the predicate should be played.
- getColumn(String) - Method in class org.silverpeas.components.mydb.model.DbTable
-
Gets the column with the specified name.
- getColumns() - Method in class org.silverpeas.components.mydb.model.DbTable
-
Gets all the columns that made up this table.
- getConnectionInfo(String) - Method in class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- getConnectionInfo(String) - Method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- getConnectionInfoList(String) - Method in class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- getConnectionInfoList(String) - Method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- getCopy() - Method in class org.silverpeas.components.mydb.model.TableFieldValue
- getCopy() - Method in class org.silverpeas.components.mydb.model.TableRow
- getDataMaxNumber() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Gets the maximum number of data to return when requesting the data source.
- getDataSourceName() - Method in class org.silverpeas.components.mydb.model.DataSourceDefinition
- getDataSourceName() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Gets the JNDI name of the data source targeted by this connection information.
- getDefaultTableName() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Gets the name of the table to load with this connexion information.
- getDefaultValue() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the String representation of the value by default of this column when no one is explicitly set.
- getDescription() - Method in class org.silverpeas.components.mydb.model.DataSourceDefinition
- getFieldNames() - Method in class org.silverpeas.components.mydb.model.TableRow
-
Gets the name of all the fields in this table row.
- getFields() - Method in class org.silverpeas.components.mydb.model.TableRow
-
Gets all the fields of this table row.
- getFieldValue(String) - Method in class org.silverpeas.components.mydb.model.TableRow
-
Gets the value of the specified field in this table row.
- getForeignKeyName() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the name of the foreign key to which this column is a component.
- getFromComponentInstance(String) - Static method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- getInstanceId() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Gets the unique identifier of the component instance this connection info belongs to.
- getJdbcValueOf(String) - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets a JDBC value of given value.
- getLogin() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Gets the user identifier used in the data source authentication.
- getName() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the name of this column.
- getName() - Method in class org.silverpeas.components.mydb.model.DbTable
-
Gets this table's name.
- getPassword() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Gets the password associated with the login to connect the data source.
- getReferencedColumn() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the column that is referenced by this column if this column is a foreign key.
- getReferencedTable() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the table that is referenced by this column if this column is a foreign key.
- getReferenceValue() - Method in class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
- getReferenceValue() - Method in interface org.silverpeas.components.mydb.model.predicates.ColumnValuePredicate
-
Gets the value with which all the column's values will be compared when playing the predicate.
- getRows(ColumnValuePredicate, String, PaginationPage) - Method in class org.silverpeas.components.mydb.model.DbTable
-
Gets the contents of this table as a list of rows, each of them being a tuple valuing all the columns of this table.
- getSize() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the size of this column.
- getType() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the SQL type of the values this column can contain.
- getType() - Method in class org.silverpeas.components.mydb.model.TableFieldValue
-
Gets the code of the SQL type of this value.
- getTypeName() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Gets the name of the SQL type of the values this column can contain.
H
- hashCode() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- hashCode() - Method in class org.silverpeas.components.mydb.model.TableFieldValue
I
- Identity - Class in org.silverpeas.components.mydb.model.predicates
-
Identity predicate.
- Identity() - Constructor for class org.silverpeas.components.mydb.model.predicates.Identity
- Identity(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Identity
- Inclusion - Class in org.silverpeas.components.mydb.model.predicates
-
The including predicate.
- Inclusion(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Inclusion
- Inequality - Class in org.silverpeas.components.mydb.model.predicates
-
The inequality predicate.
- Inequality(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Inequality
- Inferiority - Class in org.silverpeas.components.mydb.model.predicates
-
The non-strict inferiority predicates; the column'values can be equal with the reference value.
- Inferiority(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Inferiority
- isAutoValued() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is the valuation of this column autogenerated when a new tuple is inserted into the table?
- isBigInteger(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isBinary(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isBoolean(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isDate(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isDecimal(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isDefaultTableNameDefined() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Is the name of the default table to load is defined?
- isDefaultValueDefined() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is there a default value defined for this column?
- isDefined() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Is this connection information defined?
- isDouble(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isEmpty() - Method in class org.silverpeas.components.mydb.model.TableFieldValue
-
Is this value an empty text?
- isFloat(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isForeignKey() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column references a column of another table.
- isInteger(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isNullable() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column accepts null values?
- isOfTypeBinary() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column is of type binary (BLOB, VARBINARY, ...)?
- isOfTypeDateTime() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column of type date time (TIMESTAMP, TIMESTAMP_WITH_TIMEZONE, ...)?
- isOfTypeNumber() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column of type number (INTEGER, BIGDECIMAL, ...)?
- isOfTypeText() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column is of type text (VARCHAR, CLOB, ...)?
- isPrimaryKey() - Method in class org.silverpeas.components.mydb.model.DbColumn
-
Is this column represents a primary key?
- isText() - Method in class org.silverpeas.components.mydb.model.TableFieldValue
-
Is this value a text?
- isText(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isTime(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
- isTimestamp(int) - Static method in class org.silverpeas.components.mydb.model.SqlTypes
L
- Like - Class in org.silverpeas.components.mydb.model.predicates
-
The like predicate.
- Like(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Like
-
Constructs a new predicate on the specified database table's column and with the given reference value.
- list(MyDBConnectionInfo) - Static method in class org.silverpeas.components.mydb.model.DbTable
-
Gets a listing of the names of all the business tables in the database.
M
- MyDBConnectionInfo - Class in org.silverpeas.components.mydb.model
-
Information about a connexion to a data source.
- MyDBConnectionInfo() - Constructor for class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- MyDBConnectionInfo(String, String) - Constructor for class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- MyDBConnectionInfoRepository - Class in org.silverpeas.components.mydb.model
-
Repository of
MyDBConnectionInfo
objects. - MyDBConnectionInfoRepository() - Constructor for class org.silverpeas.components.mydb.model.MyDBConnectionInfoRepository
- MyDBConnectionInfoService - Interface in org.silverpeas.components.mydb.service
- MyDBException - Exception in org.silverpeas.components.mydb.service
-
Exception thrown when an error occurs in a MyDB component instance.
- MyDBException(String, String...) - Constructor for exception org.silverpeas.components.mydb.service.MyDBException
- MyDBException(String, Throwable) - Constructor for exception org.silverpeas.components.mydb.service.MyDBException
- MyDBException(Throwable) - Constructor for exception org.silverpeas.components.mydb.service.MyDBException
- MyDBInstancePreDestruction - Class in org.silverpeas.components.mydb
-
Delete any data source connection information for the ConnectorJDBC instance that is being deleted.
- MyDBInstancePreDestruction() - Constructor for class org.silverpeas.components.mydb.MyDBInstancePreDestruction
- MyDBRuntimeException - Exception in org.silverpeas.components.mydb.service
-
Runtime exception when an unexpected errors occurs in MyDB and that error cannot be explicitly resolved.
- MyDBRuntimeException(String) - Constructor for exception org.silverpeas.components.mydb.service.MyDBRuntimeException
- MyDBRuntimeException(String, Throwable) - Constructor for exception org.silverpeas.components.mydb.service.MyDBRuntimeException
- MyDBRuntimeException(Throwable) - Constructor for exception org.silverpeas.components.mydb.service.MyDBRuntimeException
N
- NULL_VALUE - Static variable in class org.silverpeas.components.mydb.model.predicates.AbstractColumnValuePredicate
O
- openConnection() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Opens a connection to the data source targeted by this connection information.
- org.silverpeas.components.mydb - package org.silverpeas.components.mydb
- org.silverpeas.components.mydb.model - package org.silverpeas.components.mydb.model
- org.silverpeas.components.mydb.model.predicates - package org.silverpeas.components.mydb.model.predicates
- org.silverpeas.components.mydb.service - package org.silverpeas.components.mydb.service
- org.silverpeas.components.mydb.service.impl - package org.silverpeas.components.mydb.service.impl
P
- preDestroy(String) - Method in class org.silverpeas.components.mydb.MyDBInstancePreDestruction
-
Performs pre destruction tasks in the behalf of the specified component instance.
R
- remove() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Removes this connection information from the persistence context.
- removeConnectionInfo(MyDBConnectionInfo) - Method in class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- removeConnectionInfo(MyDBConnectionInfo) - Method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- removeConnectionInfoOfComponentInstance(String) - Method in class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- removeConnectionInfoOfComponentInstance(String) - Method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- removeFromComponentInstance(String) - Static method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
S
- save() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Saves or updates this connection information into the persistence context in order to be able to retrieve it later.
- saveConnectionInfo(MyDBConnectionInfo) - Method in class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- saveConnectionInfo(MyDBConnectionInfo) - Method in interface org.silverpeas.components.mydb.service.MyDBConnectionInfoService
- setDataMaxNumber(int) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets the maximum number of data to select when requesting the data source.
- setDataSourceName(String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets a new data source by its JNDI name to this connection info.
- setDefaultTableName(String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets the name of the default table to load with this connection information.
- setLoginAndPassword(String, String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets the login and the password required to open a connection to the targeted data source.
- SimpleMyDBConnectionInfoService - Class in org.silverpeas.components.mydb.service.impl
- SimpleMyDBConnectionInfoService() - Constructor for class org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService
- SqlTypes - Class in org.silverpeas.components.mydb.model
- StrictInferiority - Class in org.silverpeas.components.mydb.model.predicates
-
The strict inferiority predicate.
- StrictInferiority(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.StrictInferiority
- StrictSuperiority - Class in org.silverpeas.components.mydb.model.predicates
-
The strict superiority predicate.
- StrictSuperiority(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.StrictSuperiority
- Superiority - Class in org.silverpeas.components.mydb.model.predicates
-
The non-strict superiority predicate; the column'values can be equal with the reference value.
- Superiority(DbColumn, String) - Constructor for class org.silverpeas.components.mydb.model.predicates.Superiority
T
- table(String, MyDBConnectionInfo) - Static method in class org.silverpeas.components.mydb.model.DbTable
-
Gets the table with the specified name from the database referenced by the given connection information.
- TableFieldValue - Class in org.silverpeas.components.mydb.model
-
The value of a field in a table row with its type (and associated type name) in the database.
- TableRow - Class in org.silverpeas.components.mydb.model
-
A row in a table in a data source.
- TableRow(Map<String, TableFieldValue>) - Constructor for class org.silverpeas.components.mydb.model.TableRow
-
Constructs the table row from the specified dictionary of fields.
- toString() - Method in class org.silverpeas.components.mydb.model.TableFieldValue
U
- update(String) - Method in class org.silverpeas.components.mydb.model.TableFieldValue
-
Updates this value with the textual representation of the new value.
- update(TableRow, TableRow) - Method in class org.silverpeas.components.mydb.model.DbTable
-
Updates the specified row with the specified other row.
W
- withDataMaxNumber(int) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets the maximum number of data to select when requesting the data source and returns this connection information.
- withDataSourceName(String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets a new data source by its JNDI name to this connection info.
- withDefaultTableName(String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
-
Sets the default table to defaultTable from the database with this connection information and returns the later.
- withLoginAndPassword(String, String) - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
- withoutAnyDefaultTable() - Method in class org.silverpeas.components.mydb.model.MyDBConnectionInfo
All Classes All Packages