Package com.redwood.scheduler.api.model
Interface SAPBAEConnector
- 
- All Superinterfaces:
- ApplicationObject,- BusinessKeyObject,- NamedRootObject,- NamedRootObjectComp,- PartitionableObject,- PartitionableObjectComp,- Readable,- Root,- SAPBAEConnectorComp,- SchedulerEntity,- SchedulerEntityComp,- UniqueNamedApplicationObject
 
 public interface SAPBAEConnector extends SAPBAEConnectorComp, UniqueNamedApplicationObject, Readable SAP Business Application Enabler connection settings.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SAPBAEConnector" objects.static StringSEC_PRIV_BUSINESSAUTOMATIONAPIThis privilege can be granted at an instance level.static StringSEC_PRIV_CONTROLThis privilege can be granted at a group level.static StringSEC_PRIV_CREATEThis privilege can be granted at a group level.static StringSEC_PRIV_DELETEThis privilege can be granted at a group level.static StringSEC_PRIV_EDITThis privilege can be granted at a group level.static StringSEC_PRIV_VIEWThis privilege can be granted at a group level.static StringSEC_RANK_ADMINISTRATORThis rank is made of the following privileges: view , controlstatic StringSEC_RANK_ALLThis rank is made of the following privileges: create , view , control , edit , delete , businessAutomationAPIstatic StringSEC_RANK_BUSINESSAUTOMATIONUSERThis rank is made of the following privileges: view , businessAutomationAPIstatic StringSEC_RANK_CREATEThis rank is made of the following privileges: createstatic StringSEC_RANK_DELETEThis rank is made of the following privileges: create , view , control , deletestatic StringSEC_RANK_EDITThis rank is made of the following privileges: create , view , control , editstatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSEC_RANK_VIEWThis rank is made of the following privileges: viewstatic QueryObjectType<SAPBAEConnector>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
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 RequiredPermissioncheckBusinessAutomationAPIPrivilege()Check whether or not the businessAutomationAPI action can be performed on this object.String[]checkConnectString()Check the connection string for validity.RequiredPermissioncheckControlPrivilege()Check whether or not the control action can be performed on this object.RequiredPermissioncheckCreatePrivilege()Check whether or not the create action can be performed on this object.RequiredPermissioncheckDeletePrivilege()Check whether or not the delete action can be performed on this object.RequiredPermissioncheckEditPrivilege()Check whether or not the edit action can be performed on this object.RequiredPermissioncheckViewPrivilege()Check whether or not the view action can be performed on this object.SAPBAEConfigurationcreateSAPBAEConfiguration()Create a newSAPBAEConfigurationlinked to this object.SAPNWCallbackVariantcreateSAPNWCallbackVariant()Create a newSAPNWCallbackVariantlinked to this object.StringgetConnectString()Get the value for ConnectString.StringgetMonitorRootPath()Get the root path label to use for the SAP BAE Connector in the monitor tree.SAPBAEConfigurationgetSAPBAEConfiguration()Get the SAPBAEConfiguration.SAPNWCallbackVariantgetSAPNWCallbackVariantByName(String name)Get the SAPNWCallbackVariant by NameSAPSystem.SAPNWCallbackVariantgetSAPNWCallbackVariantBySearchName(String searchName)Get the SAPNWCallbackVariant by SearchNameSAPSystem.RWIterable<SAPNWCallbackVariant>getSAPNWCallbackVariants()Get anRWIterableover an ordered collection ofSAPNWCallbackVariants.TimeZonegetSAPSystemTimeZone()Get the SAPSystemTimeZone.ProcessServerStatusgetStatus()Get the value for Status.booleanisSNCConnection()Check if the connection is using SNC.booleanisStartOnStartup()Get the value for StartOnStartup.voidsetConnectString(String newConnectString)Set the value for ConnectString.voidsetSAPSystemTimeZone(TimeZone newSAPSystemTimeZone)Set the value for SAPSystemTimeZone.voidsetStartOnStartup(boolean newStartOnStartup)Set the value for StartOnStartup.voidstart()Start the BAE connector.voidstop()Stop the BAE connector normally.- 
Methods inherited from interface com.redwood.scheduler.api.model.ApplicationObjectgetParentApplication, setParentApplication
 - 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObjectcreateObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObjectcreateObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
 - 
Methods inherited from interface com.redwood.scheduler.api.model.RootgetCreationTime, getLastModificationTime, getLastModifierSubject
 - 
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
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "SAPBAEConnector" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<SAPBAEConnector> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_PRIV_CREATEstatic final String SEC_PRIV_CREATE This privilege can be granted at a group level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_VIEWstatic final String SEC_PRIV_VIEW This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_CONTROLstatic final String SEC_PRIV_CONTROL This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_EDITstatic final String SEC_PRIV_EDIT This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_DELETEstatic final String SEC_PRIV_DELETE This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_BUSINESSAUTOMATIONAPIstatic final String SEC_PRIV_BUSINESSAUTOMATIONAPI This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_CREATEstatic final String SEC_RANK_CREATE This rank is made of the following privileges: create- See Also:
- Constant Field Values
 
 - 
SEC_RANK_VIEWstatic final String SEC_RANK_VIEW This rank is made of the following privileges: view- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ADMINISTRATORstatic final String SEC_RANK_ADMINISTRATOR This rank is made of the following privileges: view , control- See Also:
- Constant Field Values
 
 - 
SEC_RANK_EDITstatic final String SEC_RANK_EDIT This rank is made of the following privileges: create , view , control , edit- See Also:
- Constant Field Values
 
 - 
