throws RepositoryDocumentException {
String localNamespace = connector.getGoogleLocalNamespace();
String globalNamespace = connector.getGoogleGlobalNamespace();
String groupNamespace = null;
try {
IGroup groupObj = (IGroup) session.getObjectByQualification(
"dm_group where group_name = '" + groupName + "'");
if (groupObj != null) {
if (Strings.isNullOrEmpty(groupObj.getUserSource())) {
LOGGER.fine("local namespace for group " + groupName);
groupNamespace = localNamespace;
} else {
LOGGER.fine("global namespace for group " + groupName);
groupNamespace = globalNamespace;