## Uses of Class
org.silverpeas.components.mydb.model.MyDBConnectionInfo

- Packages that use MyDBConnectionInfo
  Package | Description
  --- | ---
  org.silverpeas.components.mydb.model |
  org.silverpeas.components.mydb.service |
  org.silverpeas.components.mydb.service.impl |

- - ### Uses of MyDBConnectionInfo in org.silverpeas.components.mydb.model

    Methods in org.silverpeas.components.mydb.model that return MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `MyDBConnectionInfo` | MyDBConnectionInfo.`withDataMaxNumber​(int maxNumber)` | Sets the maximum number of data to select when requesting the data source and returns this connection information.
    `MyDBConnectionInfo` | MyDBConnectionInfo.`withDataSourceName​(String dataSourceName)` | Sets a new data source by its JNDI name to this connection info.
    `MyDBConnectionInfo` | MyDBConnectionInfo.`withDefaultTableName​(String tableName)` | Sets the default table to defaultTable from the database with this connection information and returns the later.
    `MyDBConnectionInfo` | MyDBConnectionInfo.`withLoginAndPassword​(String login, String password)` |
    `MyDBConnectionInfo` | MyDBConnectionInfo.`withoutAnyDefaultTable()` |

    Methods in org.silverpeas.components.mydb.model that return types with arguments of type MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<MyDBConnectionInfo>` | MyDBConnectionInfoRepository.`findByInstanceId​(String instanceId)` | Finds all the connection information registered in the specified component instance.
    `static List<MyDBConnectionInfo>` | MyDBConnectionInfo.`getFromComponentInstance​(String instanceId)` |

    Methods in org.silverpeas.components.mydb.model with parameters of type MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Optional<DbTable>` | DbTable.`defaultTable​(MyDBConnectionInfo dsInfo)` | Loads the default table defined in the specified `MyDBConnectionInfo` instance.
    `static List<String>` | DbTable.`list​(MyDBConnectionInfo dsInfo)` | Gets a listing of the names of all the business tables in the database.
    `static Optional<DbTable>` | DbTable.`table​(String tableName, MyDBConnectionInfo dsInfo)` | Gets the table with the specified name from the database referenced by the given connection information.

  - ### Uses of MyDBConnectionInfo in org.silverpeas.components.mydb.service

    Methods in org.silverpeas.components.mydb.service that return types with arguments of type MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<MyDBConnectionInfo>` | MyDBConnectionInfoService.`getConnectionInfoList​(String instanceId)` |

    Methods in org.silverpeas.components.mydb.service with parameters of type MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | MyDBConnectionInfoService.`saveConnectionInfo​(MyDBConnectionInfo connectionInfo)` |

  - ### Uses of MyDBConnectionInfo in org.silverpeas.components.mydb.service.impl

    Methods in org.silverpeas.components.mydb.service.impl that return types with arguments of type MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<MyDBConnectionInfo>` | SimpleMyDBConnectionInfoService.`getConnectionInfoList​(String instanceId)` |

    Methods in org.silverpeas.components.mydb.service.impl with parameters of type MyDBConnectionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | SimpleMyDBConnectionInfoService.`saveConnectionInfo​(MyDBConnectionInfo connectionInfo)` |