|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.persist.db.DatabaseFactoryImpl
org.opensubsystems.security.utils.TestUserDatabaseFactoryUtils
public class TestUserDatabaseFactoryUtils
Data factory to retrieve and manipulate users in persistence store. This class is used as utilities for jUnit tests to provide manual cascade deleting.
| Field Summary | |
|---|---|
protected org.opensubsystems.security.persist.db.UserDatabaseSchema |
m_schema
Schema to use to execute database dependent operations. |
| Fields inherited from class org.opensubsystems.core.persist.db.DatabaseFactoryImpl |
|---|
m_connectionFactory, m_iConcurrencySelectListResultSet, m_iDataType, m_iTypeSelectListResultSet, m_transactionFactory |
| Constructor Summary | |
|---|---|
TestUserDatabaseFactoryUtils()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
deleteUserCascadeManual(java.sql.Connection cntConnection,
int iId)
Method for deleting user and all his sessions, roles and access rights. |
void |
deleteUserCascadeManual(int iId)
Method for deleting user and all his sessions, roles and access rights. |
void |
deleteUserCascadeManualUsingLike(java.lang.String strLikeClause)
Method for deleting user and all his belonging sessions, roles and access rights. |
org.opensubsystems.core.data.DataObject |
load(java.sql.ResultSet rsQueryResults,
int initialIndex)
|
| Methods inherited from class org.opensubsystems.core.persist.db.DatabaseFactoryImpl |
|---|
getConcurrencySelectListResultSet, getDataType, getTypeSelectListResultSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.opensubsystems.security.persist.db.UserDatabaseSchema m_schema
| Constructor Detail |
|---|
public TestUserDatabaseFactoryUtils()
throws org.opensubsystems.core.error.OSSException
org.opensubsystems.core.error.OSSException - - an error has occured| Method Detail |
|---|
public org.opensubsystems.core.data.DataObject load(java.sql.ResultSet rsQueryResults,
int initialIndex)
throws org.opensubsystems.core.error.OSSDatabaseAccessException
org.opensubsystems.core.error.OSSDatabaseAccessException
public void deleteUserCascadeManual(int iId)
throws org.opensubsystems.core.error.OSSException
iId - - ID of the user
org.opensubsystems.core.error.OSSException - - error occured during deleting
public void deleteUserCascadeManual(java.sql.Connection cntConnection,
int iId)
throws org.opensubsystems.core.error.OSSException
cntConnection - - database connection to useiId - - ID of the user
org.opensubsystems.core.error.OSSException - - error occured during deleting
public void deleteUserCascadeManualUsingLike(java.lang.String strLikeClause)
throws org.opensubsystems.core.error.OSSException
strLikeClause - - LIKE clause the users are specified by
org.opensubsystems.core.error.OSSException - - error occured during deleting
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||