if (!m_aliasManager.canObjectUseAlias(aa, extension)) { throw new ExtensionInUseException(AUTO_ATTENDANT, extension); }
    public void storeAutoAttendant(AutoAttendant aa) {        // Check for duplicate names or extensions before saving the call group        String name = aa.getName();        String extension = aa.getExtension();        if (!m_aliasManager.canObjectUseAlias(aa, name)) {            throw new NameInUseException(AUTO_ATTENDANT, name);        }        if (!m_aliasManager.canObjectUseAlias(aa, extension)) {            throw new ExtensionInUseException(AUTO_ATTENDANT, extension);        }        getHibernateTemplate().saveOrUpdate(aa);    }