public class SimpleRuntimeRepository extends PentahoBase implements IRuntimeRepository
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
Constructor and Description |
---|
SimpleRuntimeRepository() |
Modifier and Type | Method and Description |
---|---|
void |
exitPoint() |
org.apache.commons.logging.Log |
getLogger() |
List |
getMessages() |
static IPentahoSession |
getUserSession() |
IRuntimeElement |
loadElementById(String instanceId,
Collection allowableReadAttributeNames)
Loads an existing RuntimeElement
|
IRuntimeElement |
newRuntimeElement(String parId,
String parType,
boolean transientOnly)
Creates a new RuntimeElement
|
IRuntimeElement |
newRuntimeElement(String parId,
String parType,
String solnId,
boolean transientOnly)
Creates a new RuntimeElement
|
void |
setSession(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 IPentahoSession getUserSession()
public List getMessages()
public void setSession(IPentahoSession sess)
setSession
in interface ISessionContainer
public IRuntimeElement loadElementById(String instanceId, Collection allowableReadAttributeNames) throws RepositoryException
loadElementById
in interface IRuntimeRepository
instId
- The instance IdRepositoryException
public IRuntimeElement newRuntimeElement(String parId, String parType, boolean transientOnly)
newRuntimeElement
in interface IRuntimeRepository
parId
- Parent ID of this instanceparType
- Parent type of the instancepublic IRuntimeElement newRuntimeElement(String parId, String parType, String solnId, boolean transientOnly)
newRuntimeElement
in interface 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 PentahoBase
public boolean usesHibernate()
usesHibernate
in interface IRuntimeRepository
public void exitPoint()
Copyright © 2017 Hitachi Vantara. All rights reserved.