public class ParosTableSessionUrl extends ParosAbstractTable implements TableSessionUrl
Constructor and Description |
---|
ParosTableSessionUrl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int type,
String url) |
void |
deleteAllUrlsForType(int type) |
List<RecordSessionUrl> |
getUrlsForType(int type) |
RecordSessionUrl |
insert(int type,
String url) |
RecordSessionUrl |
read(long urlId) |
protected void |
reconnect(Connection conn) |
void |
setUrls(int type,
List<String> urls) |
databaseOpen, getConnection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
databaseOpen
protected void reconnect(Connection conn) throws DatabaseException
reconnect
in class ParosAbstractTable
DatabaseException
public RecordSessionUrl read(long urlId) throws DatabaseException
read
in interface TableSessionUrl
DatabaseException
public RecordSessionUrl insert(int type, String url) throws DatabaseException
insert
in interface TableSessionUrl
DatabaseException
public void delete(int type, String url) throws DatabaseException
delete
in interface TableSessionUrl
DatabaseException
public void deleteAllUrlsForType(int type) throws DatabaseException
deleteAllUrlsForType
in interface TableSessionUrl
DatabaseException
public List<RecordSessionUrl> getUrlsForType(int type) throws DatabaseException
getUrlsForType
in interface TableSessionUrl
DatabaseException
public void setUrls(int type, List<String> urls) throws DatabaseException
setUrls
in interface TableSessionUrl
DatabaseException