Public Class Constant
#Region "CONFIGURATION"
	'<comments>
	'These are configuration constants.
	'</comments>
	Public Const CONFIG_PROVIDERDATA = "providerData"
	Public Const CONFIG_AUTHENTICATIONREQUIRED = "authenticationRequired"
	Public Const CONFIG_USER = "user"
	Public Const CONFIG_PASSWORD = "password"
	Public Const CONFIG_BASIC = "Basic"
	Public Const CONFIG_CONNECTIONSTRING = "CONNECTIONSTRING"
#End Region
    Public Const EXCEPTION_CONFIGURATION = "Incorrect coniguration of Content Provider"
#Region "Stored Procedures"
	'<comments>
	'These are stored procedures.
	'</comments>
	Public Const STOREDPROC_CHECK_USER As String = "CONTENT.CHECK_USER"
    Public Const STOREDPROC_GETORG_STRUCTURE As String = "CONTENT.GET_ORGANIZATION_STRUCTURE_FIX"
    Public Const STOREDPROC_GETTEMPLATEHEADERINFO As String = "dbo.GETTEMPLATEHEADERINFO"
    Public Const STOREDPROC_GETSITECONTENT As String = "dbo.GETSITECONTENT"
    Public Const STOREDPROC_GETTEMPLATECONTENT As String = "dbo.GETTEMPLATECONTENT"
	Public Const STOREDPROC_GETOWNER_TYPE As String = "CONTENT.GET_OWNER_TYPE_LIST"
	Public Const STOREDPROC_GETOWNER_ID As String = "CONTENT.GET_OWNER_BY_OWNERTYPE"
    Public Const STOREDPROC_GETCONTENT_NORMALIZED As String = "CONTENT.GET_CONTENT_NORMALIZED"
    Public Const STOREDPROC_GETMULTIPLE_CONTENT As String = "CONTENT.GetMultipleContent"
    Public Const STOREDPROC_GET_CONTENT_BY_TEMPLATE_ID As String = "CONTENT.GetContentByTemplateID"
	Public Const STOREDPROC_GETCHARTER_MESSAGES As String = "CONTENT.GET_CHARTER_MESSAGES"
	Public Const STOREDPROC_GETAREA_ID As String = "CONTENT.GET_AREA_ID_BY_ZIPCODE"
	Public Const STOREDPROC_GETBILLINGSTATION As String = "CONTENT.GET_BILLING_STATION_ID"
	Public Const STOREDPROC_GETCONTENT_ID As String = "CONTENT.GET_CONTENT_ID_ADMIN"
	Public Const STOREDPROC_GETALLCONTENTID As String = "CONTENT.GET_ALL_CONTENTID"
	Public Const STOREDPROC_GETCONTENTRECORD As String = "CONTENT.GET_CONTENT_RECORD"
	Public Const STOREDPROC_GETCONTENTVERSIONRECORD As String = "CONTENT.GET_CONTENT_VERSION_RECORD"
	Public Const STOREDPROC_GETCONTENTVERSIONIDLIST As String = "CONTENT.GET_CONTENT_VERSIONID_LIST"
	Public Const STOREDPROC_GETCONTENTVERSIONSBYCONTENTID As String = "CONTENT.GET_CONTENT_VERSIONS_BY_CONTENTID"
	Public Const STOREDPROC_GETALLCONTENTRECORDS As String = "CONTENT.GET_ALL_CONTENT_RECORDS"
	Public Const STOREDPROC_GETALLIMAGEIDLIST As String = "CONTENT.GET_ALL_IMAGEID_LIST"
    Public Const STOREDPROC_GETBINARYFILES As String = "CONTENT.uspGETBINARYFILESBYBINARYFILETYPE"
    Public Const STOREDPROC_GETTHUMBNAILRECORDBYIMAGEID As String = "CONTENT.GET_THUMBNAIL_RECORD_BY_IMAGEID"
	Public Const STOREDPROC_GETTHUMBNAILRECORDBYIMAGEname As String = "CONTENT.GET_THUMBNAIL_RECORD_BY_IMAGEname"
	Public Const STOREDPROC_GETIMAGEDATARECORDBYIMAGEID As String = "CONTENT.GET_IMAGEDATA_RECORD_BY_IMAGEID"
	Public Const STOREDPROC_GETIMAGEDATARECORDBYIMAGEName As String = "CONTENT.GET_IMAGEDATA_RECORD_BY_IMAGEName"
    Public Const STOREDPROC_GETBINARYFILEBYBINARYFILEID As String = "CONTENT.uspGETBINARYFILEBYBINARYFILEID"
    Public Const STOREDPROC_GETBINARYFILEBYBINARYFILENAME As String = "CONTENT.uspGETBINARYFILEBYBINARYFILENAME"
    Public Const STOREDPROC_GETIMAGERECORDSBYVERSIONID As String = "CONTENT.GET_IMAGE_RECORDS_BY_VERSIONID"
	Public Const STOREDPROC_GETSCHEDULERECORDSBYVERSIONID As String = "CONTENT.GET_SCHEDULE_RECORDS_BY_VERSIONID"
	Public Const STOREDPROC_GETCATALOGDATA As String = "SampleGetCatalogData"
	Public Const STOREDPROC_GETCONTENT As String = "CONTENT.GET_CONTENT"
	Public Const STOREDPROC_GETCART As String = "CONTENT.GET_CART"

    '#####################################################
    'THIS IS USED FOR THE SEARCH CAPABILITY BASED ON 
    'KEYWORDS. Issue: 2362
    'NAQIB 10/9/08    
    '#####################################################
    Public Const STOREDPROC_GETIMAGESBYKEYWORD As String = "CONTENT.GET_IMAGES_BY_KEYWORD"

	Public Const STOREDPROC_GETSERVICEPLANLIST As String = "CONTENT.GET_SERVICEPLAN_LIST"
	Public Const STOREDPROC_GETBUNDLELIST As String = "CONTENT.GET_BUNDLE_LIST"
	Public Const STOREDPROC_GETFEATURELIST As String = "CONTENT.GET_FEATURE_LIST"
	Public Const STOREDPROC_GETEPC_ID_BY_PLAYBOOK_ID As String = "CONTENT.GET_EPC_ID_BY_PLAYBOOK_ID"
	Public Const STOREDPROC_GETSERVICEPLAN_ID_BY_BUNDLE_ID As String = "CONTENT.GET_SERVICEPLAN_ID_BY_BUNDLE_ID"


	Public Const STOREDPROC_CREATEVISITOR As String = "CONTENT.CREATE_VISITOR"
	Public Const STOREDPROC_CREATEBUNDLE As String = "CONTENT.CREATE_BUNDLE"
	Public Const STOREDPROC_CREATESERVICEPLAN As String = "CONTENT.CREATE_SERVICEPLAN"
	Public Const STOREDPROC_CREATECUSTOMIZATION As String = "CONTENT.CREATE_CUSTOMIZATION"
	Public Const STOREDPROC_CREATECHOICE As String = "CONTENT.CREATE_CHOICE"


	'Public Const STOREDPROC_CREATENEWCONTENT As String = "CONTENT.CREATE_NEW_CONTENT"
	Public Const STOREDPROC_CREATECONTENT As String = "CONTENT.CREATE_CONTENT"
	Public Const STOREDPROC_CREATEVERSION As String = "CONTENT.CREATE_CONTENT_VERSION"
	Public Const STOREDPROC_CREATECONTENTANDCONTENTVERSION As String = "CONTENT.CREATE_CONTENT_AND_CONTENT_VERSION"
	Public Const STOREDPROC_CREATEIMAGE As String = "CONTENT.CREATE_IMAGE"
    Public Const STOREDPROC_CREATEBINARYFILE As String = "CONTENT.uspCREATEBINARYFILE"
    Public Const STOREDPROC_CREATESCHEDULE As String = "CONTENT.CREATE_CONTENT_SCHEDULE"
	Public Const STOREDPROC_CREATEVERSION_IMAGE As String = "CONTENT.CREATE_CONTENT_VERSION_IMAGE"


	Public Const STOREDPROC_UPDATECONTENT As String = "CONTENT.UPDATE_CONTENT"
	Public Const STOREDPROC_UPDATEVERSION As String = "CONTENT.UPDATE_CONTENT_VERSION"
    Public Const STOREDPROC_UPDATEIMAGE As String = "CONTENT.UPDATE_IMAGE"
    Public Const STOREDPROC_UPDATEBINARYFILE As String = "CONTENT.uspUPDATEBINARYFILE"
    Public Const STOREDPROC_UPDATE_IMAGE_BY_IMAGENAME As String = "CONTENT.UPDATE_IMAGE_BY_IMAGENAME"
    Public Const STOREDPROC_UPDATEBINARYFILEBYBINARYFILENAME As String = "CONTENT.uspUPDATEBINARYFILEBYBINARYFILENAME"
    Public Const STOREDPROC_UPDATESCHEDULE As String = "CONTENT.UPDATE_CONTENT_SCHEDULE"
	Public Const STOREDPROC_UPDATEVERSION_IMAGE As String = "CONTENT.UPDATE_VERSION_IMAGE"
	Public Const STOREDPROC_UPDATECONTENT_STATUS As String = "CONTENT.UPDATE_CONTENT_STATUS"

	Public Const STOREDPROC_DELETEIMAGE As String = "CONTENT.DELETE_IMAGE"
	Public Const STOREDPROC_DELETEIMAGEBYIMAGENAME As String = "CONTENT.DELETE_IMAGE_BY_IMAGE_NAME"
    Public Const STOREDPROC_DELETEBINARYFILE As String = "CONTENT.uspDELETEBINARYFILE"
    Public Const STOREDPROC_DELETEBINARYFILEBYBINARYFILENAME As String = "CONTENT.uspDELETEBINARYFILEBYBINARYFILENAME"
    Public Const STOREDPROC_DELETEVERSION As String = "CONTENT.DELETE_CONTENT_VERSION"
	Public Const STOREDPROC_DELETEVERSIONANDRELATEDRECORDS As String = "CONTENT.DELETE_VERSION_AND_RELATED_RECORDS"
	Public Const STOREDPROC_DELETECONTENTANDRELATEDRECORDS As String = "CONTENT.DELETE_CONTENT_AND_RELATED_RECORDS"
	Public Const STOREDPROC_DELETESCHEDULE As String = "CONTENT.DELETE_CONTENT_SCHEDULE"
	Public Const STOREDPROC_DELETEVERSION_IMAGE As String = "CONTENT.DELETE_CONTENT_VERSION_IMAGE"

    'Campaign related constants
    Public Const STOREDPROC_CREATECONTENTANDCONTENTVERSION_CAMPAIGN As String = "CONTENT.CREATE_CONTENT_AND_CONTENT_VERSION_CAMPAIGN"
    Public Const STOREDPROC_GETCONTENT_NORMALIZED_CAMPAIGN As String = "CONTENT.GET_CONTENT_NORMALIZED_CAMPAIGN"
    Public Const STOREDPROC_GETCONTENT_ID_CAMPAIGN As String = "CONTENT.GET_CONTENT_ID_ADMIN_CAMPAIGN"
    Public Const USERCONTROL_CAMPAIGN As String = "CAMPAIGN"

