Class BinaryContentEventLogger
java.lang.Object
org.hippoecm.frontend.plugins.jquery.upload.single.BinaryContentEventLogger
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fireBinaryChangedEvent
(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 Details
-
fireBinaryChangedEvent
public static void fireBinaryChangedEvent(Node node, String category, String type, String action) throws 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:
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
-