phenote.dataadapter.worm
Class WormTransgeneAdapter

java.lang.Object
  extended by phenote.dataadapter.worm.WormTransgeneAdapter
All Implemented Interfaces:
QueryableDataAdapterI

public class WormTransgeneAdapter
extends java.lang.Object
implements QueryableDataAdapterI


Constructor Summary
WormTransgeneAdapter()
           
 
Method Summary
 void commit(CharacterListI charList)
           
 void delete(java.sql.Connection c, java.sql.Statement s)
           
 void errorPopup(java.lang.String errType)
           
static java.lang.String find(java.lang.String patternStr, java.lang.CharSequence input)
           
 java.lang.String getCommitButtonLabel()
          The label that gets displayed on the db commit button
 java.util.List<java.lang.String> getQueryableGroups()
          returns a list of group strings of groups that can be queried for with query method
 boolean isFieldQueryable(java.lang.String field)
          return true if data adapter can query for the char field
 CharacterListI query(java.lang.String group, java.lang.String field, java.lang.String query)
          Throws exception if query fails, and no data to return Query with query string of type field for group
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WormTransgeneAdapter

public WormTransgeneAdapter()
Method Detail

getQueryableGroups

public java.util.List<java.lang.String> getQueryableGroups()
Description copied from interface: QueryableDataAdapterI
returns a list of group strings of groups that can be queried for with query method

Specified by:
getQueryableGroups in interface QueryableDataAdapterI

getCommitButtonLabel

public java.lang.String getCommitButtonLabel()
Description copied from interface: QueryableDataAdapterI
The label that gets displayed on the db commit button

Specified by:
getCommitButtonLabel in interface QueryableDataAdapterI

delete

public void delete(java.sql.Connection c,
                   java.sql.Statement s)

commit

public void commit(CharacterListI charList)
Specified by:
commit in interface QueryableDataAdapterI

find

public static java.lang.String find(java.lang.String patternStr,
                                    java.lang.CharSequence input)

isFieldQueryable

public boolean isFieldQueryable(java.lang.String field)
return true if data adapter can query for the char field

Specified by:
isFieldQueryable in interface QueryableDataAdapterI

errorPopup

public void errorPopup(java.lang.String errType)

query

public CharacterListI query(java.lang.String group,
                            java.lang.String field,
                            java.lang.String query)
                     throws DataAdapterEx
Description copied from interface: QueryableDataAdapterI
Throws exception if query fails, and no data to return Query with query string of type field for group

Specified by:
query in interface QueryableDataAdapterI
Throws:
DataAdapterEx