Uses of Class
com.ithit.webdav.server.exceptions.ServerException
Package
Description
Contains interfaces required by Class 1 and Class 2 compliant WebDAV implementations.
Contains interfaces required by DeltaV compatible servers.
Provides classes for handling resumable upload.
Contains interfaces for creating server which supports collection synchronization.
-
Uses of ServerException in com.ithit.webdav.server
Modifier and TypeMethodDescriptionvoid
Creates a copy of this item with a new name in the destination folder.Folder.createFile
(String name) Creates new WebDAV file with the specified name in this folder.Folder.createFolder
(String name) Creates new WebDAV folder with the specified name in this folder.void
HierarchyItem.delete()
Deletes this item.Lock.getActiveLocks()
Gets the array of all locks for this item.Folder.getChildren
(List<Property> propNames, Long offset, Long nResults, List<OrderProperty> orderProps) Gets the array of this folder's children.long
File.getContentLength()
Gets the size of the file content in bytes.File.getContentType()
Gets the media type of the file.long
HierarchyItem.getCreated()
Gets the creation date of the item in repository expressed as the coordinated universal time (UTC).File.getEtag()
Gets entity tag - string that identifies current state of resource's content.abstract HierarchyItem
Engine.getHierarchyItem
(String pathAndQuery) Implementation of this abstract method is used by WebDAV engine to find hierarchy item objects by path.long
HierarchyItem.getModified()
Gets the last modification date of the item in repository expressed as the coordinated universal time (UTC).HierarchyItem.getName()
Gets the name of the item in repository.HierarchyItem.getPath()
Unique item path in the repository relative to storage root.HierarchyItem.getProperties
(Property[] props) Gets values of all properties or selected properties for this item.HierarchyItem.getPropertyNames()
Gets names of all properties for this item.Locks this item.void
Moves this item to the destination folder under a new name.void
File.read
(OutputStream output, long startIndex, long count) Writes the content of the file to the specified stream.Lock.refreshLock
(String token, long timeout) Updates lock timeout information on this item.void
Removes lock with the specified token from this item.void
HierarchyItem.updateProperties
(Property[] setProps, Property[] delProps) Adds, modifies and removes properties for this item.long
File.write
(InputStream content, String contentType, long startIndex, long totalFileSize) Saves the content of the file from the specified stream to the WebDAV repository. -
Uses of ServerException in com.ithit.webdav.server.deltav
Modifier and TypeMethodDescriptionVersionableItem.checkIn()
Creates new version.void
VersionableItem.checkOut()
Allow modifications to the content and properties of this version-controlled item.boolean
VersionableItem.getAutoCheckIn()
Indicates if item will be checked-in by the engine during the unlock request.VersionableItem.getAutoVersion()
Determines how checked-in item responds to WebDAV client attempts to modify its content or properties.DeltaVItem.getComment()
Retrieves brief comment about a resource that is suitable for presentation to a user.DeltaVItem.getCreatorDisplayName()
Retrieves display name of the user that created this item.History.getCurrentVersion()
Version.getPredecessor()
Previous version or null if no previous version exists.History.getRootVersion()
Item's root version.Version.getSuccessor()
Next version or null if no next version exists.Version.getVersionableItem()
Hierarchy item for this version.VersionableItem.getVersionHistory()
Current item version history.Version.getVersionName()
Name of the version.History.getVersionSet()
All versions of current item.boolean
VersionableItem.isCheckedOut()
Determines whether item is in checked-in or checked-out state.void
VersionableItem.putUnderVersionControl
(boolean enable) Puts or removes current item from version control.void
VersionableItem.setAutoCheckIn
(boolean value) Sets flag which indicates if item will be checked-in by the engine during the unlock request.void
VersionableItem.setAutoVersion
(AutoVersion value) Sets auth versioning mode for this item.void
DeltaVItem.setComment
(String comment) Sets brief comment about a resource that is suitable for presentation to a user.void
DeltaVItem.setCreatorDisplayName
(String name) Sets display name of the user that created this item.void
VersionableItem.unCheckOut()
Cancels the checkout and restores the pre-checkout state of the version-controlled item.void
VersionableItem.updateToVersion
(Version version) Updates content and properties of the item to those identified by version parameter. -
Uses of ServerException in com.ithit.webdav.server.resumableupload
Modifier and TypeMethodDescriptionvoid
ResumableUpload.cancelUpload()
In this method implementation you can delete partially uploaded file.long
ResumableUpload.getBytesUploaded()
Amount of bytes successfully saved to your storage.boolean
ResumableUpload.getCheckInOnFileComplete()
Indicates if item will be checked-in by the engine when last chunk of a file is uploaded if item was checked in when upload started.long
ResumableUpload.getLastChunkSaved()
The date and time when the last chunk of file was saved in your storage.long
ResumableUpload.getTotalContentLength()
Total file size that is being uploaded.List<? extends ResumableUpload>
UploadProgress.getUploadProgress()
Array of items that are being uploaded to this item subtree.void
ResumableUpload.setCheckInOnFileComplete
(boolean value) Shall store value which indicates whether file will be checked in when upload finishes. -
Uses of ServerException in com.ithit.webdav.server.synchronization