C# Class SobekCM.Engine_Library.Items.SobekCM_Item_Updater

Code to update an existing digital resource, from a newly updated SobekCM_Item object
This is used by the Edit_Item_Metadata_MySobekViewer, and will be exposed via a REST API
Show file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Update_Item ( SobekCM_Item Item, User_Object User, string &Error_Message ) : bool

Update the exsting digital resource, by saving the changes to the database and rewriting metadata files

Method Details

Update_Item() public static method

Update the exsting digital resource, by saving the changes to the database and rewriting metadata files
public static Update_Item ( SobekCM_Item Item, User_Object User, string &Error_Message ) : bool
Item SobekCM.Resource_Object.SobekCM_Item Digital resource object with all the updated metadata
User SobekCM.Core.Users.User_Object User who performed the update, for the item milestones
Error_Message string [OUT] Return an error message if an exception is encountered
return bool