|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.jaxr.common.AbstractWebDAVAccess
com.centrasite.jaxr.common.BinaryWebDAVAccess
com.centrasite.registry.versionmanagementservices.VersionWebDAVAccess
public class VersionWebDAVAccess
Handles the webdav accesses during versioning. For base webdav usage, the IWebServiceWebDAVLocator is used. It performs copy and remove operations of webdav resources for versioning.
Field Summary |
---|
Fields inherited from class com.centrasite.jaxr.common.AbstractWebDAVAccess |
---|
SUPPORTING_DOCUMENTS_LIBRARY |
Constructor Summary | |
---|---|
VersionWebDAVAccess(com.centrasite.jaxr.JAXRAccessor jaxr)
Constructor with an opened JAXR accessor (credentials required) |
Method Summary | |
---|---|
void |
addOldKey(javax.xml.registry.infomodel.RegistryObject regObj)
Add a object with old key (used to extract via copyWithReplacedKey) |
java.lang.String |
copyWithReplacedKey(java.lang.String sourceURI,
javax.xml.registry.infomodel.ExternalLink newElink)
Copy a webdav resource to a location which path contains the key of the external link itself. |
java.lang.String |
remove(java.lang.String webdavURI)
Remove resource from WebDAV. |
void |
setObjectForKey(javax.xml.registry.infomodel.RegistryObject objectForKey)
Set the object to be used for key. |
Methods inherited from class com.centrasite.jaxr.common.BinaryWebDAVAccess |
---|
getFileType |
Methods inherited from class com.centrasite.jaxr.common.AbstractWebDAVAccess |
---|
copy, get, getJAXR, getSupportingDocumentsLibraryOrgroot, getWebdavBase, getWebDAVLocator, put, remove, removeAndCleanup, removeAndCleanup |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionWebDAVAccess(com.centrasite.jaxr.JAXRAccessor jaxr)
jaxr
- opened JAXR sessionMethod Detail |
---|
public void addOldKey(javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
regObj
- a registry object with old key (for path checking)
javax.xml.registry.JAXRException
public void setObjectForKey(javax.xml.registry.infomodel.RegistryObject objectForKey)
objectForKey
- public java.lang.String copyWithReplacedKey(java.lang.String sourceURI, javax.xml.registry.infomodel.ExternalLink newElink) throws javax.xml.registry.JAXRException, VersionException
Example: elink --> .../projects/WSDL/namespace/[oldElink-uddi-key/]x.wsdl gets copied to: .../projects/WSDL/namespace/elink-uddi-key/x.wsdl
sourceURI
- the absolute webdav address of the source to be copiednewElink
- the webdav external link (whose resource should be copied)
javax.xml.registry.JAXRException
VersionException
public java.lang.String remove(java.lang.String webdavURI) throws java.lang.Exception
remove
in class com.centrasite.jaxr.common.AbstractWebDAVAccess
webdavURI
- the absolute (or relative) WebDAV URI
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |