Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKErrorLogMgmtFed

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkSysAdminImpFed
        |
        +--com.ibm.mm.sdk.common.DKErrorLogMgmtFed
All Implemented Interfaces:
DKConstant, DKConstantFed, DKMessageId, DKMessageIdFed, java.io.Serializable

public class DKErrorLogMgmtFed
extends com.ibm.mm.sdk.common.dkSysAdminImpFed
implements DKConstant, DKConstantFed, DKMessageIdFed, java.io.Serializable

This class provides methods to acess the log data from the federated database.

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantFed
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdFed
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Method Summary
 void addLog(DKLogDefFed sd)
          Add a log entry
 dkCollection listLogs()
          List the logs
 void removeLog(DKTimestamp ts)
          Remove a log by timestamp
 void removeLogBefore(DKTimestamp ts)
          Remove all the logs before certain time
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

listLogs

public dkCollection listLogs()
                      throws DKException,
                             java.lang.Exception
List the logs
Returns:
a dkCollection of DKLogDefFed objects

addLog

public void addLog(DKLogDefFed sd)
            throws DKException,
                   java.lang.Exception
Add a log entry

removeLog

public void removeLog(DKTimestamp ts)
               throws DKException,
                      java.lang.Exception
Remove a log by timestamp

removeLogBefore

public void removeLogBefore(DKTimestamp ts)
                     throws DKException,
                            java.lang.Exception
Remove all the logs before certain time

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.