Class RdbDataMapper


  • public class RdbDataMapper
    extends Object
    Author:
    ssah
    • Method Detail

      • setConnectionParameters

        public void setConnectionParameters​(String host,
                                            String database,
                                            String user,
                                            String password)
        Parameters:
        host - host
        database - database
        user - user
        password - password
      • saveRdbData

        public boolean saveRdbData​(Object dsId,
                                   RdbDataId dataId)
                            throws Exception
        Parameters:
        dsId - dsId
        dataId - dataId
        Returns:
        something
        Throws:
        Exception - foo
      • isConnection

        public boolean isConnection()
        Returns:
        something
      • getIocs

        public Vector getIocs()
                       throws SQLException
        Returns Vector of String objects representing IOCs.
        Returns:
        something
        Throws:
        SQLException - foo
      • getRdbDatas

        public Vector getRdbDatas​(String iocId)
                           throws SQLException
        Returns Vector of String objects representing db files under the given IOC.
        Parameters:
        iocId - iocId
        Returns:
        something
        Throws:
        SQLException - foo
      • getVersions

        public Vector getVersions​(String group,
                                  String iocId)
                           throws SQLException
        Returns Vector of String objects representing versions of the given group.
        Parameters:
        group - group
        iocId - iocId
        Returns:
        something
        Throws:
        SQLException - foo