Class AuditEventServiceUtil

java.lang.Object
com.liferay.portal.security.audit.storage.service.AuditEventServiceUtil

public class AuditEventServiceUtil extends Object
Provides the remote service utility for AuditEvent. This utility wraps com.liferay.portal.security.audit.storage.service.impl.AuditEventServiceImpl and is an access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Constructor Details

    • AuditEventServiceUtil

      public AuditEventServiceUtil()
  • Method Details

    • getAuditEvents

      public static List<AuditEvent> getAuditEvents(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAuditEvents

      public static List<AuditEvent> getAuditEvents(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AuditEvent> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAuditEvents

      public static List<AuditEvent> getAuditEvents(long companyId, long groupId, long userId, String userName, Date createDateGT, Date createDateLT, long[] accountEntryIds, String className, String classPK, String clientHost, String clientIP, String contextName, String eventType, String serverName, int serverPort, String sessionID, boolean andSearch, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAuditEvents

      public static List<AuditEvent> getAuditEvents(long companyId, long groupId, long userId, String userName, Date createDateGT, Date createDateLT, long[] accountEntryIds, String className, String classPK, String clientHost, String clientIP, String contextName, String eventType, String serverName, int serverPort, String sessionID, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AuditEvent> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAuditEventsCount

      public static int getAuditEventsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAuditEventsCount

      public static int getAuditEventsCount(long companyId, long groupId, long userId, String userName, Date createDateGT, Date createDateLT, long[] accountEntryIds, String className, String classPK, String clientHost, String clientIP, String contextName, String eventType, String serverName, int serverPort, String sessionID, boolean andSearch) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getService

      public static AuditEventService getService()