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
Expand <a href='http://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='http://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Collapse <a href='http://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/behaviors' title='SobekCM.Resource_Object.Behaviors'>Behaviors Sub-Namespace</a>Behaviors Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/bib_info' title='SobekCM.Resource_Object.Bib_Info'>Bib_Info Sub-Namespace</a>Bib_Info Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/builder' title='SobekCM.Resource_Object.Builder'>Builder Sub-Namespace</a>Builder Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/configuration' title='SobekCM.Resource_Object.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Collapse <a href='http://sobekrepository.org/codehelp/resource_object/database' title='SobekCM.Resource_Object.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/divisions' title='SobekCM.Resource_Object.Divisions'>Divisions Sub-Namespace</a>Divisions Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/marc' title='SobekCM.Resource_Object.MARC'>MARC Sub-Namespace</a>MARC Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/mets_sec_readerwriters' title='SobekCM.Resource_Object.METS_Sec_ReaderWriters'>METS_Sec_ReaderWriters Sub-Namespace</a>METS_Sec_ReaderWriters Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/metadata_file_readerwriters' title='SobekCM.Resource_Object.Metadata_File_ReaderWriters'>Metadata_File_ReaderWriters Sub-Namespace</a>Metadata_File_ReaderWriters Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/metadata_modules' title='SobekCM.Resource_Object.Metadata_Modules'>Metadata_Modules Sub-Namespace</a>Metadata_Modules Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/oai' title='SobekCM.Resource_Object.OAI'>OAI Sub-Namespace</a>OAI Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/solr' title='SobekCM.Resource_Object.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/testing' title='SobekCM.Resource_Object.Testing'>Testing Sub-Namespace</a>Testing Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/tracking' title='SobekCM.Resource_Object.Tracking'>Tracking Sub-Namespace</a>Tracking Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/utilities' title='SobekCM.Resource_Object.Utilities'>Utilities Sub-Namespace</a>Utilities Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object/bibliographic_mapping' title='Bibliographic_Mapping Class'>Bibliographic_Mapping</a>Bibliographic_Mapping
Expand <a href='http://sobekrepository.org/codehelp/resource_object/download_info_deprecated' title='Download_Info_DEPRECATED Class'>Download_Info_DEPRECATED</a>Download_Info_DEPRECATED
Expand <a href='http://sobekrepository.org/codehelp/resource_object/generic_reader' title='Generic_Reader Class'>Generic_Reader</a>Generic_Reader
Expand <a href='http://sobekrepository.org/codehelp/resource_object/imetadatadescribable' title='iMetadataDescribable Interface'>iMetadataDescribable Interface</a>iMetadataDescribable Interface
Mapped_Fields
Expand <a href='http://sobekrepository.org/codehelp/resource_object/marc_html_writer' title='MARC_HTML_Writer Class'>MARC_HTML_Writer</a>MARC_HTML_Writer
Expand <a href='http://sobekrepository.org/codehelp/resource_object/metadatadescribablebase' title='MetadataDescribableBase Class'>MetadataDescribableBase</a>MetadataDescribableBase
Expand <a href='http://sobekrepository.org/codehelp/resource_object/mets_header_info' title='METS_Header_Info Class'>METS_Header_Info</a>METS_Header_Info
METS_Record_Status
New_SobekCM_Bib_Package_Progress
New_SobekCM_Bib_Package_Progress_Task_Group
Expand <a href='http://sobekrepository.org/codehelp/resource_object/sobekcm_item' title='SobekCM_Item Class'>SobekCM_Item</a>SobekCM_Item
Expand <a href='http://sobekrepository.org/codehelp/resource_object/unanalyzed_mets_section' title='Unanalyzed_METS_Section Class'>Unanalyzed_METS_Section</a>Unanalyzed_METS_Section
Expand <a href='http://sobekrepository.org/codehelp/resource_object/web_info' title='Web_Info Class'>Web_Info</a>Web_Info
Expand <a href='http://sobekrepository.org/codehelp/resource_object/xml_node_base_type' title='XML_Node_Base_Type Class'>XML_Node_Base_Type</a>XML_Node_Base_Type
Expand <a href='http://sobekrepository.org/codehelp/resource_object/xml_writing_base_type' title='XML_Writing_Base_Type Class'>XML_Writing_Base_Type</a>XML_Writing_Base_Type
Expand <a href='http://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

SobekCM_Database.Save_Item_Behaviors Method



Saves the behaviors for a single item in a SobekCM digital library


Namespace: SobekCM.Resource_Object.Database
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
protected static bool Save_Item_Behaviors(
	int ItemID,
	bool TextSearchable,
	string MainThumbnail,
	string MainJPEG,
	short IP_Restriction_Mask,
	bool CheckoutRequired,
	bool Dark_Flag,
	bool Born_Digital,
	short DispositionAdvice,
	string DispositionAdviceNotes,
	Nullable<DateTime> Material_Received_Date,
	bool Material_Recd_Date_Estimated,
	string Tracking_Box,
	string AggregationCode1,
	string AggregationCode2,
	string AggregationCode3,
	string AggregationCode4,
	string AggregationCode5,
	string AggregationCode6,
	string AggregationCode7,
	string AggregationCode8,
	string HoldingCode,
	string SourceCode,
	string Icon1_Name,
	string Icon2_Name,
	string Icon3_Name,
	string Icon4_Name,
	string Icon5_Name,
	int Viewer1_Type,
	string Viewer1_Label,
	string Viewer1_Attributes,
	int Viewer2_Type,
	string Viewer2_Label,
	string Viewer2_Attributes,
	int Viewer3_Type,
	string Viewer3_Label,
	string Viewer3_Attributes,
	int Viewer4_Type,
	string Viewer4_Label,
	string Viewer4_Attributes,
	int Viewer5_Type,
	string Viewer5_Label,
	string Viewer5_Attributes,
	int Viewer6_Type,
	string Viewer6_Label,
	string Viewer6_Attributes,
	bool Left_To_Right
)

