|
Code Details Engine_Library Database Engine_Database Save_Item_Aggregation Method Save_Item_Aggregation (Int32, String, String, String, String, Thematic_Heading, String, Boolean, Boolean, String, Int32, Int32, Int32, Int32, Boolean, String, String, String, String, Int32, String, String, Custom_Tracer)
Engine_Database.Save_Item_Aggregation Method (Int32, String, String, String, String, Thematic_Heading, String, Boolean, Boolean, String, Int32, Int32, Int32, Int32, Boolean, String, String, String, String, Int32, String, String, Custom_Tracer)
Save a new item aggregation or edit an existing item aggregation in the database Namespace: SobekCM.Engine_Library.DatabaseAssembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static bool Save_Item_Aggregation(
int AggregationID,
string Code,
string Name,
string ShortName,
string Description,
Thematic_Heading ThematicHeading,
string Type,
bool IsActive,
bool IsHidden,
string DisplayOptions,
int MapSearch,
int MapSearchBeta,
int MapDisplay,
int MapDisplayBeta,
bool OaiFlag,
string OaiMetadata,
string ContactEmail,
string DefaultInterface,
string ExternalLink,
int ParentID,
string Username,
string LanguageVariants,
Custom_Tracer Tracer
) |
Parameters- AggregationID
- Type: System..::..Int32
AggregationID if this is editing an existing one, otherwise -1
- Code
- Type: System..::..String
Code for this item aggregation
- Name
- Type: System..::..String
Name for this item aggregation
- ShortName
- Type: System..::..String
Short version of this item aggregation
- Description
- Type: System..::..String
Description of this item aggregation
- ThematicHeading
- Type: SobekCM.Core.Aggregations..::..Thematic_Heading
Thematic heading for this item aggregation (or null)
- Type
- Type: System..::..String
Type of item aggregation (i.e., Collection Group, Institution, Exhibit, etc..)
- IsActive
- Type: System..::..Boolean
Flag indicates if this item aggregation is active
- IsHidden
- Type: System..::..Boolean
Flag indicates if this item is hidden
- DisplayOptions
- Type: System..::..String
Display options for this item aggregation
- MapSearch
- Type: System..::..Int32
Map Search value indicates if there is a map search, and the type of search
- MapSearchBeta
- Type: System..::..Int32
Map Search value indicates if there is a map search, and the type of search
- MapDisplay
- Type: System..::..Int32
Map Display value indicates if there is a map display option when looking at search results or browses
- MapDisplayBeta
- Type: System..::..Int32
Map Display value indicates if there is a map display option when looking at search results or browses
- OaiFlag
- Type: System..::..Boolean
Flag indicates if this item aggregation should be available via OAI-PMH
- OaiMetadata
- Type: System..::..String
Additional metadata about this collection, to be included in the set information in OAI-PMH
- ContactEmail
- Type: System..::..String
Contact email for this item aggregation (can leave blank to use default)
- DefaultInterface
- Type: System..::..String
Default interface for this item aggregation (particularly useful for institutional aggregationPermissions)
- ExternalLink
- Type: System..::..String
External link for this item aggregation (used primarily for institutional item aggregationPermissions to provide a link back to the institution's actual home page)
- ParentID
- Type: System..::..Int32
ID for the item aggregation parent
- Username
- Type: System..::..String
Username saving this new item aggregation, for the item aggregation milestones
- LanguageVariants
- Type: System..::..String
Details which language variants exist for this item aggregation
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return ValueType: Boolean TRUE if successful, otherwise FALSE
Remarks
See Also
Version 4.10.0 ( last generated Monday, March 7, 2016 )
|