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 | Method and Description |
---|---|
Collection<Workspace> |
IRestClient.getWorkspaces(Repository repository)
Deprecated.
Obtains the workspaces defined within the specified ModeShape respository.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IRestClient.fileExists(File file,
Workspace workspace,
String path)
Deprecated.
Checks if the given file exists or not on the server, by issuing a GET request.
|
URL |
IRestClient.getUrl(File file,
String path,
Workspace workspace)
Deprecated.
Returns a url string, representing a "server recognizable" url for a the given file.
|
Status |
IRestClient.markAsPublishArea(Workspace workspace,
String path,
String title,
String description)
Deprecated.
Marks the last folder of the given path as a publish area, by adding the
mode:publishArea mixin. |
String |
IRestClient.planForQuery(Workspace workspace,
String language,
String statement,
int offset,
int limit,
Map<String,String> variables)
Deprecated.
Compute the plan for the supplied query in the workspace.
|
Status |
IRestClient.publish(Workspace workspace,
String path,
File file)
Deprecated.
Publishes, or uploads, a local file to the workspace at the specified path.
|
Status |
IRestClient.publish(Workspace workspace,
String path,
File file,
boolean useVersioning)
Deprecated.
Publishes, or uploads, a local file to the workspace at the specified path.
|
List<QueryRow> |
IRestClient.query(Workspace workspace,
String language,
String statement)
Deprecated.
Executes the given query in the workspace.
|
List<QueryRow> |
IRestClient.query(Workspace workspace,
String language,
String statement,
int offset,
int limit)
Deprecated.
Executes the given query in the workspace.
|
List<QueryRow> |
IRestClient.query(Workspace workspace,
String language,
String statement,
int offset,
int limit,
Map<String,String> variables)
Deprecated.
Executes the given query in the workspace.
|
Status |
IRestClient.unmarkAsPublishArea(Workspace workspace,
String path)
Deprecated.
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)
Deprecated.
Unpublishes, or deletes, the resource at the specified path in the workspace.
|
Modifier and Type | Method and Description |
---|---|
Collection<Workspace> |
JsonRestClient.getWorkspaces(Repository repository)
Deprecated.
|
Collection<Workspace> |
RepositoryNode.getWorkspaces(String jsonResponse)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonRestClient.fileExists(File file,
Workspace workspace,
String path)
Deprecated.
|
URL |
JsonRestClient.getUrl(File file,
String path,
Workspace workspace)
Deprecated.
|
Status |
JsonRestClient.markAsPublishArea(Workspace workspace,
String path,
String title,
String description)
Deprecated.
|
boolean |
JsonRestClient.pathExists(Workspace workspace,
String path,
File file)
Deprecated.
|
String |
JsonRestClient.planForQuery(Workspace workspace,
String language,
String statement,
int offset,
int limit,
Map<String,String> variables)
Deprecated.
|
Status |
JsonRestClient.publish(Workspace workspace,
String path,
File file)
Deprecated.
|
Status |
JsonRestClient.publish(Workspace workspace,
String path,
File file,
boolean useVersioning)
Deprecated.
|
List<QueryRow> |
JsonRestClient.query(Workspace workspace,
String language,
String statement)
Deprecated.
|
List<QueryRow> |
JsonRestClient.query(Workspace workspace,
String language,
String statement,
int offset,
int limit)
Deprecated.
|
List<QueryRow> |
JsonRestClient.query(Workspace workspace,
String language,
String statement,
int offset,
int limit,
Map<String,String> variables)
Deprecated.
|
Status |
JsonRestClient.unmarkAsPublishArea(Workspace workspace,
String path)
Deprecated.
|
Status |
JsonRestClient.unpublish(Workspace workspace,
String path,
File file)
Deprecated.
|
Constructor and Description |
---|
FileNode(Workspace workspace,
String path,
File file)
Deprecated.
|
FileNode(Workspace workspace,
String path,
File file,
boolean versionable)
Deprecated.
|
FolderNode(Workspace workspace,
String fullPath)
Deprecated.
|
NodeTypeNode(Workspace workspace)
Deprecated.
Use this constructor if wanting all node types for a workspace
|
NodeTypeNode(Workspace workspace,
String nodeTypeName)
Deprecated.
Use this constructor if wanting all node types for a workspace
|
WorkspaceNode(Workspace workspace)
Deprecated.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.