Package org.pentaho.reporting.engine.classic.core.util

Examples of org.pentaho.reporting.engine.classic.core.util.InstanceID


    }

    public RenderBox produceSectionBox(final String layoutType, final ReportStateKey stateKey)
    {
      final StyleSheet styleSheet = new SectionKeepTogetherStyleSheet(false);
      return new SectionRenderBox(styleSheet, new InstanceID(), watermarkBoxDefinition, AutoLayoutBoxType.INSTANCE,
          ReportAttributeMap.emptyMap(), stateKey);
    }
View Full Code Here


    startProcessing(pageBox);
  }

  protected void markAllChildsDirty(final RenderNode node)
  {
    InstanceID instanceId = node.getInstanceId();
    if (instanceId == null)
    {
      return;
    }
    if (this.allChildsDirtyMarker != null)
View Full Code Here

    this.allChildsDirtyMarker = instanceId;
  }

  public void clearAllChildsDirtyMarker(final RenderNode node)
  {
    InstanceID instanceId = node.getInstanceId();
    if (instanceId == null)
    {
      return;
    }
    if (this.allChildsDirtyMarker == instanceId)
View Full Code Here

  }

  public InstanceID startBox(final ReportElement element)
  {
    InstanceID instanceID = super.startBox(element);
    inBoxDepth += 1;
    return instanceID;
  }
View Full Code Here

  private boolean isNonVisualsChanged()
  {
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      final Long dataSourceChangeTracker = parent.getDatasourceChangeTracker();
      if (dataSourceChangeTracker.equals(dataFactoryChangeTrackers.get(id)) == false)
      {
        return true;
      }
View Full Code Here

  private boolean isDataFactoryChanged()
  {
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      final Long dataSourceChangeTracker = parent.getDatasourceChangeTracker();
      if (dataSourceChangeTracker.equals(dataFactoryChangeTrackers.get(id)) == false)
      {
        return true;
      }
View Full Code Here

    this.query = parent.getQuery();
    this.queryTimeout = parent.getQueryTimeout();
    AbstractReportDefinition parent = this.parent;
    while (parent != null)
    {
      final InstanceID id = parent.getObjectID();
      dataFactoryChangeTrackers.put(id, parent.getDatasourceChangeTracker());
      nonVisualChangeTrackers.put(id, parent.getNonVisualsChangeTracker());

      final Section parentSection = parent.getParentSection();
      if (parentSection == null)
View Full Code Here

    }
  }

  public void fireReportEvent(final ReportEvent event)
  {
    final InstanceID objectID = event.getReport().getObjectID();
    if (objectID == reportDefinitionId)
    {
      if (inlineDataRowRuntime == null)
      {
        inlineDataRowRuntime = new InlineDataRowRuntime();
View Full Code Here

   * <p/>
   * A datasource is assigned with this element is set to a default source, which always returns null.
   */
  public Element()
  {
    treeLock = new InstanceID();
    datasource = Element.NULL_DATASOURCE;
    style = new InternalElementStyleSheet(this);
    attributes = new ReportAttributeMap<Object>();
    setElementType(LegacyType.INSTANCE);
  }
View Full Code Here

    {
      final Element e = (Element) super.clone();
      e.elementContext = null;
      if (preserveElementInstanceIds == false)
      {
        e.treeLock = new InstanceID();
      }

      e.style = (InternalElementStyleSheet) style.derive(preserveElementInstanceIds);
      e.datasource = datasource.clone();
      e.parent = null;
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.util.InstanceID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.