mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Site Service: added helper methods to set certain permissions at a node level within a site
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -154,4 +154,22 @@ public interface SiteService
|
||||
*/
|
||||
boolean hasContainer(String shortName, String componentId);
|
||||
|
||||
/**
|
||||
* Gets the sites group. All members of the site are contained within this group.
|
||||
*
|
||||
* @param shortName site short name
|
||||
* @return String group name
|
||||
*/
|
||||
String getSiteGroup(String shortName);
|
||||
|
||||
/**
|
||||
* Gets the sites role group. All members assigned the given role will be memebers of
|
||||
* the returned group.
|
||||
*
|
||||
* @param shortName site short name
|
||||
* @param role membership role
|
||||
* @return String group name
|
||||
*/
|
||||
String getSiteRoleGroup(String shortName, String role);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user