Class ViewGlobalAuditLogAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.ViewGlobalAuditLogAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, LazyPaginationAware<AuditLogEntry>, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ViewGlobalAuditLogAction extends BambooActionSupport implements GlobalAdminSecurityAware, LazyPaginationAware<AuditLogEntry>
See Also:
  • Constructor Details

    • ViewGlobalAuditLogAction

      public ViewGlobalAuditLogAction()
  • Method Details

    • delete

      public String delete()
    • deleteAll

      public String deleteAll()
    • enable

      public String enable()
    • disable

      public String disable()
    • isEnabled

      public boolean isEnabled()
    • getPager

      public Pager<AuditLogEntry> getPager()
      Description copied from interface: LazyPaginationAware
      Freemarker views for LazyPaginationAware actions should iterate over pager.page.list
      Specified by:
      getPager in interface LazyPaginationAware<AuditLogEntry>
      Returns:
      Pager object
    • setPager

      public void setPager(Pager<AuditLogEntry> pager)
      Description copied from interface: LazyPaginationAware
      Used to inject pager by PaginationAwareInterceptor
      Specified by:
      setPager in interface LazyPaginationAware<AuditLogEntry>
      Parameters:
      pager - Pager object
    • getFilteredResultsList

      @NotNull public @NotNull List<AuditLogEntry> getFilteredResultsList(int firstResult, int maxResults)
      Description copied from interface: LazyPaginationAware
      Implementing actions should initialize and return up to maxResults items ranging from firstResult from the underlying list of uninitialized items
      Specified by:
      getFilteredResultsList in interface LazyPaginationAware<AuditLogEntry>
      Parameters:
      firstResult - index of first item
      maxResults - number of items to be returned
      Returns:
      range of initialized results from underlying full list of uninitialized items
    • getResultsCount

      public int getResultsCount()
      Description copied from interface: LazyPaginationAware
      Implementing actions should return a total number of items that are subject to pagination
      Specified by:
      getResultsCount in interface LazyPaginationAware<AuditLogEntry>
      Returns:
      number of items in the underlying list
    • setAuditLogService

      public void setAuditLogService(AuditLogService auditLogService)
    • getSearchString

      public String getSearchString()
    • setSearchString

      public void setSearchString(String searchString)