Package com.redwood.scheduler.api.model
Interface SAPCalendar
-
- All Superinterfaces:
BusinessKeyObject
,Detail
,Readable
,SchedulerEntity
,SchedulerEntityComp
public interface SAPCalendar extends Detail, BusinessKeyObject, Readable
SAP calendars.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "SAPCalendar" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<SAPCalendar>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.static com.redwood.scheduler.infrastructure.logging.Versions
VERSION_SAPCALENDAR
-
Fields inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
COPYRIGHT_MESSAGE_BKO, ID_BKO
-
Fields inherited from interface com.redwood.scheduler.api.model.Detail
VERSION_DETAIL
-
Fields inherited from interface com.redwood.scheduler.api.model.Readable
COPYRIGHT_MESSAGE_E, ID_E
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM, VERSION_SCHEDULERENTITY
-
Fields inherited from interface com.redwood.scheduler.api.model.compatibility_14.SchedulerEntityComp
VERSION_SCHEDULERENTITYCOMP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Get the value for Description.String
getIdent()
Get the value for Ident.String
getMonth1()
Get the value for Month1.String
getMonth10()
Get the value for Month10.String
getMonth11()
Get the value for Month11.String
getMonth12()
Get the value for Month12.String
getMonth2()
Get the value for Month2.String
getMonth3()
Get the value for Month3.String
getMonth4()
Get the value for Month4.String
getMonth5()
Get the value for Month5.String
getMonth6()
Get the value for Month6.String
getMonth7()
Get the value for Month7.String
getMonth8()
Get the value for Month8.String
getMonth9()
Get the value for Month9.SAPSystem
getSAPSystem()
Get the SAPSystem.String
getType()
Get the value for Type.Long
getYear()
Get the value for Year.void
setDescription(String newDescription)
Set the value for Description.void
setIdent(String newIdent)
Set the value for Ident.void
setMonth1(String newMonth1)
Set the value for Month1.void
setMonth10(String newMonth10)
Set the value for Month10.void
setMonth11(String newMonth11)
Set the value for Month11.void
setMonth12(String newMonth12)
Set the value for Month12.void
setMonth2(String newMonth2)
Set the value for Month2.void
setMonth3(String newMonth3)
Set the value for Month3.void
setMonth4(String newMonth4)
Set the value for Month4.void
setMonth5(String newMonth5)
Set the value for Month5.void
setMonth6(String newMonth6)
Set the value for Month6.void
setMonth7(String newMonth7)
Set the value for Month7.void
setMonth8(String newMonth8)
Set the value for Month8.void
setMonth9(String newMonth9)
Set the value for Month9.void
setType(String newType)
Set the value for Type.void
setYear(Long newYear)
Set the value for Year.-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
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
-
VERSION_SAPCALENDAR
static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_SAPCALENDAR
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "SAPCalendar" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<SAPCalendar> 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
-
getDescription
String getDescription()
Get the value for Description. (The description of this calendar)- Returns:
- the field
- Throws:
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. (Calendar type) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getYear
Long getYear()
Get the value for Year. (Calendar year) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getIdent
String getIdent()
Get the value for Ident. (Calendar name) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth1
String getMonth1()
Get the value for Month1. (Month 1 (January)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth2
String getMonth2()
Get the value for Month2. (Month 2 (February)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth3
String getMonth3()
Get the value for Month3. (Month 3 (March)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth4
String getMonth4()
Get the value for Month4. (Month 4 (April)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth5
String getMonth5()
Get the value for Month5. (Month 5 (May)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth6
String getMonth6()
Get the value for Month6. (Month 6 (June)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth7
String getMonth7()
Get the value for Month7. (Month 7 (July)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth8
String getMonth8()
Get the value for Month8. (Month 8 (August)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth9
String getMonth9()
Get the value for Month9. (Month 9 (September)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth10
String getMonth10()
Get the value for Month10. (Month 10 (October)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth11
String getMonth11()
Get the value for Month11. (Month 11 (November)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMonth12
String getMonth12()
Get the value for Month12. (Month 12 (December)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDescription
void setDescription(String newDescription)
Set the value for Description. (The description of this calendar) This value is optional.- Parameters:
newDescription
- the new value for Description.- Throws:
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. (Calendar type) This value is mandatory.- Parameters:
newType
- the new value for Type. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setYear
void setYear(Long newYear)
Set the value for Year. (Calendar year) This value is mandatory.- Parameters:
newYear
- the new value for Year. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setIdent
void setIdent(String newIdent)
Set the value for Ident. (Calendar name) This value is mandatory.- Parameters:
newIdent
- the new value for Ident. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth1
void setMonth1(String newMonth1)
Set the value for Month1. (Month 1 (January)) This value is mandatory.- Parameters:
newMonth1
- the new value for Month1. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth2
void setMonth2(String newMonth2)
Set the value for Month2. (Month 2 (February)) This value is mandatory.- Parameters:
newMonth2
- the new value for Month2. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth3
void setMonth3(String newMonth3)
Set the value for Month3. (Month 3 (March)) This value is mandatory.- Parameters:
newMonth3
- the new value for Month3. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth4
void setMonth4(String newMonth4)
Set the value for Month4. (Month 4 (April)) This value is mandatory.- Parameters:
newMonth4
- the new value for Month4. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth5
void setMonth5(String newMonth5)
Set the value for Month5. (Month 5 (May)) This value is mandatory.- Parameters:
newMonth5
- the new value for Month5. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth6
void setMonth6(String newMonth6)
Set the value for Month6. (Month 6 (June)) This value is mandatory.- Parameters:
newMonth6
- the new value for Month6. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth7
void setMonth7(String newMonth7)
Set the value for Month7. (Month 7 (July)) This value is mandatory.- Parameters:
newMonth7
- the new value for Month7. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth8
void setMonth8(String newMonth8)
Set the value for Month8. (Month 8 (August)) This value is mandatory.- Parameters:
newMonth8
- the new value for Month8. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth9
void setMonth9(String newMonth9)
Set the value for Month9. (Month 9 (September)) This value is mandatory.- Parameters:
newMonth9
- the new value for Month9. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth10
void setMonth10(String newMonth10)
Set the value for Month10. (Month 10 (October)) This value is mandatory.- Parameters:
newMonth10
- the new value for Month10. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth11
void setMonth11(String newMonth11)
Set the value for Month11. (Month 11 (November)) This value is mandatory.- Parameters:
newMonth11
- the new value for Month11. If this isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMonth12
void setMonth12(String newMonth12)
Set the value for Month12. (Month 12 (December)) This value is mandatory.- Parameters:
newMonth12
- the new value for Month12. If this isnull
, then the object cannot be persisted.- Throws:
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:
ObjectDeletedException
- If this method is called when the object has been marked for deletion.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
-