Package | Description |
---|---|
org.modeshape.web.jcr.rest.client |
The ModeShape REST Client is a lightweight, non-UI Maven project that interacts with the ModeShape REST server.
|
org.modeshape.web.jcr.rest.client.json |
The ModeShape REST Client JSON package defines an implementation of an
ModeShape REST client . |
Modifier and Type | Field and Description |
---|---|
static Status |
Status.OK_STATUS
A status with an OK severity and no message and no exception.
|
Modifier and Type | Method and Description |
---|---|
Status |
IRestClient.markAsPublishArea(Workspace workspace,
String path,
String title,
String description)
Marks the last folder of the given path as a publish area, by adding the
mode:publishArea mixin. |
Status |
IRestClient.publish(Workspace workspace,
String path,
File file)
Publishes, or uploads, a local file to the workspace at the specified path.
|
Status |
IRestClient.publish(Workspace workspace,
String path,
File file,
boolean useVersioning)
Publishes, or uploads, a local file to the workspace at the specified path.
|
Status |
IRestClient.unmarkAsPublishArea(Workspace workspace,
String path)
Unmarks the last folder of the given path as a publish area, by removing the
mode:publishArea mixin. |
Status |
IRestClient.unpublish(Workspace workspace,
String path,
File file)
Unpublishes, or deletes, the resource at the specified path in the workspace.
|
Modifier and Type | Method and Description |
---|---|
Status |
JsonRestClient.markAsPublishArea(Workspace workspace,
String path,
String title,
String description) |
Status |
JsonRestClient.publish(Workspace workspace,
String path,
File file) |
Status |
JsonRestClient.publish(Workspace workspace,
String path,
File file,
boolean useVersioning) |
Status |
JsonRestClient.unmarkAsPublishArea(Workspace workspace,
String path) |
Status |
JsonRestClient.unpublish(Workspace workspace,
String path,
File file) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.