REPO-2559, ALF-21909 Corrected missmatch in VirtualStoreImpl and VirtualQueryImpl. I corrected some name convention from my commit before (MNT-17113)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Martin Muller
2017-06-19 16:35:20 +00:00
parent 144c3b5d52
commit 82037ee4b6
4 changed files with 34 additions and 34 deletions

View File

@@ -546,8 +546,8 @@ public class VirtualStoreImpl implements VirtualStore, VirtualFolderDefinitionRe
true, true,
true, true,
null, null,
Collections.<QName> emptySet(),
searchTypeQNames, searchTypeQNames,
Collections.<QName> emptySet(),
ignoreAspectQNames, ignoreAspectQNames,
sortProps, sortProps,
pagingRequest); pagingRequest);

View File

@@ -1,28 +1,28 @@
/* /*
* #%L * #%L
* Alfresco Repository * Alfresco Repository
* %% * %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited * Copyright (C) 2005 - 2016 Alfresco Software Limited
* %% * %%
* This file is part of the Alfresco software. * This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of * If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is * the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms: * provided under the following open source license terms:
* *
* Alfresco is free software: you can redistribute it and/or modify * Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* Alfresco is distributed in the hope that it will be useful, * Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details. * GNU Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>. * along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L% * #L%
*/ */
package org.alfresco.repo.virtual.template; package org.alfresco.repo.virtual.template;
@@ -93,7 +93,7 @@ public class VirtualQueryImpl implements VirtualQuery
*/ */
@Override @Override
public PagingResults<Reference> perform(ActualEnvironment environment, boolean files, boolean folders, public PagingResults<Reference> perform(ActualEnvironment environment, boolean files, boolean folders,
String pattern, Set<QName> ignoreTypeQNames, Set<QName> searchTypeQNames, Set<QName> ignoreAspectQNames, String pattern, Set<QName> searchTypeQNames, Set<QName> ignoreTypeQNames, Set<QName> ignoreAspectQNames,
List<Pair<QName, Boolean>> sortProps, PagingRequest pagingRequest, Reference parentReference) List<Pair<QName, Boolean>> sortProps, PagingRequest pagingRequest, Reference parentReference)
throws VirtualizationException throws VirtualizationException
{ {

View File

@@ -651,10 +651,10 @@ public class ThumbnailServiceImplTest extends BaseAlfrescoSpringTest
/** /**
* A simple listener which will delete the given node after the transition is completed * A simple listener which will delete the given node after the transition is completed
*/ */
private class CustomListener extends TransactionListenerAdapter private class TestNodeDeleterListener extends TransactionListenerAdapter
{ {
private final NodeRef nodeRef; private final NodeRef nodeRef;
private CustomListener(NodeRef nodeRef) private TestNodeDeleterListener(NodeRef nodeRef)
{ {
this.nodeRef = nodeRef; this.nodeRef = nodeRef;
} }
@@ -736,9 +736,9 @@ public class ThumbnailServiceImplTest extends BaseAlfrescoSpringTest
public Void execute() throws Throwable public Void execute() throws Throwable
{ {
// Delete the content node (pdfOrig) before the afterCommit code is executed // Delete the content node (pdfOrig) before the afterCommit code is executed
CustomListener customListener = new CustomListener(pdfOrig); TestNodeDeleterListener testNodeDeleterListener = new TestNodeDeleterListener(pdfOrig);
// I needs to have a higher priority as the implemented afterCommit. The priority in order are (0,1,2,3,4) // It needs to have a higher priority as the implemented afterCommit. The priority in order are (0,1,2,3,4)
AlfrescoTransactionSupport.bindListener(customListener, 1); AlfrescoTransactionSupport.bindListener(testNodeDeleterListener, 1);
thumbnailService.createThumbnail(pdfOrig, ContentModel.PROP_CONTENT, MimetypeMap.MIMETYPE_IMAGE_JPEG, details.getTransformationOptions(), "doclib"); thumbnailService.createThumbnail(pdfOrig, ContentModel.PROP_CONTENT, MimetypeMap.MIMETYPE_IMAGE_JPEG, details.getTransformationOptions(), "doclib");
return null; return null;

View File

@@ -180,8 +180,8 @@ public class VirtualQueryImplTest extends TestCase
true, true,
true, true,
null, null,
Collections.singleton(testQName2),
Collections.<QName> emptySet(), Collections.<QName> emptySet(),
Collections.singleton(testQName2),
Collections.singleton(testQName1), Collections.singleton(testQName1),
Arrays.asList(withSortDefinitions), Arrays.asList(withSortDefinitions),
null, null,
@@ -197,8 +197,8 @@ public class VirtualQueryImplTest extends TestCase
false, false,
true, true,
null, null,
Collections.singleton(testQName2),
Collections.<QName> emptySet(), Collections.<QName> emptySet(),
Collections.singleton(testQName2),
Collections.singleton(testQName1), Collections.singleton(testQName1),
Collections.<Pair<QName, Boolean>> emptyList(), Collections.<Pair<QName, Boolean>> emptyList(),
null, null,