From 5f7a1462bf274132a69ac636f3a622d501d9c6a4 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 5 Jun 2012 12:26:04 -0700 Subject: [PATCH] NOJIRA: Fixed trivial typo in constant for query parameter used in report invocation. --- .../java/org/collectionspace/services/client/IQueryManager.java | 2 +- .../java/org/collectionspace/services/client/ReportProxy.java | 2 +- .../org/collectionspace/services/report/ReportResource.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/client/src/main/java/org/collectionspace/services/client/IQueryManager.java b/services/client/src/main/java/org/collectionspace/services/client/IQueryManager.java index 54cd1f79e..a4ff53a82 100644 --- a/services/client/src/main/java/org/collectionspace/services/client/IQueryManager.java +++ b/services/client/src/main/java/org/collectionspace/services/client/IQueryManager.java @@ -38,7 +38,7 @@ public interface IQueryManager { final static String SEARCH_TYPE_KEYWORDS_AS = "as"; final static String SEARCH_TYPE_PARTIALTERM = "pt"; final static String SEARCH_TYPE_DOCTYPE = "doctype"; - final static String SEARCH_TYPE_INVCOATION_MODE = "mode"; + final static String SEARCH_TYPE_INVOCATION_MODE = "mode"; final static String SEARCH_TYPE_INVOCATION = "inv"; final static String SEARCH_QUALIFIER_AND = SEARCH_TERM_SEPARATOR + "AND" + SEARCH_TERM_SEPARATOR; final static String SEARCH_QUALIFIER_OR = SEARCH_TERM_SEPARATOR + "OR" + SEARCH_TERM_SEPARATOR; diff --git a/services/report/client/src/main/java/org/collectionspace/services/client/ReportProxy.java b/services/report/client/src/main/java/org/collectionspace/services/client/ReportProxy.java index 68f236aed..f983b0a18 100644 --- a/services/report/client/src/main/java/org/collectionspace/services/client/ReportProxy.java +++ b/services/report/client/src/main/java/org/collectionspace/services/client/ReportProxy.java @@ -48,6 +48,6 @@ public interface ReportProxy extends CollectionSpaceCommonListPoxProxy { @Produces({"application/xml"}) ClientResponse readListFiltered( @QueryParam(IQueryManager.SEARCH_TYPE_DOCTYPE) String docType, - @QueryParam(IQueryManager.SEARCH_TYPE_INVCOATION_MODE) String mode); + @QueryParam(IQueryManager.SEARCH_TYPE_INVOCATION_MODE) String mode); } diff --git a/services/report/service/src/main/java/org/collectionspace/services/report/ReportResource.java b/services/report/service/src/main/java/org/collectionspace/services/report/ReportResource.java index 79ed1e968..a3c71844d 100644 --- a/services/report/service/src/main/java/org/collectionspace/services/report/ReportResource.java +++ b/services/report/service/src/main/java/org/collectionspace/services/report/ReportResource.java @@ -88,7 +88,7 @@ public class ReportResource extends ResourceBase { ServiceContext ctx = createServiceContext(queryParams); DocumentHandler handler = createDocumentHandler(ctx); String docType = queryParams.getFirst(IQueryManager.SEARCH_TYPE_DOCTYPE); - String mode = queryParams.getFirst(IQueryManager.SEARCH_TYPE_INVCOATION_MODE); + String mode = queryParams.getFirst(IQueryManager.SEARCH_TYPE_INVOCATION_MODE); String whereClause = null; DocumentFilter documentFilter = null; String common_part =ctx.getCommonPartLabel(); -- 2.47.3