org.knime.core.node.workflow
Interface NodeContainerPersistor

All Known Subinterfaces:
SingleNodeContainerPersistor, WorkflowPersistor
All Known Implementing Classes:
CopySingleNodeContainerPersistor, CopyWorkflowPersistor, InsertWorkflowPersistor, ObsoleteMetaNodeWorkflowPersistorVersion1xx, PasteWorkflowContentPersistor, SingleNodeContainerPersistorVersion1xx, SingleNodeContainerPersistorVersion200, WorkflowPersistorVersion1xx, WorkflowPersistorVersion200

public interface NodeContainerPersistor

Author:
Bernd Wiswedel, University of Konstanz

Method Summary
 NodeContainerMetaPersistor getMetaPersistor()
           
 NodeContainer getNodeContainer(WorkflowManager parent, NodeID id)
           
 boolean isDirtyAfterLoad()
           
 void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep, ExecutionMonitor exec, WorkflowPersistor.LoadResult loadResult)
           
 boolean mustComplainIfStateDoesNotMatch()
          Does this persistor complain if its persisted state state does not match the state after loading (typically all non-executed nodes are configured after load).
 boolean needsResetAfterLoad()
           
 void preLoadNodeContainer(ReferencedFile nodeFileRef, NodeSettingsRO parentSettings, WorkflowPersistor.LoadResult loadResult)
           
 

Method Detail

getNodeContainer

NodeContainer getNodeContainer(WorkflowManager parent,
                               NodeID id)

getMetaPersistor

NodeContainerMetaPersistor getMetaPersistor()

needsResetAfterLoad

boolean needsResetAfterLoad()

isDirtyAfterLoad

boolean isDirtyAfterLoad()

mustComplainIfStateDoesNotMatch

boolean mustComplainIfStateDoesNotMatch()
Does this persistor complain if its persisted state state does not match the state after loading (typically all non-executed nodes are configured after load). This is true for all SingleNodeContainer and newer meta nodes, but it will be false for meta nodes, which are loaded from 1.x workflow.

Returns:
Such a property.

preLoadNodeContainer

void preLoadNodeContainer(ReferencedFile nodeFileRef,
                          NodeSettingsRO parentSettings,
                          WorkflowPersistor.LoadResult loadResult)
                          throws InvalidSettingsException,
                                 IOException
Throws:
InvalidSettingsException
IOException

loadNodeContainer

void loadNodeContainer(Map<Integer,BufferedDataTable> tblRep,
                       ExecutionMonitor exec,
                       WorkflowPersistor.LoadResult loadResult)
                       throws InvalidSettingsException,
                              CanceledExecutionException,
                              IOException
Throws:
InvalidSettingsException
CanceledExecutionException
IOException


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.