All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.day.cq.workflow.statistics.WorkflowStatisticService Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package com.day.cq.workflow.statistics;

import java.util.Map;

import javax.jcr.Session;

import org.osgi.annotation.versioning.ProviderType;

import com.day.cq.workflow.model.WorkflowModel;

/**
 * The WorkflowStatisticService class ...
 */
@ProviderType
public interface WorkflowStatisticService {
    /**
     * No longer supported, now throws {@link UnsupportedOperationException}.  Use {@link #getReport(Session)} instead.
     */
    Map getReport();

    /**
     * No longer support, now throws {@link UnsupportedOperationException}.  Use {@link #getInstanceReport(Session, WorkflowModel)} instead.
     */
    Map getInstanceReport(WorkflowModel model);

    /**
     * Returns the overall workflow report.
     * @param session The user session used to read the statistics.
     * @return The map of data that makes up the report.
     */
    Map getReport(Session session);

    /**
     * Returns the workflow instance report.
     * @param session The user session used to read the statistics.
     * @param model The workflow model to get the instance report for.
     * @return The map of data that makes up the report.
     */
    Map getInstanceReport(Session session, WorkflowModel model);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy