com.arsdigita.auditing
Interface AuditingSaveInfo

All Known Implementing Classes:
WebAuditingSaveInfo

public interface AuditingSaveInfo

Interface required for objects to supply auditing save information.

Version:
1.0
Author:
Joseph Bank

Method Summary
 Date getSaveDate()
          Gets the date for the save operation.
 String getSaveIP()
          Gets the IP address for the save operation from the current execution environment.
 User getSaveUser()
          Gets the user who is doing the save operation from the current execution environment.
 AuditingSaveInfo newInstance()
          Supports the prototype factory interface.
 

Method Detail

getSaveUser

public User getSaveUser()
Gets the user who is doing the save operation from the current execution environment. May return null.

Returns:
the user.

getSaveDate

public Date getSaveDate()
Gets the date for the save operation.

Returns:
the date.

getSaveIP

public String getSaveIP()
Gets the IP address for the save operation from the current execution environment. May return null.

Returns:
the IP address.

newInstance

public AuditingSaveInfo newInstance()
Supports the prototype factory interface.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC