|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBackgroundExecution
| Field Summary | |
|---|---|
static java.lang.String |
BACKGROUND_ACTION_NAME_STR
|
static java.lang.String |
BACKGROUND_SUBMITTED
|
static java.lang.String |
DEFAULT_USER_NAME
|
| Method Summary | |
|---|---|
java.lang.String |
backgroundExecuteAction(IPentahoSession userSession,
IParameterProvider parameterProvider)
Queues the action specified in the request parameters for execution in the background |
IContentItem |
getBackgroundContent(java.lang.String contentGUID,
IPentahoSession userSession)
Gets the content generated by background execution |
java.util.List<IContentItem> |
getBackgroundExecutedContentList(IPentahoSession userSession)
Gets a list of content GUIDs of background executed jobs |
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 user)
When the job runs in background, gets the effective user session for the user executing the job |
java.util.List<IJobDetail> |
getScheduledAndExecutingBackgroundJobs(IPentahoSession userSession)
Gets the list of items scheduled for background execution, and those currently executing |
void |
removeBackgroundExecutedContentForID(java.lang.String contentGUID,
IPentahoSession userSession)
Removes the content generated by background execution |
void |
trackBackgroundExecution(IPentahoSession userSession,
java.lang.String GUID)
This provides an entry point for tracking the created background execution task |
| Field Detail |
|---|
static final java.lang.String BACKGROUND_ACTION_NAME_STR
static final java.lang.String BACKGROUND_SUBMITTED
static final java.lang.String DEFAULT_USER_NAME
| Method Detail |
|---|
java.lang.String backgroundExecuteAction(IPentahoSession userSession,
IParameterProvider parameterProvider)
throws BackgroundExecutionException
userSession - IPentahoSession of the session executing in backgroundparameterProvider - Provides the parameters containing the action to execute in the background
BackgroundExecutionException
java.util.List<IJobDetail> getScheduledAndExecutingBackgroundJobs(IPentahoSession userSession)
throws BackgroundExecutionException
userSession - The usersession
BackgroundExecutionException
void removeBackgroundExecutedContentForID(java.lang.String contentGUID,
IPentahoSession userSession)
contentGUID - The GUID of the content generateduserSession - The user session
IContentItem getBackgroundContent(java.lang.String contentGUID,
IPentahoSession userSession)
contentGUID - The GUID for the contentuserSession - The user session
java.util.List<IContentItem> getBackgroundExecutedContentList(IPentahoSession userSession)
userSession - User session
IPentahoSession getEffectiveUserSession(java.lang.String user)
user - The user name
void trackBackgroundExecution(IPentahoSession userSession,
java.lang.String GUID)
userSession - GUID -
IOutputHandler getContentOutputHandler(java.lang.String location,
java.lang.String fileName,
java.lang.String solutionName,
IPentahoSession userSession,
IParameterProvider parameterProvider)
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 | |||||||||