mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
61048: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3) 60930: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.2) 60804: MNT-9595: Merged DEV to V4.1-BUG-FIX (4.1.8) 57553: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery - Tag queries are unlimited. Make paginator in ConsoleTagManagement to fetch data by portions for tags actually displayed. 57586: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery - Do filter by tag name on SOLR side. 60643: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery - Prepend wildcard to the filter to match the old contains behaviour. Add unit tests for the tag and category filtering. 60765: MNT-9595: Tag manager cannot find tags past the value of solr.query.maximumResultsFromUnlimitedQuery - Add test for wildcard matches support. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -114,6 +114,17 @@ public interface CategoryService
|
||||
@Auditable(parameters = {"storeRef", "aspectName", "pagingRequest", "sortByName"})
|
||||
PagingResults<ChildAssociationRef> getRootCategories(StoreRef storeRef, QName aspectName, PagingRequest pagingRequest, boolean sortByName);
|
||||
|
||||
/**
|
||||
* Get the root categories for an aspect/classification with names that start with filter
|
||||
*
|
||||
* @param storeRef
|
||||
* @param aspectName
|
||||
* @param filter
|
||||
* @return
|
||||
*/
|
||||
@Auditable(parameters = {"storeRef", "aspectName"})
|
||||
public Collection<ChildAssociationRef> getRootCategories(StoreRef storeRef, QName aspectName, String filter);
|
||||
|
||||
/**
|
||||
* Looks up a category by name under its immediate parent. Index-independent so can be used for cluster-safe
|
||||
* existence checks.
|
||||
|
@@ -275,6 +275,28 @@ public interface TaggingService
|
||||
*/
|
||||
@NotAuditable
|
||||
List<NodeRef> findTaggedNodes(StoreRef storeRef, String tag, NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Get page of the tags currently available
|
||||
*
|
||||
* @param storeRef node reference
|
||||
* @param fromTag offset
|
||||
* @param pageSize page size
|
||||
* @return Pair<List<String>, Integer> pair of tag names and total count
|
||||
*/
|
||||
@NotAuditable
|
||||
Pair<List<String>, Integer> getPagedTags(StoreRef storeRef, int fromTag, int pageSize);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param storeRef node reference
|
||||
* @param filter tag filter
|
||||
* @param fromTag page offset
|
||||
* @param pageSize page size
|
||||
* @return Pair<List<String>, Integer> pair of tag names and total count
|
||||
*/
|
||||
@NotAuditable
|
||||
Pair<List<String>, Integer> getPagedTags(StoreRef storeRef, String filter, int fromTag, int pageSize);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user