|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.jcrutil.SilverpeasJcrWebdavContext
public class SilverpeasJcrWebdavContext
Field Summary | |
---|---|
protected static String |
WEBDAV_JCR_URL_SUFFIX
|
Method Summary | |
---|---|
static void |
clearFromToken(String token)
Clears the application cache from the data handled by SilverpeasJcrWebdavContext and
associated to the given token. |
static SilverpeasJcrWebdavContext |
createWebdavContext(String jcrDocumentUrlLocation,
String token)
Initializing an instance from the document URL location into the JCR and a token. |
String |
getJcrDocumentUrlLocation()
Gets the document URL location into the JCR. |
String |
getToken()
The authentication token. |
static SilverpeasJcrWebdavContext |
getWebdavContext(String webDavUrl)
Initializing an instance from a computed webdavUrl. |
String |
getWebDavUrl()
Gets the computed webdav URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String WEBDAV_JCR_URL_SUFFIX
Method Detail |
---|
public static void clearFromToken(String token)
SilverpeasJcrWebdavContext
and
associated to the given token.
token
- the token from which the cache must be cleared.public static SilverpeasJcrWebdavContext createWebdavContext(String jcrDocumentUrlLocation, String token)
jcrDocumentUrlLocation
- the document url location into the JCR.token
- the token to introduce.
SilverpeasJcrWebdavContext
instance initialized with the given data. The
webdavUrl has been computed.public static SilverpeasJcrWebdavContext getWebdavContext(String webDavUrl)
getToken()
will
return an empty string.
webDavUrl
- the webdav url.
SilverpeasJcrWebdavContext
instance initialized with the given webdavUrl.
The document URL location into the JCR is decoded and the token has been extracted.public String getJcrDocumentUrlLocation()
public String getWebDavUrl()
public String getToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |