public interface

WebScheduledMaintenances

com.microstrategy.web.objects.WebScheduledMaintenances
Known Indirect Subclasses

Class Overview

This interface holds a collection of scheduled maintenance. It provides methods to list all scheduled maintenance, and add new scheduled maintenance to this collection

Summary

Public Methods
abstract WebScheduledMaintenance add(WebScheduledMaintenance schedule)
Create a new ScheduledMaintenance object at the end of this collection.
abstract void clear()
Remove all ScheduledMaintenance objects in this collection.
abstract WebScheduledMaintenance get(int index)
Returns the ScheduledMaintenance in this collection according to the index (0-based).
abstract int size()
Returns the size of this collection.

Public Methods

public abstract WebScheduledMaintenance add (WebScheduledMaintenance schedule)

Create a new ScheduledMaintenance object at the end of this collection.

Returns
  • The newly added ScheduledMaintenance object.

public abstract void clear ()

Remove all ScheduledMaintenance objects in this collection.

public abstract WebScheduledMaintenance get (int index)

Returns the ScheduledMaintenance in this collection according to the index (0-based).

Parameters
index The index of the ScheduledMaintenance object in the collection (0-based).
Returns
  • the ScheduledMaintenance object in this colleciton according to the index.
Throws
IndexOutOfBoundsException Thrown when the index is less than 0 or greater or equals to the size of the collection.

public abstract int size ()

Returns the size of this collection.

Returns
  • The size of this collection.