C# Class SobekCM.Engine_Library.Endpoints.WebContentServices

Endpoint supports services related to the static web content, CMS functionality
Inheritance: EndpointBase
Show file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void

Add a new HTML based web content page or redirect to the system

Add_Milestone ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void

Add a milestone to a static HTML page or redirect

Delete_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void

Delete a non-aggregational top-level web content, static HTML page or redirect

GetUploadedImages ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

[PUBLIC] Get the list of uploaded images for a particular aggregation

This REST API should be publicly available for users that are performing administrative work

Get_All ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the web content entities, including pages and redirects

Get_All_Controlled_Javascript ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of all controlled javascript files in the system

Get_All_Controlled_Stylesheets ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of all controlled stylesheet files in the system

Get_All_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the web content entities, including pages and redirects, for consumption by the jQuery DataTable.net plug-in

Get_All_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of possible next level from an existing point in the pages AND redirects hierarchy

Get_All_Pages ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the web content pages ( excluding redirects )

Get_All_Pages_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the web content pages ( excluding redirects ) for consumption by the jQuery DataTable.net plug-in

Get_All_Pages_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of possible next level from an existing point in the page hierarchy

Get_All_Redirects ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the global redirects

Get_All_Redirects_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the global redirects for consumption by the jQuery DataTable.net plug-in

Get_All_Redirects_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of possible next level from an existing point in the redirects hierarchy

Get_All_Sitemaps ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of all sitemaps in the system

Get_Global_Recent_Updates ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the recent updates to all (non aggregation affiliated) static web content pages

Get_Global_Recent_Updates_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all the recent updates for consumption by the jQuery DataTable.net plug-in

Get_Global_Recent_Updates_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of possible next level from an existing page in the recent updates

Get_Global_Recent_Updates_Users ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of all users that have participated in the recent updates to all top-level static web content pages

Get_Global_Usage_Report ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get usage of all web content pages between two dates

Get_Global_Usage_Report_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of usage for a global usage report for consumption by the jQuery DataTable.net plug-in

Get_Global_Usage_Report_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the list of possible next level from an existing used page in a global usage report

Get_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get top-level web content, static HTML, by primary key from the database or by URL

Get_HTML_Based_Content_By_ID ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get top-level web content, static HTML, by primary key from the database

Get_HTML_Based_Content_By_URL ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get top-level web content, static HTML, by URL

Get_Hierarchy ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the complete hierarchy of non-aggregational static web content pages and redirects, used for navigation

Get_Single_Milestones ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the list of milestones affecting a single (non aggregation affiliated) static web content page

Get_Single_Usage_Report ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Get the complete monthly usage for a single web content page

Get_Special_Missing_Page ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Gets the special missing web content page, used when a requested resource is missing

Has_Content_Pages ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Returns a flag indicating if there are any web content pages (excluding redirects)

This is not the most efficient way to verify existence of the pages since this actually pulls the entire list of pages from the database. However, this will likely be cached and be needed immediately anyway.

Has_Global_Recent_Updates ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Returns a flag indicating if there are any global recent updates to the web content entities (pages and redirects)

This is not the most efficient way to verify existence of the updates since this actually pulls the entire list of recent updates from the database. However, this will likely be cached and be needed immediately anyway.

Has_Global_Usage ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Returns a flag indicating if any usage has been reported for this instance's web content entities (pages and redirects)

Has_Pages_Or_Redirects ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Returns a flag indicating if there are any web content entities, including pages and redirects

This is not the most efficient way to verify existence of the pages and redirects since this actually pulls the entire list of pages and redirects from the database. However, this will likely be cached and be needed immediately anyway.

Has_Redirects ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void

Returns a flag indicating if there are any global redirects within the web content system

This is not the most efficient way to verify existence of the rediects since this actually pulls the entire list of redirects from the database. However, this will likely be cached and be needed immediately anyway.

Update_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void

Delete a non-aggregational top-level web content, static HTML page or redirect

Private Methods

Method Description
AreEqual ( string a, string b ) : bool
datarow_to_basic_info ( DataRow ChangeRow ) : SobekCM.Core.WebContent.WebContent_Basic_Info
datarow_to_page_usage ( DataRow ChangeRow ) : SobekCM.Core.WebContent.Single.WebContent_Page_Usage
datarow_to_webcontent_recent_changed_page ( DataRow ChangeRow ) : SobekCM.Core.WebContent.Admin.WebContent_Recent_Changed_Page
get_all_content_entities ( Custom_Tracer Tracer ) : DataSet

Get the full data set of all top-level web content entities, including pages and redirects

get_all_content_pages ( Custom_Tracer Tracer ) : DataSet

Get the full data set of all top-level static pages (excluding redirects)

get_all_redirects ( Custom_Tracer Tracer ) : DataSet

Get the full data set of all global redirects

get_global_recent_updates_set ( Custom_Tracer Tracer ) : DataSet

Get the full data set of all global recent updates to any top-level static pages

get_global_usage_report_dataset ( int Year1, int Month1, int Year2, int Month2, Custom_Tracer Tracer ) : DataSet

Get the full data set of all top-level static pages (excluding redirects)

read_source_file ( SobekCM.Core.WebContent.WebContent_Basic_Info BasicInfo, Custom_Tracer Tracer, WebContentEndpointErrorEnum &ErrorType ) : HTML_Based_Content

Helper method retrieves HTML web content

Method Details

Add_HTML_Based_Content() public method

Add a new HTML based web content page or redirect to the system
public Add_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
RequestForm System.Collections.Specialized.NameValueCollection
IsDebug bool
return void

Add_Milestone() public method

Add a milestone to a static HTML page or redirect
public Add_Milestone ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
RequestForm System.Collections.Specialized.NameValueCollection
IsDebug bool
return void

