WebDAVHelper Methods |
The WebDAVHelper type exposes the following members.
Name | Description | |
---|---|---|
CreateMediaFileInfoFromAttachmentInfo |
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.
| |
CheckInDocument |
Check in document.
| |
CheckOutDocument |
Check out document.
| |
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.
| |
RegisterWebDAVScript |
Registers WebDAV support script.
| |
ResizeMediaFileInfo |
Resizes media file if is image.
| |
SetAttachmentHeightAndWidth |
If attachment is image then set height and width.
| |
UseWorkflow |
Indicates if document is under workflow.
|