Class GenericReport

java.lang.Object
com.adobe.acs.commons.mcp.model.AbstractReport
com.adobe.acs.commons.mcp.model.GenericReport

@ProviderType @Model(adaptables=org.apache.sling.api.resource.Resource.class, defaultInjectionStrategy=OPTIONAL) public class GenericReport extends AbstractReport
Describes a very simple table, which is up to the process definition to outline. This report type is not efficient with large number of resulting rows, because it creates a JCR node for each row.
  • Field Details

  • Constructor Details

    • GenericReport

      public GenericReport()
  • Method Details

    • getResourceType

      public String getResourceType()
    • init

      @PostConstruct public void init()
    • persist

      public void persist(org.apache.sling.api.resource.ResourceResolver rr, String path) throws org.apache.sling.api.resource.PersistenceException, javax.jcr.RepositoryException
      Description copied from class: AbstractReport
      Persist all data stored in the properties
      Specified by:
      persist in class AbstractReport
      Parameters:
      rr - a resourceresolver to use
      path - the path to store the report at
      Throws:
      org.apache.sling.api.resource.PersistenceException - in case of problems
      javax.jcr.RepositoryException - in case of problems