|
ModeShape Distribution 3.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.jettison.json.JSONObject
org.modeshape.web.jcr.rest.client.json.JsonNode
org.modeshape.web.jcr.rest.client.json.FolderNode
@Immutable public final class FolderNode
The FolderNode class is responsible for knowing how to create a URL for a folder, create a JSON representation of
a folder, and create the appropriate JCR nodes for a folder.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.jettison.json.JSONObject |
|---|
NULL |
| Constructor Summary | |
|---|---|
FolderNode(Workspace workspace,
String fullPath)
|
|
| Method Summary | |
|---|---|
String |
getPath()
|
URL |
getUrl()
|
| Methods inherited from class org.modeshape.web.jcr.rest.client.json.JsonNode |
|---|
children, getContent, getId, properties, toString, withChild, withMixin, withPrimaryType, withProperty |
| Methods inherited from class org.codehaus.jettison.json.JSONObject |
|---|
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getString, has, isNull, keys, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOpt, quote, remove, toJSONArray, toString, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FolderNode(Workspace workspace,
String fullPath)
throws Exception
workspace - the workspace being used (never null)fullPath - the full path of the folder within the workspace (never null)
Exception - if there is a problem creating the folder node| Method Detail |
|---|
public String getPath()
public URL getUrl()
throws Exception
getUrl in class JsonNodeException - if there is a problem constructing the URL
|
ModeShape Distribution 3.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||