Fix for MOB-1029: Read operations for zones should not create zones

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-06-23 13:39:55 +00:00
parent e2d250171f
commit 7038f07076
6 changed files with 57 additions and 7 deletions

View File

@@ -322,6 +322,16 @@ public interface AuthorityService
@Auditable(parameters = {"zoneName"})
public NodeRef getOrCreateZone(String zoneName);
/**
* Gets an authority zone node with the specified name
*
* @param zoneName
* the zone name
* @return reference to the zone node or null
*/
@Auditable(parameters = {"zoneName"})
public NodeRef getZone(String zoneName);
/**
* Gets the name of the zone containing the specified authority.
*