Interface IRuntimeRepository

All Superinterfaces:
ILogger, ISessionContainer

public interface IRuntimeRepository extends ILogger, ISessionContainer
  • Method Details

    • 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 parId, String parType, String solutionId, boolean transientOnly)
      Constructs a new Runtime Element.
      Parameters:
      parId - The parent of the Runtime Element
      parType - 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()