org.pentaho.platform.api.repository
Interface IRuntimeRepository

All Superinterfaces:
ILogger, ISessionContainer
All Known Implementing Classes:
RuntimeRepository, SimpleRuntimeRepository

public interface IRuntimeRepository
extends ILogger, ISessionContainer


Field Summary
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Method Summary
 IRuntimeElement loadElementById(String instanceId, Collection allowableReadAttributeNames)
          Loads a runtimeElement by it's ID.
 IRuntimeElement newRuntimeElement(String parentId, String parentType, boolean transientOnly)
          Constructs a new Runtime Element.
 IRuntimeElement newRuntimeElement(String parentId, String parentType, String solutionId, boolean transientOnly)
          Constructs a new Runtime Element.
 boolean usesHibernate()
           
 
Methods inherited from interface org.pentaho.platform.api.engine.ILogger
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
 
Methods inherited from interface org.pentaho.platform.api.engine.ISessionContainer
setSession
 

Method Detail

loadElementById

IRuntimeElement loadElementById(String instanceId,
                                Collection allowableReadAttributeNames)
                                throws RepositoryException
Loads a runtimeElement by it's ID.

Parameters:
instanceId - The instance ID for the Runtime Element
allowableReadAttributeNames - The attribute names that are allowed to be read by this process
Returns:
The RuntimeElement
Throws:
RepositoryException

newRuntimeElement

IRuntimeElement newRuntimeElement(String parentId,
                                  String parentType,
                                  boolean transientOnly)
Constructs a new Runtime Element.

Parameters:
parentId - The parent of the Runtime Element
parentType - The parent type of the Runtime Element
transientOnly - Indicates whether this runtime element will be transient only (unsaved) or persistent. If true, then this will be in memory only, and will not be persisted when it goes out of scope.
Returns:
The new Runtime element

newRuntimeElement

IRuntimeElement newRuntimeElement(String parentId,
                                  String parentType,
                                  String solutionId,
                                  boolean transientOnly)
Constructs a new Runtime Element.

Parameters:
parentId - The parent of the Runtime Element
parentType - The parent type of the Runtime Element
solutionId - The ID of the Solution this Runtime Element is associated with
transientOnly - Indicates whether this runtime element will be transient only (unsaved) or persistent. If true, then this will be in memory only, and will not be persisted when it goes out of scope.
Returns:
The new Runtime element

usesHibernate

boolean usesHibernate()