Class AbstractAdministerFilter

All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
ChangeSharedFilterOwner, DeleteSharedFilter

public abstract class AbstractAdministerFilter extends SearchDescriptionEnabledAction
This is the base class for DeleteSharedFilter and ChangeSharedFilterOwner
Since:
v4.4
See Also:
  • Constructor Details

  • Method Details

    • getFilter

      protected SearchRequest getFilter()
      This will always return the Filter using the filter context - this means you will (should?) never get Permission exceptions
      Returns:
      the SearchRequest that represents the current filterId
    • getFilterId

      public Long getFilterId()
    • setFilterId

      public void setFilterId(Long filterId)
    • getFilterName

      public String getFilterName() throws org.ofbiz.core.entity.GenericEntityException
      Throws:
      org.ofbiz.core.entity.GenericEntityException
    • getSearchName

      public String getSearchName()
    • setSearchName

      public void setSearchName(String searchName)
    • getSearchOwnerUserName

      public String getSearchOwnerUserName()
    • setSearchOwnerUserName

      public void setSearchOwnerUserName(String searchOwnerUserName)
    • getSortColumn

      public String getSortColumn()
    • setSortColumn

      public void setSortColumn(String sortColumn)
    • getSortAscending

      public String getSortAscending()
    • setSortAscending

      public void setSortAscending(String sortAscending)
    • getPagingOffset

      public String getPagingOffset()
    • setPagingOffset

      public void setPagingOffset(String pagingOffset)
    • getTotalResultCount

      public String getTotalResultCount()
    • setTotalResultCount

      public void setTotalResultCount(String totalResultCount)
    • getJiraServiceContext

      protected JiraServiceContext getJiraServiceContext(Long filterId)
      Parameters:
      filterId - The id of the filter
      Returns:
      A Jira Service context that represents the owner of the filter if you are the administrator
    • getRedirectUrl

      protected String getRedirectUrl()
    • buildReturnUri

      protected String buildReturnUri()