Uses of Interface
com.redwood.scheduler.api.model.SchedulerSession
-
Packages that use SchedulerSession Package Description com.redwood.scheduler.api.connector.sap.rfc.scripting Scheduler API - SAP scripting interfacecom.redwood.scheduler.api.constraint Scheduler API - Dates and Periodscom.redwood.scheduler.api.database.examples Scheduler API - Database Examplescom.redwood.scheduler.api.directory Scheduler API - Listing remote directoriescom.redwood.scheduler.api.jdbc Scheduler API - JDBC utilitiescom.redwood.scheduler.api.job Scheduler API - Interfaces for user defined jobs.com.redwood.scheduler.api.model Scheduler API - Modelcom.redwood.scheduler.api.model.compatibility_14 com.redwood.scheduler.api.rtx Redwood Table XML API.com.redwood.scheduler.api.runtime Scheduler API - Runtime access to model objectscom.redwood.scheduler.api.scripting.variables Scheduler API - Interfaces for scripting variables.com.redwood.scheduler.api.snmp Scheduler API - Send SNMP trapscom.redwood.scheduler.api.soap Scheduler API - Web Services Clientcom.redwood.scheduler.api.uow Scheduler API - Unit of Work interfaces. -
-
Uses of SchedulerSession in com.redwood.scheduler.api.connector.sap.rfc.scripting
Methods in com.redwood.scheduler.api.connector.sap.rfc.scripting with parameters of type SchedulerSession Modifier and Type Method Description static SAPSystem
RfcConnectionManager. getSapSystem(SchedulerSession session, String sapSystemName)
Fetches theSAPSystem
with the given businessKey.Constructors in com.redwood.scheduler.api.connector.sap.rfc.scripting with parameters of type SchedulerSession Constructor Description RfcConnectionManager(SchedulerSession session, String sapSystemName)
Create an RFC connection manager for the given SAP system name.RfcConnectionManager(SchedulerSession session, String sapSystemName, String clientNumber)
Create an RFC connection manager for the given SAP system name.RfcConnectionManager(SchedulerSession session, String sapSystemName, String clientNumber, Credential credential)
Create an RFC connection manager for the given SAP system.RfcConnectionManager(SchedulerSession session, String sapSystemName, String clientNumber, String language)
Create an RFC connection manager for the given SAP system name.RfcConnectionManager(SchedulerSession session, String sapSystemName, String clientNumber, String language, Credential credential)
Create an RFC connection manager for the given SAP system.RfcConnectionManager(SchedulerSession session, String sapSystemName, String clientNumber, String user, String password)
Create an RFC connection manager for the given SAP system.RfcConnectionManager(SchedulerSession session, String sapSystemName, String clientNumber, String user, String password, String language)
Create an RFC connection manager for the given SAP system. -
Uses of SchedulerSession in com.redwood.scheduler.api.constraint
Methods in com.redwood.scheduler.api.constraint that return SchedulerSession Modifier and Type Method Description SchedulerSession
ConstraintContext. getSchedulerSession()
Get a scheduler session.Methods in com.redwood.scheduler.api.constraint with parameters of type SchedulerSession Modifier and Type Method Description String[]
LOVCollection. getGridTitles(SchedulerSession session)
Get the grid titles for displaying the list of values. -
Uses of SchedulerSession in com.redwood.scheduler.api.database.examples
Methods in com.redwood.scheduler.api.database.examples with parameters of type SchedulerSession Modifier and Type Method Description void
Examples. examples(UserJobContext jc, SchedulerSession jcsSession)
void
Examples. exampleUsingBuilder(UserJobContext jc, SchedulerSession jcsSession)
An example of Database.createDatabaseConnectionBuilder -
Uses of SchedulerSession in com.redwood.scheduler.api.directory
Methods in com.redwood.scheduler.api.directory with parameters of type SchedulerSession Modifier and Type Method Description String
FileProviderContext. getContextDescription(SchedulerSession session, String name)
Get a (translated) description for the file relevant for the context;String
ListDirectoryResult. getDescription(SchedulerSession session)
Get the (translated) description for this result.InputStream
ListDirectoryResult. getInputStream(SchedulerSession session)
Get an input stream to the file contents.InputStream
ListDirectoryResult. getInputStream(SchedulerSession session, int offset, int length)
Get an input stream to the file contents.InputStream
ListDirectoryResult. getInputStream(SchedulerSession session, Logger log, RWIterable<ListDirectoryResult> results)
Get an input stream to the file contents.InputStream
ListDirectoryResult. getInputStream(SchedulerSession session, Logger log, RWIterable<ListDirectoryResult> results, int offset, int length)
Get an input stream to the file contents. -
Uses of SchedulerSession in com.redwood.scheduler.api.jdbc
Methods in com.redwood.scheduler.api.jdbc that return SchedulerSession Modifier and Type Method Description static SchedulerSession
SessionBridge. getNewSession()
Constructors in com.redwood.scheduler.api.jdbc with parameters of type SchedulerSession Constructor Description InternalToolResultSet(SchedulerSession newSession)
-
Uses of SchedulerSession in com.redwood.scheduler.api.job
Methods in com.redwood.scheduler.api.job that return SchedulerSession Modifier and Type Method Description SchedulerSession
UserJobContext. createSchedulerSession()
Create a new SchedulerSession.Methods in com.redwood.scheduler.api.job with parameters of type SchedulerSession Modifier and Type Method Description void
UserJobContext. becomeResilient(SchedulerSession session)
Deprecated.This method runs the the risk of the persist failing with a NoRowsUpdatedException in unexpected and non-reproducible ways when the job is also modified in another session.RWIterable<ForecastJob>
JobForecaster. forecast(SchedulerSession session, DateTimeZone at)
Create forecast jobs for all active job groups at the specified date.ForecastJob
JobForecaster. forecastChildJobs(SchedulerSession session, Long jobId)
For job chains, the job chain run will be simulated.RWIterable<ForecastJob>
JobForecaster. forecastJobs(SchedulerSession session, DateTimeZone begin, DateTimeZone end, List<Long> jobUniqueIds)
Create forecast jobs for all active job groups at the specified date range.Map<Long,ForecastJob>
JobForecaster. forecastJobs(SchedulerSession session, DateTimeZone begin, DateTimeZone end, List<Long> jobUniqueIds, long maxForecastCount)
Create forecast jobs for all active job groups at the specified date range.static List<Long>
JobForecaster. getJobsForProcessServers(SchedulerSession session, List<Long> processServerIds, DateTimeZone jobsFrom, DateTimeZone jobsTo, boolean includeMaintenanceJobs)
A helper function for a request to forecast the jobs in a set of process servers where the scheduled start time of the jobs are in a certain time range.static List<Long>
JobForecaster. getJobsForQueues(SchedulerSession session, List<Long> queueIds, DateTimeZone jobsFrom, DateTimeZone jobsTo, boolean includeMaintenanceJobs)
A helper function for a request to forecast the jobs in a set of queues where the scheduled start time of the jobs are in a certain time range.static List<Long>
JobForecaster. getJobsForRelatedEntity(SchedulerSession session, String entityType, List<Long> entityIds, DateTimeZone jobsFrom, DateTimeZone jobsTo, boolean includeMaintenanceJobs)
A helper function for a request to forecast the jobs in a set of entities (queues, process servers) where the scheduled start time of the jobs are in a certain time range.default Iterable<Job>
UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer)
Loop over the next step in the current job chain.default Iterable<Job>
UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer, String jobDescription)
Loop over the next step in the current job chain.default Iterable<Job>
UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer, Predicate<RTXRow> filter)
Loop over the next step in the current job chain.Iterable<Job>
UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer, Predicate<RTXRow> filter, String jobDescription)
Loop over the next step in the current job chain.default Iterable<Job>
UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXReader reader)
default Iterable<Job>
UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXReader reader, Predicate<RTXRow> filter)
void
UserJobContext. operatorMessage(SchedulerSession session, String message)
Insert an operator message in the operator messages table Note that persist() will be calledString
UserJobContext. operatorMessage(SchedulerSession session, String message, String replyExpression)
Insert an operator message in the operator messages table and wait until a reply is given.void
UserJobContext. waitForAllChildren(SchedulerSession session)
Wait for all children to finish.void
UserJobContext. waitForJob(SchedulerSession session, Job job)
Wait for another job to finish.void
UserJobContext. waitForJobs(SchedulerSession session, Job[] jobs)
Wait for all the specified jobs to finish.void
UserJobContext. waitForJobs(SchedulerSession session, Job[] jobs, JobStatus[] statuses, long maxWait)
Wait for jobs to reach the specified statuses, with a maximum wait time. -
Uses of SchedulerSession in com.redwood.scheduler.api.model
Methods in com.redwood.scheduler.api.model with parameters of type SchedulerSession Modifier and Type Method Description static void
ObjectRetriever. callbackSchedulerEntity(SchedulerSession session, String objectType, Long uniqueId, ConcreteObjectCallback callback)
Lookup an object and invoke a callback with it, similar toObjectRetriever.callbackSchedulerEntity(String,Long,ConcreteObjectCallback)
, but using the supplied session instead.static Format
FileFormatFinder. findByFile(SchedulerSession session, File file)
static Format
FileFormatFinder. findByFileName(SchedulerSession session, String fileName)
static Format
FileFormatFinder. findByFileNameMimeType(SchedulerSession session, String fileName, String mimeType)
static Format
FileFormatFinder. findByMimeType(SchedulerSession session, String mimeType)
static Table
TableFinder. findTable(SchedulerSession session, String tableName)
Find a table based on its name, in a case insensitive manner.static Table
TableFinder. findVariablesTable(SchedulerSession session)
Find the system variables table.static AdHocAlertSource
BusinessKeyLookup. getAdHocAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofAdHocAlertSource
, based on its business key.static AlertEscalationAction
BusinessKeyLookup. getAlertEscalationActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofAlertEscalationAction
, based on its business key.static AlertEscalation
BusinessKeyLookup. getAlertEscalationByBusinessKey(SchedulerSession session, String key)
Query an instance ofAlertEscalation
, based on its business key.static Application
BusinessKeyLookup. getApplicationByBusinessKey(SchedulerSession session, String key)
Query an instance ofApplication
, based on its business key.static AuditRule
BusinessKeyLookup. getAuditRuleByBusinessKey(SchedulerSession session, String key)
Query an instance ofAuditRule
, based on its business key.static ConstraintDefinition
BusinessKeyLookup. getConstraintDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofConstraintDefinition
, based on its business key.static Credential
BusinessKeyLookup. getCredentialByBusinessKey(SchedulerSession session, String key)
Query an instance ofCredential
, based on its business key.static CredentialProtocol
BusinessKeyLookup. getCredentialProtocolByBusinessKey(SchedulerSession session, String key)
Query an instance ofCredentialProtocol
, based on its business key.static Dashboard
BusinessKeyLookup. getDashboardByBusinessKey(SchedulerSession session, String key)
Query an instance ofDashboard
, based on its business key.static Database
BusinessKeyLookup. getDatabaseByBusinessKey(SchedulerSession session, String key)
Query an instance ofDatabase
, based on its business key.static DatumDefinition
BusinessKeyLookup. getDatumDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofDatumDefinition
, based on its business key.static Format
FileFormatFinder. getDefaultJobFileFormat(SchedulerSession session, Job job, JobFileType fileType, String jobFileName, Long fileOrder)
Get the fileFormat for this kind of output file.String
VariableHeader. getDisplayName(SchedulerSession aSchedulerSession)
static Document
BusinessKeyLookup. getDocumentByBusinessKey(SchedulerSession session, String key)
Query an instance ofDocument
, based on its business key.static EmailAlertGatewayAction
BusinessKeyLookup. getEmailAlertGatewayActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofEmailAlertGatewayAction
, based on its business key.static EmailAlertGateway
BusinessKeyLookup. getEmailAlertGatewayByBusinessKey(SchedulerSession session, String key)
Query an instance ofEmailAlertGateway
, based on its business key.static Event
BusinessKeyLookup. getEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofEvent
, based on its business key.static EventDefinition
BusinessKeyLookup. getEventDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofEventDefinition
, based on its business key.static ExportRule
BusinessKeyLookup. getExportRuleByBusinessKey(SchedulerSession session, String key)
Query an instance ofExportRule
, based on its business key.static ExportRuleSet
BusinessKeyLookup. getExportRuleSetByBusinessKey(SchedulerSession session, String key)
Query an instance ofExportRuleSet
, based on its business key.static ExtensionPoint
BusinessKeyLookup. getExtensionPointByBusinessKey(SchedulerSession session, String key)
Query an instance ofExtensionPoint
, based on its business key.static ForecastJob
BusinessKeyLookup. getForecastJobByBusinessKey(SchedulerSession session, String key)
Query an instance ofForecastJob
, based on its business key.static Format
FileFormatFinder. getFormat(SchedulerSession session, String extension, String mimeType)
static Format
BusinessKeyLookup. getFormatByBusinessKey(SchedulerSession session, String key)
Query an instance ofFormat
, based on its business key.static GlobalPrivilege
BusinessKeyLookup. getGlobalPrivilegeByBusinessKey(SchedulerSession session, String key)
Query an instance ofGlobalPrivilege
, based on its business key.static ImportAction
BusinessKeyLookup. getImportActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportAction
, based on its business key.static ImportRule
BusinessKeyLookup. getImportRuleByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportRule
, based on its business key.static ImportRuleDefinition
BusinessKeyLookup. getImportRuleDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportRuleDefinition
, based on its business key.static ImportRuleSet
BusinessKeyLookup. getImportRuleSetByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportRuleSet
, based on its business key.static ImportSource
BusinessKeyLookup. getImportSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportSource
, based on its business key.static IsolationGroup
BusinessKeyLookup. getIsolationGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofIsolationGroup
, based on its business key.static JARFile
BusinessKeyLookup. getJARFileByBusinessKey(SchedulerSession session, String key)
Query an instance ofJARFile
, based on its business key.static Job
BusinessKeyLookup. getJobByBusinessKey(SchedulerSession session, String key)
Query an instance ofJob
, based on its business key.static JobChain
BusinessKeyLookup. getJobChainByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChain
, based on its business key.static JobChainCall
BusinessKeyLookup. getJobChainCallByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainCall
, based on its business key.static JobChainCallJobLock
BusinessKeyLookup. getJobChainCallJobLockByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainCallJobLock
, based on its business key.static JobChainCallSchedulingParameter
BusinessKeyLookup. getJobChainCallSchedulingParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainCallSchedulingParameter
, based on its business key.static JobChainStep
BusinessKeyLookup. getJobChainStepByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainStep
, based on its business key.static JobDefinitionAction
BusinessKeyLookup. getJobDefinitionActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionAction
, based on its business key.static JobDefinitionAlertSource
BusinessKeyLookup. getJobDefinitionAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionAlertSource
, based on its business key.static JobDefinition
BusinessKeyLookup. getJobDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinition
, based on its business key.static JobDefinitionConstraint
BusinessKeyLookup. getJobDefinitionConstraintByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionConstraint
, based on its business key.static JobDefinitionConstraintParameterMapping
BusinessKeyLookup. getJobDefinitionConstraintParameterMappingByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionConstraintParameterMapping
, based on its business key.static JobDefinitionForm
BusinessKeyLookup. getJobDefinitionFormByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionForm
, based on its business key.static JobDefinitionJobLock
BusinessKeyLookup. getJobDefinitionJobLockByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionJobLock
, based on its business key.static JobDefinitionParameter
BusinessKeyLookup. getJobDefinitionParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionParameter
, based on its business key.static JobDefinitionParameterSubType
BusinessKeyLookup. getJobDefinitionParameterSubTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionParameterSubType
, based on its business key.static JobDefinitionRuntimeLimit
BusinessKeyLookup. getJobDefinitionRuntimeLimitByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionRuntimeLimit
, based on its business key.static JobDefinitionTypeAction
BusinessKeyLookup. getJobDefinitionTypeActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionTypeAction
, based on its business key.static JobDefinitionType
BusinessKeyLookup. getJobDefinitionTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionType
, based on its business key.static JobFileSearch
BusinessKeyLookup. getJobFileSearchByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobFileSearch
, based on its business key.static JobGroup
BusinessKeyLookup. getJobGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobGroup
, based on its business key.static JobLock
BusinessKeyLookup. getJobLockByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobLock
, based on its business key.static JobRaiseEvent
BusinessKeyLookup. getJobRaiseEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobRaiseEvent
, based on its business key.static JobRuntimeLimit
BusinessKeyLookup. getJobRuntimeLimitByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobRuntimeLimit
, based on its business key.static JobWaitEvent
BusinessKeyLookup. getJobWaitEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobWaitEvent
, based on its business key.static Library
BusinessKeyLookup. getLibraryByBusinessKey(SchedulerSession session, String key)
Query an instance ofLibrary
, based on its business key.static LibrarySource
BusinessKeyLookup. getLibrarySourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofLibrarySource
, based on its business key.static LicenseKey
BusinessKeyLookup. getLicenseKeyByBusinessKey(SchedulerSession session, String key)
Query an instance ofLicenseKey
, based on its business key.static MailConnector
BusinessKeyLookup. getMailConnectorByBusinessKey(SchedulerSession session, String key)
Query an instance ofMailConnector
, based on its business key.static MonitorAlertSource
BusinessKeyLookup. getMonitorAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorAlertSource
, based on its business key.static MonitorCheck
BusinessKeyLookup. getMonitorCheckByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorCheck
, based on its business key.static MonitorEvent
BusinessKeyLookup. getMonitorEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorEvent
, based on its business key.static MonitorLink
BusinessKeyLookup. getMonitorLinkByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorLink
, based on its business key.static MonitorNode
BusinessKeyLookup. getMonitorNodeByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorNode
, based on its business key.static MonitorValue
BusinessKeyLookup. getMonitorValueByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorValue
, based on its business key.static NavigationBar
BusinessKeyLookup. getNavigationBarByBusinessKey(SchedulerSession session, String key)
Query an instance ofNavigationBar
, based on its business key.static NavigationBarItem
BusinessKeyLookup. getNavigationBarItemByBusinessKey(SchedulerSession session, String key)
Query an instance ofNavigationBarItem
, based on its business key.static ObjectDefinition
BusinessKeyLookup. getObjectDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectDefinition
, based on its business key.static ObjectFieldDefinition
BusinessKeyLookup. getObjectFieldDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectFieldDefinition
, based on its business key.static ObjectIndex
BusinessKeyLookup. getObjectIndexByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectIndex
, based on its business key.static ObjectReference
BusinessKeyLookup. getObjectReferenceByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectReference
, based on its business key.static ObjectSearch
BusinessKeyLookup. getObjectSearchByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectSearch
, based on its business key.static ObjectTag
BusinessKeyLookup. getObjectTagByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectTag
, based on its business key.static ObjectTagDefinition
BusinessKeyLookup. getObjectTagDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectTagDefinition
, based on its business key.static OraAppsSystem
BusinessKeyLookup. getOraAppsSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofOraAppsSystem
, based on its business key.static OraOhiSystem
BusinessKeyLookup. getOraOhiSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofOraOhiSystem
, based on its business key.static Partition
BusinessKeyLookup. getPartitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofPartition
, based on its business key.static PeopleSoftSystem
BusinessKeyLookup. getPeopleSoftSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofPeopleSoftSystem
, based on its business key.static PeriodFunction
BusinessKeyLookup. getPeriodFunctionByBusinessKey(SchedulerSession session, String key)
Query an instance ofPeriodFunction
, based on its business key.static ProcessMonitor
BusinessKeyLookup. getProcessMonitorByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessMonitor
, based on its business key.static ProcessMonitorDefinition
BusinessKeyLookup. getProcessMonitorDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessMonitorDefinition
, based on its business key.static ProcessMonitorItemDefinition
BusinessKeyLookup. getProcessMonitorItemDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessMonitorItemDefinition
, based on its business key.static ProcessServerAlertSource
BusinessKeyLookup. getProcessServerAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerAlertSource
, based on its business key.static ProcessServer
BusinessKeyLookup. getProcessServerByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServer
, based on its business key.static ProcessServerJobDefinitionType
BusinessKeyLookup. getProcessServerJobDefinitionTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerJobDefinitionType
, based on its business key.static ProcessServerResource
BusinessKeyLookup. getProcessServerResourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerResource
, based on its business key.static ProcessServerService
BusinessKeyLookup. getProcessServerServiceByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerService
, based on its business key.static PublishItem
BusinessKeyLookup. getPublishItemByBusinessKey(SchedulerSession session, String key)
Query an instance ofPublishItem
, based on its business key.static QueryCondition
BusinessKeyLookup. getQueryConditionByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueryCondition
, based on its business key.static QueryFilter
BusinessKeyLookup. getQueryFilterByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueryFilter
, based on its business key.static QueueAlertSource
BusinessKeyLookup. getQueueAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueueAlertSource
, based on its business key.static Queue
BusinessKeyLookup. getQueueByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueue
, based on its business key.static QueueProvider
BusinessKeyLookup. getQueueProviderByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueueProvider
, based on its business key.static R2WCatalogAlias
BusinessKeyLookup. getR2WCatalogAliasByBusinessKey(SchedulerSession session, String key)
Query an instance ofR2WCatalogAlias
, based on its business key.static R2WCatalog
BusinessKeyLookup. getR2WCatalogByBusinessKey(SchedulerSession session, String key)
Query an instance ofR2WCatalog
, based on its business key.static RegistryEntry
BusinessKeyLookup. getRegistryEntryByBusinessKey(SchedulerSession session, String key)
Query an instance ofRegistryEntry
, based on its business key.static RELEntryPoint
BusinessKeyLookup. getRELEntryPointByBusinessKey(SchedulerSession session, String key)
Query an instance ofRELEntryPoint
, based on its business key.static RemoteSystem
BusinessKeyLookup. getRemoteSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofRemoteSystem
, based on its business key.static Report
BusinessKeyLookup. getReportByBusinessKey(SchedulerSession session, String key)
Query an instance ofReport
, based on its business key.static ReportColumn
BusinessKeyLookup. getReportColumnByBusinessKey(SchedulerSession session, String key)
Query an instance ofReportColumn
, based on its business key.static ReportSort
BusinessKeyLookup. getReportSortByBusinessKey(SchedulerSession session, String key)
Query an instance ofReportSort
, based on its business key.static Resource
BusinessKeyLookup. getResourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofResource
, based on its business key.Application
AppUpgradeInfo. getRootApplication(SchedulerSession session)
static SAPAbapProgram
BusinessKeyLookup. getSAPAbapProgramByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapProgram
, based on its business key.static SAPAbapVariant
BusinessKeyLookup. getSAPAbapVariantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapVariant
, based on its business key.static SAPAbapVariantParameterValue
BusinessKeyLookup. getSAPAbapVariantParameterValueByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapVariantParameterValue
, based on its business key.static SAPAbapVariantSelopt
BusinessKeyLookup. getSAPAbapVariantSeloptByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapVariantSelopt
, based on its business key.static SAPApplicationServer
BusinessKeyLookup. getSAPApplicationServerByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPApplicationServer
, based on its business key.static SAPApplicationServerGroup
BusinessKeyLookup. getSAPApplicationServerGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPApplicationServerGroup
, based on its business key.static SAPApplicationServerProvider
BusinessKeyLookup. getSAPApplicationServerProviderByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPApplicationServerProvider
, based on its business key.static SAPArchiveDocumentType
BusinessKeyLookup. getSAPArchiveDocumentTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPArchiveDocumentType
, based on its business key.static SAPArchiveObject
BusinessKeyLookup. getSAPArchiveObjectByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPArchiveObject
, based on its business key.static SAPBAEConnector
BusinessKeyLookup. getSAPBAEConnectorByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPBAEConnector
, based on its business key.static SAPBatchEvent
BusinessKeyLookup. getSAPBatchEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPBatchEvent
, based on its business key.static SAPCalendar
BusinessKeyLookup. getSAPCalendarByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPCalendar
, based on its business key.static SAPExternalCommand
BusinessKeyLookup. getSAPExternalCommandByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPExternalCommand
, based on its business key.static SAPInfoPackage
BusinessKeyLookup. getSAPInfoPackageByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPInfoPackage
, based on its business key.static SAPInfoPackageGroup
BusinessKeyLookup. getSAPInfoPackageGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPInfoPackageGroup
, based on its business key.static SAPInfoPackageGroupStep
BusinessKeyLookup. getSAPInfoPackageGroupStepByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPInfoPackageGroupStep
, based on its business key.static SAPLanguage
BusinessKeyLookup. getSAPLanguageByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPLanguage
, based on its business key.static SAPMassActivity
BusinessKeyLookup. getSAPMassActivityByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivity
, based on its business key.static SAPMassActivityFieldParameter
BusinessKeyLookup. getSAPMassActivityFieldParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldParameter
, based on its business key.static SAPMassActivityFieldTable
BusinessKeyLookup. getSAPMassActivityFieldTableByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldTable
, based on its business key.static SAPMassActivityFieldTableRow
BusinessKeyLookup. getSAPMassActivityFieldTableRowByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldTableRow
, based on its business key.static SAPMassActivityFieldTableRowValue
BusinessKeyLookup. getSAPMassActivityFieldTableRowValueByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldTableRowValue
, based on its business key.static SAPMassActivityLayoutField
BusinessKeyLookup. getSAPMassActivityLayoutFieldByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityLayoutField
, based on its business key.static SAPMassActivityObject
BusinessKeyLookup. getSAPMassActivityObjectByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityObject
, based on its business key.static SAPMassActivityParameter
BusinessKeyLookup. getSAPMassActivityParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityParameter
, based on its business key.static SAPMassActivityParameterSet
BusinessKeyLookup. getSAPMassActivityParameterSetByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityParameterSet
, based on its business key.static SAPMassActivityStructure
BusinessKeyLookup. getSAPMassActivityStructureByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityStructure
, based on its business key.static SAPNWCallbackVariant
BusinessKeyLookup. getSAPNWCallbackVariantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPNWCallbackVariant
, based on its business key.static SAPOutputDevice
BusinessKeyLookup. getSAPOutputDeviceByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPOutputDevice
, based on its business key.static SAPOutputFormat
BusinessKeyLookup. getSAPOutputFormatByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPOutputFormat
, based on its business key.static SAPPIChannel
BusinessKeyLookup. getSAPPIChannelByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPPIChannel
, based on its business key.static SAPProcessChain
BusinessKeyLookup. getSAPProcessChainByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPProcessChain
, based on its business key.static SAPProcessDefinition
BusinessKeyLookup. getSAPProcessDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPProcessDefinition
, based on its business key.static SAPRecipient
BusinessKeyLookup. getSAPRecipientByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPRecipient
, based on its business key.static SAPScript
BusinessKeyLookup. getSAPScriptByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPScript
, based on its business key.static SAPSystem
BusinessKeyLookup. getSAPSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPSystem
, based on its business key.static Script
BusinessKeyLookup. getScriptByBusinessKey(SchedulerSession session, String key)
Query an instance ofScript
, based on its business key.static Service
BusinessKeyLookup. getServiceByBusinessKey(SchedulerSession session, String key)
Query an instance ofService
, based on its business key.static SoftwareGroup
BusinessKeyLookup. getSoftwareGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSoftwareGroup
, based on its business key.static SoftwareItem
BusinessKeyLookup. getSoftwareItemByBusinessKey(SchedulerSession session, String key)
Query an instance ofSoftwareItem
, based on its business key.static Subject
BusinessKeyLookup. getSubjectByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubject
, based on its business key.static SubjectGlobalPrivilegeGrant
BusinessKeyLookup. getSubjectGlobalPrivilegeGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectGlobalPrivilegeGrant
, based on its business key.static SubjectIsolationGroup
BusinessKeyLookup. getSubjectIsolationGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectIsolationGroup
, based on its business key.static SubjectObjectPrivilegeGrant
BusinessKeyLookup. getSubjectObjectPrivilegeGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectObjectPrivilegeGrant
, based on its business key.static SubjectObjectTypePrivilegeGrant
BusinessKeyLookup. getSubjectObjectTypePrivilegeGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectObjectTypePrivilegeGrant
, based on its business key.static SubjectRoleGrant
BusinessKeyLookup. getSubjectRoleGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectRoleGrant
, based on its business key.static SubmitFrame
BusinessKeyLookup. getSubmitFrameByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubmitFrame
, based on its business key.static Table
BusinessKeyLookup. getTableByBusinessKey(SchedulerSession session, String key)
Query an instance ofTable
, based on its business key.static TableDefinition
BusinessKeyLookup. getTableDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofTableDefinition
, based on its business key.static TableDefinitionConstraint
BusinessKeyLookup. getTableDefinitionConstraintByBusinessKey(SchedulerSession session, String key)
Query an instance ofTableDefinitionConstraint
, based on its business key.static TableDefinitionConstraintParameterMapping
BusinessKeyLookup. getTableDefinitionConstraintParameterMappingByBusinessKey(SchedulerSession session, String key)
Query an instance ofTableDefinitionConstraintParameterMapping
, based on its business key.static TimeWindow
BusinessKeyLookup. getTimeWindowByBusinessKey(SchedulerSession session, String key)
Query an instance ofTimeWindow
, based on its business key.static TimeZone
BusinessKeyLookup. getTimeZoneByBusinessKey(SchedulerSession session, String key)
Query an instance ofTimeZone
, based on its business key.static Trigger
BusinessKeyLookup. getTriggerByBusinessKey(SchedulerSession session, String key)
Query an instance ofTrigger
, based on its business key.static UserMessageDefinition
BusinessKeyLookup. getUserMessageDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofUserMessageDefinition
, based on its business key.static VisualizationAlert
BusinessKeyLookup. getVisualizationAlertByBusinessKey(SchedulerSession session, String key)
Query an instance ofVisualizationAlert
, based on its business key.static VisualizationProcessServerQueue
BusinessKeyLookup. getVisualizationProcessServerQueueByBusinessKey(SchedulerSession session, String key)
Query an instance ofVisualizationProcessServerQueue
, based on its business key.static SchedulerEntity
ObjectRetriever. lookupSchedulerEntity(SchedulerSession session, String objectType, Long uniqueId)
Deprecated.void
AppUpgrader.UpgradeStep. performPostImportUpgrade(SchedulerSession jobUserSession)
Perform after importvoid
AppUpgrader.UpgradeStep. performPreImportUpgrade(SchedulerSession jobUserSession)
Perform before importvoid
JobParameter. setInValueByEvaluatingREL(SchedulerSession session, String expression)
Set the parameter value to the evaluation of the passed in REL expression.void
JobParameter. setValueToDefaultExpression(SchedulerSession session)
Set the parameter value to the default expression of the corresponding job definition parameter.Constructors in com.redwood.scheduler.api.model with parameters of type SchedulerSession Constructor Description ObjectRetriever(SchedulerSession initSession)
Construct an object retriever that will use the supplied session.ReportScript(SchedulerSession newSession, Writer newWriter)
Create a new ReportScript using a specific session and writer. -
Uses of SchedulerSession in com.redwood.scheduler.api.model.compatibility_14
Methods in com.redwood.scheduler.api.model.compatibility_14 with parameters of type SchedulerSession Modifier and Type Method Description Iterator<ForecastJob>
JobForecasterComp. forecast(SchedulerSession session, DateTimeZone at)
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useJobForecaster.forecast(SchedulerSession, DateTimeZone)
instead.Iterator<ForecastJob>
JobForecasterComp. forecastJobs(SchedulerSession session, DateTimeZone begin, DateTimeZone end, List<Long> jobUniqueIds)
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useJobForecaster.forecastJobs(SchedulerSession, DateTimeZone, DateTimeZone, List)
instead.Iterator<com.redwood.scheduler.api.scripting.ScriptingFunction>
RuntimeClassComp. getBuiltInFunctions(SchedulerSession aSession)
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useRuntimeClass.getBuiltInFunctions(SchedulerSession)
instead.Iterator<com.redwood.scheduler.api.scripting.ScriptingFunction>
RuntimeClassComp. getRELEntryPoints(SchedulerSession aSession)
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useRuntimeClass.getRELEntryPoints(SchedulerSession)
instead. -
Uses of SchedulerSession in com.redwood.scheduler.api.rtx
Methods in com.redwood.scheduler.api.rtx with parameters of type SchedulerSession Modifier and Type Method Description T
RTXRowRELScript. call(RTXRow row, SchedulerSession session)
Call the script.T
RTXRowRELScript. call(RTXRow row, SchedulerSession session, Map<String,Object> parameters)
Call the script. -
Uses of SchedulerSession in com.redwood.scheduler.api.runtime
Methods in com.redwood.scheduler.api.runtime with parameters of type SchedulerSession Modifier and Type Method Description RWIterable<com.redwood.scheduler.api.scripting.ScriptingFunction>
RuntimeClass. getBuiltInFunctions(SchedulerSession aSession)
Returns available built in scripting functions, current session has access toRWIterable<com.redwood.scheduler.api.scripting.ScriptingFunction>
RuntimeClass. getRELEntryPoints(SchedulerSession aSession)
Return all entry points the current session has access to -
Uses of SchedulerSession in com.redwood.scheduler.api.scripting.variables
Methods in com.redwood.scheduler.api.scripting.variables that return SchedulerSession Modifier and Type Method Description SchedulerSession
ExtensionPointScriptObject. createActionSubjectSchedulerSession()
Create an additional SchedulerSesison that has the context of the Act ion Subject as defined by the Extension Point These SchedulerSessions are detached and invalidated after the execution of the request, and should therefore NOT be held on to (by storing them in the session or otherwise).SchedulerSession
ExtensionPointScriptObject. createUserSchedulerSession()
Create an additional SchedulerSesison that has the context of the user performing the action.SchedulerSession
ExtensionPointScriptObject. getRetainedActionSubjectSchedulerSession()
Get (or create if one does not exist yet) a SchedulerSession that will be available in consequent requests for this user for the same ExtensionPoint execution.SchedulerSession
ExtensionPointScriptObject. getRetainedUserSchedulerSession()
Get (or create if one does not exist yet) a SchedulerSession that will be available in consequent requests for this user for the same ExtensionPoint execution.static SchedulerSession
ScriptSessionFactory. getSession()
static SchedulerSession
ScriptSessionFactory. getSession(String source)
SchedulerSession
ExtensionPointScriptObject. getSharedSchedulerSession()
Return a SchedulerSession that is being used on an edit page, and contains the objects being edited.Methods in com.redwood.scheduler.api.scripting.variables with parameters of type SchedulerSession Modifier and Type Method Description Object
ExtensionParameters. getObjectFieldValue(int index, char type, String name, SchedulerSession session)
Return the value of a given field by name and type.SchedulerEntity
ExecutorContext. getOriginEntity(SchedulerSession session)
For origins that are based on a SchdulerEntity (Extension Point, Job etc.) this method will return the Object that is associated with that execution.Subject
ExecutorContext. getUser(SchedulerSession session)
Get the Subject that started this execution. -
Uses of SchedulerSession in com.redwood.scheduler.api.snmp
Methods in com.redwood.scheduler.api.snmp with parameters of type SchedulerSession Modifier and Type Method Description static void
SNMPTrap. sendTrap(SchedulerSession session, String host, BigDecimal port, String community, BigDecimal id, String data)
Send an SNMP trap using the parameters passed. -
Uses of SchedulerSession in com.redwood.scheduler.api.soap
Methods in com.redwood.scheduler.api.soap with parameters of type SchedulerSession Modifier and Type Method Description String
SOAPRequest. getLocalServerURL(SchedulerSession ss, String alias)
Get the URL of the local serverString
SOAPRequest. getUpdateJobURL(SchedulerSession ss, String alias)
Get the URL of the update job service -
Uses of SchedulerSession in com.redwood.scheduler.api.uow
Methods in com.redwood.scheduler.api.uow that return SchedulerSession Modifier and Type Method Description SchedulerSession
SchedulerSessionSource. createSchedulerSession()
Create a new scheduler session.Methods in com.redwood.scheduler.api.uow with parameters of type SchedulerSession Modifier and Type Method Description Iterator<T>
SchedulerSessionBatchedUnitOfWork. getBatchOfWork(SchedulerSession session, int batchSize, boolean previousBatchPersisted)
Obtain a batch of work to perform.void
SchedulerSessionUnitOfWork. performWork(SchedulerSession session)
This method defines the unit of work to perform.protected <T> void
SchedulerSessionBatchedUnitOfWorkManager. processBatch(SchedulerSessionBatchedUnitOfWork<T> buow, SchedulerSession session, Iterator<T> batch)
void
SchedulerSessionBatchedUnitOfWork. processItem(SchedulerSession session, T item)
Process an item in a batched unit of work.void
PersistAllowedHelper. setPersistAllowed(SchedulerSession session, boolean value)
Internal interface.
-