#End Region
#Region "Content"
#Region "Method Flags"
	'<comments>
	'These are method flag constants.
	'</comments>
	Public Const METHODFLAG_ALL As String = "ALL"
	Public Const METHODFLAG_CONTENT As String = "CONTENT"
	Public Const METHODFLAG_CONTENT_VERSION As String = "CONTENT_VERSION"
	Public Const METHODFLAG_CONTENT_AND_CONTENT_VERSION As String = "CONTENT_AND_CONTENT_VERSION"
	Public Const METHODFLAG_CONTENT_SCHEDULE As String = "CONTENT_SCHEDULE"
	Public Const METHODFLAG_IMAGE As String = "IMAGE"
	Public Const METHODFLAG_CONTENT_VERSION_IMAGE As String = "CONTENT_VERSION_IMAGE"
#End Region
#Region "Content Table Names"
	'<comments>
	'These are table names.
	'</comments>
	Public Const TABLE_CONTENT As String = "CONTENT"
	Public Const TABLE_CONTENT_VERSION As String = "CONTENT_VERSION"
	Public Const TABLE_CONTENT_SCHEDULE As String = "CONTENT_SCHEDULE"
	Public Const TABLE_IMAGE As String = "IMAGE"
	Public Const TABLE_CONTENT_VERSION_IMAGE As String = "CONTENT_VERSION_IMAGE"
