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:
Andrew Hind
2006-05-23 14:44:05 +00:00
parent 28a03bfd3d
commit aa5ffaed77
8 changed files with 42 additions and 2 deletions

View File

@@ -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);
}