Interface IRuntimeRepository
-
- All Superinterfaces:
ILogger
,ISessionContainer
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 parId, String parType, 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 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 parId, String parType, String solutionId, boolean transientOnly)
Constructs a new Runtime Element.- Parameters:
parId
- The parent of the Runtime ElementparType
- 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
-
usesHibernate
boolean usesHibernate()
-
-