Exemplo n.º 1
0
        public Dictionary <string, ControllerDetail> ViewLoadAPIPublished(string pageName, string[] urlParams)
        {
            WebBuilderDataProvider  objDataProvider    = new WebBuilderDataProvider();
            List <ControllerDetail> objControllersList = objDataProvider.GetAPIListPublished(pageName);

            return(ResultInvoke(objControllersList, urlParams));
        }
Exemplo n.º 2
0
        //without loading the dll
        //public object InvokeMethod(ControllerDetail objControll)
        //{
        //    Type type = Type.GetType(objControll.Namespaces + "." + objControll.ClassNames);
        //    object instance = Activator.CreateInstance(type, null);
        //    MethodInfo method = type.GetMethod(objControll.MethodNames);
        //    //return method.Invoke(instance, objControll.Args);
        //    return method.Invoke(instance, objControll.Args);

        //}
        public Dictionary <string, ControllerDetail> EditLoadAPI(string pageName, string[] urlParams)
        {
            WebBuilderDataProvider  objDataProvider    = new WebBuilderDataProvider();
            List <ControllerDetail> objControllersList = objDataProvider.GetAPIList(pageName);

            urlParams = urlParams.Skip(1).ToArray();
            return(ResultInvoke(objControllersList, urlParams));
        }
Exemplo n.º 3
0
        public int UpdateComponentValue(string componentName, string componentValue, int userModuleID, decimal version, long UniversalComponentID, string type)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.UpdateComponentValue(componentName, componentValue, userModuleID, version, UniversalComponentID, type));
        }
Exemplo n.º 4
0
        public List <BuilderComponentJson> GetComponentValue(string userModuleID)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GetComponentValue(userModuleID));
        }
Exemplo n.º 5
0
        public List <WebBuilderPages> GetPageList(int portalID)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GetPageList(portalID));
        }
Exemplo n.º 6
0
        public WebBuilderInfo GetPublishedViewDOMByID(WebBuilderInfo obj)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GetPublishedViewDOMByID(obj));
        }
Exemplo n.º 7
0
        public WebbuilderSite ExtractSite(int userModuleID, string culture, string hostURL)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.ExtractSite(userModuleID, culture, hostURL));
        }
Exemplo n.º 8
0
        public void UpdatePageName(string pageName, int portalID, int userModuleID, int webbuilderID, string culture)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            objDataProvider.UpdatePageName(pageName, portalID, userModuleID, webbuilderID, culture);
        }
Exemplo n.º 9
0
        public List <EasyPackage> ExtractPackageData(List <EasyPackage> objPackage)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.ExtractPackageData(objPackage));
        }
Exemplo n.º 10
0
        public int UpdateSettings(WebBuilderInfo obj)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.UpdateSettings(obj));
        }
Exemplo n.º 11
0
        public KeyValue GetInstalledComponentList()
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GetInstalledComponentList());
        }
Exemplo n.º 12
0
        public int AddUpdate(WebBuilderInfo obj)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.AddUpdate(obj));
        }
Exemplo n.º 13
0
        public List <Contact> GetContactUsData(int offset, int limit, string name, string email)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GetContactUsData(offset, limit, name, email));
        }
Exemplo n.º 14
0
        public int SaveContactUsData(Contact objContactUs, string userName)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.SaveContactUsData(objContactUs, userName));
        }
Exemplo n.º 15
0
        public List <BuilderComponentJson> ComponentOfflineList()
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.ComponentOfflineList());
        }
Exemplo n.º 16
0
        public int CheckPage(int portalID, string pageseoName, int pageID)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.CheckPage(portalID, pageseoName, pageID));
        }
Exemplo n.º 17
0
        public DataSet GenerateInsertScript(string applicationName)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GenerateInsertScript(applicationName));
        }
Exemplo n.º 18
0
        public void DeletePage(int portalID, int userModuleID, int pageID)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            objDataProvider.DeletePage(portalID, userModuleID, pageID);
        }
Exemplo n.º 19
0
        public int AddUpdatePublished(int webBuilderID)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.AddUpdatePublished(webBuilderID));
        }
Exemplo n.º 20
0
        public DataSet GenerateInsertScriptForPages(string pageNames)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            return(objDataProvider.GenerateInsertScriptForPages(pageNames));
        }
Exemplo n.º 21
0
        public void CreateSite(WebbuilderSite objWebsite)
        {
            WebBuilderDataProvider objDataProvider = new WebBuilderDataProvider();

            objDataProvider.CreateSite(objWebsite);
        }