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:
@@ -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);
|
||||
}
|
||||
|
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user