org.rhq.enterprise.server.measurement
Interface MeasurementScheduleManagerRemote

All Known Subinterfaces:
MeasurementScheduleManagerLocal, WebservicesRemote
All Known Implementing Classes:
MeasurementScheduleManagerBean, WebservicesManagerBean

public interface MeasurementScheduleManagerRemote

Author:
Jay Shaughnessy

Method Summary
 void disableMeasurementTemplates(org.rhq.core.domain.auth.Subject subject, int[] measurementDefinitionIds)
          Deprecated. use {@link #disableSchedulesForResourceType(Subject, int[], boolean)
 void disableSchedulesForCompatibleGroup(org.rhq.core.domain.auth.Subject subject, int groupId, int[] measurementDefinitionIds)
          Disable the measurement schedules for the passed definitions for the resources of the passed compatible group.
 void disableSchedulesForResource(org.rhq.core.domain.auth.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(org.rhq.core.domain.auth.Subject subject, int[] measurementDefinitionIds, boolean updateExistingSchedules)
          Requires MANAGE_SETTINGS global permission.
 void enableMeasurementTemplates(org.rhq.core.domain.auth.Subject subject, int[] measurementDefinitionIds)
          Deprecated. use {@link #enableSchedulesForResourceType(Subject, int[], boolean)
 void enableSchedulesForCompatibleGroup(org.rhq.core.domain.auth.Subject subject, int groupId, int[] measurementDefinitionIds)
          Enable the measurement schedules for the passed definitions for the resources of the passed compatible group.
 void enableSchedulesForResource(org.rhq.core.domain.auth.Subject subject, int resourceId, int[] measurementDefinitionIds)
          Enable the schedules for the provided definitions and resource
 void enableSchedulesForResourceType(org.rhq.core.domain.auth.Subject subject, int[] measurementDefinitionIds, boolean updateExistingSchedules)
          Requires MANAGE_SETTINGS global permission.
 org.rhq.core.domain.util.PageList<org.rhq.core.domain.measurement.MeasurementSchedule> findSchedulesByCriteria(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.criteria.MeasurementScheduleCriteria criteria)
           
 void updateMeasurementTemplates(org.rhq.core.domain.auth.Subject subject, int[] measurementDefinitionIds, long collectionInterval)
          Deprecated. use {@link #updateSchedulesForResourceType(Subject, int[], boolean)
 void updateSchedule(org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.measurement.MeasurementSchedule measurementSchedule)
           
 void updateSchedulesForCompatibleGroup(org.rhq.core.domain.auth.Subject subject, int groupId, int[] measurementDefinitionIds, long collectionInterval)
           
 void updateSchedulesForResource(org.rhq.core.domain.auth.Subject subject, int resourceId, int[] measurementDefinitionIds, long collectionInterval)
           
 void updateSchedulesForResourceType(org.rhq.core.domain.auth.Subject subject, int[] measurementDefinitionIds, long collectionInterval, boolean updateExistingSchedules)
          Requires MANAGE_SETTINGS global permission.
 

Method Detail

disableSchedulesForResource

void disableSchedulesForResource(org.rhq.core.domain.auth.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(org.rhq.core.domain.auth.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(org.rhq.core.domain.auth.Subject subject,
                                     int[] measurementDefinitionIds,
                                     boolean updateExistingSchedules)
Requires MANAGE_SETTINGS global permission.

Parameters:
subject -
measurementDefinitionIds -
updateExistingSchedules -

disableMeasurementTemplates

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


enableSchedulesForResource

void enableSchedulesForResource(org.rhq.core.domain.auth.Subject subject,
                                int resourceId,
                                int[] measurementDefinitionIds)
Enable the schedules for the provided definitions and resource

Parameters:
subject -
measurementDefinitionIds -
resourceId -

enableSchedulesForCompatibleGroup

void enableSchedulesForCompatibleGroup(org.rhq.core.domain.auth.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(org.rhq.core.domain.auth.Subject subject,
                                    int[] measurementDefinitionIds,
                                    boolean updateExistingSchedules)
Requires MANAGE_SETTINGS global permission.

Parameters:
subject -
measurementDefinitionIds -
updateExistingSchedules -

enableMeasurementTemplates

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


updateSchedule

void updateSchedule(org.rhq.core.domain.auth.Subject subject,
                    org.rhq.core.domain.measurement.MeasurementSchedule measurementSchedule)

updateSchedulesForResource

void updateSchedulesForResource(org.rhq.core.domain.auth.Subject subject,
                                int resourceId,
                                int[] measurementDefinitionIds,
                                long collectionInterval)

updateSchedulesForCompatibleGroup

void updateSchedulesForCompatibleGroup(org.rhq.core.domain.auth.Subject subject,
                                       int groupId,
                                       int[] measurementDefinitionIds,
                                       long collectionInterval)

updateSchedulesForResourceType

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

Parameters:
subject -
measurementDefinitionIds -
collectionInterval -
updateExistingSchedules -

updateMeasurementTemplates

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


findSchedulesByCriteria

org.rhq.core.domain.util.PageList<org.rhq.core.domain.measurement.MeasurementSchedule> findSchedulesByCriteria(org.rhq.core.domain.auth.Subject subject,
                                                                                                               org.rhq.core.domain.criteria.MeasurementScheduleCriteria criteria)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.