예제 #1
0
        public OutputValues DoUpdateCaseDataProperties(string interactionId, int proxyClientID, KeyValueCollection updatedProperties)
        {
            OutputValues output = OutputValues.GetInstance();

            try
            {
                output = RequestToChangeProperties.UpdateProperties(interactionId, proxyClientID, updatedProperties);
            }
            catch (Exception generalException)
            {
                logger.Error("Error occurred update case data property " + generalException.ToString());
            }
            return(output);
        }
        public OutputValues AddCaseDataProperties(string interactionId, int proxyClientID, KeyValueCollection addedProperties)
        {
            OutputValues output = OutputValues.GetInstance();

            try
            {
                RequestToChangeProperties requestToChangeProperties = new RequestToChangeProperties();
                output = requestToChangeProperties.AddCaseInformation(interactionId, proxyClientID, addedProperties);
            }
            catch (Exception generalException)
            {
                logger.Error("Error occurred add case data property " + generalException.ToString());
            }
            return(output);
        }
        public OutputValues DeleteCaseDataProperties(string interactionId, int proxyClientID, KeyValueCollection deletedProperties)
        {
            OutputValues output = OutputValues.GetInstance();

            try
            {
                RequestToChangeProperties requestToDeleteProperties = new RequestToChangeProperties();
                output = requestToDeleteProperties.DeletedProperties(interactionId, proxyClientID, deletedProperties);
            }
            catch (Exception generalException)
            {
                logger.Error("Error occurred while deleting case data" + generalException.ToString());
            }
            return(output);
        }