Merged BRANCHES/DEV/V3.4-BUG-FIX to HEAD:

32244: Fix for ALF-11435:
   32246: Fix for ALF-11435 (part 2)
   32247: Fix for ALF-11435 (part 3)
   plus make sure that hidden files have the noindex aspect applied

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2011-11-29 14:28:39 +00:00
parent 56e64bd627
commit ea53ffea50
13 changed files with 446 additions and 150 deletions

View File

@@ -42,6 +42,7 @@ public class FileInfoImpl implements FileInfo
private NodeRef linkNodeRef;
private boolean isFolder;
private boolean isLink;
private boolean isHindden;
private Map<QName, Serializable> properties;
private QName typeQName;
@@ -52,6 +53,7 @@ public class FileInfoImpl implements FileInfo
NodeRef nodeRef,
QName typeQName,
boolean isFolder,
boolean isHidden,
Map<QName, Serializable> properties)
{
this.nodeRef = nodeRef;
@@ -59,6 +61,7 @@ public class FileInfoImpl implements FileInfo
this.isFolder = isFolder;
this.properties = properties;
this.isHindden = isHidden;
// Check if this is a link node
if ( properties.containsKey( ContentModel.PROP_LINK_DESTINATION))
@@ -135,6 +138,10 @@ public class FileInfoImpl implements FileInfo
return isLink;
}
public boolean isHidden() {
return isHindden;
}
public NodeRef getLinkNodeRef()
{
return linkNodeRef;