Parameters

ItemID
Type: System..::..Int32
Item ID to associate these icons and downlaods with
TextSearchable
Type: System..::..Boolean
Flag indicates if this item is text searchable
MainThumbnail
Type: System..::..String
Main thumbnail file name
MainJPEG
Type: System..::..String
Main page jpeg image (for full results view)
IP_Restriction_Mask
Type: System..::..Int16
IP Restriction mask for this item
CheckoutRequired
Type: System..::..Boolean
Flag indicates if this is a single-use item which requires checkout
Dark_Flag
Type: System..::..Boolean
Flag indicates if this item is DARK and should not be made public or restricted (i.e., remains private)
Born_Digital
Type: System..::..Boolean
Flag indicates if this material was born digitally, rather than digitized
DispositionAdvice
Type: System..::..Int16
Key to how this item will be disposed of once complete, or -1 for no advice
DispositionAdviceNotes
Type: System..::..String
Notes to further explain how this item should be disposed of (i.e., return to whom, etc.)
Material_Received_Date
Type: System..::..Nullable<(Of <(<'DateTime>)>)>
Day the material was received into the digitization office
Material_Recd_Date_Estimated
Type: System..::..Boolean
Flag indicates if the date above is an estimate
Tracking_Box
Type: System..::..String
Tracking box this item currently resides in or is tracked with
AggregationCode1
Type: System..::..String
Code for the first aggregation this item belongs to
AggregationCode2
Type: System..::..String
Code for the second aggregation this item belongs to
AggregationCode3
Type: System..::..String
Code for the third aggregation this item belongs to
AggregationCode4
Type: System..::..String
Code for the fourth aggregation this item belongs to
AggregationCode5
Type: System..::..String
Code for the fifth aggregation this item belongs to
AggregationCode6
Type: System..::..String
Code for the sixth aggregation this item belongs to
AggregationCode7
Type: System..::..String
Code for the seventh aggregation this item belongs to
AggregationCode8
Type: System..::..String
Code for the eighth aggregation this item belongs to
HoldingCode
Type: System..::..String
Holding code for this item's holding location aggregation
SourceCode
Type: System..::..String
Source location code for this item's source location
Icon1_Name
Type: System..::..String
Name of the first icon
Icon2_Name
Type: System..::..String
Name of the second icon
Icon3_Name
Type: System..::..String
Name of the third icon
Icon4_Name
Type: System..::..String
Name of the fourth icon
Icon5_Name
Type: System..::..String
Name of the fifth icon
Viewer1_Type
Type: System..::..Int32
Primary key for the first viewer type in the SobekCM database
Viewer1_Label
Type: System..::..String
Label to be displayed for the first viewer of this item
Viewer1_Attributes
Type: System..::..String
Optional attributes for the first viewer of this item
Viewer2_Type
Type: System..::..Int32
Primary key for the second viewer type in the SobekCM database
Viewer2_Label
Type: System..::..String
Label to be displayed for the second viewer of this item
Viewer2_Attributes
Type: System..::..String
Optional attributes for the second viewer of this item
Viewer3_Type
Type: System..::..Int32
Primary key for the third viewer type in the SobekCM database
Viewer3_Label
Type: System..::..String
Label to be displayed for the third viewer of this item
Viewer3_Attributes
Type: System..::..String
Optional attributes for the third viewer of this item
Viewer4_Type
Type: System..::..Int32
Primary key for the fourth viewer type in the SobekCM database
Viewer4_Label
Type: System..::..String
Label to be displayed for the fourth viewer of this item
Viewer4_Attributes
Type: System..::..String
Optional attributes for the fourth viewer of this item
Viewer5_Type
Type: System..::..Int32
Primary key for the fifth viewer type in the SobekCM database
Viewer5_Label
Type: System..::..String
Label to be displayed for the fifth viewer of this item
Viewer5_Attributes
Type: System..::..String
Optional attributes for the fifth viewer of this item
Viewer6_Type
Type: System..::..Int32
Primary key for the sixth viewer type in the SobekCM database
Viewer6_Label
Type: System..::..String
Label to be displayed for the sixth viewer of this item
Viewer6_Attributes
Type: System..::..String
Optional attributes for the sixth viewer of this item
Left_To_Right
Type: System..::..Boolean
Flag indicates this item is read from Left-to-Right, rather than standard Right-to-Left

Return Value

Type: Boolean

Remarks

This method calls the stored procedure 'SobekCM_Save_Item_Behaviors'.

Exceptions

ExceptionCondition
SobekCM.Resource_Object.Database..::..SobekCM_Database..::..SobekCM_Database_Exception Exception is thrown if an error is caught during the database work and the THROW_EXCEPTIONS internal flag is set to true.

See Also



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