mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
98720: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) 98568: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2) 98334: Merged DEV (4.2.5) to V4.2-BUG-FIX (4.2.5) 98326: MNT-13198: BM-0012: Run v420b1494_01: (CMIS) GetSites is Slow - Changed the PersonSitesRelation to use a faster API (SiteServiceImpl.listSiteMemberships(String, int)). 98452: MNT-13198: BM-0012: Run v420b1494_01: (CMIS) GetSites is Slow - Corrected the solution to fix the build failures. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@98811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -222,6 +222,16 @@ public interface SiteService
|
||||
@NotAuditable
|
||||
PagingResults<SiteInfo> listSites(List<FilterProp> filterProps, List<Pair<QName, Boolean>> sortProps, PagingRequest pagingRequest);
|
||||
|
||||
/**
|
||||
* Lists all the memberships in sites that the specified user is in.
|
||||
*
|
||||
* @param userName
|
||||
* @param size
|
||||
* @return a list of SiteMembership objects
|
||||
*/
|
||||
@NotAuditable
|
||||
List<SiteMembership> listSiteMemberships (String userName, int size);
|
||||
|
||||
/**
|
||||
* List all the sites that the specified user has a explicit membership to.
|
||||
*
|
||||
|
Reference in New Issue
Block a user