class DataStore implements DataCacheProvider, RolesProvider {

    void deleteDomain(final String domainName) {

        /* first delete all groups for this domain */

        processDeleteDomainGroups(domainName);

        /* first delete our data from the cache */

        deleteDomainFromCache(domainName);

        /* then delete it from the struct store */

        changeLogStore.removeLocalDomain(domainName);
    }

    public  DataStore(ChangeLogStore clogStore, CloudStore cloudStore);

}