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, warnpublic 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.ISessionContainerpublic 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.IRuntimeRepositoryinstId - The instance Idorg.pentaho.platform.api.repository.RepositoryExceptionpublic org.pentaho.platform.api.repository.IRuntimeElement newRuntimeElement(String parId, String parType, boolean transientOnly)
newRuntimeElement in interface org.pentaho.platform.api.repository.IRuntimeRepositoryparId - 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.IRuntimeRepositoryparId - 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.PentahoBasepublic boolean usesHibernate()
usesHibernate in interface org.pentaho.platform.api.repository.IRuntimeRepositorypublic void exitPoint()