From: Richard Millet Date: Mon, 24 Feb 2014 18:27:42 +0000 (-0800) Subject: Merge branch 'PAHMA-963-REM-A' into PAHMA-963-REM-C X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=5f7320b764b09d045d55bf8d0d174d339d0fc61b;p=tmp%2Fjakarta-migration.git Merge branch 'PAHMA-963-REM-A' into PAHMA-963-REM-C --- 5f7320b764b09d045d55bf8d0d174d339d0fc61b diff --cc services/common/pom.xml index 6a6e6e6b8,38b714cb5..9676e2f37 --- a/services/common/pom.xml +++ b/services/common/pom.xml @@@ -378,8 -384,38 +384,13 @@@ ${spring.security.version} provided + + org.springframework + spring-aop + ${spring.version} + - - - - false - - - true - - el4jReleaseRepositoryExternal - External release repository of the EL4J project - http://public-el4.elca-services.ch/el4j/maven2repository - - - - false - - - true - - Apache - External release repository of the Apache projects - https://repository.apache.org/content/groups/public/ - - - collectionspace-services-common install diff --cc services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java index ec2d63d84,13f47fe5d..7699f7520 --- a/services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java +++ b/services/common/src/main/java/org/collectionspace/services/common/vocabulary/RefNameServiceUtils.java @@@ -472,28 -465,10 +472,28 @@@ public class RefNameServiceUtils return nRefsFound; } - private static DocumentModelList findAuthorityRefDocs( + private static DocumentModelList findAllAuthorityRefDocs( + ServiceContext ctx, + RepositoryClient repoClient, + RepositoryInstance repoSession, List serviceTypes, + String refName, + String refPropName, + Map queriedServiceBindings, + Map> authRefFieldsByService, + String whereClauseAdditions, + String orderByClause, + int pageSize, + boolean computeTotal) throws DocumentException, DocumentNotFoundException { + + return new LazyAuthorityRefDocList(ctx, repoClient, repoSession, + serviceTypes, refName, refPropName, queriedServiceBindings, authRefFieldsByService, + whereClauseAdditions, orderByClause, pageSize, computeTotal); + } + + protected static DocumentModelList findAuthorityRefDocs( ServiceContext ctx, RepositoryClient repoClient, - RepositoryInstance repoSession, List serviceTypes, + RepositoryInstanceInterface repoSession, List serviceTypes, String refName, String refPropName, Map queriedServiceBindings,