|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputContentHelper
Helper for output content.
Nested Class Summary | |
---|---|
static class |
OutputContentHelper.CommitSemantics
Transactional semantics for importing output files. |
Method Summary | |
---|---|
void |
deleteOutputContent(java.util.List<java.lang.String> contentNames)
Deletes the output content from the content store for the request. |
ImportExportResult |
exportOutputContent()
Exports all previously imported output content to files in the request output directory. |
ImportExportResult |
exportOutputContent(java.util.List<java.lang.String> contentNames)
Exports the specified previously imported output content to files in the request output directory. |
java.lang.String |
getResolvedOutputDirectory()
Gets the request output directory, resolved to the current server. |
java.lang.String |
getResolvedWorkDirectory()
Gets the request work directory as resolved to the current server. |
ImportExportResult |
importOutputFiles(java.util.List<java.lang.String> fileNames,
OutputContentHelper.CommitSemantics semantics)
Imports the specified files from the resolved output directory. |
ImportExportResult |
importOutputFiles(OutputContentHelper.CommitSemantics semantics)
Imports all files from the resolved output directory. |
boolean |
isRequestWorkDirectoryShared()
Returns an indication of whether the request file directory is shared. |
boolean |
outputContentExists(java.lang.String contentName)
Checks whether the specified output content exists in the content store for the request. |
boolean |
outputDirectoryExists()
Determines if the request's output directory exists. |
java.util.List<ContentDetail> |
queryOutputContent()
Gets the detailed information for all existing output content in the content store. |
ContentDetail |
queryOutputContent(java.lang.String contentName)
Gets the detailed information for the output content in the content store, if it exists. |
boolean |
workDirectoryExists()
Determines if the request's work directory exists. |
Method Detail |
---|
boolean workDirectoryExists()
Allows the job at any stage to determine if the work directory exists before it attempts to create temporary files.
The job must define a system property to cause ESS to create the work directory.
boolean outputDirectoryExists()
Allows the job at any stage, such as update, to determine if the output directory exists before it attempts to create output files.
The job must define a system property to cause ESS to create the output directory.
boolean isRequestWorkDirectoryShared()
If it is, then any files created in the request work dir or output dir in any stage will be available to all subsequent stages of the request.
java.lang.String getResolvedWorkDirectory()
The job may create temporary files in the work directory, and ESS will automatically delete the work directory at the end of request execution if the RequestFileDirectory is shared, or at the end of each stage (pre-processing, execution, update, post-processing) if the RequestFileDirectory is local.
java.lang.String getResolvedOutputDirectory()
The job may create output files in the output directory that can be autmoatically or manually imported to the ESS content store.
ImportExportResult importOutputFiles(java.util.List<java.lang.String> fileNames, OutputContentHelper.CommitSemantics semantics)
fileNames
- list of output files to be imported, where the name
is the simple name of the file name.semantics
- commit semantics for the import.
CommitSemantics.Transactional is not valid for a user-provided
handle.
ImportExportResult importOutputFiles(OutputContentHelper.CommitSemantics semantics)
semantics
- commit semantics for the import.
CommitSemantics.Transactional is not valid for a user-provided
handle.
ImportExportResult exportOutputContent(java.util.List<java.lang.String> contentNames)
Note that output content created using the API can not be exported.
contentNames
- list of names of previously imported output content.
ImportExportResult exportOutputContent()
Note that output content created using the API can not be exported.
java.util.List<ContentDetail> queryOutputContent() throws RuntimeServiceException
Returns information on both output content that was imported and output content created using the API.
RuntimeServiceException
- if error accessing runtime store.ContentDetail queryOutputContent(java.lang.String contentName) throws RuntimeServiceException
Returns information on both output content that was imported and output content created using the API.
RuntimeServiceException
- if error accessing runtime store.boolean outputContentExists(java.lang.String contentName) throws RuntimeServiceException
Returns information on output content that was imported and output content created using the API.
contentName
- name of the output content to check.
RuntimeServiceException
- if error accessing runtime store.void deleteOutputContent(java.util.List<java.lang.String> contentNames) throws RuntimeServiceException
Can delete output content that was imported and output content created using the API.
contentNames
- list of names of output content to delete.
RuntimeServiceException
- if error accessing runtime store.
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.1.6) E20742-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |