Class: BulkStatus

(abstract) BulkStatus()

Shows the bulk actions status

Extends

  • Component

Members

bulkStatusUrl :String

Uri to send the bulk status fetch request.
Type:
  • String
Source:

intervalSpeed :Number

The interval (in milliseconds) on how often we will check if there are bulk actions in progress.
Type:
  • Number
Source:

portletNamespace :string

Portlet's namespace
Type:
  • string
Source:

waitingTime :Number

The time (in milliseconds) we have to wait to show the component.
Type:
  • Number
Source:

Methods

(protected) _clearInterval()

Clears the interval to stop sending ajax requests.
Source:

(protected) _clearTimeout()

Clears the timeout that shows the component.
Source:

(protected) _getBulkStatus()

Sends a request to get the status of bulk actions.
Source:

(protected) _onBulkFinish()

Stops sending ajax request and hides the component.
Source:

(protected) _showNotification(error)

Shows a toast notification.
Parameters:
Name Type Description
error boolean Flag indicating if is an error or not
Source:

attached()

Source:

startWatch()

Watch the status of bulk actions. It shows the component if it takes longer than 'waitingTime'.
Source: