Interface MonitorAlertSource

    • Method Detail

      • getLinkableMonitor

        LinkableMonitor getLinkableMonitor()
        Get the LinkableMonitor.
        Returns:
        LinkableMonitor
        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.
      • setLinkableMonitor

        void setLinkableMonitor​(LinkableMonitor newLinkableMonitor)
        Set the value for LinkableMonitor. This value is mandatory.
        Parameters:
        newLinkableMonitor - is the object to set LinkableMonitor to. LinkableMonitor that corresponds to the MonitorAlertSource If this is null, then the object cannot be persisted.
      • getMonitorAlertSourceRuleByProcessingOrder

        MonitorAlertSourceRule getMonitorAlertSourceRuleByProcessingOrder​(Long processingOrder)
        Get the MonitorAlertSourceRule by ProcessingOrder.
        Parameters:
        processingOrder -
        Returns:
        the MonitorAlertSourceRule, or null if it could not be found
      • checkCreatePrivilege

        RequiredPermission checkCreatePrivilege()
        Check whether or not the create action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
      • checkViewPrivilege

        RequiredPermission checkViewPrivilege()
        Check whether or not the view action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
      • checkEditPrivilege

        RequiredPermission checkEditPrivilege()
        Check whether or not the edit action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
      • checkDeletePrivilege

        RequiredPermission checkDeletePrivilege()
        Check whether or not the delete action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.