mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user