public class RuntimeRepository extends PentahoBase implements IRuntimeRepository, IPentahoInitializer
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 |
---|
RuntimeRepository() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.logging.Log |
getLogger() |
List |
getMessages() |
static IPentahoSession |
getUserSession() |
void |
init(IPentahoSession sess) |
IRuntimeElement |
loadElementById(String instId,
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 void init(IPentahoSession sess)
init
in interface IPentahoInitializer
public IRuntimeElement loadElementById(String instId, 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
Copyright © 2017 Hitachi Vantara. All rights reserved.