Package com.redwood.scheduler.api.model
Interface SAPAbapVariant
-
- All Superinterfaces:
BusinessKeyObject,Detail,NamedDetailObject,Readable,SAPAbapVariantComp,SchedulerEntity,SchedulerEntityComp
public interface SAPAbapVariant extends SAPAbapVariantComp, NamedDetailObject, BusinessKeyObject, Readable
ABAP variant details.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "SAPAbapVariant" 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<SAPAbapVariant>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 SAPAbapVariantParametercreateSAPAbapVariantParameter()Create a newSAPAbapVariantParameterlinked to this object.SAPAbapVariantParameterValuecreateSAPAbapVariantParameterValue()Create a newSAPAbapVariantParameterValuelinked to this object.SAPAbapVariantSeloptcreateSAPAbapVariantSelopt()Create a newSAPAbapVariantSeloptlinked to this object.StringgetClientNumber()Get the value for ClientNumber.SAPAbapProgramgetSAPAbapProgram()Get the SAPAbapProgram.RWIterable<SAPAbapVariantParameter>getSAPAbapVariantParameters()Get anRWIterableover an ordered collection ofSAPAbapVariantParameters.SAPAbapVariantParameterValuegetSAPAbapVariantParameterValueByName(String name)Get the SAPAbapVariantParameterValue by NameSAPAbapVariantParameterValue.RWIterable<SAPAbapVariantParameterValue>getSAPAbapVariantParameterValues()Get anRWIterableover an ordered collection ofSAPAbapVariantParameterValues.SAPAbapVariantSeloptgetSAPAbapVariantSeloptByName(String name)Get the SAPAbapVariantSelopt by NameSAPAbapVariantSelopt.RWIterable<SAPAbapVariantSelopt>getSAPAbapVariantSelopts()Get anRWIterableover an ordered collection ofSAPAbapVariantSelopts.StringgetSAPLanguage()Get the value for SAPLanguage.booleanisBackgroundOnly()Get the value for BackgroundOnly.booleanisProtected()Get the value for Protected.booleanisSystem()Get the value for System.voidsetBackgroundOnly(boolean newBackgroundOnly)Set the value for BackgroundOnly.voidsetClientNumber(String newClientNumber)Set the value for ClientNumber.voidsetProtected(boolean newProtected)Set the value for Protected.voidsetSAPLanguage(String newSAPLanguage)Set the value for SAPLanguage.voidsetSystem(boolean newSystem)Set the value for System.-
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 "SAPAbapVariant" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SAPAbapVariant> 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
-
getClientNumber
String getClientNumber()
Get the value for ClientNumber. (Client number.) 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.
-
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.
-
isProtected
boolean isProtected()
Get the value for Protected. (Indicates if this variant is protected.)- 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.
-
isBackgroundOnly
boolean isBackgroundOnly()
Get the value for BackgroundOnly. (Indicates if this variant can be used in background processing only.)- 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.
-
isSystem
boolean isSystem()
Get the value for System. (Indicates if this is a system variant.)- 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.
-
setClientNumber
void setClientNumber(String newClientNumber)
Set the value for ClientNumber. (Client number.) This value is mandatory.- Parameters:
newClientNumber- the new value for ClientNumber. 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.
-
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.
-
setProtected
void setProtected(boolean newProtected)
Set the value for Protected. (Indicates if this variant is protected.)- 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.
-
setBackgroundOnly
void setBackgroundOnly(boolean newBackgroundOnly)
Set the value for BackgroundOnly. (Indicates if this variant can be used in background processing only.)- Parameters:
newBackgroundOnly- the new value for BackgroundOnly.- 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.
-
setSystem
void setSystem(boolean newSystem)
Set the value for System. (Indicates if this is a system variant.)- Parameters:
newSystem- the new value for System.- 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.
-
getSAPAbapVariantParameters
RWIterable<SAPAbapVariantParameter> getSAPAbapVariantParameters()
Get anRWIterableover an ordered collection ofSAPAbapVariantParameters. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Variants of the ABAP programs imported from the SAP system.- Specified by:
getSAPAbapVariantParametersin interfaceSAPAbapVariantComp- Returns:
- An
RWIterableover an ordered collection ofSAPAbapVariantParameterobjects .
-
createSAPAbapVariantParameter
SAPAbapVariantParameter createSAPAbapVariantParameter()
Create a newSAPAbapVariantParameterlinked to this object.- Returns:
- a new
SAPAbapVariantParameter.
-
getSAPAbapVariantParameterValues
RWIterable<SAPAbapVariantParameterValue> getSAPAbapVariantParameterValues()
Get anRWIterableover an ordered collection ofSAPAbapVariantParameterValues. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Variant parameter values of the ABAP program variant imported from the SAP system.- Specified by:
getSAPAbapVariantParameterValuesin interfaceSAPAbapVariantComp- Returns:
- An
RWIterableover an ordered collection ofSAPAbapVariantParameterValueobjects .
-
createSAPAbapVariantParameterValue
SAPAbapVariantParameterValue createSAPAbapVariantParameterValue()
Create a newSAPAbapVariantParameterValuelinked to this object.- Returns:
- a new
SAPAbapVariantParameterValue.
-
getSAPAbapVariantParameterValueByName
SAPAbapVariantParameterValue getSAPAbapVariantParameterValueByName(String name)
Get the SAPAbapVariantParameterValue by NameSAPAbapVariantParameterValue.- Parameters:
name-- Returns:
- the SAPAbapVariantParameterValue, or
nullif it could not be found
-
getSAPAbapVariantSelopts
RWIterable<SAPAbapVariantSelopt> getSAPAbapVariantSelopts()
Get anRWIterableover an ordered collection ofSAPAbapVariantSelopts. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Variant select option values of the ABAP program variant imported from the SAP system.- Specified by:
getSAPAbapVariantSeloptsin interfaceSAPAbapVariantComp- Returns:
- An
RWIterableover an ordered collection ofSAPAbapVariantSeloptobjects .
-
createSAPAbapVariantSelopt
SAPAbapVariantSelopt createSAPAbapVariantSelopt()
Create a newSAPAbapVariantSeloptlinked to this object.- Returns:
- a new
SAPAbapVariantSelopt.
-
getSAPAbapVariantSeloptByName
SAPAbapVariantSelopt getSAPAbapVariantSeloptByName(String name)
Get the SAPAbapVariantSelopt by NameSAPAbapVariantSelopt.- Parameters:
name-- Returns:
- the SAPAbapVariantSelopt, or
nullif it could not be found
-
-