WebDAVHelper Class |
Namespace: CMS.WebDAV
public static class WebDAVHelper
The WebDAVHelper type exposes the following members.
Name | Description | |
---|---|---|
FIELD_NAME_PREFIX |
Field name prefix.
| |
FIELD_NAME_SUFFIX |
Field name suffix.
| |
MAX_ATTACHMENT_FILENAME_LENGTH |
Maximal length of the attachment name.
| |
MAX_MEDIA_FILENAME_LENGTH |
Maximal length of the media file name.
| |
TEMPORARY_FILE_PREFIX |
Prefix of temporary file.
|
Name | Description | |
---|---|---|
CulturesCodes |
Gets culture codes of site.
| |
IsCommunityModuleLoaded |
Indicates if module 'Community' is loaded.
| |
IsMediaLibraryModuleLoaded |
Indicates if module 'Media Library' is loaded.
|
Name | Description | |
---|---|---|
CheckInDocument |
Check in document.
| |
CheckOutDocument |
Check out document.
| |
CreateMediaFileInfoFromAttachment |
Creates media file info from attachment file info.
| |
GetFieldNameForUrl |
Gets name of field name for URL (e.g. [Field]).
| |
GetFieldNameFromUrl |
Gets field name without brackets.
| |
GetImageResizeValues(Int32, Int32, Int32) |
Gets image autoresize values from settings (width, height, maxSideSize).
| |
GetImageResizeValues(FormFieldInfo, Int32, Int32, Int32) |
Gets image autoresize values due to field info settings (width, height, maxSideSize).
| |
GetMediaDirectoryInfo |
Gets media directory info.
| |
GetNewContent |
Gets new CMS File (only document without attachment).
| |
GetNewContentFolder |
Gets new CMS Folder.
| |
GetNodeAliasPath |
Gets node alias path.
| |
GetResourceHash |
Gets resource hash MD5 ('UserName'_'URL').
| |
GetSafeFileName |
Returns the safe equivalent to the given file name.
| |
GetSiteName |
Gets site name.
| |
IsAttachmentStoredInFileSystem |
Indicates if attachment is stored in file system.
| |
IsCMSFileExtensionAllowed |
Checks if specified extension is allowed.
| |
IsCurrentUserAuthorizedPerDocument(TreeNode, NodePermissionsEnum) |
Indicates if the current user is authorized per document.
| |
IsCurrentUserAuthorizedPerDocument(TreeNode, NodePermissionsEnum) |
Indicates if the current user is authorized per document.
| |
IsCurrentUserAuthorizedPerMediaLibrary(MediaLibraryInfo, String) |
Returns True if current user has permission, otherwise returns False.
| |
IsCurrentUserAuthorizedPerMediaLibrary(MediaLibraryInfo, String) |
Returns True if current user is authorized at least on one permission, otherwise returns False.
| |
IsDocumentCheckedOutByAnotherUser |
Indicates if document is checked out by another user.
| |
IsExtensionAllowedForBrowseMode(String, String) |
Checks if file extension is allowed for browse mode.
| |
IsExtensionAllowedForBrowseMode(String, FormFieldInfo, String, Boolean) |
Checks if file extension is allowed for browse mode.
| |
IsGroupAdministrator |
Indicates if the current user is group administrator.
| |
IsSameAttachmentFolder |
Indicates if source and destionation attachment folders are the same.
| |
IsTemporaryFile |
Indicates if new file name is temporary (contains prefix '~$').
| |
IsWebDAVEnabled |
Indicates if the WebDAV support is enabled for given site.
| |
IsWebDAVExtensionEnabled |
Returns true if the WebDAV is enabled for the given extension
| |
LogSynchronization |
Creates the synchronization task if document doesn't use workflow.
| |
ResizeMediaFileInfo |
Resizes media file if is image.
| |
SetAttachmentHeightAndWidth |
If attachment is image then set height and width.
| |
UseWorkflow |
Indicates if document is under workflow.
|