Package com.redwood.scheduler.api.model
Interface SAPCommonSettings
- 
- All Superinterfaces:
- Detail,- SAPUsernamePassword,- SchedulerEntity,- SchedulerEntityComp
 - All Known Subinterfaces:
- SAPBAEConfiguration,- SAPXAL,- SAPXBP,- SAPXMW
 
 public interface SAPCommonSettings extends SAPUsernamePassword Common settings for various SAP interfaces.
- 
- 
Field Summary- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcheckConnectionSettings()Check the client number, username and password attributes for validity.LonggetAuditLevel()Get the value for AuditLevel.StringgetClientNumber()Get the value for ClientNumber.StringgetDescription()Get the value for Description.StringgetInterfaceVersion()Get the value for InterfaceVersion.LonggetMaximumNumberOfRFCConnections()Get the value for MaximumNumberOfRFCConnections.StringgetSAPLanguage()Get the value for SAPLanguage.booleanisEnabled()Get the value for Enabled.booleanisSNCConnection()Check if the connection is using SNC.voidsetAuditLevel(Long newAuditLevel)Set the value for AuditLevel.voidsetClientNumber(String newClientNumber)Set the value for ClientNumber.voidsetDescription(String newDescription)Set the value for Description.voidsetEnabled(boolean newEnabled)Set the value for Enabled.voidsetInterfaceVersion(String newInterfaceVersion)Set the value for InterfaceVersion.voidsetMaximumNumberOfRFCConnections(Long newMaximumNumberOfRFCConnections)Set the value for MaximumNumberOfRFCConnections.voidsetSAPLanguage(String newSAPLanguage)Set the value for SAPLanguage.- 
Methods inherited from interface com.redwood.scheduler.api.model.SAPUsernamePasswordgetPassword, getUsername, setPassword, setUsername
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
 
- 
 
- 
- 
- 
Method Detail- 
isEnabledboolean isEnabled() Get the value for Enabled. (Whether this client definition is active or not.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getAuditLevelLong getAuditLevel() Get the value for AuditLevel. (Audit level of SAP interface.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getClientNumberString getClientNumber() Get the value for ClientNumber. (Client number for SAP interface.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDescriptionString getDescription() Get the value for Description. (The description of this step)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getInterfaceVersionString getInterfaceVersion() Get the value for InterfaceVersion. (SAP interface version.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSAPLanguageString getSAPLanguage() Get the value for SAPLanguage. (SAP language.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getMaximumNumberOfRFCConnectionsLong getMaximumNumberOfRFCConnections() Get the value for MaximumNumberOfRFCConnections. (Maximum number of RFC connections.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setEnabledvoid setEnabled(boolean newEnabled) Set the value for Enabled. (Whether this client definition is active or not.)- Parameters:
- newEnabled- the new value for Enabled.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setAuditLevelvoid setAuditLevel(Long newAuditLevel) Set the value for AuditLevel. (Audit level of SAP interface.) This value is mandatory.- Parameters:
- newAuditLevel- the new value for AuditLevel. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setClientNumbervoid setClientNumber(String newClientNumber) Set the value for ClientNumber. (Client number for SAP interface.) This value is mandatory.- Parameters:
- newClientNumber- the new value for ClientNumber. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDescriptionvoid setDescription(String newDescription) Set the value for Description. (The description of this step) This value is optional.- Parameters:
- newDescription- the new value for Description.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setInterfaceVersionvoid setInterfaceVersion(String newInterfaceVersion) Set the value for InterfaceVersion. (SAP interface version.) This value is optional.- Parameters:
- newInterfaceVersion- the new value for InterfaceVersion.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setSAPLanguagevoid setSAPLanguage(String newSAPLanguage) Set the value for SAPLanguage. (SAP language.) This value is mandatory.- Parameters:
- newSAPLanguage- the new value for SAPLanguage. If this is- null, then the object cannot be persisted.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setMaximumNumberOfRFCConnectionsvoid setMaximumNumberOfRFCConnections(Long newMaximumNumberOfRFCConnections) Set the value for MaximumNumberOfRFCConnections. (Maximum number of RFC connections.) This value is optional.- Parameters:
- newMaximumNumberOfRFCConnections- the new value for MaximumNumberOfRFCConnections.
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
checkConnectionSettingsString checkConnectionSettings() Check the client number, username and password attributes for validity.- Returns:
- Return null when client number, username and password are valid, error message otherwise.
 
 - 
isSNCConnectionboolean isSNCConnection() Check if the connection is using SNC.- Returns:
- trueif the connection is using SNC,- falseotherwise
 
 
- 
 
-