mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
Merged MNT-17845-5.2.N (5.2.2) to 5.2.N (5.2.2)
137773 anechifor: REPO-2516 - MNT-17845 : Smart Folders - replece isReference with fromNodeRef git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -42,7 +42,7 @@ public abstract class VirtualSpringBeanExtension<E, T extends Trait> extends Spr
|
||||
|
||||
public boolean isVirtualContextFolder(NodeRef nodeRef, ActualEnvironment environment)
|
||||
{
|
||||
boolean isReference=Reference.isReference(nodeRef);
|
||||
boolean isReference=(Reference.fromNodeRef(nodeRef)!=null);
|
||||
boolean isFolder=environment.isSubClass(environment.getType(nodeRef),
|
||||
ContentModel.TYPE_FOLDER);
|
||||
boolean virtualContext=environment.hasAspect(nodeRef,VirtualContentModel.ASPECT_VIRTUAL_DOCUMENT);
|
||||
|
Reference in New Issue
Block a user