Class ListLabelsBySpaceAction

All Implemented Interfaces:
Evented<LabelListViewEvent>, PaginationServiceSupportActionAware, WebInterface, SpaceAware, Spaced, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

@Deprecated(since="9.3", forRemoval=true) public class ListLabelsBySpaceAction extends AbstractPaginatedListAction<Label> implements Evented<LabelListViewEvent>
Deprecated, for removal: This API element is subject to removal in a future version.
since 9.3.0 for removal in 10.0.0. Use SpaceLabelResource instead.
See Also:
  • Constructor Details

    • ListLabelsBySpaceAction

      public ListLabelsBySpaceAction()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setLabelManager

      public void setLabelManager(LabelManagerInternal labelManager)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setApiPaginationService

      public void setApiPaginationService(PaginationService paginationService)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getEventToPublish

      public LabelListViewEvent getEventToPublish(String result)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Evented
      Gets the event to publish.
      Specified by:
      getEventToPublish in interface Evented<LabelListViewEvent>
      Parameters:
      result - the result of the action executing.
      Returns:
      the event. Can be null, in which case no event will be published.
    • getItems

      public List getItems()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getItems in class AbstractPaginatedListAction<Label>
    • isSupportPaginationService

      public boolean isSupportPaginationService()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PaginationServiceSupportActionAware
      Indicate does sub class support new way of pagination or not
      Specified by:
      isSupportPaginationService in interface PaginationServiceSupportActionAware
      Returns:
    • getPageResponse

      public PageResponse<Label> getPageResponse()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PaginationServiceSupportActionAware
      Will return pagination data in new form
      Specified by:
      getPageResponse in interface PaginationServiceSupportActionAware
      Returns:
      optional of page response
    • getItemsCount

      public long getItemsCount()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PaginationServiceSupportActionAware
      Get total item of all pages
      Specified by:
      getItemsCount in interface PaginationServiceSupportActionAware
      Returns:
      total item
    • getStartIndex

      public int getStartIndex()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • validate

      public void validate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport