public interface ResourceSnapshot
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SnapshotVisitor visitor) |
AttachmentSnapshot |
attachmentById(String attachmentId) |
AttachmentSnapshot |
attachmentByResource(ResourceSnapshot resource) |
Set<? extends AttachmentSnapshot> |
attachments() |
<T extends ResourceSnapshot> |
createAttachedResource(Class<? extends T> snapshotClass,
String attachmentId,
Name<?> name,
Class<? extends ResourceHandler> handlerClass) |
Class<? extends ResourceHandler> |
handlerClass() |
boolean |
isRoot() |
Name<?> |
name() |
ResourceSnapshot |
parent() |
boolean |
removeAttachment(AttachmentSnapshot attachment) |
String |
templateId() |
String templateId()
Class<? extends ResourceHandler> handlerClass()
boolean isRoot()
ResourceSnapshot parent()
Set<? extends AttachmentSnapshot> attachments()
AttachmentSnapshot attachmentByResource(ResourceSnapshot resource)
AttachmentSnapshot attachmentById(String attachmentId)
<T extends ResourceSnapshot> T createAttachedResource(Class<? extends T> snapshotClass, String attachmentId, Name<?> name, Class<? extends ResourceHandler> handlerClass)
boolean removeAttachment(AttachmentSnapshot attachment)
void accept(SnapshotVisitor visitor)
Copyright (C) 2014-2016, Center for Open Middleware