| Package | Description |
|---|---|
| com.ithit.webdav.server |
Contains interfaces required by Class 1 and Class 2 compliant WebDAV implementations.
|
| com.ithit.webdav.server.deltav |
Contains interfaces required by DeltaV compatible servers.
|
| com.ithit.webdav.server.resumableupload |
Provides classes for handling resumable upload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HierarchyItem.copyTo(Folder folder,
String destName,
boolean deep)
Creates a copy of this item with a new name in the destination folder.
|
File |
Folder.createFile(String name)
Creates new WebDAV file with the specified name in this folder.
|
void |
Folder.createFolder(String name)
Creates new WebDAV folder with the specified name in this folder.
|
void |
HierarchyItem.delete()
Deletes this item.
|
List<LockInfo> |
Lock.getActiveLocks()
Gets the array of all locks for this item.
|
PageResults |
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.
|
String |
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).
|
String |
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).
|
String |
HierarchyItem.getName()
Gets the name of the item in repository.
|
String |
HierarchyItem.getPath()
Unique item path in the repository relative to storage root.
|
List<Property> |
HierarchyItem.getProperties(Property[] props)
Gets values of all properties or selected properties for this item.
|
List<Property> |
HierarchyItem.getPropertyNames()
Gets names of all properties for this item.
|
LockResult |
Lock.lock(boolean shared,
boolean deep,
long timeout,
String owner)
Locks this item.
|
void |
HierarchyItem.moveTo(Folder folder,
String destName)
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.
|
RefreshLockResult |
Lock.refreshLock(String token,
long timeout)
Updates lock timeout information on this item.
|
void |
Lock.unlock(String lockToken)
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
VersionableItem.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.
|
AutoVersion |
VersionableItem.getAutoVersion()
Determines how checked-in item responds to WebDAV client attempts to modify its content or properties.
|
String |
DeltaVItem.getComment()
Retrieves brief comment about a resource that is suitable for presentation to a user.
|
String |
DeltaVItem.getCreatorDisplayName()
Retrieves display name of the user that created this item.
|
Version |
History.getCurrentVersion() |
Version |
Version.getPredecessor()
Previous version or null if no previous version exists.
|
Version |
History.getRootVersion()
Item's root version.
|
Version |
Version.getSuccessor()
Next version or null if no next version exists.
|
VersionableItem |
Version.getVersionableItem()
Hierarchy item for this version.
|
History |
VersionableItem.getVersionHistory()
Current item version history.
|
String |
Version.getVersionName()
Name of the version.
|
List<? extends 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
Copyright © ITHit. All Rights Reserved.