Uses of Class
com.ithit.webdav.server.exceptions.ServerException
Packages that use 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
Methods in com.ithit.webdav.server that throw ServerExceptionModifier and TypeMethodDescriptionvoidCreates 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.voidHierarchyItem.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.longFile.getContentLength()Gets the size of the file content in bytes.File.getContentType()Gets the media type of the file.longHierarchyItem.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 HierarchyItemEngine.getHierarchyItem(String pathAndQuery) Implementation of this abstract method is used by WebDAV engine to find hierarchy item objects by path.longHierarchyItem.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.voidMoves this item to the destination folder under a new name.voidFile.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.voidRemoves lock with the specified token from this item.voidHierarchyItem.updateProperties(Property[] setProps, Property[] delProps) Adds, modifies and removes properties for this item.longFile.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
Methods in com.ithit.webdav.server.deltav that throw ServerExceptionModifier and TypeMethodDescriptionVersionableItem.checkIn()Creates new version.voidVersionableItem.checkOut()Allow modifications to the content and properties of this version-controlled item.booleanVersionableItem.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.booleanVersionableItem.isCheckedOut()Determines whether item is in checked-in or checked-out state.voidVersionableItem.putUnderVersionControl(boolean enable) Puts or removes current item from version control.voidVersionableItem.setAutoCheckIn(boolean value) Sets flag which indicates if item will be checked-in by the engine during the unlock request.voidVersionableItem.setAutoVersion(AutoVersion value) Sets auth versioning mode for this item.voidDeltaVItem.setComment(String comment) Sets brief comment about a resource that is suitable for presentation to a user.voidDeltaVItem.setCreatorDisplayName(String name) Sets display name of the user that created this item.voidVersionableItem.unCheckOut()Cancels the checkout and restores the pre-checkout state of the version-controlled item.voidVersionableItem.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
Methods in com.ithit.webdav.server.resumableupload that throw ServerExceptionModifier and TypeMethodDescriptionvoidResumableUpload.cancelUpload()In this method implementation you can delete partially uploaded file.longResumableUpload.getBytesUploaded()Amount of bytes successfully saved to your storage.booleanResumableUpload.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.longResumableUpload.getLastChunkSaved()The date and time when the last chunk of file was saved in your storage.longResumableUpload.getTotalContentLength()Total file size that is being uploaded.List<? extends ResumableUpload>UploadProgress.getUploadProgress()Array of items that are being uploaded to this item subtree.voidResumableUpload.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
Methods in com.ithit.webdav.server.synchronization that throw ServerException