|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.platform.scheduler.QuartzBackgroundExecutionHelper
org.pentaho.platform.scheduler.SecurityAwareBackgroundExecutionHelper
public class SecurityAwareBackgroundExecutionHelper
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.pentaho.platform.scheduler.QuartzBackgroundExecutionHelper |
---|
QuartzBackgroundExecutionHelper.BackgroundExecuteListener |
Field Summary |
---|
Fields inherited from class org.pentaho.platform.scheduler.QuartzBackgroundExecutionHelper |
---|
BACKGROUND_CONTENT_COOKIE_PREFIX, BACKGROUND_CONTENT_GUID_STR, BACKGROUND_CONTENT_LOCATION_STR, BACKGROUND_EXECUTION_FLAG, BACKGROUND_USER_NAME_STR, DEFAULT_BACKGROUND_LOCATION, DEFAULT_JOB_NAME, DEFAULT_TRIGGER_NAME |
Fields inherited from interface org.pentaho.platform.api.engine.IBackgroundExecution |
---|
BACKGROUND_ACTION_NAME_STR, BACKGROUND_SUBMITTED, DEFAULT_USER_NAME |
Constructor Summary | |
---|---|
SecurityAwareBackgroundExecutionHelper()
|
Method Summary | |
---|---|
IOutputHandler |
getContentOutputHandler(java.lang.String location,
java.lang.String fileName,
java.lang.String solutionName,
IPentahoSession userSession,
IParameterProvider parameterProvider)
Returns the output handler for content, specific to the implementation of the background execution helper. |
IPentahoSession |
getEffectiveUserSession(java.lang.String userName)
When the job runs in background, gets the effective user session for the user executing the job |
Methods inherited from class org.pentaho.platform.scheduler.QuartzBackgroundExecutionHelper |
---|
backgroundExecuteAction, getBackgroundContent, getBackgroundExecutedContentList, getScheduledAndExecutingBackgroundJobs, removeBackgroundExecutedContentForID, trackBackgroundExecution |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityAwareBackgroundExecutionHelper()
Method Detail |
---|
public IPentahoSession getEffectiveUserSession(java.lang.String userName)
IBackgroundExecution
getEffectiveUserSession
in interface IBackgroundExecution
getEffectiveUserSession
in class QuartzBackgroundExecutionHelper
userName
- The user name
public IOutputHandler getContentOutputHandler(java.lang.String location, java.lang.String fileName, java.lang.String solutionName, IPentahoSession userSession, IParameterProvider parameterProvider)
IBackgroundExecution
getContentOutputHandler
in interface IBackgroundExecution
getContentOutputHandler
in class QuartzBackgroundExecutionHelper
location
- Location for the contentfileName
- File name for the contentsolutionName
- Solution nameuserSession
- IPentahoSession of the callerparameterProvider
- parameter provider containing request parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |