Skip to content

Commit

Permalink
clean up during writing documentation for asynchronous widget
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Aug 27, 2021
1 parent 83b6fac commit 281e41c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2449,7 +2449,7 @@
<xsd:element name="storedData" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Specification of a string data as a widget data source.
Specification of a string data as a widget data source. This data can be stored by report task.
</xsd:documentation>
<xsd:appinfo>
<a:since>4.4</a:since>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,6 @@ private ObjectFilter combineAuditFilter(CollectionRefSpecificationType collectio
return prismContext.getQueryConverter().parseFilter(filter, AuditEventRecordType.class);
}

private String getQueryForCount(String query) {
int index = query.toLowerCase().indexOf("from");
query = "select count(*) " + query.substring(index);
query = query.split("order")[0];
LOGGER.debug("Query for select: " + query);
return query;
}

private String generateNumberMessageForCollection(DashboardWidgetType widget, DashboardWidget data, Task task, OperationResult result)
throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, ObjectNotFoundException {
CollectionRefSpecificationType collectionSpec = getCollectionRefSpecificationType(widget, task, result);
Expand Down

0 comments on commit 281e41c

Please sign in to comment.