/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.portal.security.audit; import java.util.Date; /** * @author Brian Greenwald * @author Prathima Shreenath */ public interface AuditEvent { public String getAdditionalInfo(); public long getAuditEventId(); public String getClassName(); public String getClassPK(); public String getClientHost(); public String getClientIP(); public long getCompanyId(); public Date getCreateDate(); public String getEventType(); public String getMessage(); public long getPrimaryKey(); public String getServerName(); public int getServerPort(); public String getSessionID(); public long getUserId(); public String getUserName(); public String getUserUuid(); public void setAdditionalInfo(String additionalInfo); public void setAuditEventId(long auditEventId); public void setClassName(String className); public void setClassPK(String classPK); public void setClientHost(String clientHost); public void setClientIP(String clientIP); public void setCompanyId(long companyId); public void setCreateDate(Date createDate); public void setEventType(String eventType); public void setMessage(String message); public void setPrimaryKey(long primaryKey); public void setServerName(String serverName); public void setServerPort(int serverPort); public void setSessionID(String sessionID); public void setUserId(long userId); public void setUserName(String userName); public void setUserUuid(String userUuid); public AuditEvent toEscapedModel(); }