Package com.redwood.scheduler.api.model
Interface SAPAbapProgramParameter
-
- All Superinterfaces:
Detail,NamedDetailObject,Readable,SchedulerEntity,SchedulerEntityComp
public interface SAPAbapProgramParameter extends NamedDetailObject, Readable
ABAP program parameter.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SAPAbapProgramParameter" 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<SAPAbapProgramParameter>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 StringgetDbField()Get the value for DbField.StringgetDefaultValue()Get the value for DefaultValue.StringgetGroupId()Get the value for GroupId.SAPAbapProgramParameterKindgetKind()Get the value for Kind.LonggetLength()Get the value for Length.LonggetPosition()Get the value for Position.SAPAbapProgramgetSAPAbapProgram()Get the SAPAbapProgram.SAPAbapProgramParameterTypegetSapType()Get the value for SapType.StringgetType()Get the value for Type.booleanisHidden()Get the value for Hidden.booleanisProtected()Get the value for Protected.booleanisRequired()Get the value for Required.voidsetDbField(String newDbField)Set the value for DbField.voidsetDefaultValue(String newDefaultValue)Set the value for DefaultValue.voidsetGroupId(String newGroupId)Set the value for GroupId.voidsetHidden(boolean newHidden)Set the value for Hidden.voidsetKind(SAPAbapProgramParameterKind newKind)Set the value for Kind.voidsetLength(Long newLength)Set the value for Length.voidsetPosition(Long newPosition)Set the value for Position.voidsetProtected(boolean newProtected)Set the value for Protected.voidsetRequired(boolean newRequired)Set the value for Required.voidsetSapType(SAPAbapProgramParameterType newSapType)Set the value for SapType.voidsetType(String newType)Set the value for Type.-
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 "SAPAbapProgramParameter" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SAPAbapProgramParameter> 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
-
getPosition
Long getPosition()
Get the value for Position. (Position.) 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.
-
getKind
SAPAbapProgramParameterKind getKind()
Get the value for Kind. (Kind of parameter.) 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.
-
getLength
Long getLength()
Get the value for Length. (Length.) 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.
-
getType
String getType()
Get the value for Type. (Data 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.
-
getSapType
SAPAbapProgramParameterType getSapType()
Get the value for SapType. (SAP data 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.
-
getDefaultValue
String getDefaultValue()
Get the value for DefaultValue. (Low value of the parameter)- 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.
-
isProtected
boolean isProtected()
Get the value for Protected. (Indicates if this is a protected parameter.)- 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.
-
isHidden
boolean isHidden()
Get the value for Hidden. (Indicates if this is a hidden parameter.)- 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.
-
isRequired
boolean isRequired()
Get the value for Required. (Indicates if this is a mandatory parameter.)- 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.
-
getGroupId
String getGroupId()
Get the value for GroupId. (Group id of the parameter)- 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.
-
getDbField
String getDbField()
Get the value for DbField. (Database reference for the parameter)- 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.
-
setPosition
void setPosition(Long newPosition)
Set the value for Position. (Position.) This value is mandatory.- Parameters:
newPosition- the new value for Position. 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.
-
setKind
void setKind(SAPAbapProgramParameterKind newKind)
Set the value for Kind. (Kind of parameter.) This value is mandatory.- Parameters:
newKind- the new value for Kind. 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.
-
setLength
void setLength(Long newLength)
Set the value for Length. (Length.) This value is mandatory.- Parameters:
newLength- the new value for Length. 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.
-
setType
void setType(String newType)
Set the value for Type. (Data type.) This value is mandatory.- Parameters:
newType- the new value for Type. 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.
-
setSapType
void setSapType(SAPAbapProgramParameterType newSapType)
Set the value for SapType. (SAP data type.) This value is mandatory.- Parameters:
newSapType- the new value for SapType. 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.
-
setDefaultValue
void setDefaultValue(String newDefaultValue)
Set the value for DefaultValue. (Low value of the parameter) This value is optional.- Parameters:
newDefaultValue- the new value for DefaultValue.- 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.
-
setProtected
void setProtected(boolean newProtected)
Set the value for Protected. (Indicates if this is a protected parameter.)- Parameters:
newProtected- the new value for Protected.- 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.
-
setHidden
void setHidden(boolean newHidden)
Set the value for Hidden. (Indicates if this is a hidden parameter.)- Parameters:
newHidden- the new value for Hidden.- 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.
-
setRequired
void setRequired(boolean newRequired)
Set the value for Required. (Indicates if this is a mandatory parameter.)- Parameters:
newRequired- the new value for Required.- 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.
-
setGroupId
void setGroupId(String newGroupId)
Set the value for GroupId. (Group id of the parameter) This value is optional.- Parameters:
newGroupId- the new value for GroupId.- 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.
-
setDbField
void setDbField(String newDbField)
Set the value for DbField. (Database reference for the parameter) This value is optional.- Parameters:
newDbField- the new value for DbField.- 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.
-
getSAPAbapProgram
SAPAbapProgram getSAPAbapProgram()
Get the SAPAbapProgram.- Returns:
- SAPAbapProgram
- 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.
-
-