public static long getResourceCount(ResourceType type, long accountId) { AccountVO account = s_accountDao.findById(accountId); if (account == null) { return -1; } return s_resourceLimitMgr.getResourceCount(account, type); }
public static long getResourceCount(ResourceType type, long accountId) { AccountVO account = s_accountDao.findById(accountId); if (account == null) { return -1; } return s_resourceLimitMgr.getResourceCount(account, type); }