public class TLfnProductAccessEvent extends ALfnProductEvent implements ILfnAccessEvent
TLfnProduct
has been accessed.Constructor and Description |
---|
TLfnProductAccessEvent(TLfnEventSourceRequest aRequest,
TLfnService aService,
TLfnProduct aProduct,
TLfnUser aUser)
Creates a new LuciadFusion service access event.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getPropertiesString()
Get the
String object that is used in the ALfnEvent.toString() method
for describing this event's properties. |
TLfnService |
getService()
Returns the
TLfnService used to access the TLfnProduct for which this event is published |
getProduct
getRequest, getTimestamp, getUser, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequest
public TLfnProductAccessEvent(TLfnEventSourceRequest aRequest, TLfnService aService, TLfnProduct aProduct, TLfnUser aUser)
aRequest
- the TLfnEventSourceRequest
that triggered this eventaService
- the TLfnService
service used to access the productaProduct
- the TLfnProduct
object for which this event is publishedaUser
- the TLfnUser
who caused this eventpublic TLfnService getService()
TLfnService
used to access the TLfnProduct
for which this event is publishedTLfnService
used to access the TLfnProduct
for which this event is publishedprotected String getPropertiesString()
ALfnEvent
String
object that is used in the ALfnEvent.toString()
method
for describing this event's properties.
Implementing classes can override this method for including specific properties,
as a comma-separated list of key-value pairs.
name
property, the overridden version
of this method should be:
@Override protected String getPropertiesString() { return super.getPropertiesString() + ", name='" + getName() + "'"; }
getPropertiesString
in class ALfnProductEvent
ALfnEvent.toString()
method.