Delete_HTML_Based_Content() public method

Delete a non-aggregational top-level web content, static HTML page or redirect
public Delete_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
RequestForm System.Collections.Specialized.NameValueCollection
IsDebug bool
return void

GetUploadedImages() public method

[PUBLIC] Get the list of uploaded images for a particular aggregation
This REST API should be publicly available for users that are performing administrative work
public GetUploadedImages ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All() public method

Get the list of all the web content entities, including pages and redirects
public Get_All ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Controlled_Javascript() public method

Gets the list of all controlled javascript files in the system
public Get_All_Controlled_Javascript ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Controlled_Stylesheets() public method

Gets the list of all controlled stylesheet files in the system
public Get_All_Controlled_Stylesheets ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_JDataTable() public method

Get the list of all the web content entities, including pages and redirects, for consumption by the jQuery DataTable.net plug-in
public Get_All_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_NextLevel() public method

Gets the list of possible next level from an existing point in the pages AND redirects hierarchy
public Get_All_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Pages() public method

Get the list of all the web content pages ( excluding redirects )
public Get_All_Pages ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Pages_JDataTable() public method

Get the list of all the web content pages ( excluding redirects ) for consumption by the jQuery DataTable.net plug-in
public Get_All_Pages_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Pages_NextLevel() public method

Gets the list of possible next level from an existing point in the page hierarchy
public Get_All_Pages_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Redirects() public method

Get the list of all the global redirects
public Get_All_Redirects ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Redirects_JDataTable() public method

Get the list of all the global redirects for consumption by the jQuery DataTable.net plug-in
public Get_All_Redirects_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Redirects_NextLevel() public method

Gets the list of possible next level from an existing point in the redirects hierarchy
public Get_All_Redirects_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_All_Sitemaps() public method

Gets the list of all sitemaps in the system
public Get_All_Sitemaps ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Recent_Updates() public method

Get the list of all the recent updates to all (non aggregation affiliated) static web content pages
public Get_Global_Recent_Updates ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Recent_Updates_JDataTable() public method

Get the list of all the recent updates for consumption by the jQuery DataTable.net plug-in
public Get_Global_Recent_Updates_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Recent_Updates_NextLevel() public method

Gets the list of possible next level from an existing page in the recent updates
public Get_Global_Recent_Updates_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Recent_Updates_Users() public method

Get the list of all users that have participated in the recent updates to all top-level static web content pages
public Get_Global_Recent_Updates_Users ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Usage_Report() public method

Get usage of all web content pages between two dates
public Get_Global_Usage_Report ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Usage_Report_JDataTable() public method

Get the list of usage for a global usage report for consumption by the jQuery DataTable.net plug-in
public Get_Global_Usage_Report_JDataTable ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Global_Usage_Report_NextLevel() public method

Gets the list of possible next level from an existing used page in a global usage report
public Get_Global_Usage_Report_NextLevel ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_HTML_Based_Content() public method

Get top-level web content, static HTML, by primary key from the database or by URL
public Get_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_HTML_Based_Content_By_ID() public method

Get top-level web content, static HTML, by primary key from the database
public Get_HTML_Based_Content_By_ID ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_HTML_Based_Content_By_URL() public method

Get top-level web content, static HTML, by URL
public Get_HTML_Based_Content_By_URL ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Hierarchy() public method

Get the complete hierarchy of non-aggregational static web content pages and redirects, used for navigation
public Get_Hierarchy ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Single_Milestones() public method

Get the list of milestones affecting a single (non aggregation affiliated) static web content page
public Get_Single_Milestones ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Single_Usage_Report() public method

Get the complete monthly usage for a single web content page
public Get_Single_Usage_Report ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Get_Special_Missing_Page() public method

Gets the special missing web content page, used when a requested resource is missing
public Get_Special_Missing_Page ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Has_Content_Pages() public method

Returns a flag indicating if there are any web content pages (excluding redirects)
This is not the most efficient way to verify existence of the pages since this actually pulls the entire list of pages from the database. However, this will likely be cached and be needed immediately anyway.
public Has_Content_Pages ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Has_Global_Recent_Updates() public method

Returns a flag indicating if there are any global recent updates to the web content entities (pages and redirects)
This is not the most efficient way to verify existence of the updates since this actually pulls the entire list of recent updates from the database. However, this will likely be cached and be needed immediately anyway.
public Has_Global_Recent_Updates ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Has_Global_Usage() public method

Returns a flag indicating if any usage has been reported for this instance's web content entities (pages and redirects)
public Has_Global_Usage ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Has_Pages_Or_Redirects() public method

Returns a flag indicating if there are any web content entities, including pages and redirects
This is not the most efficient way to verify existence of the pages and redirects since this actually pulls the entire list of pages and redirects from the database. However, this will likely be cached and be needed immediately anyway.
public Has_Pages_Or_Redirects ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Has_Redirects() public method

Returns a flag indicating if there are any global redirects within the web content system
This is not the most efficient way to verify existence of the rediects since this actually pulls the entire list of redirects from the database. However, this will likely be cached and be needed immediately anyway.
public Has_Redirects ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
IsDebug bool
return void

Update_HTML_Based_Content() public method

Delete a non-aggregational top-level web content, static HTML page or redirect
public Update_HTML_Based_Content ( HttpResponse Response, List UrlSegments, NameValueCollection QueryString, Microservice_Endpoint_Protocol_Enum Protocol, NameValueCollection RequestForm, bool IsDebug ) : void
Response System.Web.HttpResponse
UrlSegments List
QueryString System.Collections.Specialized.NameValueCollection
Protocol Microservice_Endpoint_Protocol_Enum
RequestForm System.Collections.Specialized.NameValueCollection
IsDebug bool
return void