abstract void |
WebdavNsIntf.acceptMkcolContent(javax.servlet.http.HttpServletRequest req) |
Throw an exception if we don't want the content for mkcol.
|
boolean |
WdSysIntf.allowsSyncReport(WdCollection<?> col) |
|
abstract boolean |
WebdavNsNode.allowsSyncReport() |
|
boolean |
WebdavPrincipalNode.allowsSyncReport() |
|
abstract boolean |
WebdavNsIntf.canPut(WebdavNsNode node) |
Return true if we can PUT this resource/entity
|
abstract void |
WebdavNsIntf.close() |
Called on the way out to allow resources to be freed.
|
void |
WebdavNsIntf.closePropstat() |
Close a propstat response with an ok result.
|
abstract void |
WebdavNsIntf.copyMove(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
WebdavNsNode from,
WebdavNsNode to,
boolean copy,
boolean overwrite,
int depth) |
Copy or move a resource at the given location to another location.
|
abstract void |
WebdavNsIntf.create(WebdavNsNode node) |
Create a new node.
|
abstract void |
WebdavNsIntf.createAlias(WebdavNsNode alias) |
Creates an alias to another node.
|
abstract void |
WebdavNsIntf.delete(WebdavNsNode node) |
Deletes a node from the namespace.
|
abstract void |
WebdavNsIntf.emitAcl(WebdavNsNode node) |
|
void |
WebdavNsIntf.emitSupportedReportSet(WebdavNsNode node) |
|
static String |
WebdavNsIntf.fixPath(String path) |
Return a path, beginning with a "/", after "." and ".." are removed.
|
void |
WebdavNsNode.generateHref(org.bedework.util.xml.XmlEmit xml) |
|
void |
WebdavNsNode.generateHref(org.bedework.util.xml.XmlEmit xml,
String uri) |
|
protected String |
WebdavNsIntf.generateHtml(javax.servlet.http.HttpServletRequest req,
WebdavNsNode node) |
Return a String giving an HTML representation of the directory.
|
boolean |
WebdavNsNode.generatePropertyValue(QName tag,
WebdavNsIntf intf,
boolean allProp) |
Emit the property indicated by the tag.
|
boolean |
WebdavPrincipalNode.generatePropertyValue(QName tag,
WebdavNsIntf intf,
boolean allProp) |
|
boolean |
WebdavNsIntf.generatePropValue(WebdavNsNode node,
WebdavProperty pr,
boolean allProp) |
Generate a response for a single webdav property.
|
void |
WebdavNsNode.generateUrl(org.bedework.util.xml.XmlEmit xml,
QName tag,
String uri,
boolean exists) |
|
abstract String |
WebdavNsIntf.getAcceptContentType(javax.servlet.http.HttpServletRequest req) |
|
abstract AccessUtil |
WebdavNsIntf.getAccessUtil() |
Get an object suitable for use in parsing acls and generating access.
|
abstract Collection<String> |
WebdavNsIntf.getAclPrincipalInfo(WebdavNsNode node) |
Return all the hrefs found in the access for th egiven node.
|
abstract String |
WebdavNsIntf.getAddMemberSuffix() |
|
boolean |
WebdavNsNode.getAlias() |
|
abstract WebdavNsIntf.Content |
WebdavNsIntf.getBinaryContent(WebdavNsNode node) |
Returns a Content object for the binary content.
|
abstract Collection<WebdavNsNode> |
WebdavNsIntf.getChildren(WebdavNsNode node,
Supplier<Object> filterGetter) |
Returns the immediate children of a node.
|
Element[] |
WebdavNsIntf.getChildren(Node nd) |
Get all the children if any
|
abstract Collection<? extends WdEntity<?>> |
WebdavNsNode.getChildren(Supplier<Object> filterGetter) |
Return a collection of children objects.
|
Collection<? extends WdEntity<?>> |
WebdavPrincipalNode.getChildren(Supplier<Object> filterGetter) |
|
abstract WdCollection<?> |
WebdavNsNode.getCollection(boolean deref) |
The node may refer to a collection object which may in fact be an alias to
another.
|
WdCollection<?> |
WebdavPrincipalNode.getCollection(boolean deref) |
|
abstract WebdavNsIntf.Content |
WebdavNsIntf.getContent(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String contentType,
WebdavNsNode node) |
Returns a Content object for the content.
|
WebdavNsIntf.Content |
WebdavNsNode.getContent(String contentType) |
Returns the content.
|
abstract boolean |
WebdavNsNode.getContentBinary() |
|
boolean |
WebdavPrincipalNode.getContentBinary() |
|
abstract String |
WebdavNsNode.getContentLang() |
|
String |
WebdavPrincipalNode.getContentLang() |
|
abstract long |
WebdavNsNode.getContentLen() |
|
long |
WebdavPrincipalNode.getContentLen() |
|
InputStream |
WebdavNsNode.getContentStream() |
Returns an InputStream for the content.
|
String |
WebdavNsNode.getContentString(String contentType) |
Return string content
|
abstract String |
WebdavNsNode.getContentType() |
A content type of null implies no content (or we don't know)
|
String |
WebdavPrincipalNode.getContentType() |
|
abstract String |
WebdavNsNode.getCreDate() |
|
String |
WebdavPrincipalNode.getCreDate() |
|
abstract org.bedework.access.CurrentAccess |
WebdavNsNode.getCurrentAccess() |
Get the current access granted to this principal for this node.
|
org.bedework.access.CurrentAccess |
WebdavPrincipalNode.getCurrentAccess() |
|
String |
WebdavNsIntf.getDavHeader(WebdavNsNode node) |
Return DAV header
|
abstract boolean |
WebdavNsNode.getDeleted() |
|
boolean |
WebdavPrincipalNode.getDeleted() |
|
abstract boolean |
WebdavNsIntf.getDirectoryBrowsingDisallowed() |
Return true if the system disallows directory browsing.
|
abstract String |
WebdavNsNode.getDisplayname() |
|
String |
WebdavPrincipalNode.getDisplayname() |
|
String |
WebdavNsIntf.getElementContent(Element el) |
|
String |
WebdavNsNode.getEncodedUri() |
|
String |
WebdavNsNode.getEncodedUri(String uri) |
|
abstract String |
WebdavNsNode.getEtagValue(boolean strong) |
Entity tags are defined in RFC2068 - they are supposed to provide some
sort of indication the data has changed - e.g.
|
String |
WebdavPrincipalNode.getEtagValue(boolean strong) |
|
abstract Collection<WebdavNsNode> |
WebdavNsIntf.getGroups(String resourceUri,
String principalUrl) |
Given a PrincipalMatchReport returns a Collection of matching nodes.
|
abstract WdCollection<?> |
WebdavNsNode.getImmediateTargetCollection() |
|
WdCollection<?> |
WebdavPrincipalNode.getImmediateTargetCollection() |
|
abstract String |
WebdavNsNode.getLastmodDate() |
|
String |
WebdavPrincipalNode.getLastmodDate() |
|
String |
WebdavNsIntf.getLocation(WebdavNsNode node) |
Return the complete URL describing the location of the object
represented by the node
|
MethodBase |
WebdavNsIntf.getMethod(String name) |
Return the named initialised method or null if no such method or the
method requires authentication and we are anonymous
|
abstract WebdavNsNode |
WebdavNsIntf.getNode(String uri,
int existence,
int nodeType,
boolean addMember) |
Retrieves a node by uri, following any links.
|
Element |
WebdavNsIntf.getOnlyChild(Node nd) |
We expect a single child
|
abstract org.bedework.access.AccessPrincipal |
WebdavNsNode.getOwner() |
Should return a value suitable for WebdavNsIntf.makeUserHref
|
org.bedework.access.AccessPrincipal |
WebdavPrincipalNode.getOwner() |
|
abstract WebdavNsNode |
WebdavNsIntf.getParent(WebdavNsNode node) |
Returns the parent of a node.
|
String |
WebdavNsNode.getPrefixedUri() |
|
String |
WebdavNsNode.getPrefixedUri(String uri) |
|
abstract Collection<String> |
WebdavNsIntf.getPrincipalCollectionSet(String resourceUri) |
Given a uri returns a Collection of uris that allow search operations on
principals for that resource.
|
abstract Collection<? extends WebdavNsNode> |
WebdavNsIntf.getPrincipals(String resourceUri,
PrincipalPropertySearch pps) |
Given a PrincipalPropertySearch returns a Collection of matching nodes.
|
Collection<WebdavNsNode.PropertyTagEntry> |
WebdavNsNode.getPropertyNames() |
Return a set of PropertyTagEntry defining properties this node supports.
|
Reader |
WebdavNsIntf.getReader(javax.servlet.http.HttpServletRequest req) |
|
String |
WebdavNsIntf.getResourceUri(javax.servlet.http.HttpServletRequest req) |
Get the decoded and fixed resource URI.
|
Collection<QName> |
WebdavNsNode.getSupportedReports() |
Return a set of QName defining reports this node supports.
|
abstract WdSynchReport |
WebdavNsIntf.getSynchReport(String path,
String token,
int limit,
boolean recurse) |
|
abstract String |
WebdavNsIntf.getSyncToken(String path) |
Used to match tokens in If header
|
abstract String |
WebdavNsNode.getSyncToken() |
|
String |
WebdavPrincipalNode.getSyncToken() |
|
String |
WebdavNsNode.getTargetUri() |
|
String |
WebdavNsIntf.getUri(String href) |
Return the part of the href referring to the actual entity, e.g.
|
void |
WebdavNsIntf.init(WebdavServlet servlet,
javax.servlet.http.HttpServletRequest req,
HashMap<String,MethodBase.MethodInfo> methods,
boolean dumpContent) |
Called before any other method is called to allow initialisation to
take place at the first or subsequent requests
|
abstract void |
WebdavNsIntf.makeCollection(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
WebdavNsNode node) |
Create an empty collection at the given location.
|
WebdavProperty |
WebdavNsIntf.makeProp(Element propnode) |
Override this to create namespace specific property objects.
|
String |
WebdavNsIntf.makeServerInfoUrl(javax.servlet.http.HttpServletRequest req) |
TODO - make the url value configurable
|
abstract String |
WebdavNsIntf.makeUserHref(String id) |
|
String |
WebdavNsIntf.normalizeUri(String uri) |
|
List<WebdavProperty> |
WebdavNsIntf.parseProp(Node nd) |
Parse a DAV:prop list of property names in any namespace.
|
boolean |
WebdavNsIntf.prefetch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
WebdavNsNode node) |
Called before fetching in GET processing.
|
abstract WebdavNsIntf.PutContentResult |
WebdavNsIntf.putBinaryContent(javax.servlet.http.HttpServletRequest req,
WebdavNsNode node,
String[] contentTypePars,
InputStream contentStream,
Headers.IfHeaders ifHeaders) |
Set the content from a Stream
|
WebdavNsIntf.PutContentResult |
WebdavNsIntf.putContent(javax.servlet.http.HttpServletRequest req,
String resourceUri,
javax.servlet.http.HttpServletResponse resp,
boolean fromPost,
Headers.IfHeaders ifHeaders) |
Put content for the PUT or POST methods
|
abstract WebdavNsIntf.PutContentResult |
WebdavNsIntf.putContent(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
WebdavNsNode node,
String[] contentTypePars,
Reader contentRdr,
Headers.IfHeaders ifHeaders) |
Set the content from a Reader
|
abstract void |
WebdavNsIntf.putNode(WebdavNsNode node) |
Stores/updates an object.
|
boolean |
WebdavNsNode.removeProperty(Element val,
WebdavNsNode.SetPropertyResult spr) |
Remove the given property for this node.
|
boolean |
WebdavPrincipalNode.removeProperty(Element val,
WebdavNsNode.SetPropertyResult spr) |
|
void |
WebdavNsNode.setAlias(boolean val) |
|
void |
WebdavNsNode.setDefaults(QName methodTag) |
|
boolean |
WebdavNsNode.setProperty(Element val,
WebdavNsNode.SetPropertyResult spr) |
Set the given property for this node.
|
boolean |
WebdavPrincipalNode.setProperty(Element val,
WebdavNsNode.SetPropertyResult spr) |
|
void |
WebdavNsNode.setTargetUri(String val) |
|
abstract boolean |
WebdavNsIntf.specialUri(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String resourceUri) |
Handle a special resource uri for GET.
|
void |
WebdavNsIntf.streamContent(InputStream in,
OutputStream out) |
|
boolean |
WebdavNsIntf.syncTokenMatch(Headers.IfHeader ih) |
|
abstract void |
WebdavNsNode.update() |
Update this node after changes.
|
void |
WebdavPrincipalNode.update() |
|
abstract void |
WebdavNsIntf.updateAccess(WebdavNsIntf.AclInfo ainfo) |
|
void |
WebdavNsIntf.writeContent(Reader in,
Writer out) |
|
abstract String |
WebdavNsNode.writeContent(org.bedework.util.xml.XmlEmit xml,
Writer wtr,
String contentType) |
Called during xml emission to write the content for the node.
|
String |
WebdavPrincipalNode.writeContent(org.bedework.util.xml.XmlEmit xml,
Writer wtr,
String contentType) |
|