public void getBusineesList() { BusinessListRequestModel = new AddBussinessInputModel(); BusinessListRequestModel.setAT(AppConfigManager.getAccessToken(mContext)); BusinessListRequestModel.setDID(AppConfigManager.getDID(mContext)); BusinessListRequestModel.setUId(AppConfigManager.getLoggedUid(mContext)); GetBusinessListURL getBusinessListURL = new GetBusinessListURL(BusinessListRequestModel.getJsonObjBusinessLookUP(), mContext); getBusinessListURL.setOnResultListener(onAsyncResultGetBusinessListURL); getBusinessListURL.execute(); }
public void getBusineesListDetails(String bid) { BusinessListDetailRequestModel = new AddBussinessInputModel(); BusinessListDetailRequestModel.setAT(AppConfigManager.getAccessToken(mContext)); BusinessListDetailRequestModel.setDID(AppConfigManager.getDID(mContext)); BusinessListDetailRequestModel.setUId(AppConfigManager.getLoggedUid(mContext)); BusinessListDetailRequestModel.setBId(bid); GetBusinessReturnListDetailsURL getBusinessReturnListDetailsURL = new GetBusinessReturnListDetailsURL( BusinessListDetailRequestModel.getBusinessReturnListDetailRequestModel(), mContext); getBusinessReturnListDetailsURL.setOnResultListener(onAsyncResultGetBusinessListDetailURL); getBusinessReturnListDetailsURL.execute(); }
private void getReviewDetailsById() { AuditModel getAuditModel = new AuditModel(); getAuditModel.setAT(AppConfigManager.getAccessToken(mContext)); getAuditModel.setUId(AppConfigManager.getLoggedUid(mContext)); getAuditModel.setRID(AppConfigManager.getReturnRID(mContext)); getAuditModel.setDId(AppConfigManager.getDID(mContext)); if (getAuditDetails != null) getAuditDetails.cancel(true); getAuditDetails = new AuditForm8868_URL(getAuditModel.getAuditDetails(mContext), mContext); getAuditDetails.setOnResultListener(getAuditAsync); getAuditDetails.execute(); }