com.adobe.edc.server.businessobject
Class AuditRecordBO
java.lang.Object
com.adobe.edc.server.businessobject.AuditRecordBO
- All Implemented Interfaces:
- java.io.Serializable
public class AuditRecordBO
- extends java.lang.Object
- implements java.io.Serializable
This class stores all Audit related information.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditRecordBO
public AuditRecordBO()
getEventOwnerName
public java.lang.String getEventOwnerName()
- Returns:
- the Event Owner's Name
getEventOwnerId
public java.lang.String getEventOwnerId()
- Returns:
- the Event Owner's id
getEventOwnerUid
public java.lang.String getEventOwnerUid()
- Returns:
- the Event Owner's Uid
getEventId
public java.lang.String getEventId()
- Returns:
- the id for the event
getOnline
public boolean getOnline()
- Returns:
- true if the event happened online else false
getClientIPAddress
public java.lang.String getClientIPAddress()
- Returns:
- the IP address of the client
getAllowed
public boolean getAllowed()
- Returns:
- True iff the event was allowed
getEventCode
public java.lang.String getEventCode()
- Returns:
- the event code
getEventCategory
public int getEventCategory()
- Returns:
- the EventCategory which in turns depend on eventCode and eventNameSpace
getLicenseId
public java.lang.String getLicenseId()
- Returns:
- the license id for this event
getPolicyId
public java.lang.String getPolicyId()
- Returns:
- the policy id for this event
getPolicysetId
public java.lang.String getPolicysetId()
- Returns:
- the policyset id for this event
getTimestamp
public java.util.Date getTimestamp()
- Returns:
- the timestamp when this event happened
getEventMessage
public java.lang.String getEventMessage()
- Returns:
- the event message for this event
getEventNamespace
public java.lang.String getEventNamespace()
- Returns:
- the event namespace of this event
getEventName
public java.lang.String getEventName()
- Returns:
- the event name of this event
getEventOverviewMessage
public java.lang.String getEventOverviewMessage()
- Returns:
- The getter for event's message. This can be either a message or licenseId or policyId, depending on type of event
setEventId
public void setEventId(java.lang.String guid)
- Parameters:
guid
- id of the event
setOnline
public void setOnline(boolean wasOnline)
- Parameters:
wasOnline
- Set it to true if the event happened online else false
setClientIPAddress
public void setClientIPAddress(java.lang.String addr)
- Parameters:
addr
- IP address of the client
setAllowed
public void setAllowed(boolean wasAllowed)
- Parameters:
wasAllowed
- Set to True iff the event was allowed
setEventCode
public void setEventCode(java.lang.String code)
- Parameters:
code
- Code of the event
setLicenseId
public void setLicenseId(java.lang.String id)
- Parameters:
id
- LicenseId for the event
setPolicyId
public void setPolicyId(java.lang.String id)
- Parameters:
id
- PolicyId for the event
setPolicysetId
public void setPolicysetId(java.lang.String id)
- Parameters:
id
- PolicySetId for the event
setTimestamp
public void setTimestamp(java.util.Date stamp)
- Parameters:
stamp
- Timestamp when the event happened
setEventMessage
public void setEventMessage(java.lang.String msg)
- Parameters:
msg
- Message for the event
setEventNamespace
public void setEventNamespace(java.lang.String namespace)
- Parameters:
namespace
- Namespace for the event
setEventName
public void setEventName(java.lang.String name)
- Parameters:
name
- Name for the event
setEventOwnerName
public void setEventOwnerName(java.lang.String val)
- Parameters:
val
- Name of the EventOwner
setEventOwnerId
public void setEventOwnerId(java.lang.String val)
- Parameters:
val
- Id of the EventOwner
setEventOwnerUid
public void setEventOwnerUid(java.lang.String val)
- Parameters:
val
- Uid of EventOwner
getPolicysetName
public java.lang.String getPolicysetName()
- Returns:
- the policy set name of the event
setPolicysetName
public void setPolicysetName(java.lang.String policysetName)
- Parameters:
policysetName
- the policy set name of the event
getEventOwner
public User getEventOwner()
- Returns:
- the event owner details
setEventOwner
public void setEventOwner(User owner)
- Parameters:
owner
- the event owner details
getContext
public EDCContext getContext()
setContext
public void setContext(EDCContext context)
getAppName
public java.lang.String getAppName()
- Returns:
- the app's name using which the event happened
setAppName
public void setAppName(java.lang.String appName)
- Parameters:
appName
- the app's name using which the event happened
getAppVersion
public java.lang.String getAppVersion()
- Returns:
- the app's version using which the event happened
setAppVersion
public void setAppVersion(java.lang.String appVersion)
- Parameters:
appVersion
- the app's version using which the event happened
getVisitorID
public java.lang.String getVisitorID()
- Returns:
- the id of the visitor of the event
setVisitorID
public void setVisitorID(java.lang.String visitorID)
- Parameters:
visitorID
- the id of the visitor of the event
getClientData
public byte[] getClientData()
- Returns:
- a byte[] which is represented as a blob in db to store the client's data
setClientData
public void setClientData(byte[] clientData)
- Parameters:
clientData
- its represented as a blob in db to store the client's data, if needed (may be null)
getAppPlatform
public java.lang.String getAppPlatform()
- Returns:
- the app's platform using which the event happened
setAppPlatform
public void setAppPlatform(java.lang.String appPlatform)
- Parameters:
appPlatform
- the app's platform using which the event happened
getDocumentId
public java.lang.String getDocumentId()
- Returns:
- document id of the event
setDocumentId
public void setDocumentId(java.lang.String documentId)
- Parameters:
documentId
- document id of the event