AlertAuxLogProvider (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.events.AlertAuxLogProvider class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.events
Class AlertAuxLogProvider

    java.lang.Object
      org.hyperic.util.HypericEnum
          org.hyperic.hq.events.AlertAuxLogProvider

All Implemented Interfaces:
  java.io.Serializable, JSON

Direct Known Subclasses:
  GalertAuxLogProvider, MetricAuxLogProvider, ResourceAuxLogProvider

    public abstract class AlertAuxLogProvider

extends HypericEnum

Abstracts the location of the source of auxillary log information.

See Also:
  Serialized Form

Constructor Summary
`protected` | `AlertAuxLogProvider(int code, java.lang.String desc, java.lang.String propLocale, java.util.ResourceBundle bundle)`

Method Summary
`abstract void` | `deleteAll(GalertDef def)` Delete any auxillary logs associated with the specified auxLogId
`static java.util.Collection` | `findAll()`
`static AlertAuxLogProvider` | `findByCode(int code)`
`abstract AlertAuxLog` | `load(int auxLogId, long timestamp, java.lang.String description)` Load a provider-specific AlertAuxLog
`abstract void` | `save(int auxLogId, AlertAuxLog log)` Save an auxillary log (log) to the DB.

Methods inherited from class org.hyperic.util.HypericEnum
`findByCode, findByDescription, getAll, getByCode, getCode, getDescription, getJsonName, getValue, toJSON, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### AlertAuxLogProvider

    protected AlertAuxLogProvider(int code,
                                  java.lang.String desc,
                                  java.lang.String propLocale,
                                  java.util.ResourceBundle bundle)

Method Detail

### findByCode

    public static AlertAuxLogProvider findByCode(int code)

### load

    public abstract AlertAuxLog load(int auxLogId,
                                     long timestamp,
                                     java.lang.String description)

  Load a provider-specific AlertAuxLog

  Parameters:
    `auxLogId` - ID of the auxillary log to which to load aux info for

### save

    public abstract void save(int auxLogId,
                              AlertAuxLog log)

  Save an auxillary log (log) to the DB. This aux log is tied to a real log, as specified by the auxLogId. For the time being, this auxLogId specifies a `GalertAuxLog`

### deleteAll

    public abstract void deleteAll(GalertDef def)

  Delete any auxillary logs associated with the specified auxLogId

### findAll

    public static java.util.Collection findAll()

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.