public class BrowserEvent extends EventImpl implements ClientEvent, SiteEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
BROWSER_EVENT_TYPE |
| Constructor and Description |
|---|
BrowserEvent() |
BrowserEvent(String username,
String networkId,
String txnId,
String siteId,
String component,
String action,
String agent,
String attributes)
Constructor for BrowserEvent
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAction() |
String |
getAgent() |
String |
getAttributes() |
Client |
getClient() |
String |
getComponent() |
String |
getNetworkId() |
String |
getSiteId() |
String |
getTxnId() |
int |
hashCode() |
void |
setAction(String action) |
void |
setAgent(String agent) |
void |
setAttributes(String attributes) |
void |
setComponent(String component) |
void |
setNetworkId(String networkId) |
void |
setSiteId(String siteId) |
void |
setTxnId(String txnId) |
String |
toString() |
getId, getSeqNumber, getTimestamp, getType, getUsername, setId, setSeqNumber, setTimestamp, setType, setUsernameclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getTimestamp, getType, getUsernamepublic static final String BROWSER_EVENT_TYPE
public BrowserEvent()
public BrowserEvent(String username, String networkId, String txnId, String siteId, String component, String action, String agent, String attributes)
username - - the usernetworkId - - network/tenantsiteId - txnId - component - - page eg. "documentdetails"action - - eg. "view"agent - - browser user agentattributes - - optional additional attributes as a json map eg. {"liked":"true"}public Client getClient()
getClient in interface ClientEventpublic String getTxnId()
getTxnId in interface RepositoryEventpublic String getNetworkId()
getNetworkId in interface TenantedEventpublic String getComponent()
public String getAction()
public String getAgent()
public String getAttributes()
public void setSiteId(String siteId)
public void setTxnId(String txnId)
public void setNetworkId(String networkId)
public void setComponent(String component)
public void setAction(String action)
public void setAgent(String agent)
public void setAttributes(String attributes)
Copyright © 2005–2018 Alfresco Software. All rights reserved.