class GroupDelegator extends BaseDelegator implements IGroupDelegator {

    @Override
    public IUserGroup getUserGroup(@Nonnull final String name)
            throws ConnectionException, RequestException, AccessException {
        Validate.notBlank(name, "Group name shouldn't use null or empty");

        List<Map<String, Object>> resultMaps = execMapCmdList(GROUP, new String[] { "-o", name },
                null);
        UserGroup ugImpl = null;

        if (nonNull(resultMaps)) {
            Map<String, Object> firstResultMap = resultMaps.get(0);
            if (nonNull(firstResultMap)) {
                ResultMapParser.handleErrorStr(firstResultMap);
                ugImpl = new UserGroup(firstResultMap);
            }
        }

        return ugImpl;
    }

    public  GroupDelegator(IOptionsServer server);

}