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:
Gary Spencer
2009-10-16 09:04:28 +00:00
parent 07a0200048
commit f4e057c0af
7 changed files with 569 additions and 30 deletions

View File

@@ -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;
}
}