org.alfresco.repo.audit.generator
Interface DataGenerator

All Known Implementing Classes:
AbstractDataGenerator, AuthenticatedPersonDataGenerator, AuthenticatedUserDataGenerator, SystemTimeDataGenerator, TransactionIdDataGenerator

public interface DataGenerator

Interface for Audit data value generators.These are used to produce auditable data values extract auditable values from nothing; typically these values are derived from the system state or from the thread context.

null values will be ignored by the audit framework.

Since:
3.2

Method Summary
 java.io.Serializable getData()
          Get the data generated by the instance.
 

Method Detail

getData

java.io.Serializable getData()
                             throws java.lang.Throwable
Get the data generated by the instance.

Returns:
Returns the generated data or null if no data could be generated
Throws:
java.lang.Throwable - All exceptions are handled by the framework


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.