public class LogWrapper extends Object implements org.apache.jackrabbit.mk.api.MicroKernel
| Constructor and Description |
|---|
LogWrapper(org.apache.jackrabbit.mk.api.MicroKernel mk) |
| Modifier and Type | Method and Description |
|---|---|
String |
branch(String trunkRevisionId) |
String |
commit(String path,
String jsonDiff,
String revisionId,
String message) |
String |
diff(String fromRevisionId,
String toRevisionId,
String path,
int depth) |
void |
dispose() |
long |
getChildNodeCount(String path,
String revisionId) |
String |
getHeadRevision() |
String |
getJournal(String fromRevisionId,
String toRevisionId,
String path) |
long |
getLength(String blobId) |
String |
getNodes(String path,
String revisionId,
int depth,
long offset,
int maxChildNodes,
String filter) |
String |
getRevisionHistory(long since,
int maxEntries,
String path) |
String |
merge(String branchRevisionId,
String message) |
boolean |
nodeExists(String path,
String revisionId) |
static String |
quote(Object o) |
int |
read(String blobId,
long pos,
byte[] buff,
int off,
int length) |
String |
rebase(String branchRevisionId,
String newBaseRevisionId) |
String |
waitForCommit(String oldHeadRevisionId,
long maxWaitMillis) |
String |
write(InputStream in) |
public String commit(String path, String jsonDiff, String revisionId, String message)
commit in interface org.apache.jackrabbit.mk.api.MicroKernelpublic void dispose()
public String getHeadRevision()
getHeadRevision in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String getJournal(String fromRevisionId, String toRevisionId, String path)
getJournal in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String diff(String fromRevisionId, String toRevisionId, String path, int depth)
diff in interface org.apache.jackrabbit.mk.api.MicroKernelpublic long getLength(String blobId)
getLength in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String getNodes(String path, String revisionId, int depth, long offset, int maxChildNodes, String filter)
getNodes in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String getRevisionHistory(long since, int maxEntries, String path)
getRevisionHistory in interface org.apache.jackrabbit.mk.api.MicroKernelpublic boolean nodeExists(String path, String revisionId)
nodeExists in interface org.apache.jackrabbit.mk.api.MicroKernelpublic long getChildNodeCount(String path, String revisionId)
getChildNodeCount in interface org.apache.jackrabbit.mk.api.MicroKernelpublic int read(String blobId, long pos, byte[] buff, int off, int length)
read in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String waitForCommit(String oldHeadRevisionId, long maxWaitMillis) throws InterruptedException
waitForCommit in interface org.apache.jackrabbit.mk.api.MicroKernelInterruptedExceptionpublic String write(InputStream in)
write in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String branch(String trunkRevisionId)
branch in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String merge(String branchRevisionId, String message)
merge in interface org.apache.jackrabbit.mk.api.MicroKernelpublic String rebase(String branchRevisionId, String newBaseRevisionId)
rebase in interface org.apache.jackrabbit.mk.api.MicroKernelCopyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.