org.rhq.enterprise.server.measurement
Interface MeasurementScheduleManagerRemote

All Known Subinterfaces:
WebservicesRemote

public interface MeasurementScheduleManagerRemote


Method Summary
 void disableMeasurementTemplates(Subject subject, int[] measurementDefinitionIds)
          Deprecated. use {@link #disableSchedulesForResourceType(Subject, int[], boolean)
 void disableSchedulesForCompatibleGroup(Subject subject, int groupId, int[] measurementDefinitionIds)
          Disable the measurement schedules for the passed definitions for the resources of the passed compatible group.
 void disableSchedulesForResource(Subject subject, int resourceId, int[] measurementDefinitionIds)
          Disables all collection schedules attached to the given resource whose schedules are based off the given definitions.
 void disableSchedulesForResourceType(Subject subject, int[] measurementDefinitionIds, boolean updateExistingSchedules)
          Requires MANAGE_SETTINGS global permission.
 void enableMeasurementTemplates(Subject subject, int[] measurementDefinitionIds)
          Deprecated. use {@link #enableSchedulesForResourceType(Subject, int[], boolean)
 void enableSchedulesForCompatibleGroup(Subject subject, int groupId, int[] measurementDefinitionIds)
          Enable the measurement schedules for the passed definitions for the resources of the passed compatible group.
 void enableSchedulesForResource(Subject subject, int resourceId, int[] measurementDefinitionIds)
          Enable the schedules for the provided definitions and resource
 void enableSchedulesForResourceType(Subject subject, int[] measurementDefinitionIds, boolean updateExistingSchedules)
          Requires MANAGE_SETTINGS global permission.
 PageList<MeasurementSchedule> findSchedulesByCriteria(Subject subject, MeasurementScheduleCriteria criteria)
           
 void updateMeasurementTemplates(Subject subject, int[] measurementDefinitionIds, long collectionInterval)
          Deprecated. use {@link #updateSchedulesForResourceType(Subject, int[], boolean)
 void updateSchedule(Subject subject, MeasurementSchedule measurementSchedule)
           
 void updateSchedulesForCompatibleGroup(Subject subject, int groupId, int[] measurementDefinitionIds, long collectionInterval)
           
 void updateSchedulesForResource(Subject subject, int resourceId, int[] measurementDefinitionIds, long collectionInterval)
           
 void updateSchedulesForResourceType(Subject subject, int[] measurementDefinitionIds, long collectionInterval, boolean updateExistingSchedules)
          Requires MANAGE_SETTINGS global permission.
 

Method Detail

disableSchedulesForResource

void disableSchedulesForResource(Subject subject,
                                 int resourceId,
                                 int[] measurementDefinitionIds)
Disables all collection schedules attached to the given resource whose schedules are based off the given definitions. This does not disable the "templates" (aka definitions).

Parameters:
subject -
measurementDefinitionIds -
resourceId -

disableSchedulesForCompatibleGroup

void disableSchedulesForCompatibleGroup(Subject subject,
                                        int groupId,
                                        int[] measurementDefinitionIds)
Disable the measurement schedules for the passed definitions for the resources of the passed compatible group.


disableSchedulesForResourceType

void disableSchedulesForResourceType(Subject subject,
                                     int[] measurementDefinitionIds,
                                     boolean updateExistingSchedules)
Requires MANAGE_SETTINGS global permission.

Parameters:
subject -
measurementDefinitionIds -
updateExistingSchedules -

disableMeasurementTemplates

void disableMeasurementTemplates(Subject subject,
                                 int[] measurementDefinitionIds)
Deprecated. use {@link #disableSchedulesForResourceType(Subject, int[], boolean)


enableSchedulesForResource

void enableSchedulesForResource(Subject subject,
                                int resourceId,
                                int[] measurementDefinitionIds)
Enable the schedules for the provided definitions and resource

Parameters:
subject -
measurementDefinitionIds -
resourceId -

enableSchedulesForCompatibleGroup

void enableSchedulesForCompatibleGroup(Subject subject,
                                       int groupId,
                                       int[] measurementDefinitionIds)
Enable the measurement schedules for the passed definitions for the resources of the passed compatible group.


enableSchedulesForResourceType

void enableSchedulesForResourceType(Subject subject,
                                    int[] measurementDefinitionIds,
                                    boolean updateExistingSchedules)
Requires MANAGE_SETTINGS global permission.

Parameters:
subject -
measurementDefinitionIds -
updateExistingSchedules -

enableMeasurementTemplates

void enableMeasurementTemplates(Subject subject,
                                int[] measurementDefinitionIds)
Deprecated. use {@link #enableSchedulesForResourceType(Subject, int[], boolean)


updateSchedule

void updateSchedule(Subject subject,
                    MeasurementSchedule measurementSchedule)

updateSchedulesForResource

void updateSchedulesForResource(Subject subject,
                                int resourceId,
                                int[] measurementDefinitionIds,
                                long collectionInterval)

updateSchedulesForCompatibleGroup

void updateSchedulesForCompatibleGroup(Subject subject,
                                       int groupId,
                                       int[] measurementDefinitionIds,
                                       long collectionInterval)

updateSchedulesForResourceType

void updateSchedulesForResourceType(Subject subject,
                                    int[] measurementDefinitionIds,
                                    long collectionInterval,
                                    boolean updateExistingSchedules)
Requires MANAGE_SETTINGS global permission.

Parameters:
subject -
measurementDefinitionIds -
collectionInterval -
updateExistingSchedules -

updateMeasurementTemplates

void updateMeasurementTemplates(Subject subject,
                                int[] measurementDefinitionIds,
                                long collectionInterval)
Deprecated. use {@link #updateSchedulesForResourceType(Subject, int[], boolean)


findSchedulesByCriteria

PageList<MeasurementSchedule> findSchedulesByCriteria(Subject subject,
                                                      MeasurementScheduleCriteria criteria)


Copyright © 2005-2011 Red Hat, Inc.. All Rights Reserved.