#End Region
#Region "Content Fields"
	'<comments>
	'These are content fields.
	'</comments>
	Public Const CONTENTFIELDS_CONTENTID As String = "ContentID"
	Public Const CONTENTFIELDS_USERCONTROLID As String = "UserControlID"
	Public Const CONTENTFIELDS_OWNERTYPEID As String = "OwnerTypeID"
	Public Const CONTENTFIELDS_OWNERID As String = "OwnerID"
	Public Const CONTENTFIELDS_AREAID As String = "AreaID"
	Public Const CONTENTFIELDS_LOCALEID As String = "LocaleID"
	Public Const CONTENTFIELDS_CONTENT_VERSION_CREATEBY_USERID As String = "Content_Version_CreateBy_UserID"
	Public Const CONTENTFIELDS_CONTENT_SCHEDULE_CREATEBY_USERID As String = "Content_Schedule_CreateBy_UserID"
	Public Const CONTENTFIELDS_IMAGE_CREATEBY_USERID As String = "Image_CreateBy_UserID"
	Public Const CONTENTFIELDS_CONTENTTEXT As String = "ContentText"
	Public Const CONTENTFIELDS_VERSIONID As String = "VersionID"
	Public Const CONTENTFIELDS_CONTENT_VERSION_CREATEDATE As String = "Content_Version_Createdate"
	Public Const CONTENTFIELDS_CONTENT_SCHEDULE_CREATEDATE As String = "Content_Schedule_CreateDate"
	Public Const CONTENTFIELDS_IMAGE_CREATEDATE As String = "Image_CreateDate"
	Public Const CONTENTFIELDS_SCHEDULEID As String = "ScheduleID"
	Public Const CONTENTFIELDS_STARTDATE As String = "StartDate"
	Public Const CONTENTFIELDS_ENDDATE As String = "EndDate"
	Public Const CONTENTFIELDS_IMAGEDATA As String = "ImageData"
	Public Const CONTENTFIELDS_THUMBNAIL As String = "Thumbnail"
	Public Const CONTENTFIELDS_CAPTION As String = "Caption"
	Public Const CONTENTFIELDS_IMAGEID As String = "ImageID"
	Public Const CONTENTFIELDS_CONTENT_VERSION_ModifyBy_UserID As String = "Content_Version_ModifyBy_UserID"
	Public Const CONTENTFIELDS_CONTENT_VERSION_ModifyDate As String = "Content_Version_ModifyDate"
	Public Const CONTENTFIELDS_CONTENT_VERSION_DeleteBy_UserID As String = "Content_Version_DeleteBy_UserID"
	Public Const CONTENTFIELDS_CONTENT_VERSION_DeleteDate As String = "Content_Version_DeleteDate"
	Public Const CONTENTFIELDS_CONTENT_VERSION_ApprovedBy_UserID As String = "Content_Version_ApprovedBy_UserID"
	Public Const CONTENTFIELDS_CONTENT_VERSION_ApprovedDate As String = "Content_Version_ApprovedDate"
	Public Const CONTENTFIELDS_CONTENT_SCHEDULE_STARTDATE As String = "Content_Schedule_STARTDATE"
	Public Const CONTENTFIELDS_CONTENT_SCHEDULE_ENDDATE As String = "Content_Schedule_ENDDATE"
	Public Const CONTENTFIELDS_IMAGE_ModifyBy_UserID As String = "Image_ModifyBy_UserID"
	Public Const CONTENTFIELDS_IMAGE_ModifyDate As String = "Image_ModifyDate"
	Public Const CONTENTFIELDS_IMAGE_DeleteBy_UserID As String = "Image_DeleteBy_UserID"
	Public Const CONTENTFIELDS_IMAGE_DeleteDate As String = "Image_DeleteDate"
	Public Const CONTENTFIELDS_IMAGE_ApprovedBy_UserID As String = "Image_ApprovedBy_UserID"
	Public Const CONTENTFIELDS_IMAGE_ApprovedDate As String = "Image_ApprovedDate"
#End Region
#End Region
End Class
