mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='https://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='https://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Collapse <a href='https://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/behaviors' title='SobekCM.Resource_Object.Behaviors'>Behaviors Sub-Namespace</a>Behaviors Sub-Namespace
Expand <a href='https://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='https://sobekrepository.org/codehelp/resource_object/builder' title='SobekCM.Resource_Object.Builder'>Builder Sub-Namespace</a>Builder Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/configuration' title='SobekCM.Resource_Object.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Collapse <a href='https://sobekrepository.org/codehelp/resource_object/database' title='SobekCM.Resource_Object.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/divisions' title='SobekCM.Resource_Object.Divisions'>Divisions Sub-Namespace</a>Divisions Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/marc' title='SobekCM.Resource_Object.MARC'>MARC Sub-Namespace</a>MARC Sub-Namespace
Expand <a href='https://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='https://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='https://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='https://sobekrepository.org/codehelp/resource_object/oai' title='SobekCM.Resource_Object.OAI'>OAI Sub-Namespace</a>OAI Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/solr' title='SobekCM.Resource_Object.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/testing' title='SobekCM.Resource_Object.Testing'>Testing Sub-Namespace</a>Testing Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/tracking' title='SobekCM.Resource_Object.Tracking'>Tracking Sub-Namespace</a>Tracking Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/utilities' title='SobekCM.Resource_Object.Utilities'>Utilities Sub-Namespace</a>Utilities Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/bibliographic_mapping' title='Bibliographic_Mapping Class'>Bibliographic_Mapping</a>Bibliographic_Mapping
Expand <a href='https://sobekrepository.org/codehelp/resource_object/download_info_deprecated' title='Download_Info_DEPRECATED Class'>Download_Info_DEPRECATED</a>Download_Info_DEPRECATED
Expand <a href='https://sobekrepository.org/codehelp/resource_object/generic_reader' title='Generic_Reader Class'>Generic_Reader</a>Generic_Reader
Expand <a href='https://sobekrepository.org/codehelp/resource_object/imetadatadescribable' title='iMetadataDescribable Interface'>iMetadataDescribable Interface</a>iMetadataDescribable Interface
Mapped_Fields
Expand <a href='https://sobekrepository.org/codehelp/resource_object/marc_html_writer' title='MARC_HTML_Writer Class'>MARC_HTML_Writer</a>MARC_HTML_Writer
Expand <a href='https://sobekrepository.org/codehelp/resource_object/metadatadescribablebase' title='MetadataDescribableBase Class'>MetadataDescribableBase</a>MetadataDescribableBase
Expand <a href='https://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='https://sobekrepository.org/codehelp/resource_object/sobekcm_item' title='SobekCM_Item Class'>SobekCM_Item</a>SobekCM_Item
Expand <a href='https://sobekrepository.org/codehelp/resource_object/unanalyzed_mets_section' title='Unanalyzed_METS_Section Class'>Unanalyzed_METS_Section</a>Unanalyzed_METS_Section
Expand <a href='https://sobekrepository.org/codehelp/resource_object/web_info' title='Web_Info Class'>Web_Info</a>Web_Info
Expand <a href='https://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='https://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='https://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

SobekCM_Database.Mass_Update_Item_Behaviors Method



Mass updates the behaviors for all items within a single item group


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 Mass_Update_Item_Behaviors(
	int GroupID,
	bool Set_IP_Restriction_Mask,
	short IP_Restriction_Mask,
	bool Set_CheckoutRequired,
	bool CheckoutRequired,
	bool Set_Dark_Flag,
	bool Dark_Flag,
	bool Set_Born_Digital,
	bool Born_Digital,
	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
)

Parameters

GroupID
Type: System..::..Int32
GroupID for the item group to mass update all item behaviors for
Set_IP_Restriction_Mask
Type: System..::..Boolean
Flag indicates if the IP restriction mask should be set for all items in this title
IP_Restriction_Mask
Type: System..::..Int16
IP Restriction mask for this item
Set_CheckoutRequired
Type: System..::..Boolean
Flag indicates whether the checkout required flag should be set for all items in this title
CheckoutRequired
Type: System..::..Boolean
Flag indicates if this is a single-use item which requires checkout
Set_Dark_Flag
Type: System..::..Boolean
Flag indicates if the dark flag should be set for all items in this title
Dark_Flag
Type: System..::..Boolean
Flag indicates this item is permanently DARK and can not be made public without first un-darking the item
Set_Born_Digital
Type: System..::..Boolean
Flag indicates whether the born digital flag should be set for all items in this title
Born_Digital
Type: System..::..Boolean
Flag indicates this item was born digitally, rather than scanned in-house
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

Return Value

Type: Boolean

Remarks

This method calls the stored procedure 'SobekCM_Mass_Update_Item_Behaviors2'.

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 )