Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lilacsoftware.orca.DBManager
Class DataRetriever  view DataRetriever download DataRetriever.java

java.lang.Object
  extended bycom.lilacsoftware.orca.DBManager.DataRetriever

public class DataRetriever
extends java.lang.Object

This singleton class deals with retrieving database information. Lame comment.


Field Summary
private static DataRetriever instance
           
private  DBConnectionManager m_connMgr
           
 
Constructor Summary
private DataRetriever()
          A private constructor since this is a Singleton
 
Method Summary
 void close()
          Description of the Method
 void createTables()
          Creates all of the tables in the empty database For now, ignoring possibility that some tables might exist This should be in a new class, slacking for now....
 java.util.ArrayList getArtistList(java.lang.String comparison)
          Gets the artistList attribute of the DataRetriever object
static DataRetriever getInstance()
          Returns the single instance, creating one if it's the first time this method is called.
 java.util.ArrayList getSearchList(java.lang.String artistid)
          Gets the searchList attribute of the DataRetriever object
 com.lilacsoftware.orca.TrackInfoStruct getTrackInfo(java.lang.String trackID)
          Gets the trackInfo attribute of the DataRetriever object
private  void init()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static DataRetriever instance

m_connMgr

private DBConnectionManager m_connMgr
Constructor Detail

DataRetriever

private DataRetriever()
A private constructor since this is a Singleton

Since:
Method Detail

getInstance

public static DataRetriever getInstance()
Returns the single instance, creating one if it's the first time this method is called.

Since:

getArtistList

public java.util.ArrayList getArtistList(java.lang.String comparison)
Gets the artistList attribute of the DataRetriever object

Since:

getTrackInfo

public com.lilacsoftware.orca.TrackInfoStruct getTrackInfo(java.lang.String trackID)
Gets the trackInfo attribute of the DataRetriever object

Since:

getSearchList

public java.util.ArrayList getSearchList(java.lang.String artistid)
Gets the searchList attribute of the DataRetriever object

Since:

createTables

public void createTables()
Creates all of the tables in the empty database For now, ignoring possibility that some tables might exist This should be in a new class, slacking for now....

Since:

close

public void close()
Description of the Method

Since:

init

private void init()
Description of the Method

Since: