com.stratelia.webactiv.organization
Class KeyStoreTable

java.lang.Object
  extended by com.stratelia.webactiv.organization.Table<KeyStoreRow>
      extended by com.stratelia.webactiv.organization.KeyStoreTable

public class KeyStoreTable
extends Table<KeyStoreRow>

A KeyStoreTable object manages the ST_KeyStore table.


Constructor Summary
KeyStoreTable(OrganizationSchema organization)
           
 
Method Summary
protected  KeyStoreRow fetchKeyStore(ResultSet rs)
          Fetch the current keyStore row from a resultSet.
protected  KeyStoreRow fetchRow(ResultSet rs)
          Fetch the current accessLevel row from a resultSet.
 KeyStoreRow getRecordByKey(int nKey)
          Get a keystore record by userKey
protected  void prepareInsert(String insertQuery, PreparedStatement insert, KeyStoreRow row)
          insert a KeyStore
protected  void prepareUpdate(String updateQuery, PreparedStatement update, KeyStoreRow row)
          update a KeyStore
 void removeKeyStoreRecord(int nKey)
          Remove a keystore record with the given key
 
Methods inherited from class com.stratelia.webactiv.organization.Table
addIdToQuery, addParamToQuery, addParamToQuery, addParamToQuery, aliasColumns, getCount, getCount, getIds, getIds, getIds, getIds, getInteger, getInteger, getMatchingRows, getNextId, getRows, getRows, getRows, getRows, getUniqueRow, getUniqueRow, getUniqueRow, insertRow, performPrepareStatementParams, truncate, updateRelation, updateRelation, updateRelation, updateRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreTable

public KeyStoreTable(OrganizationSchema organization)
Method Detail

fetchKeyStore

protected KeyStoreRow fetchKeyStore(ResultSet rs)
                             throws SQLException
Fetch the current keyStore row from a resultSet.

Throws:
SQLException

getRecordByKey

public KeyStoreRow getRecordByKey(int nKey)
                           throws AdminPersistenceException
Get a keystore record by userKey

Throws:
AdminPersistenceException

removeKeyStoreRecord

public void removeKeyStoreRecord(int nKey)
                          throws AdminPersistenceException
Remove a keystore record with the given key

Throws:
AdminPersistenceException

fetchRow

protected KeyStoreRow fetchRow(ResultSet rs)
                        throws SQLException
Fetch the current accessLevel row from a resultSet.

Specified by:
fetchRow in class Table<KeyStoreRow>
Returns:
Throws:
SQLException

prepareUpdate

protected void prepareUpdate(String updateQuery,
                             PreparedStatement update,
                             KeyStoreRow row)
update a KeyStore

Specified by:
prepareUpdate in class Table<KeyStoreRow>

prepareInsert

protected void prepareInsert(String insertQuery,
                             PreparedStatement insert,
                             KeyStoreRow row)
insert a KeyStore

Specified by:
prepareInsert in class Table<KeyStoreRow>


Copyright © 2016 Silverpeas. All Rights Reserved.