mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge 3.2 to HEAD:
16691: Merge 3.1 to 3.2 15827: Fixed bug in delete node event processing 16695: Merge 3.1 to 3.2 16163: Added timestamp tracking via file state cache, added support for . and .. pseudo entries in wildcard folder search git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -496,4 +496,40 @@ public class ContentSearchContext extends SearchContext
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the search is returning pseudo files or real file entries
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
protected boolean returningPseudoFiles() {
|
||||
return donePseudoFiles ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the relative path that is being searched
|
||||
*
|
||||
* @return String
|
||||
*/
|
||||
protected String getRelativePath() {
|
||||
return m_relPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the results array size
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
protected int getResultsSize() {
|
||||
return results != null ? results.size() : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the pseudo file list size
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
protected int getPseudoListSize() {
|
||||
return pseudoList != null ? pseudoList.numberOfFiles() : 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user