/// <summary> /// /// </summary> /// <param name="feeEarnerMemberId"></param> /// <returns></returns> public EarnerReturnValue GetFeeEarnerReference(HostSecurityToken oHostSecurityToken, Guid feeEarnerMemberId) { EarnerReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oEarnerService = new EarnerService(); returnValue = oEarnerService.GetFeeEarnerReference(Functions.GetLogonIdFromToken(oHostSecurityToken), feeEarnerMemberId); } else { returnValue = new EarnerReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return returnValue; }
/// <summary> /// /// </summary> /// <param name="oHostSecurityToken"></param> /// <param name="collectionRequest"></param> /// <returns></returns> public PartnerSearchReturnValue PersonDealingSearch(HostSecurityToken oHostSecurityToken, CollectionRequest collectionRequest) { PartnerSearchReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oEarnerService = new EarnerService(); returnValue = oEarnerService.PersonDealingSearch(Functions.GetLogonIdFromToken(oHostSecurityToken), collectionRequest); } else { returnValue = new PartnerSearchReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return(returnValue); }
/// <summary> /// /// </summary> /// <param name="feeEarnerMemberId"></param> /// <returns></returns> public EarnerReturnValue GetFeeEarnerReference(HostSecurityToken oHostSecurityToken, Guid feeEarnerMemberId) { EarnerReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oEarnerService = new EarnerService(); returnValue = oEarnerService.GetFeeEarnerReference(Functions.GetLogonIdFromToken(oHostSecurityToken), feeEarnerMemberId); } else { returnValue = new EarnerReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return(returnValue); }
/// <summary> /// /// </summary> /// <param name="oHostSecurityToken"></param> /// <param name="collectionRequest"></param> /// <param name="criteria"></param> /// <returns></returns> public EarnerSearchReturnValue EarnerSearch(HostSecurityToken oHostSecurityToken, CollectionRequest collectionRequest, EarnerSearchCriteria criteria) { EarnerSearchReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oEarnerService = new EarnerService(); returnValue = oEarnerService.EarnerSearch(Functions.GetLogonIdFromToken(oHostSecurityToken), collectionRequest, criteria); } else { returnValue = new EarnerSearchReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return returnValue; }
/// <summary> /// /// </summary> /// <param name="oHostSecurityToken"></param> /// <param name="collectionRequest"></param> /// <param name="criteria"></param> /// <returns></returns> public EarnerSearchReturnValue EarnerSearch(HostSecurityToken oHostSecurityToken, CollectionRequest collectionRequest, EarnerSearchCriteria criteria) { EarnerSearchReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oEarnerService = new EarnerService(); returnValue = oEarnerService.EarnerSearch(Functions.GetLogonIdFromToken(oHostSecurityToken), collectionRequest, criteria); } else { returnValue = new EarnerSearchReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return(returnValue); }
/// <summary> /// /// </summary> /// <param name="oHostSecurityToken"></param> /// <param name="collectionRequest"></param> /// <returns></returns> public PartnerSearchReturnValue PersonDealingSearch(HostSecurityToken oHostSecurityToken, CollectionRequest collectionRequest) { PartnerSearchReturnValue returnValue = null; if (Functions.ValidateIWSToken(oHostSecurityToken)) { oEarnerService = new EarnerService(); returnValue = oEarnerService.PersonDealingSearch(Functions.GetLogonIdFromToken(oHostSecurityToken), collectionRequest); } else { returnValue = new PartnerSearchReturnValue(); returnValue.Success = false; returnValue.Message = "Invalid Token"; } return returnValue; }