Class ViewTrashAction

All Implemented Interfaces:
Evented<SpaceTrashViewEvent>, 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
Direct Known Subclasses:
EmptyTrashAction

public class ViewTrashAction extends AbstractSpaceAdminAction implements Evented<SpaceTrashViewEvent>
See Also:
  • Constructor Details

    • ViewTrashAction

      public ViewTrashAction()
  • Method Details

    • getTrash

      public PageResponse<Content> getTrash()
    • setApiContentTrashService

      public void setApiContentTrashService(ContentTrashService apiContentTrashService)
    • setTransactionManager

      public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
    • getTrashManager

      public TrashManager getTrashManager()
    • setTrashManager

      public void setTrashManager(TrashManager trashManager)
    • isReverse

      public boolean isReverse()
    • setReverse

      public void setReverse(boolean isReverse)
    • getContentId

      public long getContentId()
    • setContentId

      public void setContentId(long contentId)
    • getLimit

      public int getLimit()
    • setLimit

      public void setLimit(int limit)
    • getEventToPublish

      public SpaceTrashViewEvent getEventToPublish(String result)
      Description copied from interface: Evented
      Gets the event to publish.
      Specified by:
      getEventToPublish in interface Evented<SpaceTrashViewEvent>
      Parameters:
      result - the result of the action executing.
      Returns:
      the event. Can be null, in which case no event will be published.