C# Class SobekCM.Library.AdminViewer.Aggregation_Single_AdminViewer

Class allows an authenticated aggregation admin to edit information related to a single item aggregation.
This class extends the abstract_AdminViewer class.

MySobek Viewers are used for registration and authentication with mySobek, as well as performing any task which requires authentication, such as online submittal, metadata editing, and system administrative tasks.

During a valid html request, the following steps occur:
  • Application state is built/verified by the Application_State.Application_State_Builder
  • Request is analyzed by the Navigation.SobekCM_QueryString_Analyzer and output as a Navigation.SobekCM_Navigation_Object
  • Main writer is created for rendering the output, in his case the Html_MainWriter
  • The HTML writer will create the necessary subwriter. Since this action requires authentication, an instance of the MySobek_HtmlSubwriter class is created.
  • The mySobek subwriter creates an instance of this viewer to view and edit information related to a single item aggregation
Inheritance: abstract_AdminViewer
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Controls ( PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Add controls directly to the form in the main control area placeholder

Aggregation_Single_AdminViewer ( RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Aggregation_Single_AdminViewer class

Postback from handling an edit or new aggregation is handled here in the constructor

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed in the main SobekCM viewer area (outside of the forms)

This class does nothing, since the interface list is added as controls, not HTML

Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture

This text will appear within the ItemNavForm form tags

Write_ItemNavForm_Opening ( TextWriter Output, Custom_Tracer Tracer ) : void

This is an opportunity to write HTML directly into the main form before any controls are placed in the main place holder

This text will appear within the ItemNavForm form tags

Private Methods

Method Description
Add_Child_Page ( TextWriter Output ) : void
Add_Page_1 ( TextWriter Output ) : void
Add_Page_2 ( TextWriter Output ) : void
Add_Page_3 ( TextWriter Output ) : void
Add_Page_4 ( TextWriter Output ) : void
Add_Page_6 ( TextWriter Output ) : void
Add_Page_7 ( TextWriter Output ) : void
Add_Page_8 ( TextWriter Output ) : void
Add_Page_Appearance ( TextWriter Output ) : void
Add_Page_CSS ( TextWriter Output ) : void
Add_Page_Uploads ( TextWriter Output ) : void
BrowseBy_Writer_Helper ( TextWriter Output, string ID, string Default, string Value, IEnumerable OtherValues, string HtmlClass ) : void
Facet_Writer_Helper ( TextWriter Output, short FacetID, int FacetCounter ) : void
Finish_Page_1 ( TextWriter Output ) : void
Finish_Page_5 ( TextWriter Output ) : void
Finish_Page_Uploads ( TextWriter Output ) : void
Highlight_Writer_Helper ( TextWriter Output, int HighlightCounter, Complete_Item_Aggregation_Highlights Highlight, int Max_Text, int Max_Tooltips ) : void
Result_Writer_Helper ( TextWriter Output, string FieldName, string NoOption, Result_Display_Type_Enum Result_Type, string HtmlClass ) : void
Save_Child_Page_Postback ( NameValueCollection Form ) : void
Save_Page_1_Postback ( NameValueCollection Form ) : void
Save_Page_2_Postback ( NameValueCollection Form ) : void
Save_Page_3_Postback ( NameValueCollection Form ) : void
Save_Page_4_Postback ( NameValueCollection Form ) : void
Save_Page_6_Postback ( ) : void
Save_Page_7_Postback ( NameValueCollection Form ) : void
Save_Page_8_Postback ( NameValueCollection Form ) : void
Save_Page_Appearance_Postback ( NameValueCollection Form ) : void
Save_Page_CSS_Postback ( NameValueCollection Form ) : void
Save_Page_Uploads_Postback ( NameValueCollection Form ) : void
Skin_Writer_Helper ( TextWriter Output, string SkinID, string Skin, IEnumerable Skin_Codes ) : void
add_result_view ( string Result ) : void
add_upload_controls ( PlaceHolder UploadFilesPlaceHolder, string FileExtensions, string UploadDirectory, string ServerSideName, bool UploadMultiple, string ReturnToken, Custom_Tracer Tracer ) : void

Method Details

Add_Controls() public method

Add controls directly to the form in the main control area placeholder
public Add_Controls ( PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder PlaceHolder Main place holder to which all main controls are added
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Aggregation_Single_AdminViewer() public method

Constructor for a new instance of the Aggregation_Single_AdminViewer class
Postback from handling an edit or new aggregation is handled here in the constructor
public Aggregation_Single_AdminViewer ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
return System

Write_HTML() public method

Add the HTML to be displayed in the main SobekCM viewer area (outside of the forms)
This class does nothing, since the interface list is added as controls, not HTML
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_ItemNavForm_Closing() public method

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture
This text will appear within the ItemNavForm form tags
public Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the pop-up form HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_ItemNavForm_Opening() public method

This is an opportunity to write HTML directly into the main form before any controls are placed in the main place holder
This text will appear within the ItemNavForm form tags
public Write_ItemNavForm_Opening ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the pop-up form HTML for this viewer
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void