|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.fthpis.datastore.jdbc.SessionServiceTable
Field Summary | |
(package private) static java.lang.String |
deleteBySessionKeySQL
|
(package private) static java.lang.String |
deleteSQL
|
(package private) static java.lang.String |
insertSQL
|
(package private) static java.lang.String |
selectBySessionKeySQL
|
(package private) static java.lang.String |
selectSQL
|
(package private) static java.lang.String |
verifyOwnershipSQL
|
Constructor Summary | |
SessionServiceTable()
|
Method Summary | |
static void |
delete(java.lang.String serviceKey,
java.sql.Connection connection)
Delete row from the BUSINESS_SERVICE table. |
static void |
deleteBySessionKey(java.lang.String sessionKey,
java.sql.Connection connection)
Delete multiple rows from the BUSINESS_SERVICE table that are assigned to the BusinessKey specified. |
static void |
insert(BusinessService service,
java.sql.Connection connection)
Insert new row into the SESSION_ENTITIES table. |
static void |
main(java.lang.String[] args)
|
static BusinessService |
select(java.lang.String serviceKey,
java.sql.Connection connection)
Select one row from the BUSINESS_SERVICE table. |
static java.util.Vector |
selectBySessionKey(java.lang.String sessionKey,
java.sql.Connection connection)
Select all rows from the business_service table for a given BusinessKey. |
static void |
test(java.sql.Connection connection)
|
static boolean |
verifyOwnership(java.lang.String serviceKey,
java.lang.String publisherID,
java.sql.Connection connection)
Verify that 'authorizedName' has the authority to update or delete BusinessService identified by the serviceKey parameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static java.lang.String insertSQL
static java.lang.String deleteSQL
static java.lang.String selectSQL
static java.lang.String selectBySessionKeySQL
static java.lang.String deleteBySessionKeySQL
static java.lang.String verifyOwnershipSQL
Constructor Detail |
public SessionServiceTable()
Method Detail |
public static void insert(BusinessService service, java.sql.Connection connection) throws java.sql.SQLException
service
- object holding values to be insertedconnection
- JDBC connection
java.sql.SQLException
public static void delete(java.lang.String serviceKey, java.sql.Connection connection) throws java.sql.SQLException
serviceKey
- Primary key valueconnection
- JDBC connection
java.sql.SQLException
public static BusinessService select(java.lang.String serviceKey, java.sql.Connection connection) throws java.sql.SQLException
serviceKey
- primary key valueconnection
- JDBC connection
java.sql.SQLException
public static void deleteBySessionKey(java.lang.String sessionKey, java.sql.Connection connection) throws java.sql.SQLException
connection
- JDBC connection
java.sql.SQLException
public static java.util.Vector selectBySessionKey(java.lang.String sessionKey, java.sql.Connection connection) throws java.sql.SQLException
connection
- JDBC connection
java.sql.SQLException
public static boolean verifyOwnership(java.lang.String serviceKey, java.lang.String publisherID, java.sql.Connection connection) throws java.sql.SQLException
serviceKey
- publisherID
- connection
-
java.sql.SQLException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void test(java.sql.Connection connection) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |