Interface ProcessMonitor

    • Method Detail

      • getInstance

        String getInstance()
        Get the value for Instance. (The instance id of the ProcessMonitor) This value is mandatory, and therefore will not be null if 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.
      • setInstance

        void setInstance​(String newInstance)
        Set the value for Instance. (The instance id of the ProcessMonitor) This value is mandatory.
        Parameters:
        newInstance - the new value for Instance. If this is null, 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.
      • getMaxDisplayOrder

        Long getMaxDisplayOrder()
                         throws com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
        Get all the maximum display order of the process monitor items.
        Returns:
        An maxium display order
        Throws:
        com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException - Unable to persist.
      • getItemCount

        Long getItemCount()
                   throws com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
        Get total number of Process Monitor Items.
        Returns:
        The count of the items
        Throws:
        com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException - Unable to persist.
      • getProcessMonitorItemByName

        ProcessMonitorItem getProcessMonitorItemByName​(String name)
        Get the ProcessMonitorItem by UniqueProcessMonitorItem.
        Parameters:
        name -
        Returns:
        the ProcessMonitorItem, 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.