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 Summary
Fields 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.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All 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.ApplicationObject
getParentApplication, setParentApplication
-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObject
createObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObject
createObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
-
Methods inherited from interface com.redwood.scheduler.api.model.Root
getCreationTime, getLastModificationTime, getLastModifierSubject
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, 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_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()for "SAPBAEConnector" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SAPBAEConnector> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
-
SEC_PRIV_CREATE
static final String SEC_PRIV_CREATE
This privilege can be granted at a group level.- See Also:
- Constant Field Values
-
SEC_PRIV_VIEW
static 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_CONTROL
static 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_EDIT
static 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_DELETE
static 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_BUSINESSAUTOMATIONAPI
static final String SEC_PRIV_BUSINESSAUTOMATIONAPI
This privilege can be granted at an instance level.- See Also:
- Constant Field Values
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_CREATE
static final String SEC_RANK_CREATE
This rank is made of the following privileges: create- See Also:
- Constant Field Values
-
SEC_RANK_VIEW
static final String SEC_RANK_VIEW
This rank is made of the following privileges: view- See Also:
- Constant Field Values
-
SEC_RANK_ADMINISTRATOR
static final String SEC_RANK_ADMINISTRATOR
This rank is made of the following privileges: view , control- See Also:
- Constant Field Values
-
SEC_RANK_EDIT
static final String SEC_RANK_EDIT
This rank is made of the following privileges: create , view , control , edit- See Also:
- Constant Field Values
-
SEC_RANK_DELETE
static final String SEC_RANK_DELETE
This rank is made of the following privileges: create , view , control , delete- See Also:
- Constant Field Values
-
SEC_RANK_BUSINESSAUTOMATIONUSER
static final String SEC_RANK_BUSINESSAUTOMATIONUSER
This rank is made of the following privileges: view , businessAutomationAPI- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static 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
-
getConnectString
String 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.
-
getStatus
ProcessServerStatus 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.
-
isStartOnStartup
boolean 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.
-
setConnectString
void 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 isnull, 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.
-
setStartOnStartup
void 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.
-
checkConnectString
String[] 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.
-
start
void start()
Start the BAE connector.
-
stop
void stop()
Stop the BAE connector normally.
-
getMonitorRootPath
String 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
-
isSNCConnection
boolean isSNCConnection()
Check if the connection is using SNC.- Returns:
trueif the connection is using SNC,falseotherwise
-
getSAPSystemTimeZone
TimeZone 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.
-
setSAPSystemTimeZone
void 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 isnull, then the object cannot be persisted.
-
getSAPNWCallbackVariants
RWIterable<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 interfaceSAPBAEConnectorComp- Returns:
- An
RWIterableover an ordered collection ofSAPNWCallbackVariantobjects .
-
createSAPNWCallbackVariant
SAPNWCallbackVariant createSAPNWCallbackVariant()
Create a newSAPNWCallbackVariantlinked to this object.- Returns:
- a new
SAPNWCallbackVariant.
-
getSAPNWCallbackVariantByName
SAPNWCallbackVariant getSAPNWCallbackVariantByName(String name)
Get the SAPNWCallbackVariant by NameSAPSystem.- Parameters:
name-- Returns:
- the SAPNWCallbackVariant, or
nullif it could not be found
-
getSAPNWCallbackVariantBySearchName
SAPNWCallbackVariant getSAPNWCallbackVariantBySearchName(String searchName)
Get the SAPNWCallbackVariant by SearchNameSAPSystem.- Parameters:
searchName-- Returns:
- the SAPNWCallbackVariant, or
nullif it could not be found
-
getSAPBAEConfiguration
SAPBAEConfiguration 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.
-
createSAPBAEConfiguration
SAPBAEConfiguration createSAPBAEConfiguration()
Create a newSAPBAEConfigurationlinked to this object.- Returns:
- a new
SAPBAEConfiguration.
-
checkCreatePrivilege
RequiredPermission 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.
-
checkViewPrivilege
RequiredPermission 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.
-
checkControlPrivilege
RequiredPermission 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.
-
checkEditPrivilege
RequiredPermission 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.
-
checkDeletePrivilege
RequiredPermission 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.
-
checkBusinessAutomationAPIPrivilege
RequiredPermission 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.
-
-