Method | Description | |
---|---|---|
Add_Description_Tag ( int UserID, int TagID, int ItemID, string AddedDescription, |
Adds a descriptive tag to an existing item by a logged-in user This calls the 'mySobek_Add_Description_Tag' stored procedure |
|
Add_Item_To_User_Folder ( int UserID, string FolderName, string BibID, string Vid, int ItemOrder, string UserNotes, |
Adds a digital resource to a user folder, or edits an existing item This calls the 'mySobek_Add_Item_To_User_Folder' stored procedure |
|
Add_Minimum_Builder_Information ( |
Pulls the item id, main thumbnail, and aggregation codes and adds them to the resource object This calls the 'SobekCM_Builder_Get_Minimum_Item_Information' stored procedure |
|
Add_Project_Aggregation_Link ( |
Save the new Project-Aggregation link to the database.
|
|
Add_Project_DefaultMetadata_Link ( |
Save the Project_Default Metadata link to the database
|
|
Add_Project_Item_Link ( |
Save Project, Item link to the database
|
|
Add_Project_Template_Link ( |
Save Project, Input template link to the database
|
|
Add_User_BibID_Link ( int UserID, int GroupID ) : bool |
Add a link between a user and an existing item group (by GroupID) This calls the 'mySobek_Link_User_To_Item' stored procedure |
|
Add_User_Item_Link ( int UserID, int ItemID, int RelationshipID, bool ChangeExisting ) : bool |
Add a link between a user and an existing item and include the type of relationship This calls the 'SobekCM_Link_User_To_Item' stored procedure |
|
Admin_Update_Cached_Aggregation_Metadata_Links ( ) : bool |
Updates the cached links between aggregationPermissions and metadata, used by larger collections This calls the 'Admin_Update_Cached_Aggregation_Metadata_Links' stored procedure. |
|
Builder_Add_Log_Entry ( long RelatedBuilderLogID, string BibID_VID, string LogType, string LogMessage, string MetsType ) : long |
Add a new log entry for the builder This calls the 'SobekCM_Builder_Add_Log' stored procedure |
|
Builder_Clear_Item_Error_Log ( string BibID, string Vid, string ClearedBy ) : bool |
Clears the item error log associated with a particular bibid / vid No error is deleted, but this does set a flag on the error indicating it was cleared so it will no longer appear in the list |
|
Builder_Expire_Log_Entries ( int Retain_For_Days ) : bool |
Expire older builder logs which can be removed from the system This calls the 'SobekCM_Builder_Expire_Log_Entries' stored procedure |
|
Builder_Folder_Delete ( int FolderID, |
Deletes an existing builder incoming folder from the table This calls the 'SobekCM_Builder_Incoming_Folder_Delete' stored procedure |
|
Builder_Folder_Edit ( int FolderID, string Folder_Name, string Network_Folder, string Error_Folder, string Processing_Folder, bool Perform_Checksum, bool Archive_TIFF, bool Archive_All_Files, bool Allow_Deletes, bool Allow_Folders_No_Metadata, string BibID_Roots_Restrictions, int ModuleSetID, |
Edits an existing builder incoming folder or adds a new folder This calls the 'SobekCM_Builder_Incoming_Folder_Edit' stored procedure |
|
Builder_Get_Error_Logs ( |
Gets the list of build errors that have been encountered between two dates This calls the 'SobekCM_Get_Build_Error_Logs' stored procedure |
|
Change_Password ( string Username, string CurrentPassword, string NewPassword, bool IsTemporary, |
Change an existing user's password This calls the 'mySobek_Change_Password' stored procedure |
|
Delete_Aggregation_Alias ( string Alias, |
Deletes an item aggregation alias by alias code This calls the 'SobekCM_Delete_Item_Aggregation_Alias' stored procedure |
|
Delete_Default_Metadata ( string Code, |
Deletes an existing default metadata This calls the 'mySobek_Delete_Project' stored procedure |
|
Delete_Description_Tag ( int TagID, |
Delete's a user's descriptive tage This calls the 'mySobek_Delete_Description_Tag' stored procedure |
|
Delete_IP_Range ( int IdToDelete, |
Delete a complete IP range group This calls the 'SobekCM_Delete_IP_Range' stored procedure |
|
Delete_Icon ( string IconCode, |
Deletes an existing wordmark/icon if it is not linked to any titles in the database This calls the 'SobekCM_Delete_Icon' stored procedure |
|
Delete_Item_Aggregation ( string Code, bool IsSysAdmin, string Username, |
Delete an item aggregation from the database This calls the 'SobekCM_Delete_Item_Aggregation' stored procedure |
|
Delete_Item_From_User_Folder ( int UserID, string FolderName, string BibID, string Vid, |
Remove an item from the user's folder This calls the 'mySobek_Delete_Item_From_User_Folder' stored procedure |
|
Delete_Item_From_User_Folders ( int UserID, string BibID, string Vid, |
Remove an item from any user folder it currently resides in (besides Submitted Items) This calls the 'mySobek_Delete_Item_From_All_User_Folders' stored procedure |
|
Delete_Project_Aggregation_Link ( |
Delete Project, Aggregation Link from the database
|
|
Delete_Project_DefaultMetadata_Link ( |
Delete the Project, default metadata link from the database
|
|
Delete_Project_Item_Link ( |
Delete a Project, Item link from the database
|
|
Delete_Project_Template_Link ( |
Delete a project, CompleteTemplate link from the database
|
|
Delete_Setting ( string SettingKey ) : bool |
Delete a value from the settings table This calls the 'SobekCM_Delete_Settinge' stored procedure |
|
Delete_Single_IP ( int PrimaryID, |
Deletes a single IP address information from an IP restriction range This calls the 'SobekCM_Delete_Single_IP' stored procedure |
|
Delete_SobekCM_Item ( string BibID, string VID, bool AsAdmin, string DeleteMessage ) : bool |
Deletes an item from the SobekCM database This method calls the stored procedure 'SobekCM_Delete_Item'. |
|
Delete_URL_Portal ( int PortalID, |
Delete a URL Portal from the database, by primary key This calls the 'SobekCM_Delete_Portal' stored procedure |
|
Delete_User_Folder ( int UserID, int UserFolderID, |
Deletes a folder from a user This calls the 'mySobek_Delete_User_Folder' stored procedure |
|
Delete_User_Group ( int UserGroupID, |
Deletes a user group, if there are no users attached and if it is not a special group This calls the 'mySobek_Delete_User_Group' stored procedure |
|
Delete_User_Search ( int UserSearchID, |
Deletes a user search from the collection of saved searches This calls the 'mySobek_Delete_User_Search' stored procedure |
|
Delete_Web_Skin ( string SkinCode, bool ForceDelete, |
Deletes a HTML web skin fromo the database This calls the 'SobekCM_Delete_Web_Skin' stored procedure |
|
Edit_IP_Range ( int IpRangeID, string Title, string Notes, string ItemRestrictedStatement, |
Edits an existing IP restriction range, or adds a new one This calls the 'SobekCM_Edit_IP_Range' stored procedure |
|
Edit_Single_IP ( int PrimaryID, int IpRangeID, string StartIp, string EndIp, string Note, |
Adds or edits a single IP address information in an IP restriction range This calls the 'SobekCM_Edit_Single_IP' stored procedure |
|
Edit_URL_Portal ( int PortalID, string BaseUrl, bool IsActive, bool IsDefault, string Abbreviation, string Name, string DefaultAggregation, string DefaultWebSkin, string BasePurl, |
Edit an existing URL Portal or add a new URL portal, by primary key This calls the 'SobekCM_Edit_Portal' stored procedure |
|
Edit_User_Folder ( int UserFolderID, int UserID, int ParentFolderID, string FolderName, bool IsPublic, string Description, |
Edit an existing user folder, or add a new user folder This calls the 'mySobek_Edit_User_Folder' stored procedure |
|
FDA_Report_Save ( SobekCM.Tools.FDA.FDA_Report_Data Report ) : bool |
Saves all the pertinent information from a received Florida Digital Archive (FDA) ingest report
|
|
FDA_Report_Save ( string Package, string Ieid, string FdaReportType, System.DateTime ReportDate, string Account, string Project, int Warnings, string Message, string BibID, string Vid ) : int |
Save the information about a FDA report to the database This calls the FDA_Report_Save stored procedure in the database |
|
Get_AggregationCode_From_CID ( String Cid ) : String |
Gets aggregation code from CID in aggregation description
|
|
Get_Aggregation_Build_Log ( int AggregationID ) : |
Gets the build log for a particular aggregation This calls the 'SobekCM_Build_Log_Get' stored procedure |
|
Get_Aggregation_Change_Log ( string AggregationCode, |
|
|
Get_Aggregation_Statistics_History ( string AggregationCode, |
Returns the month-by-month usage statistics details by item aggregation Passing 'ALL' in as the aggregation code returns the statistics for all item aggregationPermissions within this library |
|
Get_Aggregation_User_Permissions ( string AggregationCode, |
|
|
Get_Aggregations_By_ProjectID ( |
Get the list of Aggregation IDs associated with a project
|
|
Get_All_Groups_First_VID ( ) : |
Get the list of groups, with the top item (VID)
|
|
Get_All_Items_By_AggregationID ( string AggregationCode, List |
Gets the list of unique coordinate points and associated bibid and group title for a single item aggregation This calls the 'SobekCM_Coordinate_Points_By_Aggregation' stored procedure |
|
Get_All_User_Settings_Like ( string KeyStart, string SettingValue ) : |
Gets settings across all the users that are like the key start This calls the 'mySobek_Get_All_User_Settings_Like' stored procedure |
|
Get_All_Users ( |
Gets the datatable of all users from the mySobek / personalization database This calls the 'mySobek_Get_All_Users' stored procedure |
|
Get_BibID_VID_From_Identifier ( string Identifier ) : String |
Pulls the BibID, VID via the Identifier
|
|
Get_CollectionList_ReadyToBuild ( ) : |
Get a list of collections which have new items and are ready to be built This method calls the stored procedure 'SobekCM_Get_CollectionList_toBuild'. |
|
Get_Folder_Search_Information ( int UserID, |
Gets basic information about all the folders and searches saved for a single user This calls the 'mySobek_Get_Folder_Search_Information' stored procedure |
|
Get_Global_User_Permissions ( |
Get the list of users that have top-level permissions, such as editing all items, being an admin, deleting all items, or a power user
|
|
Get_Global_User_Permissions_Aggregations_Links ( |
Get the list of users and for each user the list of aggregations they have special rights over (wither by user or through user group )
|
|
Get_Global_User_Permissions_Linked_Aggregations ( |
Get the list of aggregations that have special rights given to some users
|
|
Get_Global_User_Permissions_Submission_Rights ( |
Get the list of users, with informaiton about the templates and default metadata, that can submit material to this instance
|
|
Get_IP_Restriction_Range_Details ( int PrimaryID, |
Gets the details for a single IP restriction ranges, including each single IP and the complete notes associated with the range This calls the 'SobekCM_Get_IP_Restriction_Range' stored procedure |
|
Get_IP_Restriction_Ranges ( |
Gets the list of all the IP ranges for restriction, including each single IP information in those ranges This calls the 'SobekCM_Get_All_IP_Restrictions' stored procedure |
|
Get_ItemID_From_Bib_VID ( string BibID, string VID ) : int |
Pulls the item id by BibID / VID This calls the 'SobekCM_Builder_Get_Minimum_Item_Information' stored procedure |
|
Get_Item_Aggregation_Count ( System.DateTime Date1, int Option, |
Gets the title, item, and page count for each item aggregation currently and at some previous point of time This calls the 'SobekCM_Item_Count_By_Collection_By_Dates' stored procedure |
|
Get_Item_Aggregation_Count ( int Option, |
Gets the current title, item, and page count for each item aggregation in the item aggregation hierarchy This calls the 'SobekCM_Item_Count_By_Collection' stored procedure |
|
Get_Item_Aggregation_Count_DateRange ( System.DateTime Date1, System.DateTime Date2, int Option, |
Gets the title, item, and page count for each item aggregation currently and at some previous point of time This calls the 'SobekCM_Item_Count_By_Collection_By_Date_Range' stored procedure |
|
Get_Item_Aggregation_Milestone ( string AggregationCode ) : |
Gets all the milestones for a single item aggregation This calls the 'SobekCM_Add_Item_Aggregation_Milestone' stored procedure |
|
Get_Item_List ( bool IncludePrivate, |
Gets the dataset of all public items and item groups This calls the 'SobekCM_Item_List_Brief2' stored procedure |
|
Get_Item_Restrictions ( string BibID, string Vid, |
Determines what restrictions are present on an item This calls the 'SobekCM_Get_Item_Restrictions' stored procedure |
|
Get_Metadata_Name_From_MetadataTypeID ( short MetadataTypeId, |
Gets the human readable name of a metadate id This calls the 'SobekCM_Get_Metadata_Name_From_MetadataTypeID' stored procedure |
|
Get_OAI_Data ( string SetCode, string DataCode, System.DateTime FromDate, System.DateTime UntilDate, int PageSize, int PageNumber, bool IncludeRecord ) : List |
Returns a list of either identifiers or records for either the entire system or a single set, to be served through the OAI-PMH server This calls the 'SobekCM_Get_OAI_Data' stored procedure |
|
Get_OAI_Record ( string BibID, string Vid, string DataCode ) : OAI_Record |
Returns a single OAI-PMH record, by identifier ( BibID and VID ) This calls the 'SobekCM_Get_OAI_Data_Item' stored procedure |
|
Get_OAI_Sets ( ) : |
Gets the list of all OAI-enabled item aggregationPermissions This calls the 'SobekCM_Get_OAI_Sets' stored procedure |
|
Get_Page_Item_Count_History ( |
Gets the item and page count loaded to this digital library by month and year This calls the 'SobekCM_Page_Item_Count_History' stored procedure |
|
Get_Public_User_Folder ( int UserFolderID, |
Gets the information about a folder which should be public This calls the 'mySobek_Get_Folder_Information' stored procedure |
|
Get_Settings ( |
Gets the values from the builder settings table in the database This calls the 'SobekCM_Get_Settings' stored procedure |
|
Get_User_Group ( int UserGroupID, |
Gets the information about a single user group This calls the 'mySobek_Get_User_Group' stored procedure |
|
Get_User_Searches ( int UserID, |
Gets the list of all saved user searches and any user comments This calls the 'mySobek_Get_User_Searches' stored procedure |
|
Link_User_To_User_Group ( int UserID, int UserGroupID ) : bool |
Links a single user to a user group This calls the 'mySobek_Link_User_To_User_Group' stored procedure |
|
Lookup_Item_By_ItemID ( int ItemID, |
Gets some basic information about an item before displaing it, such as the descriptive notes from the database, ability to add notes, etc.. This calls the 'SobekCM_Get_BibID_VID_From_ItemID' stored procedure |
|
Reset_User_Password ( int UserID, string NewPassword, bool IsTemporaryPassword, |
Sets a user's password to the newly provided one This calls the 'mySobek_Reset_User_Password' stored procedure |
|
Save_Aggregation_Alias ( string Alias, string AggregationCode, |
Saves a item aggregation alias for future use This calls the 'SobekCM_Save_Item_Aggregation_Alias' stored procedure |
|
Save_Default_Metadata ( string Code, string Name, string Description, int UserID, |
Saves a new default metadata set, or edits an existing default metadata name This calls the 'mySobek_Save_DefaultMetadata' stored procedure |
|
Save_Icon ( string IconName, string IconFile, string IconLink, int Height, string IconTitle, |
Saves information about a new icon/wordmark or modify an existing one This calls the 'SobekCM_Save_Icon' stored procedure |
|
Save_Icon ( string IconName, string IconFile, string IconLink, string IconTitle, |
Saves information about a new icon/wordmark or modify an existing one This calls the 'SobekCM_Save_Icon' stored procedure |
|
Save_Item_Aggregation_Milestone ( string AggregationCode, string Milestone, string User ) : bool |
Add a new milestone to an existing item aggregation This calls the 'SobekCM_Add_Item_Aggregation_Milestone' stored procedure |
|
Save_Project ( |
Save a new, or edit an existing Project in the database
|
|
Save_Template ( string Code, string Name, string Description, |
Saves a new template, or edits an existing template name This calls the 'mySobek_Save_Template' stored procedure |
|
Save_User ( SobekCM.Library.Users.User_Object User, string Password, User_Authentication_Type_Enum AuthenticationType, |
Saves information about a single user This calls the 'mySobek_Save_User' stored procedure |
|
Save_User_Group ( int UserGroupID, string GroupName, string GroupDescription, bool CanSubmit, bool IsInternal, bool CanEditAll, bool IsSystemAdmin, bool IsPortalAdmin, bool IncludeTrackingStandardForms, bool ClearMetadataTemplates, bool ClearAggregationLinks, bool ClearEditableLinks, bool IsSobekDefault, bool IsShibbolethDefault, bool IsLdapDefault, |
Sets some of the basic information and global permissions values for a single user group This calls the 'mySobek_Save_User_Group' stored procedure |
|
Save_User_Search ( int UserID, string SearchUrl, string SearchDescription, int ItemOrder, string UserNotes, |
Saves a search to the user's saved searches This calls the 'mySobek_Save_User_Search' stored procedure |
|
Save_Web_Skin ( string SkinCode, string BaseSkinCode, bool OverrideBanner, bool OverrideHeaderFooter, string BannerLink, string Notes, bool SuppressTopNavigation, |
Saves a HTML skin to the database This calls the 'SobekCM_Add_Web_Skin' stored procedure |
|
Set_Aggregation_NewItem_Flag ( string AggregationCode, bool NewItemFlag ) : bool |
method used to set the new items flag of a specified item aggregation This method calls the stored procedure 'SobekCM_Set_Aggregation_NewItem_Flag'. |
|
Set_Item_Main_Thumbnail ( string BibID, string VID, string MainThumbnail ) : bool |
Sets the main thumbnail for a given digital resource This calls the 'SobekCM_Set_Main_Thumbnail' stored procedure |
|
Set_Setting ( string SettingKey, string SettingValue ) : bool |
Sets a value in the settings table This calls the 'SobekCM_Set_Setting_Value' stored procedure |
|
Set_User_Receive_Stats_Email ( int UserID, bool NewFlag, |
Updates the flag that indicates the user would like to receive a monthly usage statistics email This calls the 'mySobek_Set_Receive_Stats_Email_Flag' stored procedure |
|
Set_User_Setting ( int UserID, string SettingKey, string SettingValue ) : bool |
Sets a value for an individual user's setting This calls the 'SobekCM_Set_User_Setting_Value' stored procedure |
|
Statistics_Aggregation_Titles ( string AggregationCode, |
Pulls the most often hit titles and items, by item aggregation This calls the 'SobekCM_Statistics_Aggregation_Titles' stored procedure |
|
Statistics_By_Date_Range ( int Early_Year, int Early_Month, int Last_Year, int Last_Month, |
Pulls the complete usage statistics, broken down by each level of the item aggregation hierarchy, between two dates This calls the 'SobekCM_Statistics_By_Date_Range' stored procedure |
|
Test_Connection ( ) : bool |
Test connectivity to the database
|
|
Test_Connection ( string TestConnectionString ) : bool |
Test connectivity to the database
|
|
Tracking_Delete_Workflow ( int WorkflowID ) : void |
|
|
Tracking_Get_All_Entries_By_User ( string Username ) : |
Gets all tracking workflow entries created by a single user
|
|
Tracking_Get_Item_Info_from_ItemID ( int ItemID ) : |
Gets the corresponding BibID, VID for a given itemID
|
|
Tracking_Get_Open_Workflows ( int ItemID, int EventNum ) : |
Gets the related workflows for an item by ItemID
|
|
Tracking_Get_Scanners_List ( ) : |
Gets the list of users who are Scanning or Processing Technicians
|
|
Tracking_Get_Users_Scanning_Processing ( ) : |
Gets the list of users who are Scanning or Processing Technicians
|
|
Tracking_Save_New_Workflow ( int ItemID, string WorkPerformedBy, string RelatedEquipment, System.DateTime DateStarted, System.DateTime DateCompleted, int EventNum, int StartEvent, int EndEvent, int StartEndEvent ) : int |
Save a new workflow entry during tracking
|
|
Tracking_Update_Workflow ( int WorkflowID, int ItemID, string WorkPerformedBy, System.DateTime DateStarted, System.DateTime DateCompleted, string RelatedEquipment, int EventNumber, int StartEventNumber, int EndEventNum ) : void |
Update an already saved tracking workflow entry
|
|
Update_Additional_Work_Needed_Flag ( int ItemID, bool NewFlag, |
Update the additional work neeed flag, which flag an item for additional follow up work in the builder This calls the 'SobekCM_Update_Additional_Work_Needed_Flag' stored procedure |
|
Update_Item_Aggregation ( string Code, string Name, string ShortName, bool IsActive, bool IsHidden, string ExternalLink, |
Updates an existing item aggregation's data that appears in the basic edit aggregation form This calls the 'SobekCM_Update_Item_Aggregation' stored procedure in the SobekCM database |
|
Update_SobekCM_User ( int UserID, bool CanSubmit, bool IsInternal, bool CanEditAll, bool CanDeleteAll, bool IsSystemAdmin, bool IsHostAdmin, bool IsPortalAdmin, bool IncludeTrackingStandardForms, string EditTemplate, string EditTemplateMarc, bool ClearProjectsTemplates, bool ClearAggregationLinks, bool ClearUserGroups, |
Sets some of the permissions values for a single user This calls the 'mySobek_Update_User' stored procedure |
|
Update_SobekCM_User_Aggregations ( int UserID, List |
Sets the list of aggregationPermissions and permissions tagged to a given user This calls the 'SobekCM_Add_User_Aggregations_Link' stored procedure |
|
Update_SobekCM_User_DefaultMetadata ( int UserID, ReadOnlyCollection |
Sets the list of default metadata sets possible for a given user This calls the 'mySobek_Add_User_DefaultMetadata_Link' stored procedure |
|
Update_SobekCM_User_Group_Aggregations ( int UserGroupID, List |
Sets the list of aggregationPermissions and permissions tagged to a given user group This calls the 'SobekCM_Add_User_Group_Aggregations_Link' stored procedure |
|
Update_SobekCM_User_Group_DefaultMetadata ( int UserGroupID, List |
Sets the list of default metadata sets possible for a given user group This calls the 'mySobek_Add_User_Group_Metadata_Link' stored procedure |
|
Update_SobekCM_User_Group_Templates ( int UserGroupID, List |
Sets the list of templates possible for a given user group This calls the 'mySobek_Add_User_Group_Templates_Link' stored procedure |
|
Update_SobekCM_User_Templates ( int UserID, ReadOnlyCollection |
Sets the list of templates possible for a given user This calls the 'mySobek_Add_User_Templates_Link' stored procedure |
|
UserName_Exists ( string UserName, string Email, bool &UserNameExists, bool &EmailExists, |
Checks to see if a username or email exist This calls the 'mySobek_UserName_Exists' stored procedure |
|
User_Set_Aggregation_Home_Page_Flag ( int UserID, int AggregationID, bool NewFlag, |
Sets the flag indicating an aggregation should appear on a user's home page This calls the 'mySobek_Set_Aggregation_Home_Page_Flag' stored procedure |
|
View_Tags_By_Aggregation ( string AggregationCode, |
List all descriptive tags added by a single user This calls the 'SobekCM_Get_Description_Tags_By_Aggregation' stored procedure |
|
View_Tags_By_User ( int UserID, |
List all descriptive tags added by a single user This calls the 'mySobek_View_All_User_Tags' stored procedure |
Method | Description | |
---|---|---|
SobekCM_Database ( ) : System |
Static constructor for this class
|
public static Add_Description_Tag ( int UserID, int TagID, int ItemID, string AddedDescription, |
||
UserID | int | Primary key for the user adding the descriptive tag |
TagID | int | Primary key for a descriptive tag, if this is an edit |
ItemID | int | Primary key for the digital resource to tag |
AddedDescription | string | User-entered descriptive tag |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Add_Item_To_User_Folder ( int UserID, string FolderName, string BibID, string Vid, int ItemOrder, string UserNotes, |
||
UserID | int | Primary key for this user in the database |
FolderName | string | Name of this user's folder |
BibID | string | Bibliographic identifier for this title / item group |
Vid | string | Volume identifier for this one volume within a title / item group |
ItemOrder | int | Order for this item within the folder |
UserNotes | string | Notes from the user about this item |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Add_Minimum_Builder_Information ( |
||
Resource | Digital resource object | |
return | bool |
public static Add_Project_Aggregation_Link ( |
||
Tracer | ||
ProjectID | int | |
AggregationID | int | |
return | void |
public static Add_Project_DefaultMetadata_Link ( |
||
Tracer | ||
ProjectID | int | |
DefaultMetadataID | int | |
return | void |
public static Add_Project_Item_Link ( |
||
Tracer | ||
ProjectID | int | |
ItemID | int | |
return | void |
public static Add_Project_Template_Link ( |
||
Tracer | ||
ProjectID | int | |
TemplateID | int | |
return | void |
public static Add_User_BibID_Link ( int UserID, int GroupID ) : bool | ||
UserID | int | Primary key for this user in the database |
GroupID | int | Primary key for the item group to link this user to |
return | bool |
public static Add_User_Item_Link ( int UserID, int ItemID, int RelationshipID, bool ChangeExisting ) : bool | ||
UserID | int | Primary key for this user in the database |
ItemID | int | Primary key for the item to link this user to |
RelationshipID | int | Primary key for the type of relationship to use |
ChangeExisting | bool | If a relationship already exists, should this override it? |
return | bool |
public static Admin_Update_Cached_Aggregation_Metadata_Links ( ) : bool | ||
return | bool |
public static Builder_Add_Log_Entry ( long RelatedBuilderLogID, string BibID_VID, string LogType, string LogMessage, string MetsType ) : long | ||
RelatedBuilderLogID | long | Primary key for a related log id, if this adds detail to an already logged entry |
BibID_VID | string | BibID / VID, if this is related to an item error (either existing item, or not) |
LogType | string | Type of the log entry ( i.e., Error, Complete, etc.. ) |
LogMessage | string | Actual log entry message |
MetsType | string | Type of the METS file (if related to one) |
return | long |
public static Builder_Clear_Item_Error_Log ( string BibID, string Vid, string ClearedBy ) : bool | ||
BibID | string | Bibliographic identifier for the item (or name of failed process) |
Vid | string | Volume identifier for the item |
ClearedBy | string | Name of user or process that cleared the error |
return | bool |
public static Builder_Expire_Log_Entries ( int Retain_For_Days ) : bool | ||
Retain_For_Days | int | Number of days of logs which should be retained |
return | bool |
public static Builder_Folder_Delete ( int FolderID, |
||
FolderID | int | Primary key for the builder incoming folder to delete |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Builder_Folder_Edit ( int FolderID, string Folder_Name, string Network_Folder, string Error_Folder, string Processing_Folder, bool Perform_Checksum, bool Archive_TIFF, bool Archive_All_Files, bool Allow_Deletes, bool Allow_Folders_No_Metadata, string BibID_Roots_Restrictions, int ModuleSetID, |
||
FolderID | int | Primary key for the builder incoming folder to delete |
Folder_Name | string | |
Network_Folder | string | |
Error_Folder | string | |
Processing_Folder | string | |
Perform_Checksum | bool | |
Archive_TIFF | bool | |
Archive_All_Files | bool | |
Allow_Deletes | bool | |
Allow_Folders_No_Metadata | bool | |
BibID_Roots_Restrictions | string | |
ModuleSetID | int | |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Builder_Get_Error_Logs ( |
||
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
StartDate | System.DateTime | Beginning of the date range |
EndDate | System.DateTime | End of the date range |
return |
public static Change_Password ( string Username, string CurrentPassword, string NewPassword, bool IsTemporary, |
||
Username | string | Username for the user |
CurrentPassword | string | Old plain-text password, which is then encrypted prior to saving |
NewPassword | string | New plain-text password, which is then encrypted prior to saving |
IsTemporary | bool | Flag indicates if the new password is temporary and must be changed on the next logon |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Aggregation_Alias ( string Alias, |
||
Alias | string | Alias string which forwarded to a item aggregation |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Default_Metadata ( string Code, |
||
Code | string | Code for the default metadata to delete |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Description_Tag ( int TagID, |
||
TagID | int | Primary key for the entered the descriptive tag |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_IP_Range ( int IdToDelete, |
||
IdToDelete | int | Primary key of the IP range to delete |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Icon ( string IconCode, |
||
IconCode | string | Wordmark/icon code for the wordmark to delete |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Item_Aggregation ( string Code, bool IsSysAdmin, string Username, |
||
Code | string | Aggregation code for the aggregation to delete |
IsSysAdmin | bool | Flag indicates if this is a system admin, who can delete aggregationPermissions with items |
Username | string | Name of the user that deleted this aggregation, for the milestones |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
ErrorMessage | string | [OUT] Error message, if there was an error |
return | int |
public static Delete_Item_From_User_Folder ( int UserID, string FolderName, string BibID, string Vid, |
||
UserID | int | Primary key for this user in the database |
FolderName | string | Name of this user's folder |
BibID | string | Bibliographic identifier for this title / item group |
Vid | string | Volume identifier for this one volume within a title / item group |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Item_From_User_Folders ( int UserID, string BibID, string Vid, |
||
UserID | int | Primary key for this user in the database |
BibID | string | Bibliographic identifier for this title / item group |
Vid | string | Volume identifier for this one volume within a title / item group |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Project_Aggregation_Link ( |
||
Tracer | ||
ProjectID | int | |
AggregationID | int | |
return | void |
public static Delete_Project_DefaultMetadata_Link ( |
||
Tracer | ||
ProjectID | int | |
DefaultMetadataID | int | |
return | void |
public static Delete_Project_Item_Link ( |
||
Tracer | ||
ProjectID | int | |
ItemID | int | |
return | void |
public static Delete_Project_Template_Link ( |
||
Tracer | ||
ProjectID | int | |
TemplateID | int | |
return | void |
public static Delete_Setting ( string SettingKey ) : bool | ||
SettingKey | string | Key for the setting to update or insert |
return | bool |
public static Delete_Single_IP ( int PrimaryID, |
||
PrimaryID | int | Primary key for this single IP address information to delete |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_SobekCM_Item ( string BibID, string VID, bool AsAdmin, string DeleteMessage ) : bool | ||
BibID | string | Bibliographic identifier for the item to delete |
VID | string | Volume identifier for the item to delete |
AsAdmin | bool | Indicates this is an admin, who can delete ANY item, not just those without archives attached |
DeleteMessage | string | Message to include on any archive remnants after an admin delete |
return | bool |
public static Delete_URL_Portal ( int PortalID, |
||
PortalID | int | Primary key for the URL portal to be deleted |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_User_Folder ( int UserID, int UserFolderID, |
||
UserID | int | Primary key for this user from the database |
UserFolderID | int | Primary key for this folder from the database |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_User_Group ( int UserGroupID, |
||
UserGroupID | int | Primary key for this user group from the database |
Tracer | ||
return | int |
public static Delete_User_Search ( int UserSearchID, |
||
UserSearchID | int | Primary key for this saved search |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Delete_Web_Skin ( string SkinCode, bool ForceDelete, |
||
SkinCode | string | Code for the HTML web skin to delete |
ForceDelete | bool | Flag indicates if this should be deleted, even if things are still attached to this web skin (system admin) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Edit_IP_Range ( int IpRangeID, string Title, string Notes, string ItemRestrictedStatement, |
||
IpRangeID | int | Primary key for the IP restriction range |
Title | string | Title for this IP Restriction Range |
Notes | string | Notes about this IP Restriction Range (for system admins) |
ItemRestrictedStatement | string | Statement used when a user directly requests an item for which they do not the pre-requisite access |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Edit_Single_IP ( int PrimaryID, int IpRangeID, string StartIp, string EndIp, string Note, |
||
PrimaryID | int | Primary key for this single IP address information to add, or -1 to add a new IP address |
IpRangeID | int | Primary key for the IP restriction range to add this single IP address information |
StartIp | string | Beginning of the IP range, or the complete IP address |
EndIp | string | End of the IP range, if this was a true range |
Note | string | Any note associated with this single IP information |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Edit_URL_Portal ( int PortalID, string BaseUrl, bool IsActive, bool IsDefault, string Abbreviation, string Name, string DefaultAggregation, string DefaultWebSkin, string BasePurl, |
||
PortalID | int | Primary key for the URL portal to be edited, or -1 if this is a new URL portal |
BaseUrl | string | URL used to match the incoming request with this URL portal |
IsActive | bool | Flag indicates if this URL portal is active |
IsDefault | bool | Flag indicates if this is the default URL portal, if no other portal match is found |
Abbreviation | string | Abbreviation for this system, when referenced by this URL portal |
Name | string | Name of this system, when referenced by this URL portal |
DefaultAggregation | string | Default aggregation for this URL portal |
DefaultWebSkin | string | Default web skin for this URL portal |
BasePurl | string | Base PURL , used to override the default PURL built from the current URL |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Edit_User_Folder ( int UserFolderID, int UserID, int ParentFolderID, string FolderName, bool IsPublic, string Description, |
||
UserFolderID | int | Primary key for the folder, if this is an edit, otherwise -1 |
UserID | int | Primary key for this user from the database |
ParentFolderID | int | Key for the parent folder for this new folder |
FolderName | string | Name for this new folder |
IsPublic | bool | Flag indicates if this folder is public |
Description | string | Description for this folder |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static FDA_Report_Save ( SobekCM.Tools.FDA.FDA_Report_Data Report ) : bool | ||
Report | SobekCM.Tools.FDA.FDA_Report_Data | Object containing all the data from the received FDA report |
return | bool |
public static FDA_Report_Save ( string Package, string Ieid, string FdaReportType, System.DateTime ReportDate, string Account, string Project, int Warnings, string Message, string BibID, string Vid ) : int | ||
Package | string | ID of the submission package sent to FDA. (End user's id) |
Ieid | string | Intellectual Entity ID assigned by FDA |
FdaReportType | string | Type of FDA report received |
ReportDate | System.DateTime | Date FDA was generated |
Account | string | Account information for the FDA submission package |
Project | string | Project information for the FDA submission package |
Warnings | int | Number of warnings in this package |
Message | string | Message included in the FDA report received |
BibID | string | Bibliographic Identifier |
Vid | string | Volume Identifier |
return | int |
public static Get_AggregationCode_From_CID ( String Cid ) : String | ||
Cid | String | CID for the digital collection |
return | String |
public static Get_Aggregation_Build_Log ( int AggregationID ) : |
||
AggregationID | int | Primary key for this aggregation in the database |
return |
public static Get_Aggregation_Change_Log ( string AggregationCode, |
||
AggregationCode | string | |
Tracer | ||
return |
public static Get_Aggregation_Statistics_History ( string AggregationCode, |
||
AggregationCode | string | Code for the item aggregation of interest |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Aggregation_User_Permissions ( string AggregationCode, |
||
AggregationCode | string | |
Tracer | ||
return |
public static Get_Aggregations_By_ProjectID ( |
||
Tracer | ||
ProjectID | int | |
return | List |
public static Get_All_Groups_First_VID ( ) : |
||
return |
public static Get_All_Items_By_AggregationID ( string AggregationCode, List |
||
AggregationCode | string | Code for the item aggregation |
FIDs | List |
FileIDs |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_All_User_Settings_Like ( string KeyStart, string SettingValue ) : |
||
KeyStart | string | Beginning or entire key to return settings for. Since this uses like, you can pass /// in a string like 'TEI.%' and that will return all the values that have a setting key that STARTS with 'TEI.' |
SettingValue | string | If SettingValue is NULL, then all settings that match are returned. If a /// value is provided then only the settings that match the key search and have the same value in the /// database as SettingValue are returned. This is particularly useful for boolean settings, where you /// only want to the see the settings set to 'true' |
return |
public static Get_All_Users ( |
||
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_BibID_VID_From_Identifier ( string Identifier ) : String | ||
Identifier | string | Identifier (PURL Handle) for the digital resource object |
return | String |
public static Get_CollectionList_ReadyToBuild ( ) : |
||
return |
public static Get_Folder_Search_Information ( int UserID, |
||
UserID | int | Primary key for this user in the database |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Global_User_Permissions ( |
||
Tracer | ||
return |
public static Get_Global_User_Permissions_Aggregations_Links ( |
||
Tracer | ||
return |
public static Get_Global_User_Permissions_Linked_Aggregations ( |
||
Tracer | ||
return |
public static Get_Global_User_Permissions_Submission_Rights ( |
||
Tracer | ||
return |
public static Get_IP_Restriction_Range_Details ( int PrimaryID, |
||
PrimaryID | int | Primary id to the IP restriction range to pull details for |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_IP_Restriction_Ranges ( |
||
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_ItemID_From_Bib_VID ( string BibID, string VID ) : int | ||
BibID | string | Bibliographic identifier for the digital resource object |
VID | string | Volume identifier for the digital resource object |
return | int |
public static Get_Item_Aggregation_Count ( System.DateTime Date1, int Option, |
||
Date1 | System.DateTime | Date from which to additionally include item count |
Option | int | Option tells which items to include ( 0 = completed, 1 = entered with files, 2 = all entered items ) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Item_Aggregation_Count ( int Option, |
||
Option | int | Option tells which items to include ( 0 = completed, 1 = entered with files, 2 = all entered items ) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Item_Aggregation_Count_DateRange ( System.DateTime Date1, System.DateTime Date2, int Option, |
||
Date1 | System.DateTime | Date from which to additionally include item count |
Date2 | System.DateTime | Date to which to additionally include item count |
Option | int | Option tells which items to include ( 0 = completed, 1 = entered with files, 2 = all entered items ) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Item_Aggregation_Milestone ( string AggregationCode ) : |
||
AggregationCode | string | Item aggregation code |
return |
public static Get_Item_List ( bool IncludePrivate, |
||
IncludePrivate | bool | Flag indicates whether to include private items in this list |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Item_Restrictions ( string BibID, string Vid, |
||
BibID | string | Bibliographic identifier for the volume to retrieve |
Vid | string | Volume identifier for the volume to retrieve |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
IsDark | bool | |
IP_Restrction_Mask | short | |
return | void |
public static Get_Metadata_Name_From_MetadataTypeID ( short MetadataTypeId, |
||
MetadataTypeId | short | Code for the metadata |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | string |
public static Get_OAI_Data ( string SetCode, string DataCode, System.DateTime FromDate, System.DateTime UntilDate, int PageSize, int PageNumber, bool IncludeRecord ) : List |
||
SetCode | string | Code the OAI-PMH set (which is really an aggregation code) |
DataCode | string | Code for the metadata to be served ( usually oai_dc ) |
FromDate | System.DateTime | Date from which to pull records which have changed |
UntilDate | System.DateTime | Date to pull up to by last modified date on the records |
PageSize | int | Number of records to include in a single 'page' of OAI-PMH results |
PageNumber | int | Page number of the results to return |
IncludeRecord | bool | Flag indicates whether the full records should be included, or just the identifier |
return | List |
public static Get_OAI_Record ( string BibID, string Vid, string DataCode ) : OAI_Record | ||
BibID | string | BibID the OAI-PMH record ) |
Vid | string | VID for the OAI-PMH record |
DataCode | string | Code for the metadata to be served ( usually oai_dc or marc21) |
return | OAI_Record |
public static Get_OAI_Sets ( ) : |
||
return |
public static Get_Page_Item_Count_History ( |
||
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Get_Public_User_Folder ( int UserFolderID, |
||
UserFolderID | int | ID for the user folder to retrieve |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | SobekCM.Library.Users.Public_User_Folder |
public static Get_Settings ( |
||
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | string>.Dictionary |
public static Get_User_Group ( int UserGroupID, |
||
UserGroupID | int | Primary key for this user group from the database |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | SobekCM.Library.Users.User_Group |
public static Get_User_Searches ( int UserID, |
||
UserID | int | Primary key for this user in the database |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Link_User_To_User_Group ( int UserID, int UserGroupID ) : bool | ||
UserID | int | Primary key for the user |
UserGroupID | int | Primary key for the user group |
return | bool |
public static Lookup_Item_By_ItemID ( int ItemID, |
||
ItemID | int | Bibliographic identifier for the volume to retrieve |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Reset_User_Password ( int UserID, string NewPassword, bool IsTemporaryPassword, |
||
UserID | int | Primary key for this user from the database |
NewPassword | string | New password (unencrypted) to set for this user |
IsTemporaryPassword | bool | Flag indicates if this is a temporary password that must be reset the first time the user logs on |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Save_Aggregation_Alias ( string Alias, string AggregationCode, |
||
Alias | string | Alias string which will forward to a item aggregation |
AggregationCode | string | Code for the item aggregation to forward to |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Save_Default_Metadata ( string Code, string Name, string Description, int UserID, |
||
Code | string | Code for the new default metadata set, or set to edit |
Name | string | Name for this default metadata set |
Description | string | Full description for this default metadata set |
UserID | int | UserID, if this is not a global default metadata set |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Save_Icon ( string IconName, string IconFile, string IconLink, int Height, string IconTitle, |
||
IconName | string | Code identifier for this icon/wordmark |
IconFile | string | Filename for this icon/wordmark |
IconLink | string | Link that clicking on this icon/wordmark will forward the user to |
Height | int | Height for this icon/wordmark |
IconTitle | string | Title for this icon, which appears when you hover over the icon |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Save_Icon ( string IconName, string IconFile, string IconLink, string IconTitle, |
||
IconName | string | Code identifier for this icon/wordmark |
IconFile | string | Filename for this icon/wordmark |
IconLink | string | Link that clicking on this icon/wordmark will forward the user to |
IconTitle | string | Title for this icon, which appears when you hover over the icon |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Save_Item_Aggregation_Milestone ( string AggregationCode, string Milestone, string User ) : bool | ||
AggregationCode | string | Item aggregation code |
Milestone | string | Milestone to add to this item aggregation |
User | string | User name which performed this work |
return | bool |
public static Save_Project ( |
||
Tracer | ||
ProjectID | int | |
ProjectCode | string | |
ProjectName | string | |
ProjectManager | string | |
GrantID | string | |
StartDate | System.DateTime | |
EndDate | System.DateTime | |
isActive | bool | |
Description | string | |
Specifications | string | |
Priority | string | |
QcProfile | string | |
TargetItemCount | int | |
TargetPageCount | int | |
Comments | string | |
CopyrightPermissions | string | |
return | int |
public static Save_Template ( string Code, string Name, string Description, |
||
Code | string | Code for the new template, or template to edit |
Name | string | Name for this template |
Description | string | Complete description of this template |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Save_User ( SobekCM.Library.Users.User_Object User, string Password, User_Authentication_Type_Enum AuthenticationType, |
||
User | SobekCM.Library.Users.User_Object | |
Password | string | Plain-text password, which is then encrypted prior to saving |
AuthenticationType | User_Authentication_Type_Enum | String which indicates the type of authentication utilized, only important if this is the first time this user has authenticated/registered |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Save_User_Group ( int UserGroupID, string GroupName, string GroupDescription, bool CanSubmit, bool IsInternal, bool CanEditAll, bool IsSystemAdmin, bool IsPortalAdmin, bool IncludeTrackingStandardForms, bool ClearMetadataTemplates, bool ClearAggregationLinks, bool ClearEditableLinks, bool IsSobekDefault, bool IsShibbolethDefault, bool IsLdapDefault, |
||
UserGroupID | int | Primary key for this user group from the database, or -1 for a new user group |
GroupName | string | Name of this user group |
GroupDescription | string | Basic description of this user group |
CanSubmit | bool | Flag indicates if this user group can submit items |
IsInternal | bool | Flag indicates if this user group is considered an 'internal user' |
CanEditAll | bool | Flag indicates if this user group is authorized to edit all items in the library |
IsSystemAdmin | bool | Flag indicates if this user group is a system Administrator |
IsPortalAdmin | bool | Flag indicated if this user group is a portal administrator |
IncludeTrackingStandardForms | bool | Should this user's settings include the tracking form portions? |
ClearMetadataTemplates | bool | Flag indicates whether to clear default metadata sets and templates for this user group |
ClearAggregationLinks | bool | Flag indicates whether to clear item aggregationPermissions linked to this user group |
ClearEditableLinks | bool | Flag indicates whether to clear the link between this user group and editable regex expressions |
IsSobekDefault | bool | |
IsShibbolethDefault | bool | |
IsLdapDefault | bool | |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Save_User_Search ( int UserID, string SearchUrl, string SearchDescription, int ItemOrder, string UserNotes, |
||
UserID | int | Primary key for this user in the database |
SearchUrl | string | SobekCM search URL |
SearchDescription | string | Programmatic description of this search |
ItemOrder | int | Order for this search within the folder |
UserNotes | string | Notes from the user about this search |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | int |
public static Save_Web_Skin ( string SkinCode, string BaseSkinCode, bool OverrideBanner, bool OverrideHeaderFooter, string BannerLink, string Notes, bool SuppressTopNavigation, |
||
SkinCode | string | Code for this HTML skin |
BaseSkinCode | string | Base skin code from which this html skin inherits |
OverrideBanner | bool | Flag indicates this skin overrides the default banner |
OverrideHeaderFooter | bool | Flag indicates this skin overrides the default header/footer |
BannerLink | string | Link to which the banner sends the user |
Notes | string | Notes on this skin ( name, use, etc...) |
SuppressTopNavigation | bool | Flag indicates if the top-level aggregation navigation should be suppressed for this web skin ( i.e., is the top-level navigation embedded into the header file already? ) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Set_Aggregation_NewItem_Flag ( string AggregationCode, bool NewItemFlag ) : bool | ||
AggregationCode | string | Code for this SobekCM item aggregation |
NewItemFlag | bool | Status for the new item flag |
return | bool |
public static Set_Item_Main_Thumbnail ( string BibID, string VID, string MainThumbnail ) : bool | ||
BibID | string | Bibliographic identifier for the item |
VID | string | Volume identifier for the item |
MainThumbnail | string | Filename for the new main thumbnail |
return | bool |
public static Set_Setting ( string SettingKey, string SettingValue ) : bool | ||
SettingKey | string | Key for the setting to update or insert |
SettingValue | string | Value for the setting to update or insert |
return | bool |
public static Set_User_Receive_Stats_Email ( int UserID, bool NewFlag, |
||
UserID | int | Primary key for this user in the database |
NewFlag | bool | New value for the flag |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Set_User_Setting ( int UserID, string SettingKey, string SettingValue ) : bool | ||
UserID | int | Primary key for this user in the database |
SettingKey | string | Key for the setting to update or insert |
SettingValue | string | Value for the setting to update or insert |
return | bool |
public static Statistics_Aggregation_Titles ( string AggregationCode, |
||
AggregationCode | string | Code for the item aggregation of interest |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Statistics_By_Date_Range ( int Early_Year, int Early_Month, int Last_Year, int Last_Month, |
||
Early_Year | int | Year portion of the start date |
Early_Month | int | Month portion of the start date |
Last_Year | int | Year portion of the last date |
Last_Month | int | Month portion of the last date |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static Test_Connection ( string TestConnectionString ) : bool | ||
TestConnectionString | string | |
return | bool |
public static Tracking_Delete_Workflow ( int WorkflowID ) : void | ||
WorkflowID | int | |
return | void |
public static Tracking_Get_All_Entries_By_User ( string Username ) : |
||
Username | string | User Name |
return |
public static Tracking_Get_Item_Info_from_ItemID ( int ItemID ) : |
||
ItemID | int | Primary identifier for this item from the database |
return |
public static Tracking_Get_Open_Workflows ( int ItemID, int EventNum ) : |
||
ItemID | int | Primary key for this item in the database |
EventNum | int | Number of the event |
return |
public static Tracking_Get_Scanners_List ( ) : |
||
return |
public static Tracking_Get_Users_Scanning_Processing ( ) : |
||
return |
public static Tracking_Save_New_Workflow ( int ItemID, string WorkPerformedBy, string RelatedEquipment, System.DateTime DateStarted, System.DateTime DateCompleted, int EventNum, int StartEvent, int EndEvent, int StartEndEvent ) : int | ||
ItemID | int | |
WorkPerformedBy | string | |
RelatedEquipment | string | |
DateStarted | System.DateTime | |
DateCompleted | System.DateTime | |
EventNum | int | |
StartEvent | int | |
EndEvent | int | |
StartEndEvent | int | |
return | int |
public static Tracking_Update_Workflow ( int WorkflowID, int ItemID, string WorkPerformedBy, System.DateTime DateStarted, System.DateTime DateCompleted, string RelatedEquipment, int EventNumber, int StartEventNumber, int EndEventNum ) : void | ||
WorkflowID | int | |
ItemID | int | |
WorkPerformedBy | string | |
DateStarted | System.DateTime | |
DateCompleted | System.DateTime | |
RelatedEquipment | string | |
EventNumber | int | |
StartEventNumber | int | |
EndEventNum | int | |
return | void |
public static Update_Additional_Work_Needed_Flag ( int ItemID, bool NewFlag, |
||
ItemID | int | Primary key for the item for which to update the additional work needed flag |
NewFlag | bool | New flag for the additional follow up work |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_Item_Aggregation ( string Code, string Name, string ShortName, bool IsActive, bool IsHidden, string ExternalLink, |
||
Code | string | Code for this item aggregation |
Name | string | Name for this item aggregation |
ShortName | string | Short version of this item aggregation |
IsActive | bool | Flag indicates if this item aggregation is active |
IsHidden | bool | Flag indicates if this item is hidden |
ExternalLink | string | External link for this item aggregation (usually used for institutional aggregationPermissions) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User ( int UserID, bool CanSubmit, bool IsInternal, bool CanEditAll, bool CanDeleteAll, bool IsSystemAdmin, bool IsHostAdmin, bool IsPortalAdmin, bool IncludeTrackingStandardForms, string EditTemplate, string EditTemplateMarc, bool ClearProjectsTemplates, bool ClearAggregationLinks, bool ClearUserGroups, |
||
UserID | int | Primary key for this user from the database |
CanSubmit | bool | Flag indicates if this user can submit items |
IsInternal | bool | Flag indicates if this user is considered an 'internal user' |
CanEditAll | bool | Flag indicates if this user is authorized to edit all items in the library |
CanDeleteAll | bool | Flag indicates if this user can delete anything in the repository |
IsSystemAdmin | bool | Flag indicates if this user is a system Administrator |
IsHostAdmin | bool | Flag indicates if this used is the host administrator (if this is a hosted instance) |
IsPortalAdmin | bool | Flag indicates if this user is a portal Administrator |
IncludeTrackingStandardForms | bool | Flag indicates if this user should have tracking portions appear in their standard forms |
EditTemplate | string | CompleteTemplate name for editing non-MARC records |
EditTemplateMarc | string | CompleteTemplate name for editing MARC-derived records |
ClearProjectsTemplates | bool | Flag indicates whether to clear projects and templates for this user |
ClearAggregationLinks | bool | Flag indicates whether to clear item aggregationPermissions linked to this user |
ClearUserGroups | bool | Flag indicates whether to clear user group membership for this user |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User_Aggregations ( int UserID, List |
||
UserID | int | Primary key for this user from the database |
Aggregations | List |
List of aggregationPermissions and permissions to link to this user |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User_DefaultMetadata ( int UserID, ReadOnlyCollection |
||
UserID | int | Primary key for this user from the database |
MetadataSets | ReadOnlyCollection |
List of default metadata sets to link to this user |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User_Group_Aggregations ( int UserGroupID, List |
||
UserGroupID | int | Primary key for this user group from the database |
Aggregations | List |
List of aggregationPermissions and permissions to link to this user group |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User_Group_DefaultMetadata ( int UserGroupID, List |
||
UserGroupID | int | Primary key for this user group from the database |
MetadataSets | List |
List of default metadata sets to link to this user group |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User_Group_Templates ( int UserGroupID, List |
||
UserGroupID | int | Primary key for this user group from the database |
Templates | List |
List of templates to link to this user group |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static Update_SobekCM_User_Templates ( int UserID, ReadOnlyCollection |
||
UserID | int | Primary key for this user from the database |
Templates | ReadOnlyCollection |
List of templates to link to this user |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static UserName_Exists ( string UserName, string Email, bool &UserNameExists, bool &EmailExists, |
||
UserName | string | Username to check |
string | Email address to check | |
UserNameExists | bool | [OUT] Flag indicates if the username exists |
EmailExists | bool | [OUT] Flag indicates if the email exists |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static User_Set_Aggregation_Home_Page_Flag ( int UserID, int AggregationID, bool NewFlag, |
||
UserID | int | Primary key for the user |
AggregationID | int | Primary key for the aggregation |
NewFlag | bool | New flag indicates if this should be on the home page |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return | bool |
public static View_Tags_By_Aggregation ( string AggregationCode, |
||
AggregationCode | string | Aggregation code for which to pull all descriptive tags added |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |
public static View_Tags_By_User ( int UserID, |
||
UserID | int | Primary key for the user that entered the descriptive tags (or -1 to get ALL tags) |
Tracer | Trace object keeps a list of each method executed and important milestones in rendering | |
return |