Package org.zaproxy.zap.db.sql
Class SqlTableSessionUrl
- java.lang.Object
-
- org.zaproxy.zap.db.sql.SqlAbstractTable
-
- org.zaproxy.zap.db.sql.SqlTableSessionUrl
-
- All Implemented Interfaces:
DatabaseListener
,TableSessionUrl
public class SqlTableSessionUrl extends SqlAbstractTable implements TableSessionUrl
-
-
Constructor Summary
Constructors Constructor Description SqlTableSessionUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(int type, java.lang.String url)
void
deleteAllUrlsForType(int type)
java.util.List<RecordSessionUrl>
getUrlsForType(int type)
RecordSessionUrl
insert(int type, java.lang.String url)
RecordSessionUrl
read(long urlId)
protected void
reconnect(java.sql.Connection conn)
void
setUrls(int type, java.util.List<java.lang.String> urls)
-
Methods inherited from class org.zaproxy.zap.db.sql.SqlAbstractTable
databaseOpen, getConnection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.parosproxy.paros.db.DatabaseListener
databaseOpen
-
-
-
-
Method Detail
-
reconnect
protected void reconnect(java.sql.Connection conn) throws DatabaseException
- Specified by:
reconnect
in classSqlAbstractTable
- Throws:
DatabaseException
-
read
public RecordSessionUrl read(long urlId) throws DatabaseException
- Specified by:
read
in interfaceTableSessionUrl
- Throws:
DatabaseException
-
insert
public RecordSessionUrl insert(int type, java.lang.String url) throws DatabaseException
- Specified by:
insert
in interfaceTableSessionUrl
- Throws:
DatabaseException
-
delete
public void delete(int type, java.lang.String url) throws DatabaseException
- Specified by:
delete
in interfaceTableSessionUrl
- Throws:
DatabaseException
-
deleteAllUrlsForType
public void deleteAllUrlsForType(int type) throws DatabaseException
- Specified by:
deleteAllUrlsForType
in interfaceTableSessionUrl
- Throws:
DatabaseException
-
getUrlsForType
public java.util.List<RecordSessionUrl> getUrlsForType(int type) throws DatabaseException
- Specified by:
getUrlsForType
in interfaceTableSessionUrl
- Throws:
DatabaseException
-
setUrls
public void setUrls(int type, java.util.List<java.lang.String> urls) throws DatabaseException
- Specified by:
setUrls
in interfaceTableSessionUrl
- Throws:
DatabaseException
-
-