org.pentaho.platform.api.repository
Interface IRuntimeRepository
- All Superinterfaces:
- ILogger
- All Known Implementing Classes:
- RuntimeRepository, SimpleRuntimeRepository
public interface IRuntimeRepository
- extends ILogger
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 |
Methods inherited from interface org.pentaho.platform.api.engine.ILogger |
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn |
loadElementById
IRuntimeElement loadElementById(String instanceId,
Collection allowableReadAttributeNames)
throws RepositoryException
- Loads a runtimeElement by it's ID.
- Parameters:
instanceId
- The instance ID for the Runtime ElementallowableReadAttributeNames
- 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 ElementparentType
- The parent type of the Runtime ElementtransientOnly
- 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 ElementparentType
- The parent type of the Runtime ElementsolutionId
- The ID of the Solution this Runtime Element is associated withtransientOnly
- 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
setSession
void setSession(IPentahoSession sess)
- Parameters:
sess
- The IPentahoSession to set
usesHibernate
boolean usesHibernate()