mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-8221 Put back (deprecated) listMembers methods for the 3.2 and 3.3 style parameters, to avoid breaking code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -295,6 +295,45 @@ public class Site implements Serializable
|
|||||||
this.siteService.deleteSite(this.siteInfo.getShortName());
|
this.siteService.deleteSite(this.siteInfo.getShortName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a map of members of the site with their role within the site. This list can
|
||||||
|
* be filtered by name and/or role.
|
||||||
|
* <p>
|
||||||
|
* If no name or role filter is specified all members of the site are listed.
|
||||||
|
* <p>
|
||||||
|
* This list includes both users and groups.
|
||||||
|
*
|
||||||
|
* @param nameFilter user name filter
|
||||||
|
* @param roleFilter user role filter
|
||||||
|
*
|
||||||
|
* @return ScriptableHashMap<String, String> list of members of site with their roles
|
||||||
|
* @deprecated Use {@link #listMembers(String, String, int, boolean)} instead
|
||||||
|
*/
|
||||||
|
public ScriptableHashMap<String, String> listMembers(String nameFilter, String roleFilter)
|
||||||
|
{
|
||||||
|
return listMembers(nameFilter, roleFilter, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a map of members of the site with their role within the site. This list can
|
||||||
|
* be filtered by name and/or role.
|
||||||
|
* <p>
|
||||||
|
* If no name or role filter is specified all members of the site are listed.
|
||||||
|
* <p>
|
||||||
|
* This list includes both users and groups.
|
||||||
|
*
|
||||||
|
* @param nameFilter user name filter
|
||||||
|
* @param roleFilter user role filter
|
||||||
|
* @param size max results size crop if >0
|
||||||
|
*
|
||||||
|
* @return ScriptableHashMap<String, String> list of members of site with their roles
|
||||||
|
* @deprecated Use {@link #listMembers(String, String, int, boolean)} instead
|
||||||
|
*/
|
||||||
|
public ScriptableHashMap<String, String> listMembers(String nameFilter, String roleFilter, int size)
|
||||||
|
{
|
||||||
|
return listMembers(nameFilter, roleFilter, size, false);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a map of members of the site with their role within the site. This list can
|
* Gets a map of members of the site with their role within the site. This list can
|
||||||
* be filtered by name and/or role.
|
* be filtered by name and/or role.
|
||||||
|
Reference in New Issue
Block a user