public class DocumentUsageEvent extends NodeUsageEvent
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
Constructor and Description |
---|
DocumentUsageEvent(String name,
org.apache.wicket.model.IModel<javax.jcr.Node> documentModel,
String context) |
Modifier and Type | Method and Description |
---|---|
protected String |
getNodeIdentifier(javax.jcr.Node node)
Find parent node of type "hippo:handle" and if found return its node ID.
|
getJavaScript, publish, setParameter
protected String getNodeIdentifier(javax.jcr.Node node) throws javax.jcr.RepositoryException
getNodeIdentifier
in class NodeUsageEvent
node
- Node at which "hippo:handle" ancestor lookup startsjavax.jcr.RepositoryException
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.