com.stratelia.webactiv.organization
Class AccessLevelTable

java.lang.Object
  extended by com.stratelia.webactiv.organization.Table<AccessLevelRow>
      extended by com.stratelia.webactiv.organization.AccessLevelTable

public class AccessLevelTable
extends Table<AccessLevelRow>


Constructor Summary
AccessLevelTable(OrganizationSchema organization)
           
 
Method Summary
protected  AccessLevelRow fetchAccessLevel(ResultSet rs)
          Fetch the current access level row from a resultSet.
protected  AccessLevelRow fetchRow(ResultSet rs)
          Fetch the current accessLevel row from a resultSet.
 AccessLevelRow getAccessLevel(String id)
          Returns the Access level whith the given id.
 AccessLevelRow[] getAllAccessLevels()
          Returns all the Access levels.
protected  void prepareInsert(String insertQuery, PreparedStatement insert, AccessLevelRow row)
          insert a accessLevel
protected  void prepareUpdate(String updateQuery, PreparedStatement update, AccessLevelRow row)
          update a accessLevel
 
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

AccessLevelTable

public AccessLevelTable(OrganizationSchema organization)
Method Detail

fetchAccessLevel

protected AccessLevelRow fetchAccessLevel(ResultSet rs)
                                   throws SQLException
Fetch the current access level row from a resultSet.

Parameters:
rs -
Returns:
the current access level row from a resultSet.
Throws:
SQLException

getAllAccessLevels

public AccessLevelRow[] getAllAccessLevels()
                                    throws AdminPersistenceException
Returns all the Access levels.

Returns:
all the Access levels.
Throws:
AdminPersistenceException

getAccessLevel

public AccessLevelRow getAccessLevel(String id)
                              throws AdminPersistenceException
Returns the Access level whith the given id.

Parameters:
id -
Returns:
the Access level whith the given id.
Throws:
AdminPersistenceException

fetchRow

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

Specified by:
fetchRow in class Table<AccessLevelRow>
Parameters:
rs -
Returns:
the current accessLevel row from a resultSet.
Throws:
SQLException

prepareUpdate

protected void prepareUpdate(String updateQuery,
                             PreparedStatement update,
                             AccessLevelRow row)
update a accessLevel

Specified by:
prepareUpdate in class Table<AccessLevelRow>

prepareInsert

protected void prepareInsert(String insertQuery,
                             PreparedStatement insert,
                             AccessLevelRow row)
insert a accessLevel

Specified by:
prepareInsert in class Table<AccessLevelRow>


Copyright © 2016 Silverpeas. All Rights Reserved.