package com.cloud.user; import java.util.Map; import com.cloud.utils.db.GenericDao; public interface AccountDetailsDao extends GenericDao { Map findDetails(long accountId); void persist(long accountId, Map details); AccountDetailVO findDetail(long accountId, String name); void deleteDetails(long accountId); /* * details may or may not include entries which has been in database. * For these existing entries, they will get updated. For these new entries, * they will get created */ void update(long accountId, Map details); }