public class SimpleRuntimeRepository
extends org.pentaho.platform.engine.core.system.PentahoBase
implements org.pentaho.platform.api.repository.IRuntimeRepository
Constructor and Description |
---|
SimpleRuntimeRepository() |
Modifier and Type | Method and Description |
---|---|
void |
exitPoint() |
org.apache.commons.logging.Log |
getLogger() |
List |
getMessages() |
static org.pentaho.platform.api.engine.IPentahoSession |
getUserSession() |
org.pentaho.platform.api.repository.IRuntimeElement |
loadElementById(String instanceId,
Collection allowableReadAttributeNames)
Loads an existing RuntimeElement
|
org.pentaho.platform.api.repository.IRuntimeElement |
newRuntimeElement(String parId,
String parType,
boolean transientOnly)
Creates a new RuntimeElement
|
org.pentaho.platform.api.repository.IRuntimeElement |
newRuntimeElement(String parId,
String parType,
String solnId,
boolean transientOnly)
Creates a new RuntimeElement
|
void |
setSession(org.pentaho.platform.api.engine.IPentahoSession sess) |
boolean |
usesHibernate() |
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
public static org.pentaho.platform.api.engine.IPentahoSession getUserSession()
public List getMessages()
public void setSession(org.pentaho.platform.api.engine.IPentahoSession sess)
setSession
in interface org.pentaho.platform.api.engine.ISessionContainer
public org.pentaho.platform.api.repository.IRuntimeElement loadElementById(String instanceId, Collection allowableReadAttributeNames) throws org.pentaho.platform.api.repository.RepositoryException
loadElementById
in interface org.pentaho.platform.api.repository.IRuntimeRepository
instId
- The instance Idorg.pentaho.platform.api.repository.RepositoryException
public org.pentaho.platform.api.repository.IRuntimeElement newRuntimeElement(String parId, String parType, boolean transientOnly)
newRuntimeElement
in interface org.pentaho.platform.api.repository.IRuntimeRepository
parId
- Parent ID of this instanceparType
- Parent type of the instancepublic org.pentaho.platform.api.repository.IRuntimeElement newRuntimeElement(String parId, String parType, String solnId, boolean transientOnly)
newRuntimeElement
in interface org.pentaho.platform.api.repository.IRuntimeRepository
parId
- Parent Id of the runtime elementparType
- Parent type of the runtime elementsolnId
- Solution Id of the elementpublic org.apache.commons.logging.Log getLogger()
getLogger
in class org.pentaho.platform.engine.core.system.PentahoBase
public boolean usesHibernate()
usesHibernate
in interface org.pentaho.platform.api.repository.IRuntimeRepository
public void exitPoint()