Package org.silverpeas.components.mydb.service.impl

## Class SimpleMyDBConnectionInfoService

- java.lang.Object
- - org.silverpeas.components.mydb.service.impl.SimpleMyDBConnectionInfoService

- All Implemented Interfaces:
    `MyDBConnectionInfoService`

      @Service
      public class SimpleMyDBConnectionInfoService
      extends Object
      implements MyDBConnectionInfoService

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SimpleMyDBConnectionInfoService()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<DataSourceDefinition>` | `getAllDataSourceDefinitions()` |
    `MyDBConnectionInfo` | `getConnectionInfo​(String id)` |
    `List<MyDBConnectionInfo>` | `getConnectionInfoList​(String instanceId)` |
    `void` | `removeConnectionInfo​(MyDBConnectionInfo connectionInfo)` |
    `void` | `removeConnectionInfoOfComponentInstance​(String componentInstanceId)` |
    `MyDBConnectionInfo` | `saveConnectionInfo​(MyDBConnectionInfo connectionInfo)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleMyDBConnectionInfoService

          public SimpleMyDBConnectionInfoService()

  - ### Method Detail

    - #### getConnectionInfoList

          public List<MyDBConnectionInfo> getConnectionInfoList​(String instanceId)

      Specified by:
        `getConnectionInfoList` in interface `MyDBConnectionInfoService`

    - #### removeConnectionInfo

          public void removeConnectionInfo​(MyDBConnectionInfo connectionInfo)

      Specified by:
        `removeConnectionInfo` in interface `MyDBConnectionInfoService`

    - #### removeConnectionInfoOfComponentInstance

          public void removeConnectionInfoOfComponentInstance​(String componentInstanceId)

      Specified by:
        `removeConnectionInfoOfComponentInstance` in interface `MyDBConnectionInfoService`

    - #### getConnectionInfo

          public MyDBConnectionInfo getConnectionInfo​(String id)

      Specified by:
        `getConnectionInfo` in interface `MyDBConnectionInfoService`

    - #### saveConnectionInfo

          public MyDBConnectionInfo saveConnectionInfo​(MyDBConnectionInfo connectionInfo)

      Specified by:
        `saveConnectionInfo` in interface `MyDBConnectionInfoService`

    - #### getAllDataSourceDefinitions

          public List<DataSourceDefinition> getAllDataSourceDefinitions()

      Specified by:
        `getAllDataSourceDefinitions` in interface `MyDBConnectionInfoService`