Interface SAPBatchEvent

    • Method Detail

      • isSystemEvent

        boolean isSystemEvent()
        Get the value for SystemEvent. (Event type)
        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.
      • getSAPChangeUser

        String getSAPChangeUser()
        Get the value for SAPChangeUser. (User that has created or changed the event)
        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.
      • getLastSAPModificationTime

        DateTimeZone getLastSAPModificationTime()
        Get the value for LastSAPModificationTime. (The modification date and time of the batch event.)
        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.
      • setSystemEvent

        void setSystemEvent​(boolean newSystemEvent)
        Set the value for SystemEvent. (Event type)
        Parameters:
        newSystemEvent - the new value for SystemEvent.
        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.
      • setSAPChangeUser

        void setSAPChangeUser​(String newSAPChangeUser)
        Set the value for SAPChangeUser. (User that has created or changed the event) This value is optional.
        Parameters:
        newSAPChangeUser - the new value for SAPChangeUser.
        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.
      • setLastSAPModificationTime

        void setLastSAPModificationTime​(DateTimeZone newLastSAPModificationTime)
        Set the value for LastSAPModificationTime. (The modification date and time of the batch event.) This value is optional.
        Parameters:
        newLastSAPModificationTime - the new value for LastSAPModificationTime.
        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.