mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
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:
@@ -546,8 +546,8 @@ public class VirtualStoreImpl implements VirtualStore, VirtualFolderDefinitionRe
|
||||
true,
|
||||
true,
|
||||
null,
|
||||
Collections.<QName> emptySet(),
|
||||
searchTypeQNames,
|
||||
Collections.<QName> emptySet(),
|
||||
ignoreAspectQNames,
|
||||
sortProps,
|
||||
pagingRequest);
|
||||
|
@@ -93,7 +93,7 @@ public class VirtualQueryImpl implements VirtualQuery
|
||||
*/
|
||||
@Override
|
||||
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)
|
||||
throws VirtualizationException
|
||||
{
|
||||
|
@@ -651,10 +651,10 @@ public class ThumbnailServiceImplTest extends BaseAlfrescoSpringTest
|
||||
/**
|
||||
* 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 CustomListener(NodeRef nodeRef)
|
||||
private TestNodeDeleterListener(NodeRef nodeRef)
|
||||
{
|
||||
this.nodeRef = nodeRef;
|
||||
}
|
||||
@@ -736,9 +736,9 @@ public class ThumbnailServiceImplTest extends BaseAlfrescoSpringTest
|
||||
public Void execute() throws Throwable
|
||||
{
|
||||
// Delete the content node (pdfOrig) before the afterCommit code is executed
|
||||
CustomListener customListener = new CustomListener(pdfOrig);
|
||||
// I needs to have a higher priority as the implemented afterCommit. The priority in order are (0,1,2,3,4)
|
||||
AlfrescoTransactionSupport.bindListener(customListener, 1);
|
||||
TestNodeDeleterListener testNodeDeleterListener = new TestNodeDeleterListener(pdfOrig);
|
||||
// It needs to have a higher priority as the implemented afterCommit. The priority in order are (0,1,2,3,4)
|
||||
AlfrescoTransactionSupport.bindListener(testNodeDeleterListener, 1);
|
||||
|
||||
thumbnailService.createThumbnail(pdfOrig, ContentModel.PROP_CONTENT, MimetypeMap.MIMETYPE_IMAGE_JPEG, details.getTransformationOptions(), "doclib");
|
||||
return null;
|
||||
|
@@ -180,8 +180,8 @@ public class VirtualQueryImplTest extends TestCase
|
||||
true,
|
||||
true,
|
||||
null,
|
||||
Collections.singleton(testQName2),
|
||||
Collections.<QName> emptySet(),
|
||||
Collections.singleton(testQName2),
|
||||
Collections.singleton(testQName1),
|
||||
Arrays.asList(withSortDefinitions),
|
||||
null,
|
||||
@@ -197,8 +197,8 @@ public class VirtualQueryImplTest extends TestCase
|
||||
false,
|
||||
true,
|
||||
null,
|
||||
Collections.singleton(testQName2),
|
||||
Collections.<QName> emptySet(),
|
||||
Collections.singleton(testQName2),
|
||||
Collections.singleton(testQName1),
|
||||
Collections.<Pair<QName, Boolean>> emptyList(),
|
||||
null,
|
||||
|
Reference in New Issue
Block a user