Package com.redwood.scheduler.api.model
Interface SAPExternalCommand
-
- All Superinterfaces:
BusinessKeyObject,Detail,NamedDetailObject,Readable,SchedulerEntity,SchedulerEntityComp
public interface SAPExternalCommand extends NamedDetailObject, BusinessKeyObject, Readable
External Command details.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SAPExternalCommand" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<SAPExternalCommand>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 StringgetAdditionalParameters()Get the value for AdditionalParameters.StringgetCheckAll()Get the value for CheckAll.StringgetIsSapCommand()Get the value for IsSapCommand.StringgetOsType()Get the value for OsType.StringgetParameters()Get the value for Parameters.StringgetProgram()Get the value for Program.StringgetSAPLanguage()Get the value for SAPLanguage.StringgetSapPermition()Get the value for SapPermition.SAPSystemgetSAPSystem()Get the SAPSystem.StringgetTraceOn()Get the value for TraceOn.voidsetAdditionalParameters(String newAdditionalParameters)Set the value for AdditionalParameters.voidsetCheckAll(String newCheckAll)Set the value for CheckAll.voidsetIsSapCommand(String newIsSapCommand)Set the value for IsSapCommand.voidsetOsType(String newOsType)Set the value for OsType.voidsetParameters(String newParameters)Set the value for Parameters.voidsetProgram(String newProgram)Set the value for Program.voidsetSAPLanguage(String newSAPLanguage)Set the value for SAPLanguage.voidsetSapPermition(String newSapPermition)Set the value for SapPermition.voidsetTraceOn(String newTraceOn)Set the value for TraceOn.-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.NamedDetailObject
getComment, getDescription, getName, getSearchName, setComment, setDescription, setName
-
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 "SAPExternalCommand" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SAPExternalCommand> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
getSAPLanguage
String 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.
-
getOsType
String getOsType()
Get the value for OsType. (OS type.) 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.
-
getProgram
String getProgram()
Get the value for Program. (Name of external program (possibly with access path)) 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.
-
getParameters
String getParameters()
Get the value for Parameters. (Parameters of the command.)- 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.
-
getAdditionalParameters
String getAdditionalParameters()
Get the value for AdditionalParameters. (Additional parameters allowed in logical command.)- 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.
-
getIsSapCommand
String getIsSapCommand()
Get the value for IsSapCommand. (Type of a logical command ('X' means provided by SAP).)- 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.
-
getSapPermition
String getSapPermition()
Get the value for SapPermition. (Execute permission for logical commands.)- 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.
-
getTraceOn
String getTraceOn()
Get the value for TraceOn. (Automatic trace for logical commands.)- 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.
-
getCheckAll
String getCheckAll()
Get the value for CheckAll. (Function module to check a logical command.)- 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.
-
setSAPLanguage
void setSAPLanguage(String newSAPLanguage)
Set the value for SAPLanguage. (SAP language.) This value is mandatory.- Parameters:
newSAPLanguage- the new value for SAPLanguage. 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.
-
setOsType
void setOsType(String newOsType)
Set the value for OsType. (OS type.) This value is mandatory.- Parameters:
newOsType- the new value for OsType. 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.
-
setProgram
void setProgram(String newProgram)
Set the value for Program. (Name of external program (possibly with access path)) This value is mandatory.- Parameters:
newProgram- the new value for Program. 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.
-
setParameters
void setParameters(String newParameters)
Set the value for Parameters. (Parameters of the command.) This value is optional.- Parameters:
newParameters- the new value for Parameters.- 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.
-
setAdditionalParameters
void setAdditionalParameters(String newAdditionalParameters)
Set the value for AdditionalParameters. (Additional parameters allowed in logical command.) This value is optional.- Parameters:
newAdditionalParameters- the new value for AdditionalParameters.- 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.
-
setIsSapCommand
void setIsSapCommand(String newIsSapCommand)
Set the value for IsSapCommand. (Type of a logical command ('X' means provided by SAP).) This value is optional.- Parameters:
newIsSapCommand- the new value for IsSapCommand.- 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.
-
setSapPermition
void setSapPermition(String newSapPermition)
Set the value for SapPermition. (Execute permission for logical commands.) This value is optional.- Parameters:
newSapPermition- the new value for SapPermition.- 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.
-
setTraceOn
void setTraceOn(String newTraceOn)
Set the value for TraceOn. (Automatic trace for logical commands.) This value is optional.- Parameters:
newTraceOn- the new value for TraceOn.- 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.
-
setCheckAll
void setCheckAll(String newCheckAll)
Set the value for CheckAll. (Function module to check a logical command.) This value is optional.- Parameters:
newCheckAll- the new value for CheckAll.- 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.
-
getSAPSystem
SAPSystem getSAPSystem()
Get the SAPSystem.- Returns:
- SAPSystem
- 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.
-
-