mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER
Code Details >> Builder_Library >> Incoming_Digital_Resource

Incoming_Digital_Resource Class



Class is a wrapper around a SobekCM_Item digital object, which allows for commonly executed processes to assist with the SobekCM Builder


Namespace: SobekCM.Builder_Library
Assembly: SobekCM_Builder_Library (in SobekCM_Builder_Library.dll) Version: 4.8.7.0 (4.8.7.0)

Syntax

C#
public class Incoming_Digital_Resource : IComparable<Incoming_Digital_Resource>

Inheritance Hierarchy

System..::..Object
  SobekCM.Builder_Library..::..Incoming_Digital_Resource

Constructors

  NameDescription
Public methodIncoming_Digital_Resource
Constructor for a new instance of the Incoming_Digital_Resource class

Methods

  NameDescription
Public methodClear_METS
Clear the internally wrapped SobekCM_Item object
Public methodCompareTo
Compares this incoming digital resource to another digital resource for sorting purposes
Public methodDelete
Deletes the folder and all content within the directory or subdirectories
Public methodLoad_METS()()()()
Read the METS file and load the data into this object
Public methodLoad_METS(String)
Read the METS file and load the data into this object
Public methodMove
Moves the incoming digital resource folder, along with all files and subdirectories, to a new location
Public methodSave_MARC_XML
Saves the MarcXML file, used for creating MARC feeds, for this incoming digital resource
Public methodSave_SobekCM_Service_METS
Saves the SobekCM Service METS file for this incoming digital resource
Public methodSave_Static_HTML
Creates the static HTML file for this incoming digital resource
Public methodSave_to_Database
Saves this item to the SobekCM database

Properties

  NameDescription
Public propertyAgeInTicks
Gets the age in TICKS of this resource folder and files
Public propertyBibID
Gets the Bibliographic Identifier (BibID) for this incoming digital resource
Public propertyBuilderLogId
Primary key for the main builder log entry for this item
Public propertyDiskSpaceMb
Gets or sets the size (in MBs) of all the files and metadata for this resource
Public propertyFile_Hashtable
Gets the file hashtable to allow checking for the file object from the METS file by the name of the file
Public propertyFile_Root
Web file root for this incoming digital resource
Public propertyFolder_Name
Gets the name of the resource folder itself, usually BibID_VID format
Public propertyMetadata
Returns the object which contains all the metadata (bibliographic, structural, administrative) for the digital resource
Public propertyMETS_File
Returns the METS file name (and directory) associated with this incoming digital resource
Public propertyMETS_Only_Package
Flag indicates this is a METS only type package, which should not have any associated digital resource file, other than metadata
Public propertyMETS_Type_String
Gets the METS Record status associated with this incoming digital resource, as a string
Public propertyNewImageFiles
List of new image files
Public propertyNewPackage
Flag indicates if this a brand new item
Public propertyPackage_Time
Gets the time associated with this package, which is the usually the last write/modify time for files within the folder
Public propertyPermanent_Link
Gets the permanent link associated with this incoming digital resource
Public propertyResource_Folder
Gets the complete directory information for the resource folder
Public propertyResource_Type
Gets the type of incoming digital resource request, (i.e., Metadata update, complete new package, delete, etc.. )
Public propertySource_Folder
Returns the information about the original source folder for this incoming digital resource
Public propertyVID
Gets the Volume Identifier (VID) for this incoming digital resource

See Also



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