|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.organization.Table<AccessLevelRow>
com.stratelia.webactiv.organization.AccessLevelTable
public class AccessLevelTable
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 |
---|
public AccessLevelTable(OrganizationSchema organization)
Method Detail |
---|
protected AccessLevelRow fetchAccessLevel(ResultSet rs) throws SQLException
rs
-
SQLException
public AccessLevelRow[] getAllAccessLevels() throws AdminPersistenceException
AdminPersistenceException
public AccessLevelRow getAccessLevel(String id) throws AdminPersistenceException
id
-
AdminPersistenceException
protected AccessLevelRow fetchRow(ResultSet rs) throws SQLException
fetchRow
in class Table<AccessLevelRow>
rs
-
SQLException
protected void prepareUpdate(String updateQuery, PreparedStatement update, AccessLevelRow row)
prepareUpdate
in class Table<AccessLevelRow>
protected void prepareInsert(String insertQuery, PreparedStatement insert, AccessLevelRow row)
prepareInsert
in class Table<AccessLevelRow>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |