Searched defs:queries (Results 1 - 20 of 20) sorted by relevance

/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/query/worker/queries/
H A Dpackage-info.java18 * Contains classes necessary for generating queries for the CTSWorker Framework.
21 package org.forgerock.openam.cts.impl.query.worker.queries
H A DCTSWorkerPastExpiryDateQuery.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
38 * @param <C> The type of connection queries are made for.
H A DMaxSessionTimeExpiredQuery.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
44 * @param <C> The type of connection queries are made for.
H A DSessionIdleTimeExpiredQuery.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
44 * @param <C> The type of connection queries are made for.
H A DCTSWorkerBaseQuery.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
32 * Abstract class for the performing of queries related to the CTS Worker Framework.
104 * @return The QueryBuilder used to generate queries to perform.
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/impl/query/worker/queries/
H A DCTSWorkerPastExpiryDateQueryTest.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
H A DMaxSessionTimeExpiredQueryTest.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
H A DSessionIdleTimeExpiredQueryTest.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
H A DCTSWorkerBaseQueryTest.java16 package org.forgerock.openam.cts.impl.query.worker.queries;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/log/
H A DLogQuery.java49 * All the queries to be applied successfully
73 private ArrayList queries; /* list of QueryElement object */ field in class:LogQuery
85 this.queries = null;
99 this.queries = null;
109 * @param matchCriteria whether all queries or any one to match.
134 this.queries = null;
186 if (this.queries == null) {
187 this.queries = new ArrayList();
189 this.queries.add(qryElement);
197 return (this.queries);
[all...]
/forgerock/openidm-v4/openidm-repo-orientdb/src/main/java/org/forgerock/openidm/repo/orientdb/impl/query/
H A DConfiguredQueries.java58 // Pre-configured queries, key is query id
66 * Set the pre-configured queries, which are identified by a query identifier and can be
69 * Success to set the queries does not mean they are valid as some can only be validated at
72 * @param queries the complete list of configured queries, mapping from query id to the
75 public void setConfiguredQueries(Map<String, String> queries) { argument
79 if (queries != null) {
80 for (Map.Entry<String, String> entry : queries.entrySet()) {
90 * Check if a {@code queryId} is present in the set of configured queries.
94 * @return true if the queryId is present in the set of configured queries
[all...]
H A DQueries.java107 * Set the pre-configured queries, which are identified by a query identifier and can be
110 * Success to set the queries does not mean they are valid as some can only be validated at
113 * @param queries the complete list of configured queries, mapping from query id to the
117 public void setConfiguredQueries(Map<String, String> queries) { argument
119 if (!queries.containsKey("query-all-ids")) {
120 queries.put("query-all-ids", "select _openidm_id from ${unquoted:_resource}");
123 super.setConfiguredQueries(queries);
182 + " does not match any configured queries on the OrientDB repository service.");
/forgerock/openam/openam-core/src/main/java/com/sun/identity/log/
H A DLogQuery.java49 * All the queries to be applied successfully
73 private ArrayList queries; /* list of QueryElement object */ field in class:LogQuery
85 this.queries = null;
99 this.queries = null;
109 * @param matchCriteria whether all queries or any one to match.
134 this.queries = null;
186 if (this.queries == null) {
187 this.queries = new ArrayList();
189 this.queries.add(qryElement);
197 return (this.queries);
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/dst/
H A DDSTClient.java705 * Gets query responses for a list of <code>DST</code> queries
706 * @param queries list of <code>DSTQuery</code> objects
712 public java.util.List getQueryResponse(java.util.List queries) argument
716 if(queries == null || queries.size() == 0) {
720 Iterator iter = queries.iterator();
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/repo/jdbc/impl/query/
H A DTableQueries.java85 * Helper class to wrap configured queries/commands.
152 /** Configured queries */
153 final ConfiguredQueries queries = new ConfiguredQueries(); field in class:TableQueries
322 } else if (queries.queryIdExists(queryId)) {
323 foundQuery = queries.getQuery(con, queryId, type, params);
326 + " does not match any configured queries on the JDBC repository service.");
335 queryDescription = queries.getQueryInfo(queryId).getQueryString();
490 * Check if a {@code queryId} is present in the set of configured queries.
494 * @return true if the queryId is present in the set of configured queries.
497 return queries
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/dst/
H A DDSTClient.java705 * Gets query responses for a list of <code>DST</code> queries
706 * @param queries list of <code>DSTQuery</code> objects
712 public java.util.List getQueryResponse(java.util.List queries) argument
716 if(queries == null || queries.size() == 0) {
720 Iterator iter = queries.iterator();
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/repo/jdbc/impl/
H A DJDBCRepoService.java877 JsonValue genericQueries = config.get("queries").get("genericTables");
926 JsonValue explicitQueries = config.get("queries").get("explicitTables");
981 String dbSchemaName, JsonValue queries, JsonValue commands, int maxBatchSize) {
987 new DB2TableHandler(tableConfig, dbSchemaName, queries, commands, maxBatchSize,
991 new OracleTableHandler(tableConfig, dbSchemaName, queries, commands, maxBatchSize,
995 new PostgreSQLTableHandler(tableConfig, dbSchemaName, queries, commands, maxBatchSize,
999 new GenericTableHandler(tableConfig, dbSchemaName, queries, commands, maxBatchSize,
1003 new MSSQLTableHandler(tableConfig, dbSchemaName, queries, commands, maxBatchSize,
1007 new H2TableHandler(tableConfig, dbSchemaName, queries, commands, maxBatchSize,
1011 new GenericTableHandler(tableConfig, dbSchemaName, queries, command
980 getGenericTableHandler(DatabaseType databaseType, JsonValue tableConfig, String dbSchemaName, JsonValue queries, JsonValue commands, int maxBatchSize) argument
[all...]
H A DGenericTableHandler.java94 final TableQueries queries; field in class:GenericTableHandler
116 return queries.queryIdExists(queryId);
125 * @param queriesConfig a map of named queries
154 queries = new TableQueries(this, mainTableName, propTableName, dbSchemaName, getSearchableLength(), new GenericQueryResultMapper());
156 queries.setConfiguredQueries(queriesConfig, commandsConfig, queryMap);
204 // Default object queries
258 createStatement = queries.getPreparedStatement(connection, queryMap.get(QueryDefinition.CREATEQUERYSTR), true);
653 return queries.query(type, params, connection);
658 return queries.command(type, params, connection);
667 return queries
[all...]
H A DMappedTableHandler.java88 // in the order they need populating in create and update queries
92 final TableQueries queries; field in class:MappedTableHandler
143 queries = new TableQueries(this, tableName, null, dbSchemaName, 0, new ExplicitQueryResultMapper(explicitMapping));
144 queries.setConfiguredQueries(tableName, dbSchemaName, queriesConfig, commandsConfig, null);
197 readStatement = queries.getPreparedStatement(connection, readQueryStr);
251 queries.getPreparedStatement(connection, readForUpdateQueryStr);
281 queries.getPreparedStatement(connection, createQueryStr);
392 updateStatement = queries.getPreparedStatement(connection, updateQueryStr);
458 deleteStatement = queries.getPreparedStatement(connection, deleteQueryStr);
492 return queries
[all...]
/forgerock/openidm-v4/openidm-repo-orientdb/src/main/java/org/forgerock/openidm/repo/orientdb/impl/
H A DOrientDBRepoService.java114 public static final String CONFIG_QUERIES = "queries";
163 Queries queries = new Queries(); field in class:OrientDBRepoService
584 if (queries.queryIdExists(countQueryId)) {
652 List<ODocument> queryResult = queries.query(request.getResourcePath(), request, db);
847 queries.setConfiguredQueries(queryMap);

Completed in 406 milliseconds