mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Add method to check if authorities already exist
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -171,5 +171,13 @@ public interface AuthorityService
|
||||
* @return
|
||||
*/
|
||||
public String getName(AuthorityType type, String shortName);
|
||||
|
||||
/**
|
||||
* Check if an authority exists.
|
||||
*
|
||||
* @param name (the long name).
|
||||
* @return
|
||||
*/
|
||||
public boolean authorityExists(String name);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user