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 >> New_Group_And_Item_MySobekViewer

New_Group_And_Item_MySobekViewer Class



Class allows an authenticated RequestSpecificValues.Current_User to submit a new digital resource online, using various possible templates


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

Syntax

C#
public class New_Group_And_Item_MySobekViewer : abstract_MySobekViewer

Remarks

This class extends the abstract_MySobekViewer 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_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. Since this action requires authentication, an instance of the MySobek_HtmlSubwriter class is created.
  • The mySobek subwriter creates an instance of this viewer for submitting a new digital resource
  • This viewer uses the CompleteTemplate class to display the correct elements for editing

Inheritance Hierarchy

System..::..Object
  SobekCM.Library.MySobekViewer..::..abstract_MySobekViewer
    SobekCM.Library.MySobekViewer..::..New_Group_And_Item_MySobekViewer

Constructors

  NameDescription
Public methodNew_Group_And_Item_MySobekViewer
Constructor for a new instance of the New_Group_And_Item_MySobekViewer class

Methods

  NameDescription
Public methodAdd_Controls
Add controls directly to the form in the main control area placeholder
(Overrides abstract_MySobekViewer..::..Add_Controls(PlaceHolder, Custom_Tracer).)
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
(Inherited from abstract_MySobekViewer.)
Public methodStatic memberScaleImage
Scales an existing SourceImage to a new max width / max height
Public methodWrite_HTML
Add the HTML to be displayed in the main SobekCM viewer area
(Overrides abstract_MySobekViewer..::..Write_HTML(TextWriter, Custom_Tracer).)
Protected methodWrite_Item_Type_Top(TextWriter, BriefItemInfo)
Writes the top part of the page, mimicing the item viewer
(Inherited from abstract_MySobekViewer.)
Protected methodWrite_Item_Type_Top(TextWriter, SobekCM_Item)
Writes the top part of the page, mimicing the item viewer
(Inherited from abstract_MySobekViewer.)
Public methodWrite_ItemNavForm_Closing
This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture
(Overrides abstract_MySobekViewer..::..Write_ItemNavForm_Closing(TextWriter, Custom_Tracer).)
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
(Inherited from abstract_MySobekViewer.)
Public methodWrite_Within_HTML_Head
Write any additional values within the HTML Head of the final served page
(Overrides abstract_MySobekViewer..::..Write_Within_HTML_Head(TextWriter, Custom_Tracer).)

Fields

  NameDescription
Protected fieldRequestSpecificValues
Protected field contains all the necessary, non-global data specific to the current request
(Inherited from abstract_MySobekViewer.)

Properties

  NameDescription
Public propertyContainer_CssClass
Gets the CSS class of the container that the page is wrapped within
(Overrides abstract_MySobekViewer..::..Container_CssClass.)
Public propertyContains_Popup_Forms
Property indicates if this mySobek viewer can contain pop-up forms
(Inherited from abstract_MySobekViewer.)
Public propertyCurrent_Template_Banner
Gets the banner from the current CompleteTemplate, if there is one
Public propertyRequires_Logged_In_User
Flag indicates if a user must be logged in to access this admin or mySobek view.
(Inherited from abstract_MySobekViewer.)
Public propertyStandard_Navigation_Type
Navigation type to be displayed (mostly used by the mySobek viewers)
(Overrides abstract_MySobekViewer..::..Standard_Navigation_Type.)
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.
(Overrides abstract_MySobekViewer..::..Upload_File_Possible.)
Public propertyViewer_Behaviors
Gets the collection of special behaviors which this admin or mySobek viewer requests from the main HTML subwriter.
(Inherited from abstract_MySobekViewer.)
Public propertyViewer_Icon
Gets the URL for the icon related to this mySobek task
(Inherited from abstract_MySobekViewer.)
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
(Overrides abstract_MySobekViewer..::..Web_Title.)

See Also



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