Package com.redwood.scheduler.api.model
Class BusinessKeyLookup
- java.lang.Object
-
- com.redwood.scheduler.api.model.BusinessKeyLookup
-
public class BusinessKeyLookup extends Object
Interface for resolving all concreteBusinessKeyObject
objects based on their business key.
-
-
Constructor Summary
Constructors Constructor Description BusinessKeyLookup()
-
Method Summary
-
-
-
Method Detail
-
getAdHocAlertSourceByBusinessKey
public static AdHocAlertSource getAdHocAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofAdHocAlertSource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type AdHocAlertSource.
-
getAlertEscalationByBusinessKey
public static AlertEscalation getAlertEscalationByBusinessKey(SchedulerSession session, String key)
Query an instance ofAlertEscalation
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type AlertEscalation.
-
getAlertEscalationActionByBusinessKey
public static AlertEscalationAction getAlertEscalationActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofAlertEscalationAction
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type AlertEscalationAction.
-
getApplicationByBusinessKey
public static Application getApplicationByBusinessKey(SchedulerSession session, String key)
Query an instance ofApplication
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Application.
-
getAuditRuleByBusinessKey
public static AuditRule getAuditRuleByBusinessKey(SchedulerSession session, String key)
Query an instance ofAuditRule
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type AuditRule.
-
getConstraintDefinitionByBusinessKey
public static ConstraintDefinition getConstraintDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofConstraintDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ConstraintDefinition.
-
getCredentialByBusinessKey
public static Credential getCredentialByBusinessKey(SchedulerSession session, String key)
Query an instance ofCredential
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Credential.
-
getCredentialProtocolByBusinessKey
public static CredentialProtocol getCredentialProtocolByBusinessKey(SchedulerSession session, String key)
Query an instance ofCredentialProtocol
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type CredentialProtocol.
-
getDashboardByBusinessKey
public static Dashboard getDashboardByBusinessKey(SchedulerSession session, String key)
Query an instance ofDashboard
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Dashboard.
-
getDatabaseByBusinessKey
public static Database getDatabaseByBusinessKey(SchedulerSession session, String key)
Query an instance ofDatabase
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Database.
-
getDatumDefinitionByBusinessKey
public static DatumDefinition getDatumDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofDatumDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type DatumDefinition.
-
getDocumentByBusinessKey
public static Document getDocumentByBusinessKey(SchedulerSession session, String key)
Query an instance ofDocument
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Document.
-
getEmailAlertGatewayByBusinessKey
public static EmailAlertGateway getEmailAlertGatewayByBusinessKey(SchedulerSession session, String key)
Query an instance ofEmailAlertGateway
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type EmailAlertGateway.
-
getEmailAlertGatewayActionByBusinessKey
public static EmailAlertGatewayAction getEmailAlertGatewayActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofEmailAlertGatewayAction
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type EmailAlertGatewayAction.
-
getEventByBusinessKey
public static Event getEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofEvent
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Event.
-
getEventDefinitionByBusinessKey
public static EventDefinition getEventDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofEventDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type EventDefinition.
-
getExportRuleByBusinessKey
public static ExportRule getExportRuleByBusinessKey(SchedulerSession session, String key)
Query an instance ofExportRule
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ExportRule.
-
getExportRuleSetByBusinessKey
public static ExportRuleSet getExportRuleSetByBusinessKey(SchedulerSession session, String key)
Query an instance ofExportRuleSet
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ExportRuleSet.
-
getExtensionPointByBusinessKey
public static ExtensionPoint getExtensionPointByBusinessKey(SchedulerSession session, String key)
Query an instance ofExtensionPoint
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ExtensionPoint.
-
getForecastJobByBusinessKey
public static ForecastJob getForecastJobByBusinessKey(SchedulerSession session, String key)
Query an instance ofForecastJob
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ForecastJob.
-
getFormatByBusinessKey
public static Format getFormatByBusinessKey(SchedulerSession session, String key)
Query an instance ofFormat
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Format.
-
getGlobalPrivilegeByBusinessKey
public static GlobalPrivilege getGlobalPrivilegeByBusinessKey(SchedulerSession session, String key)
Query an instance ofGlobalPrivilege
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type GlobalPrivilege.
-
getImportActionByBusinessKey
public static ImportAction getImportActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportAction
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ImportAction.
-
getImportRuleByBusinessKey
public static ImportRule getImportRuleByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportRule
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ImportRule.
-
getImportRuleDefinitionByBusinessKey
public static ImportRuleDefinition getImportRuleDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportRuleDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ImportRuleDefinition.
-
getImportRuleSetByBusinessKey
public static ImportRuleSet getImportRuleSetByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportRuleSet
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ImportRuleSet.
-
getImportSourceByBusinessKey
public static ImportSource getImportSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofImportSource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ImportSource.
-
getIsolationGroupByBusinessKey
public static IsolationGroup getIsolationGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofIsolationGroup
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type IsolationGroup.
-
getJARFileByBusinessKey
public static JARFile getJARFileByBusinessKey(SchedulerSession session, String key)
Query an instance ofJARFile
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JARFile.
-
getJobByBusinessKey
public static Job getJobByBusinessKey(SchedulerSession session, String key)
Query an instance ofJob
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Job.
-
getJobChainByBusinessKey
public static JobChain getJobChainByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChain
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobChain.
-
getJobChainCallByBusinessKey
public static JobChainCall getJobChainCallByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainCall
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobChainCall.
-
getJobChainCallJobLockByBusinessKey
public static JobChainCallJobLock getJobChainCallJobLockByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainCallJobLock
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobChainCallJobLock.
-
getJobChainCallSchedulingParameterByBusinessKey
public static JobChainCallSchedulingParameter getJobChainCallSchedulingParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainCallSchedulingParameter
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobChainCallSchedulingParameter.
-
getJobChainStepByBusinessKey
public static JobChainStep getJobChainStepByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobChainStep
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobChainStep.
-
getJobDefinitionByBusinessKey
public static JobDefinition getJobDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinition.
-
getJobDefinitionActionByBusinessKey
public static JobDefinitionAction getJobDefinitionActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionAction
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionAction.
-
getJobDefinitionAlertSourceByBusinessKey
public static JobDefinitionAlertSource getJobDefinitionAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionAlertSource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionAlertSource.
-
getJobDefinitionConstraintByBusinessKey
public static JobDefinitionConstraint getJobDefinitionConstraintByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionConstraint
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionConstraint.
-
getJobDefinitionConstraintParameterMappingByBusinessKey
public static JobDefinitionConstraintParameterMapping getJobDefinitionConstraintParameterMappingByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionConstraintParameterMapping
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionConstraintParameterMapping.
-
getJobDefinitionFormByBusinessKey
public static JobDefinitionForm getJobDefinitionFormByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionForm
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionForm.
-
getJobDefinitionJobLockByBusinessKey
public static JobDefinitionJobLock getJobDefinitionJobLockByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionJobLock
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionJobLock.
-
getJobDefinitionParameterByBusinessKey
public static JobDefinitionParameter getJobDefinitionParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionParameter
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionParameter.
-
getJobDefinitionParameterSubTypeByBusinessKey
public static JobDefinitionParameterSubType getJobDefinitionParameterSubTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionParameterSubType
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionParameterSubType.
-
getJobDefinitionRuntimeLimitByBusinessKey
public static JobDefinitionRuntimeLimit getJobDefinitionRuntimeLimitByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionRuntimeLimit
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionRuntimeLimit.
-
getJobDefinitionTypeByBusinessKey
public static JobDefinitionType getJobDefinitionTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionType
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionType.
-
getJobDefinitionTypeActionByBusinessKey
public static JobDefinitionTypeAction getJobDefinitionTypeActionByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobDefinitionTypeAction
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobDefinitionTypeAction.
-
getJobFileSearchByBusinessKey
public static JobFileSearch getJobFileSearchByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobFileSearch
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobFileSearch.
-
getJobGroupByBusinessKey
public static JobGroup getJobGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobGroup
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobGroup.
-
getJobLockByBusinessKey
public static JobLock getJobLockByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobLock
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobLock.
-
getJobRaiseEventByBusinessKey
public static JobRaiseEvent getJobRaiseEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobRaiseEvent
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobRaiseEvent.
-
getJobRuntimeLimitByBusinessKey
public static JobRuntimeLimit getJobRuntimeLimitByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobRuntimeLimit
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobRuntimeLimit.
-
getJobWaitEventByBusinessKey
public static JobWaitEvent getJobWaitEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofJobWaitEvent
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type JobWaitEvent.
-
getLibraryByBusinessKey
public static Library getLibraryByBusinessKey(SchedulerSession session, String key)
Query an instance ofLibrary
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Library.
-
getLibrarySourceByBusinessKey
public static LibrarySource getLibrarySourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofLibrarySource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type LibrarySource.
-
getLicenseKeyByBusinessKey
public static LicenseKey getLicenseKeyByBusinessKey(SchedulerSession session, String key)
Query an instance ofLicenseKey
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type LicenseKey.
-
getMailConnectorByBusinessKey
public static MailConnector getMailConnectorByBusinessKey(SchedulerSession session, String key)
Query an instance ofMailConnector
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MailConnector.
-
getMonitorAlertSourceByBusinessKey
public static MonitorAlertSource getMonitorAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorAlertSource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MonitorAlertSource.
-
getMonitorCheckByBusinessKey
public static MonitorCheck getMonitorCheckByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorCheck
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MonitorCheck.
-
getMonitorEventByBusinessKey
public static MonitorEvent getMonitorEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorEvent
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MonitorEvent.
-
getMonitorLinkByBusinessKey
public static MonitorLink getMonitorLinkByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorLink
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MonitorLink.
-
getMonitorNodeByBusinessKey
public static MonitorNode getMonitorNodeByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorNode
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MonitorNode.
-
getMonitorValueByBusinessKey
public static MonitorValue getMonitorValueByBusinessKey(SchedulerSession session, String key)
Query an instance ofMonitorValue
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type MonitorValue.
-
getNavigationBarByBusinessKey
public static NavigationBar getNavigationBarByBusinessKey(SchedulerSession session, String key)
Query an instance ofNavigationBar
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type NavigationBar.
-
getNavigationBarItemByBusinessKey
public static NavigationBarItem getNavigationBarItemByBusinessKey(SchedulerSession session, String key)
Query an instance ofNavigationBarItem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type NavigationBarItem.
-
getObjectDefinitionByBusinessKey
public static ObjectDefinition getObjectDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectDefinition.
-
getObjectFieldDefinitionByBusinessKey
public static ObjectFieldDefinition getObjectFieldDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectFieldDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectFieldDefinition.
-
getObjectIndexByBusinessKey
public static ObjectIndex getObjectIndexByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectIndex
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectIndex.
-
getObjectReferenceByBusinessKey
public static ObjectReference getObjectReferenceByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectReference
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectReference.
-
getObjectSearchByBusinessKey
public static ObjectSearch getObjectSearchByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectSearch
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectSearch.
-
getObjectTagByBusinessKey
public static ObjectTag getObjectTagByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectTag
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectTag.
-
getObjectTagDefinitionByBusinessKey
public static ObjectTagDefinition getObjectTagDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofObjectTagDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ObjectTagDefinition.
-
getOraAppsSystemByBusinessKey
public static OraAppsSystem getOraAppsSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofOraAppsSystem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type OraAppsSystem.
-
getOraOhiSystemByBusinessKey
public static OraOhiSystem getOraOhiSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofOraOhiSystem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type OraOhiSystem.
-
getPartitionByBusinessKey
public static Partition getPartitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofPartition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Partition.
-
getPeopleSoftSystemByBusinessKey
public static PeopleSoftSystem getPeopleSoftSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofPeopleSoftSystem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type PeopleSoftSystem.
-
getPeriodFunctionByBusinessKey
public static PeriodFunction getPeriodFunctionByBusinessKey(SchedulerSession session, String key)
Query an instance ofPeriodFunction
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type PeriodFunction.
-
getProcessMonitorByBusinessKey
public static ProcessMonitor getProcessMonitorByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessMonitor
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessMonitor.
-
getProcessMonitorDefinitionByBusinessKey
public static ProcessMonitorDefinition getProcessMonitorDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessMonitorDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessMonitorDefinition.
-
getProcessMonitorItemDefinitionByBusinessKey
public static ProcessMonitorItemDefinition getProcessMonitorItemDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessMonitorItemDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessMonitorItemDefinition.
-
getProcessServerByBusinessKey
public static ProcessServer getProcessServerByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServer
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessServer.
-
getProcessServerAlertSourceByBusinessKey
public static ProcessServerAlertSource getProcessServerAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerAlertSource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessServerAlertSource.
-
getProcessServerJobDefinitionTypeByBusinessKey
public static ProcessServerJobDefinitionType getProcessServerJobDefinitionTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerJobDefinitionType
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessServerJobDefinitionType.
-
getProcessServerResourceByBusinessKey
public static ProcessServerResource getProcessServerResourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerResource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessServerResource.
-
getProcessServerServiceByBusinessKey
public static ProcessServerService getProcessServerServiceByBusinessKey(SchedulerSession session, String key)
Query an instance ofProcessServerService
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ProcessServerService.
-
getPublishItemByBusinessKey
public static PublishItem getPublishItemByBusinessKey(SchedulerSession session, String key)
Query an instance ofPublishItem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type PublishItem.
-
getQueryConditionByBusinessKey
public static QueryCondition getQueryConditionByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueryCondition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type QueryCondition.
-
getQueryFilterByBusinessKey
public static QueryFilter getQueryFilterByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueryFilter
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type QueryFilter.
-
getQueueByBusinessKey
public static Queue getQueueByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueue
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Queue.
-
getQueueAlertSourceByBusinessKey
public static QueueAlertSource getQueueAlertSourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueueAlertSource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type QueueAlertSource.
-
getQueueProviderByBusinessKey
public static QueueProvider getQueueProviderByBusinessKey(SchedulerSession session, String key)
Query an instance ofQueueProvider
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type QueueProvider.
-
getR2WCatalogByBusinessKey
public static R2WCatalog getR2WCatalogByBusinessKey(SchedulerSession session, String key)
Query an instance ofR2WCatalog
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type R2WCatalog.
-
getR2WCatalogAliasByBusinessKey
public static R2WCatalogAlias getR2WCatalogAliasByBusinessKey(SchedulerSession session, String key)
Query an instance ofR2WCatalogAlias
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type R2WCatalogAlias.
-
getRegistryEntryByBusinessKey
public static RegistryEntry getRegistryEntryByBusinessKey(SchedulerSession session, String key)
Query an instance ofRegistryEntry
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type RegistryEntry.
-
getRELEntryPointByBusinessKey
public static RELEntryPoint getRELEntryPointByBusinessKey(SchedulerSession session, String key)
Query an instance ofRELEntryPoint
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type RELEntryPoint.
-
getRemoteSystemByBusinessKey
public static RemoteSystem getRemoteSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofRemoteSystem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type RemoteSystem.
-
getReportByBusinessKey
public static Report getReportByBusinessKey(SchedulerSession session, String key)
Query an instance ofReport
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Report.
-
getReportColumnByBusinessKey
public static ReportColumn getReportColumnByBusinessKey(SchedulerSession session, String key)
Query an instance ofReportColumn
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ReportColumn.
-
getReportSortByBusinessKey
public static ReportSort getReportSortByBusinessKey(SchedulerSession session, String key)
Query an instance ofReportSort
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type ReportSort.
-
getResourceByBusinessKey
public static Resource getResourceByBusinessKey(SchedulerSession session, String key)
Query an instance ofResource
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Resource.
-
getSAPAbapProgramByBusinessKey
public static SAPAbapProgram getSAPAbapProgramByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapProgram
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPAbapProgram.
-
getSAPAbapVariantByBusinessKey
public static SAPAbapVariant getSAPAbapVariantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapVariant
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPAbapVariant.
-
getSAPAbapVariantParameterValueByBusinessKey
public static SAPAbapVariantParameterValue getSAPAbapVariantParameterValueByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapVariantParameterValue
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPAbapVariantParameterValue.
-
getSAPAbapVariantSeloptByBusinessKey
public static SAPAbapVariantSelopt getSAPAbapVariantSeloptByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPAbapVariantSelopt
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPAbapVariantSelopt.
-
getSAPApplicationServerByBusinessKey
public static SAPApplicationServer getSAPApplicationServerByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPApplicationServer
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPApplicationServer.
-
getSAPApplicationServerGroupByBusinessKey
public static SAPApplicationServerGroup getSAPApplicationServerGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPApplicationServerGroup
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPApplicationServerGroup.
-
getSAPApplicationServerProviderByBusinessKey
public static SAPApplicationServerProvider getSAPApplicationServerProviderByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPApplicationServerProvider
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPApplicationServerProvider.
-
getSAPArchiveDocumentTypeByBusinessKey
public static SAPArchiveDocumentType getSAPArchiveDocumentTypeByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPArchiveDocumentType
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPArchiveDocumentType.
-
getSAPArchiveObjectByBusinessKey
public static SAPArchiveObject getSAPArchiveObjectByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPArchiveObject
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPArchiveObject.
-
getSAPBAEConnectorByBusinessKey
public static SAPBAEConnector getSAPBAEConnectorByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPBAEConnector
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPBAEConnector.
-
getSAPBatchEventByBusinessKey
public static SAPBatchEvent getSAPBatchEventByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPBatchEvent
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPBatchEvent.
-
getSAPCalendarByBusinessKey
public static SAPCalendar getSAPCalendarByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPCalendar
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPCalendar.
-
getSAPExternalCommandByBusinessKey
public static SAPExternalCommand getSAPExternalCommandByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPExternalCommand
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPExternalCommand.
-
getSAPInfoPackageByBusinessKey
public static SAPInfoPackage getSAPInfoPackageByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPInfoPackage
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPInfoPackage.
-
getSAPInfoPackageGroupByBusinessKey
public static SAPInfoPackageGroup getSAPInfoPackageGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPInfoPackageGroup
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPInfoPackageGroup.
-
getSAPInfoPackageGroupStepByBusinessKey
public static SAPInfoPackageGroupStep getSAPInfoPackageGroupStepByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPInfoPackageGroupStep
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPInfoPackageGroupStep.
-
getSAPLanguageByBusinessKey
public static SAPLanguage getSAPLanguageByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPLanguage
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPLanguage.
-
getSAPMassActivityByBusinessKey
public static SAPMassActivity getSAPMassActivityByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivity
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivity.
-
getSAPMassActivityFieldParameterByBusinessKey
public static SAPMassActivityFieldParameter getSAPMassActivityFieldParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldParameter
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityFieldParameter.
-
getSAPMassActivityFieldTableByBusinessKey
public static SAPMassActivityFieldTable getSAPMassActivityFieldTableByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldTable
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityFieldTable.
-
getSAPMassActivityFieldTableRowByBusinessKey
public static SAPMassActivityFieldTableRow getSAPMassActivityFieldTableRowByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldTableRow
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityFieldTableRow.
-
getSAPMassActivityFieldTableRowValueByBusinessKey
public static SAPMassActivityFieldTableRowValue getSAPMassActivityFieldTableRowValueByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityFieldTableRowValue
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityFieldTableRowValue.
-
getSAPMassActivityLayoutFieldByBusinessKey
public static SAPMassActivityLayoutField getSAPMassActivityLayoutFieldByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityLayoutField
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityLayoutField.
-
getSAPMassActivityObjectByBusinessKey
public static SAPMassActivityObject getSAPMassActivityObjectByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityObject
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityObject.
-
getSAPMassActivityParameterByBusinessKey
public static SAPMassActivityParameter getSAPMassActivityParameterByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityParameter
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityParameter.
-
getSAPMassActivityParameterSetByBusinessKey
public static SAPMassActivityParameterSet getSAPMassActivityParameterSetByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityParameterSet
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityParameterSet.
-
getSAPMassActivityStructureByBusinessKey
public static SAPMassActivityStructure getSAPMassActivityStructureByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPMassActivityStructure
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPMassActivityStructure.
-
getSAPNWCallbackVariantByBusinessKey
public static SAPNWCallbackVariant getSAPNWCallbackVariantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPNWCallbackVariant
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPNWCallbackVariant.
-
getSAPOutputDeviceByBusinessKey
public static SAPOutputDevice getSAPOutputDeviceByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPOutputDevice
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPOutputDevice.
-
getSAPOutputFormatByBusinessKey
public static SAPOutputFormat getSAPOutputFormatByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPOutputFormat
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPOutputFormat.
-
getSAPPIChannelByBusinessKey
public static SAPPIChannel getSAPPIChannelByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPPIChannel
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPPIChannel.
-
getSAPProcessChainByBusinessKey
public static SAPProcessChain getSAPProcessChainByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPProcessChain
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPProcessChain.
-
getSAPProcessDefinitionByBusinessKey
public static SAPProcessDefinition getSAPProcessDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPProcessDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPProcessDefinition.
-
getSAPRecipientByBusinessKey
public static SAPRecipient getSAPRecipientByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPRecipient
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPRecipient.
-
getSAPScriptByBusinessKey
public static SAPScript getSAPScriptByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPScript
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPScript.
-
getSAPSystemByBusinessKey
public static SAPSystem getSAPSystemByBusinessKey(SchedulerSession session, String key)
Query an instance ofSAPSystem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SAPSystem.
-
getScriptByBusinessKey
public static Script getScriptByBusinessKey(SchedulerSession session, String key)
Query an instance ofScript
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Script.
-
getServiceByBusinessKey
public static Service getServiceByBusinessKey(SchedulerSession session, String key)
Query an instance ofService
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Service.
-
getSoftwareGroupByBusinessKey
public static SoftwareGroup getSoftwareGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSoftwareGroup
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SoftwareGroup.
-
getSoftwareItemByBusinessKey
public static SoftwareItem getSoftwareItemByBusinessKey(SchedulerSession session, String key)
Query an instance ofSoftwareItem
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SoftwareItem.
-
getSubjectByBusinessKey
public static Subject getSubjectByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubject
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Subject.
-
getSubjectGlobalPrivilegeGrantByBusinessKey
public static SubjectGlobalPrivilegeGrant getSubjectGlobalPrivilegeGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectGlobalPrivilegeGrant
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SubjectGlobalPrivilegeGrant.
-
getSubjectIsolationGroupByBusinessKey
public static SubjectIsolationGroup getSubjectIsolationGroupByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectIsolationGroup
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SubjectIsolationGroup.
-
getSubjectObjectPrivilegeGrantByBusinessKey
public static SubjectObjectPrivilegeGrant getSubjectObjectPrivilegeGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectObjectPrivilegeGrant
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SubjectObjectPrivilegeGrant.
-
getSubjectObjectTypePrivilegeGrantByBusinessKey
public static SubjectObjectTypePrivilegeGrant getSubjectObjectTypePrivilegeGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectObjectTypePrivilegeGrant
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SubjectObjectTypePrivilegeGrant.
-
getSubjectRoleGrantByBusinessKey
public static SubjectRoleGrant getSubjectRoleGrantByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubjectRoleGrant
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SubjectRoleGrant.
-
getSubmitFrameByBusinessKey
public static SubmitFrame getSubmitFrameByBusinessKey(SchedulerSession session, String key)
Query an instance ofSubmitFrame
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type SubmitFrame.
-
getTableByBusinessKey
public static Table getTableByBusinessKey(SchedulerSession session, String key)
Query an instance ofTable
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Table.
-
getTableDefinitionByBusinessKey
public static TableDefinition getTableDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofTableDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type TableDefinition.
-
getTableDefinitionConstraintByBusinessKey
public static TableDefinitionConstraint getTableDefinitionConstraintByBusinessKey(SchedulerSession session, String key)
Query an instance ofTableDefinitionConstraint
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type TableDefinitionConstraint.
-
getTableDefinitionConstraintParameterMappingByBusinessKey
public static TableDefinitionConstraintParameterMapping getTableDefinitionConstraintParameterMappingByBusinessKey(SchedulerSession session, String key)
Query an instance ofTableDefinitionConstraintParameterMapping
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type TableDefinitionConstraintParameterMapping.
-
getTimeWindowByBusinessKey
public static TimeWindow getTimeWindowByBusinessKey(SchedulerSession session, String key)
Query an instance ofTimeWindow
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type TimeWindow.
-
getTimeZoneByBusinessKey
public static TimeZone getTimeZoneByBusinessKey(SchedulerSession session, String key)
Query an instance ofTimeZone
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type TimeZone.
-
getTriggerByBusinessKey
public static Trigger getTriggerByBusinessKey(SchedulerSession session, String key)
Query an instance ofTrigger
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type Trigger.
-
getUserMessageDefinitionByBusinessKey
public static UserMessageDefinition getUserMessageDefinitionByBusinessKey(SchedulerSession session, String key)
Query an instance ofUserMessageDefinition
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type UserMessageDefinition.
-
getVisualizationAlertByBusinessKey
public static VisualizationAlert getVisualizationAlertByBusinessKey(SchedulerSession session, String key)
Query an instance ofVisualizationAlert
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type VisualizationAlert.
-
getVisualizationProcessServerQueueByBusinessKey
public static VisualizationProcessServerQueue getVisualizationProcessServerQueueByBusinessKey(SchedulerSession session, String key)
Query an instance ofVisualizationProcessServerQueue
, based on its business key.- Parameters:
key
- the business key of the object to locate.session
- the session to use.- Returns:
- the object that matches the given business key.
- Throws:
IllegalArgumentException
- This exception is thrown if the business key does not represent an object of type VisualizationProcessServerQueue.
-
-