public interface IRuntimeRepository extends ILogger, ISessionContainer
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
Modifier and Type | Method and 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() |
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
setSession
IRuntimeElement loadElementById(String instanceId, Collection allowableReadAttributeNames) throws RepositoryException
instanceId
- The instance ID for the Runtime ElementallowableReadAttributeNames
- The attribute names that are allowed to be read by this processRepositoryException
IRuntimeElement newRuntimeElement(String parentId, String parentType, boolean transientOnly)
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.IRuntimeElement newRuntimeElement(String parId, String parType, String solutionId, boolean transientOnly)
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.boolean usesHibernate()
Copyright © 2020 Hitachi Vantara. All rights reserved.