SEC_RANK_DELETEstatic final String SEC_RANK_DELETE This rank is made of the following privileges: create , view , control , delete- See Also:
- Constant Field Values
 
 - 
SEC_RANK_BUSINESSAUTOMATIONUSERstatic final String SEC_RANK_BUSINESSAUTOMATIONUSER This rank is made of the following privileges: view , businessAutomationAPI- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges: create , view , control , edit , delete , businessAutomationAPI- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getConnectStringString getConnectString() Get the value for ConnectString. (Connection string for reaching the ABAP stack of this SAP system) 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.
 
 - 
getStatusProcessServerStatus getStatus() Get the value for Status. (The status of the BAE Connector.) 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.
 
 - 
isStartOnStartupboolean isStartOnStartup() Get the value for StartOnStartup. (Start this BAE connector at system startup.)- 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.
 
 - 
setConnectStringvoid setConnectString(String newConnectString) Set the value for ConnectString. (Connection string for reaching the ABAP stack of this SAP system) This value is mandatory.- Parameters:
- newConnectString- the new value for ConnectString. 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.
 
 - 
setStartOnStartupvoid setStartOnStartup(boolean newStartOnStartup) Set the value for StartOnStartup. (Start this BAE connector at system startup.)- Parameters:
- newStartOnStartup- the new value for StartOnStartup.
- 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.
 
 - 
checkConnectStringString[] checkConnectString() Check the connection string for validity.- Returns:
- Return an array with check results. An error is indicated by non-null array element. All elements of the array need to be checked.
 
 - 
startvoid start() Start the BAE connector.
 - 
stopvoid stop() Stop the BAE connector normally.
 - 
getMonitorRootPathString getMonitorRootPath() Get the root path label to use for the SAP BAE Connector in the monitor tree. Depends on the configuration/Monitoring/MonitorRootPath registry key: (a) KeyValue = PartitionColonNonGlobal (default) -> if partition is GLOBAL return SAPBAEConnectorName else return Partition:SAPBAEConnectorName. (b) KeyValue = PartitionColonAlways -> Always return Partition:SAPBAEConnectorName. (c) KeyValue = PartitionPathAlways -> Always return Partition/SAPBAEConnectorName.- Returns:
- The String to use as the root path in the monitor tree
 
 - 
isSNCConnectionboolean isSNCConnection() Check if the connection is using SNC.- Returns:
- trueif the connection is using SNC,- falseotherwise
 
 - 
getSAPSystemTimeZoneTimeZone getSAPSystemTimeZone() Get the SAPSystemTimeZone.- Returns:
- SAPSystemTimeZone
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
setSAPSystemTimeZonevoid setSAPSystemTimeZone(TimeZone newSAPSystemTimeZone) Set the value for SAPSystemTimeZone. This value is mandatory.- Parameters:
- newSAPSystemTimeZone- is the object to set SAPSystemTimeZone to. Which TimeZone will be ascribed to the Jobs DateTimeZone fields by default. If this is- null, then the object cannot be persisted.
 
 - 
getSAPNWCallbackVariantsRWIterable<SAPNWCallbackVariant> getSAPNWCallbackVariants() Get anRWIterableover an ordered collection ofSAPNWCallbackVariants. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. NW callback variants of the SAP system.- Specified by:
- getSAPNWCallbackVariantsin interface- SAPBAEConnectorComp
- Returns:
- An RWIterableover an ordered collection ofSAPNWCallbackVariantobjects .
 
 - 
createSAPNWCallbackVariantSAPNWCallbackVariant createSAPNWCallbackVariant() Create a newSAPNWCallbackVariantlinked to this object.- Returns:
- a new SAPNWCallbackVariant.
 
 - 
getSAPNWCallbackVariantByNameSAPNWCallbackVariant getSAPNWCallbackVariantByName(String name) Get the SAPNWCallbackVariant by NameSAPSystem.- Parameters:
- name-
- Returns:
- the SAPNWCallbackVariant, or nullif it could not be found
 
 - 
getSAPNWCallbackVariantBySearchNameSAPNWCallbackVariant getSAPNWCallbackVariantBySearchName(String searchName) Get the SAPNWCallbackVariant by SearchNameSAPSystem.- Parameters:
- searchName-
- Returns:
- the SAPNWCallbackVariant, or nullif it could not be found
 
 - 
getSAPBAEConfigurationSAPBAEConfiguration getSAPBAEConfiguration() Get the SAPBAEConfiguration. SAP BAE configuration for a SAP BAE connector.- Returns:
- nullSAPBAEConfiguration
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
createSAPBAEConfigurationSAPBAEConfiguration createSAPBAEConfiguration() Create a newSAPBAEConfigurationlinked to this object.- Returns:
- a new SAPBAEConfiguration.
 
 - 
checkCreatePrivilegeRequiredPermission checkCreatePrivilege() Check whether or not the create action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkViewPrivilegeRequiredPermission checkViewPrivilege() Check whether or not the view action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkControlPrivilegeRequiredPermission checkControlPrivilege() Check whether or not the control action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkEditPrivilegeRequiredPermission checkEditPrivilege() Check whether or not the edit action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkDeletePrivilegeRequiredPermission checkDeletePrivilege() Check whether or not the delete action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkBusinessAutomationAPIPrivilegeRequiredPermission checkBusinessAutomationAPIPrivilege() Check whether or not the businessAutomationAPI action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 
- 
 
-