|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.exist.fluent.Resource
org.exist.fluent.NamedResource
public abstract class NamedResource
A named resource in the contents tree of the database: either a folder or a document.
| Nested Class Summary | |
|---|---|
static class |
NamedResource.MetadataFacet
The metadata facet of a named resource. |
| Method Summary | |
|---|---|
abstract NamedResource |
copy(Folder destination,
Name name)
Copy this resource to another location, potentially changing the copy's name in the process. |
abstract void |
delete()
Delete this resource from the database. |
abstract NamedResource.MetadataFacet |
metadata()
Return the metadata facet for this resource, which lets you read and manipulate metadata such as ownership, access permissions, and creation/modification timestamps. |
abstract void |
move(Folder destination,
Name name)
Move this resource to another collection, potentially changing its name in the process. |
abstract String |
name()
Return the local name of this resource. |
abstract String |
path()
Return the absolute path of this resource. |
| Methods inherited from class org.exist.fluent.Resource |
|---|
database, namespaceBindings, query |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract String name()
public abstract String path()
public abstract NamedResource copy(Folder destination,
Name name)
destination - the destination folder for the copyname - the desired name for the copy
public abstract void move(Folder destination,
Name name)
destination - the destination folder for the movename - the desired name for the moved resourcepublic abstract void delete()
public abstract NamedResource.MetadataFacet metadata()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||