Click or drag to resize
AvatarInfoProvider Methods

The AvatarInfoProvider type exposes the following members.

Methods
  NameDescription
Public methodAddSiteWhereCondition Obsolete.
Creates site where condition from the specified parameters and adds it to the original where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodBeginTransaction
Creates a new transaction over this provider.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodBulkDelete
Bulk deletes info objects based on the given condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodBulkInsertInfos(IEnumerableBaseInfo)
Bulk inserts the given list of info objects
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodBulkInsertInfos(IEnumerableTInfo, BulkInsertSettings)
Bulk inserts the given list of info objects.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberCanResizeImage
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).
Public methodCheckUniqueCodeName
Checks if the object has unique code name. Returns true if the object has unique code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
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, TQuery.)
Public methodStatic memberClearDefaultAvatar(DefaultAvatarTypeEnum)
Clears specified default avatar type from all avatars.
Public methodStatic memberClearDefaultAvatar(DefaultAvatarTypeEnum, Boolean)
Clears specified default avatar type from all avatars.
Public methodStatic memberClearDefaultAvatar(DefaultAvatarTypeEnum, Boolean, Boolean)
Clears specified default avatar type from all avatars.
Protected methodClearHashtables
Clears the object's hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodCreateDefaultBulkInsertSettings
Creates bulk insert settings. By default CheckConstraints and TableLock flags are set.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberCreateGravatarLink
Creates URL for gravatar image
Protected methodCreateInfo
Creates a new info object.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodCreateWebFarmTask(String, String)
Creates web farm task specific for current object and action name
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodCreateWebFarmTask(String, String, Byte, String)
Creates web farm task specific for current object and action name
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberDeleteAvatarFile
Delete avatar file stored in the file system.
Public methodStatic memberDeleteAvatarInfo(Int32)
Deletes specified avatar.
Public methodStatic memberDeleteAvatarInfo(AvatarInfo)
Deletes specified avatar.
Protected methodDeleteAvatarInfoInternal
Deletes specified avatar.
Protected methodDeleteInfo
Deletes the object to the database.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodDeleteObjectFromHashtables
Deletes the object instance from the hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberEnsureAvatarPhysicalFile
Ensures the avatar file in the file system and returns the path to the file.
Public methodStatic memberEnsureThumbnailFile
Ensures the thumbnail avatar.
Public methodStatic memberGenerateThumbnails
Returns the current settings whether the thumbnails should be generated.
Public methodStatic memberGetAvatarFile(Guid)
Returns the avatar file from disk or (if not available on the disk) from database.
Public methodStatic memberGetAvatarFile(AvatarInfo)
Returns the file from disk or (if not available on the disk) from database.
Public methodStatic memberGetAvatarFileBinary
Returns the file binary from database and save it in file system
Public methodStatic memberGetAvatarInfo(Guid)
Returns the AvatarInfo structure for the specified avatar.
Public methodStatic memberGetAvatarInfo(Int32)
Returns the AvatarInfo structure for the specified avatar.
Public methodStatic memberGetAvatarInfo(String)
Returns the AvatarInfo structure for the specified avatar.
Protected methodGetAvatarInfoInternal
Returns the AvatarInfo structure for the specified avatar.
Public methodStatic memberGetAvatarInfoWithoutBinary(Guid)
Returns the AvatarInfo structure for the specified avatar.
Public methodStatic memberGetAvatarInfoWithoutBinary(Int32)
Returns the AvatarInfo structure for the specified avatar.
Public methodStatic memberGetAvatarInfoWithoutBinary(String)
Returns the AvatarInfo structure for the specified avatar.
Protected methodGetAvatarInfoWithoutBinaryInternal(Guid)
Returns the AvatarInfo structure for the specified avatar.
Protected methodGetAvatarInfoWithoutBinaryInternal(Int32)
Returns the AvatarInfo structure for the specified avatar.
Protected methodGetAvatarInfoWithoutBinaryInternal(String)
Returns the AvatarInfo structure for the specified avatar.
Public methodStatic memberGetAvatars
Returns the query for all avatars.
Public methodStatic memberGetAvatarTypeEnum
Returns the enum representation of avatar type based on specified string.
Public methodStatic memberGetAvatarTypeString(AvatarTypeEnum)
Returns the string representation of avatar type based on specified enum value.
Public methodStatic memberGetAvatarTypeString(Type, Int32)
Returns AvatarTypeEnum string code derived from type of enumeration and enum value.
Public methodStatic memberGetDefaultAvatar(DefaultAvatarTypeEnum)
Returns default avatar of specified type or null if such is not set.
Public methodStatic memberGetDefaultAvatar(UserGenderEnum)
Gets default avatar info based on user gender
Public methodGetDefaultAvatarInternal
Returns default avatar of specified type or null if such is not set.
Protected methodGetDeleteQuery
Gets the object query that deletes all items matching the query parameters
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberGetFilePhysicalPath
Returns physical path to the file.
Public methodStatic memberGetFilesFolderPath
Returns physical path to folder with avatar files which are associated with the specified site.
Public methodStatic memberGetGravatarDefaultParameter
Returns parameter for default gravatar image
Public methodStatic memberGetImageThumbnail
Returns image thumbnail (from the disk - if already exists, or create new one and save it to disk - if doesn't exist).
Public methodStatic memberGetImageThumbnailFile
Returns the image thumbnail from the disk.
Protected methodGetInfoByCodeName(String, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoByCodeName(String, Int32, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoByCodeName(String, Int32, Boolean, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoByCodeName(String, Int32, Int32, Boolean)
Gets an instance of info object based on the given code name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoByFullName
Gets an instance of info object based on the given full name.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoByGuid(Guid, Boolean)
Gets an instance of info object based on the given GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoByGuid(Guid, Int32, Boolean)
Gets an instance of info object based on the GUID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfoById
Gets an instance of info object based on ID.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetInfosByIds
Gets the list of info objects by their IDs.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetObjectQuery
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodGetObjectQueryInternal
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider.)
Protected methodGetSingleObject Obsolete.
Gets the object query for the provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodGetSiteWhereCondition Obsolete.
Gets the where condition to limit the objects to specific site.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberGetUniqueAvatarName
Returns unique name for avatar.
Public methodStatic memberGetUserAvatarImage
Returns avatar image tag, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
Public methodStatic memberGetUserAvatarImageByGUID
Returns user avatar image.
Public methodStatic memberGetUserAvatarImageForUser
Returns avatar image tag, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
Public methodStatic memberGetUserAvatarImageUrl
Returns avatar or gravatar image url, if it is not defined returns gender dependent avatar or user default avatar.
Protected methodGetUserAvatarImageUrlInternal
Returns avatar or gravatar image url, if it is not defined returns gender dependent avatar or user default avatar.
Protected methodInit
Initializes the provider with the given type info and hashtable settings
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodInitHashtableSettings
Initializes the HashtableSettings based on typeInfo and using settings as default values.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodInitTypeInfoAndRegister
Initializes the provider variables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodInvalidate
Sets this provider as invalid
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodLoadAllInfos
Loads all infos to the hashtable
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodLoadInfos
Loads all objects from the database to memory.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodProcessWebFarmTask
Runs the processing of specific web farm task for current provider
(Overrides AbstractInfoProviderTInfo, TProvider, TQueryProcessWebFarmTask(String, String, Byte).)
Protected methodProcessWebFarmTaskInternal
Runs the processing of specific web farm task for current provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodRegisterObjectInHashtables
Registers the object instance within the hashtables.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodRemoveOriginalCodeNameFromHashtable
Removes the original object code name from the hashtable
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberSaveAvatarFileToDisk
Saves avatar file to the disk.
Public methodSetAsDefaultProvider
Sets this provider instance as the default provider
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberSetAvatarInfo
Sets (updates or inserts) specified avatar.
Protected methodSetAvatarInfoInternal
Sets (updates or inserts) specified avatar.
Protected methodSetInfo
Inserts or Updates the object to the database.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodSortAlphabetically Obsolete.
Sorts the object alphabetically.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodUpdateData(String, QueryDataParameters, String)
Updates the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodUpdateData(IWhereCondition, IEnumerableKeyValuePairString, Object, Boolean)
Updates the data in the database based on the given where condition.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Protected methodUpdateObjectInHashtables
Updates the object instance in the hashtables. Update is different than RegisterObjectInHashtables(TInfo), because it logs task about changing object.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Public methodStatic memberUploadAvatar
Uploads and resizes (if needed) avatar to specified AvatarInfo and sets its properties.
Public methodValidateCodeName
Validates the object code name. Returns true if the code name is valid.
(Inherited from AbstractInfoProviderTInfo, TProvider, TQuery.)
Top
See Also