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

@@ -53,7 +53,7 @@ public interface FileFolderService
*/
@Auditable(parameters = {"contextNodeRef"})
public List<FileInfo> list(NodeRef contextNodeRef);
/**
* Lists page of immediate child files and/or folders of the given context node
* with optional filtering (exclusion of certain child file/folder subtypes) and sorting
@@ -396,4 +396,12 @@ public interface FileFolderService
*/
@Auditable(parameters = {"typeQName"})
public FileFolderServiceType getType(QName typeQName);
/**
* Removes any hidden files from the file list.
*
* @param files
* @return a list of files with hidden files removed
*/
public List<FileInfo> removeHiddenFiles(List<FileInfo> files);
}

View File

@@ -52,6 +52,11 @@ public interface FileInfo extends PermissionCheckValue, Serializable
*/
public boolean isLink();
/**
* @return true if this instance represents a hidden file
*/
public boolean isHidden();
/**
* @return Return the reference to the node that this node is linked to
*/