Metadata_Links_ItemViewer_Prototyper Class
Metadata links screen item viewer prototyper, which is used to create the link in the main menu,
and to create the viewer itself if the user selects that option
Namespace: SobekCM.Library.ItemViewer.ViewersAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public class Metadata_Links_ItemViewer_Prototyper : iItemViewerPrototyper |
Inheritance Hierarchy
System..::..Object SobekCM.Library.ItemViewer.Viewers..::..Metadata_Links_ItemViewer_Prototyper
Constructors
Methods
| Name | Description |
---|
| Add_Menu_items | Gets the menu items related to this viewer that should be included on the main item (digital resource) menu |
| Create_Viewer | Creates and returns the an instance of the Metadata_Links_ItemViewer class for showing the
links to the main metadata files associated with a digital resource (such METS file, marc.xml file, etc..) during
execution of a single HTTP request. |
| Has_Access | Flag indicates if the current user has access to this viewer for the item |
| Include_Viewer | Indicates if the specified item matches the basic requirements for this viewer, or
if this viewer should be ignored for this item |
| Override_On_Checkout | Flag indicates if this viewer should be override on checkout |
Properties
| Name | Description |
---|
| FileExtensions | If this viewer is tied to certain files existing in the digital resource, this lists all the
possible file extensions this supports (from the configuration file usually) |
| ViewerCode | Code for this viewer, which can also be set from the configuration information |
| ViewerType | Name of this viewer, which matches the viewer name from the database and
in the configuration files as well. This is actually populate by the configuration information |
See Also