Click or drag to resize
MediaFileInfoProvider Methods

The MediaFileInfoProvider type exposes the following members.

Methods
  NameDescription
Public methodAddSiteWhereCondition(String, Int32, String, Boolean)
Creates site where condition from the specified parameters and adds it to the original where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodAddSiteWhereCondition(String, Int32, String, Boolean, String)
Creates site where condition from the specified parameters and adds it to the original where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodBoundGetInfoByGuid(Guid)
Gets the info object by its GUID
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodBoundGetInfoByGuid(Guid, Int32)
Gets the info object by its GUID and site ID
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodBoundGetInfoById
Gets the info by ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodBoundGetInfoByName(String)
Gets the info object by its code name
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodBoundGetInfoByName(String, Int32)
Gets the info object by its code name and site Id
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodBoundGetInfosByIds
Gets the list of info objects by their IDs
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberCanResizeImage(String, Int32, Int32, Int32)
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).
Public methodStatic memberCanResizeImage(MediaFileInfo, Int32, Int32, Int32)
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).
Protected methodClearHashtables
Clear hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberCopyMediaFile
Copy media file.
Protected methodCopyMediaFileInternal
Copy media file.
Protected methodCreateHashtables
Creates the provider hashtables
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodCreateInfo(Int32)
Creates an instance of info object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodCreateInfo(DataRow, Boolean)
Creates a new info object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodCreateWebFarmTask(String, String)
Creates web farm task specific for current object and action name
(Inherited from AbstractProvider.)
Public methodCreateWebFarmTask(String, String, Byte)
Creates web farm task specific for current object and action name
(Inherited from AbstractProvider.)
Protected methodDeleteData(String)
Deletes the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodDeleteData(IWhereCondition)
Deletes the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodDeleteData(ActionObjectQueryTInfo)
Deletes the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodDeleteInfo
Deletes the object to the database.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberDeleteMediaFile
Deletes media file from file system.
Public methodStatic memberDeleteMediaFileInfo(Int32)
Deletes specified media file.
Public methodStatic memberDeleteMediaFileInfo(MediaFileInfo)
Deletes specified media file.
Protected methodDeleteMediaFileInfoInternal
Deletes specified media file.
Protected methodDeleteMediaFileInternal
Deletes media file from filesystem.
Public methodStatic memberDeleteMediaFilePreview
Deletes media file preview from file system.
Protected methodDeleteMediaFilePreviewInternal
Deletes media file preview from filesystem.
Public methodStatic memberDeleteMediaFilePreviewThumbnails
Deletes media file preview thumbnails.
Protected methodDeleteMediaFilePreviewThumbnailsInternal
Deletes media file preview thumbnails.
Public methodStatic memberDeleteMediaFiles
Deletes file records of files matching specified criteria.
Protected methodDeleteMediaFilesInternal
Deletes file records of files matching specified criteria.
Public methodStatic memberDeleteMediaFileThumbnails
Deletes media file thumbnails.
Protected methodDeleteMediaFileThumbnailsInternal
Deletes media file thumbnails.
Protected methodDeleteObjectFromHashtables
Deletes the object instance from the hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberEnsureThumbnailFile
Ensures the thumbnail file.
Protected methodEnsureThumbnailFileInternal
Ensures the thumbnail file.
Public methodGetBindingWhereCondition(String, Int32)
Gets the where condition to limit the objects to specific binding dependency. Use this method only for 2-keys bindings.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodGetBindingWhereCondition(String, Object)
Gets the where condition to limit the objects to specific binding dependencies. Use this method for 3 and more-keys bindings.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetCacheDependency(DataSet, String, String)
Gets the cache dependency for the given object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetCacheDependency(BaseInfo, String, String)
Gets the cache dependency for the given object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetCountInternal
Gets the number of items matching the given parameters. Does not check the license when retrieving data.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetData(QueryDataParameters, String, String, Int32, String, Boolean, Int32)
Returns the data according to the set of input parameters.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetData(QueryDataParameters, String, String, Int32, String, Boolean, Int32, Int32, Int32, Int32)
Returns the data according to the set of input parameters.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDataByColumnT
Returns the data according to the set of input parameters.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDataByGuidColumn
Returns the data according to the set of input parameters.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDataByIntColumn
Returns the data according to the set of input parameters.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDataByStringColumn
Returns the data according to the set of input parameters.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDeleteQuery
Gets the object query that deletes all items matching the query parameters
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberGetDependencyCacheKeys(MediaFileInfo, Boolean)
Gets the cache key dependencies array for the media file (cache item keys affected when the meta file changes).
Protected methodGetDependencyCacheKeys(DataSet, String, String)
Gets the cache dependency keys for the given DataSet.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDependencyCacheKeys(GeneralizedInfo, String, String)
Gets the cache dependency keys for the given object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetDependencyCacheKeysInternal
Gets the cache key dependencies array for the media file (cache item keys affected when the meta file changes).
Protected methodGetEmptyDataSet
Gets the empty data set to be filled by the data
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetExistingIDsInternal
Filters out all object IDs that do not exist in the database.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberGetFile
Returns the file from disk or (if not available on the disk) from database.
Protected methodGetFileInternal
Returns the file from disk or (if not available on the disk) from database.
Protected methodGetFullNameDictionary
Creates new dictionary for caching the objects by full name
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetFullNameWhereCondition
Gets the where condition that searches the object based on the given full name
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberGetImageThumbnail
Returns image thumbnail from the disk or create a new one if doesn't exist yet.
Protected methodGetImageThumbnailInternal
Returns image thumbnail from the disk or create a new one if doesn't exist yet.
Protected methodGetInfo(IWhereCondition)
Gets an instance of the first info object matching the specified condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfo(ActionObjectQueryTInfo)
Gets an instance of the first info object matching the specified condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfo(String, String)
Gets an instance of the first info object matching the specified condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String, Int32)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String, Int32, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String, Int32, Int32)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String, Int32, Boolean, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeName(String, Int32, Int32, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByCodeNameFromDB
Gets an instance of info object based on the given code name from database
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByFullName(String)
Gets an instance of info object based on the given full name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByFullName(String, Boolean)
Gets an instance of info object based on the given full name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByFullNameInternal
Gets the info by its full name from the database
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByGuid(Guid)
Gets an instance of info object based on the GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByGuid(Guid, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByGuid(Guid, Int32)
Gets an instance of info object based on the GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByGuid(Guid, Int32, Boolean)
Gets an instance of info object based on the GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByGuidColumn
Gets an instance of info object based on the string column value.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByGuidFromDB
Gets an instance of info object based on the given GUID from database
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoById(Int32)
Gets an instance of info object based on ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoById(Int32, Boolean)
Gets an instance of info object based on ID.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByIntColumn
Gets an instance of info object based on the integer column value.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfoByStringColumn
Gets an instance of info object based on the string column value.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetInfosByIds
Gets the list of info objects by their IDs
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberGetMediaFileAbsoluteUrl(Guid, String)
Returns absolute URL path for current domain to the media file including http:// which is rewritten to calling GetMediaFile.aspx page where user permissions are checked
Public methodStatic memberGetMediaFileAbsoluteUrl(String, Guid, String)
Returns absolute URL path to the media file including http:// which is rewritten to calling GetMediaFile.aspx page where user permissions are checked
Public methodStatic memberGetMediaFileAbsoluteUrl(String, String, String)
Returns absolute URL path to the media file including http://, user permissions are not checked
Protected methodGetMediaFileAbsoluteUrlInternal
Returns absolute URL path to the media file including http://, user permissions are not checked
Public methodStatic memberGetMediaFileInfo(Int32)
Returns the MediaFileInfo structure for the specified media file.
Public methodStatic memberGetMediaFileInfo(Guid, String)
Returns media file with specified GUID.
Public methodStatic memberGetMediaFileInfo(Int32, String)
Returns the MediaFileInfo structure for the specified media file.
Public methodStatic memberGetMediaFileInfo(String, String, String)
Returns the MediaFileInfo structure for the specified media file.
Protected methodGetMediaFileInfoInternal(Int32)
Returns the MediaFileInfo structure for the specified media file.
Protected methodGetMediaFileInfoInternal(Guid, String)
Returns media file with specified GUID.
Protected methodGetMediaFileInfoInternal(Int32, String)
Returns the MediaFileInfo structure for the specified media file.
Protected methodGetMediaFileInfoInternal(String, String, String)
Returns the MediaFileInfo structure for the specified media file.
Public methodStatic memberGetMediaFilePath(Int32, String)
Returns physical path to the media file.
Public methodStatic memberGetMediaFilePath(Int32, String, String)
Returns physical path to the media file.
Public methodStatic memberGetMediaFilePath(MediaFileInfo, String, String)
Returns physical path to the media file.
Public methodStatic memberGetMediaFilePath(String, Int32, String, String)
Returns physical path to the given file path and library.
Public methodStatic memberGetMediaFilePath(String, String, String, String)
Returns physical path to the media file.
Protected methodGetMediaFilePathInternal
Returns physical path to the media file.
Public methodStatic memberGetMediaFiles
Returns the query for all media files.
Public methodStatic memberGetMediaFiles(String, String, Int32, String)
Returns dataset of files matching given criteria from database.
Protected methodGetMediaFilesInternal
Returns the query for all media files.
Public methodStatic memberGetMediaFileUrl(Guid, String)
Returns relative URL path to the media file which is rewritten to calling GetMediaFile.aspx page where user permissions are checked.
Public methodStatic memberGetMediaFileUrl(String, String, String)
Returns relative URL path to the media file, user permissions are not checked.
Protected methodGetObjectQuery
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetObjectQueryInternal
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodGetParentWhereCondition
Gets the where condition to limit the objects to specific parent.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberGetPreviewFilePath(MediaFileInfo)
Returns preview file path for media file info. If no preview found returns NULL
Public methodStatic memberGetPreviewFilePath(String, String, Int32)
Returns preview file path for search pattern (.* as extension).
Protected methodGetPreviewFilePathInternal
Returns preview file path for search pattern (.* as extension).
Protected methodGetSingleObject
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodGetSiteWhereCondition(Int32)
Gets the where condition to limit the objects to specific site.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodGetSiteWhereCondition(Int32, Boolean)
Gets the where condition to limit the objects to specific site.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberGetThumbnail
Returns image thumbnail from the disk or create a new one if doesn't exist yet.
Protected methodGetThumbnailInternal
Returns image thumbnail from the disk or create a new one if doesn't exist yet.
Public methodStatic memberGetThumbnailPath(Int32, String)
Returns physical path to the thumbnail folder.
Public methodStatic memberGetThumbnailPath(String, String, Int32, String)
Returns physical path to the thumbnail folder.
Public methodStatic memberGetThumbnailPath(String, String, String, String, Int32, Int32, Boolean, Boolean)
Returns physical path to the thumbnail.
Protected methodGetThumbnailPathInternal(String, String, Int32, String)
Returns physical path to the thumbnail folder.
Protected methodGetThumbnailPathInternal(String, String, String, String, Int32, Int32, Boolean, Boolean)
Returns physical path to the thumbnail.
Protected methodGetTypeInfo
Gets the type info for this provider
(Inherited from BaseAbstractInfoProvider.)
Public methodCheckUniqueCodeName
Checks if the object has unique code name. Returns true if the object has unique code name.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodCheckUniqueValues
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberImportMediaFileInfo
Import media file into database.
Protected methodImportMediaFileInfoInternal
Import media file into database.
Protected methodInit
Initializes the provider variables.
(Inherited from BaseAbstractInfoProvider.)
Protected methodInitHashtables
Initializes the hashtable settings
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodInvalidate
Sets this provider as invalid
(Inherited from AbstractProvider.)
Protected methodLoadAllInfos
Loads all infos to the hashtable
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodLoadGeneration
Loads the specified generation of the objects.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodLoadInfos
Loads all objects from the database to memory.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodLoadObjectsToHashtables
Loads the objects from a DataSet to the hashtables
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberMoveMediaFile(String, Int32, String, String, Boolean)
Moves media file within one library.
Public methodStatic memberMoveMediaFile(String, Int32, Int32, String, String, Boolean)
Moves media file.
Protected methodMoveMediaFileInternal
Moves media file.
Public methodNewTransaction
Creates a new transaction over this provider
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodProcessWebFarmTask
Runs the processing of specific web farm task for current provider
(Inherited from BaseAbstractInfoProvider.)
Protected methodRecalculateData
Recalculates the value in the given column using the coefficient.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodRefreshObjectsCounts
Updates all counts for all sub-objects.
(Inherited from BaseAbstractInfoProvider.)
Protected methodRegister
Registers current provider in providers collection
(Inherited from AbstractProvider.)
Protected methodRegisterObjectInHashtables
Registers the object instance within the hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodRemoveOriginalCodeNameFromHashtable
Removes the original object code name from the hashtable
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodReplaceData
Replaces the data in the given columns.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodResetToDefault
Resets the provider to default implementation
(Inherited from AbstractInfoProviderTProvider.)
Public methodStatic memberSaveFileToDisk
Saves media file to disk and returns the applied file path.
Protected methodSaveFileToDiskInternal
Saves media file to disk and returns the applied file path.
Public methodSetAsDefaultProvider
Sets this provider instance as the default provider
(Inherited from AbstractInfoProviderTProvider.)
Protected methodSetInfo
Inserts or Updates the object to the database.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberSetMediaFileInfo
Sets (updates or inserts) specified media file.
Protected methodSetMediaFileInfoInternal
Sets MediaFileInfo internal.
Public methodStatic memberShouldResize
Returns true if image should be scaled down.
Protected methodShouldResizeInternal
Returns true if image should be scaled down.
Public methodSortAlphabetically
Sorts the object alphabetically.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodTouchCacheDependencies
Touches the cache dependencies of the given object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodUpdateData
Updates the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodStatic memberUpdateFilesPath
Updates the file path of all the files matching specified criteria.
Protected methodUpdateFilesPathInternal
Updates the file path of all the files matching specified criteria.
Protected methodUpdateObjectInHashtables
Updates the object instance in the hashtables. Updates is different than register, because it logs task about changing object.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodUseSource(TInfo)
Sets the provider to use given data as data source
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Public methodUseSource(DataQuerySource)
Sets the provider to use given data as data source
(Inherited from BaseAbstractInfoProvider.)
Public methodValidateCodeName
Validates the object code name. Returns true if the code name is valid.
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also