public final class BinaryContentEventLogger extends Object
Modifier and Type | Method and Description |
---|---|
static void |
fireBinaryChangedEvent(javax.jcr.Node node,
String category,
String type,
String action)
Post a HippoEvent for specific asset or gallery node.
|
static void |
fireUploadEvent(org.apache.wicket.MarkupContainer component,
String category,
String type,
String action)
Find first component with backing JcrNodeModel and fire an upload event.
|
public static void fireBinaryChangedEvent(javax.jcr.Node node, String category, String type, String action) throws javax.jcr.RepositoryException
node
- asset or gallery node.category
- workflow category name e.g. cmstype
- type of workflow e.g. image or resourceaction
- name of the workflow action e.g. upload or cropjavax.jcr.RepositoryException
public static void fireUploadEvent(org.apache.wicket.MarkupContainer component, String category, String type, String action)
component
- top component in component chaincategory
- workflow category e.g. cmstype
- type of workflow e.g. image or resourceaction
- name of the workflow action e.g. upload or cropCopyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.