Class BinaryContentEventLogger
- java.lang.Object
-
- org.hippoecm.frontend.plugins.jquery.upload.single.BinaryContentEventLogger
-
public final class BinaryContentEventLogger extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
fireBinaryChangedEvent
public static void fireBinaryChangedEvent(javax.jcr.Node node, String category, String type, String action) throws javax.jcr.RepositoryException
Post a HippoEvent for specific asset or gallery node.- Parameters:
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 crop- Throws:
javax.jcr.RepositoryException
-
fireUploadEvent
public 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.- Parameters:
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 crop
-
-