mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Library >> MySobekViewer >> abstract_MySobekViewer

abstract_MySobekViewer Class



Abstract class which all mySobek viewer classes extend


Namespace: SobekCM.Library.MySobekViewer
Assembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public abstract class abstract_MySobekViewer : iMySobek_Admin_Viewer

Remarks

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_Builder
  • Request is analyzed by the QueryString_Analyzer and output as a Navigation_Object
  • Main writer is created for rendering the output, in his case the Html_MainWriter
  • The HTML writer will create the necessary subwriter. If the action requires authentication, an instance of the MySobek_HtmlSubwriter class is created.
  • To allow the requested action, the mySobek subwriter will create one of the mySobek viewers( implementing this class )

Inheritance Hierarchy

System..::..Object
  SobekCM.Library.MySobekViewer..::..abstract_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Delete_Item_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Edit_Group_Behaviors_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Edit_Item_Behaviors_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Edit_Item_Metadata_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Edit_Item_Permissions_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Edit_Serial_Hierarchy_MySobekViewer
    SobekCM.Library.MySobekViewer..::..File_Management_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Folder_Mgmt_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Group_Add_Volume_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Group_AutoFill_Volume_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Home_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Logon_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Mass_Update_Items_MySobekViewer
    SobekCM.Library.MySobekViewer..::..New_Group_And_Item_MySobekViewer
    SobekCM.Library.MySobekViewer..::..NewPassword_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Page_Image_Upload_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Preferences_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Saved_Searches_MySobekViewer
    SobekCM.Library.MySobekViewer..::..Track_Item_MySobekViewer
    SobekCM.Library.MySobekViewer..::..User_Tags_MySobekViewer
    SobekCM.Library.MySobekViewer..::..User_Usage_Stats_MySobekViewer

Constructors

  NameDescription
Protected methodabstract_MySobekViewer
Constructor for a new instance of the abstract_MySobekViewer class

Methods

  NameDescription
Public methodAdd_Controls
Add controls directly to the form in the main control area placeholder
Public methodAdd_Popup_HTML
Add the HTML to be added near the top of the page for those viewers that implement pop-up forms for data retrieval
Public methodWrite_HTML
Add the HTML to be displayed in the main SobekCM viewer area (outside of any form)
Protected methodWrite_Item_Type_Top(TextWriter, BriefItemInfo)
Writes the top part of the page, mimicing the item viewer
Protected methodWrite_Item_Type_Top(TextWriter, SobekCM_Item)
Writes the top part of the page, mimicing the item viewer
Public methodWrite_ItemNavForm_Closing
This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture
Public methodWrite_ItemNavForm_Opening
This is an opportunity to write HTML directly into the main form before any controls are placed in the main place holder
Public methodWrite_Within_HTML_Head
Write any additional values within the HTML Head of the final served page

Fields

  NameDescription
Protected fieldStatic memberemptybehaviors
Empty list of behaviors, returned by default
Protected fieldRequestSpecificValues
Protected field contains all the necessary, non-global data specific to the current request

Properties

  NameDescription
Public propertyContainer_CssClass
Gets the CSS class of the container that the page is wrapped within
Public propertyContains_Popup_Forms
Property indicates if this mySobek viewer can contain pop-up forms
Public propertyRequires_Logged_In_User
Flag indicates if a user must be logged in to access this admin or mySobek view.
Public propertyStandard_Navigation_Type
Navigation type to be displayed (mostly used by the mySobek viewers)
Public propertyUpload_File_Possible
Returns a flag indicating whether the file upload specific holder in the itemNavForm form will be utilized for the current request, or if it can be hidden/omitted.
Public propertyViewer_Behaviors
Gets the collection of special behaviors which this admin or mySobek viewer requests from the main HTML subwriter.
Public propertyViewer_Icon
Gets the URL for the icon related to this mySobek task
Public propertyWeb_Title
Title for the page that displays this viewer, this is shown in the search box at the top of the page, just below the banner

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )