public class Store extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PreparedStatement |
deleteUserQuery
SQL-Befehl, loescht Such-Profil eines Users.*
|
protected PreparedStatement |
deleteUserQueryGroupAssoc
SQL-Befehl, loescht Such-Profil eines Users.*
|
protected PreparedStatement |
getFileName |
protected PreparedStatement |
getUserGroupId |
protected PreparedStatement |
getUserGroupInfo |
protected PreparedStatement |
getUserGroupQuery
SQL-Befehl zum Abfragen eines Suche-Profiles einer UserGroup.*
|
protected PreparedStatement |
getUserGroupQueryInfo |
protected PreparedStatement |
getUserQuery
SQL-Befehl zum Abfragen eines Suche-Profiles einer UserGroup.*
|
protected PreparedStatement |
getUserQueryInfo
SQL-Befehl zum Abfragen von QueryInfos von einem User.*
|
protected PreparedStatement |
maxId
SQL-Befehl, ermittelt die groesste store.*
|
protected ServerProperties |
properties
Serverkonfiguration.*
|
protected File |
qsd |
protected PreparedStatement |
storeUserGroupQuery
SQL-Befehl zum Speichern eines Suche-Profiles von einem User.*
|
protected PreparedStatement |
storeUserQuery
SQL-Befehl zum Speichern eines Suche-Profiles von einem User.*
|
protected PreparedStatement |
updateUserQuery
SQL-Befehl, aktualisiert Suchergebnis eines Users.*
|
| Constructor and Description |
|---|
Store(Connection con,
ServerProperties properties)
Konstruktor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createFilename(QueryData data,
User user,
int id)
///////////////////////////////////////////////// /////////////////////////////////////////////
|
boolean |
delete(int id)
loescht ein Such-Profil oder ein Suchergebnis.
|
QueryData |
getQuery(int queryId)
-------------------------------------------------------------------------
|
QueryInfo[] |
getQueryInfos(User user)
-------------------------------------------------------------------------
|
QueryInfo[] |
getQueryInfos(UserGroup ug)
-------------------------------------------------------------------------
|
boolean |
storeQuery(User user,
QueryData data)
speichert Such-Profil von einem User.
|
boolean |
updateQuery(User user,
QueryData data)
------------------------------------------------------------------------------
|
protected PreparedStatement storeUserQuery
protected PreparedStatement storeUserGroupQuery
protected PreparedStatement getUserQueryInfo
protected PreparedStatement getFileName
protected PreparedStatement getUserGroupQueryInfo
protected PreparedStatement getUserGroupInfo
protected PreparedStatement getUserQuery
protected PreparedStatement getUserGroupQuery
protected PreparedStatement deleteUserQuery
protected PreparedStatement deleteUserQueryGroupAssoc
protected PreparedStatement updateUserQuery
protected PreparedStatement getUserGroupId
protected PreparedStatement maxId
protected ServerProperties properties
protected File qsd
public Store(Connection con, ServerProperties properties)
con - Connection zur Datenbank, bekommt der QueryServer vom LocalServer uebergebenproperties - ServerKonfiguration, bekommt der QueryServer vom LocalServer uebergeben*public boolean storeQuery(User user, QueryData data)
user - User, der das Profil speichern willdata - query das Profil, das gespeichert werden sollpublic QueryInfo[] getQueryInfos(User user)
user - DOCUMENT ME!public QueryInfo[] getQueryInfos(UserGroup ug)
ug - DOCUMENT ME!public QueryData getQuery(int queryId)
queryId - DOCUMENT ME!public boolean delete(int id)
id - UserId, UserGroupId oder queryResultIdpublic boolean updateQuery(User user, QueryData data)
user - DOCUMENT ME!data - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.