Class ReportManagerPresenter

Object
AbstractPresenter<ReportManagerView>
ReportManagerPresenter
All Implemented Interfaces:
Presenter<ReportManagerView>, PresenterLifeCicleAware<ReportManagerView>, ContextProvider, Action.Handler, SerializableEventListener, ItemClickEvent.ItemClickListener, Serializable, EventListener

@Component @Scope("prototype") @MenuContext(@Entry(target="new-window",menu="MAIN_MENU",displayName="Relat\u00f3rios",singleton=true,closable=true,resizeable=true,width="90%",height="90%")) @Role({REPORT_MANAGER,REPORT_VIEWER}) public class ReportManagerPresenter extends AbstractPresenter<ReportManagerView> implements Action.Handler, ItemClickEvent.ItemClickListener, ContextProvider
See Also:
  • Field Details

  • Constructor Details

    • ReportManagerPresenter

      public ReportManagerPresenter()
  • Method Details

    • setReportService

      @Autowired public void setReportService(ReportService reportService)
    • setRoleService

      @Autowired public void setRoleService(RoleService roleService)
    • setConfigService

      @Autowired public void setConfigService(ConfigService configService)
    • setFormService

      @Autowired public void setFormService(FormService formService)
    • setMenuService

      @Autowired public void setMenuService(MenuSuperiorService menuService)
    • setFormFactory

      @Autowired public void setFormFactory(FormFactory formFactory)
    • setView

      @Autowired public void setView(ReportManagerView view)
    • getView

      public ReportManagerView getView()
      Specified by:
      getView in interface Presenter<ReportManagerView>
    • setTokenUtil

      @Autowired public void setTokenUtil(JWTTokenUtil tokenUtil)
    • setReportExecutor

      @Autowired @Qualifier("applicationExecutor") public void setReportExecutor(TaskExecutor reportExecutor)
    • getActions

      public Action[] getActions(Object target, Object sender)
      Specified by:
      getActions in interface Action.Handler
    • handleAction

      public void handleAction(Action action, Object sender, Object target)
      Specified by:
      handleAction in interface Action.Handler
    • itemClick

      public void itemClick(ItemClickEvent event)
      Specified by:
      itemClick in interface ItemClickEvent.ItemClickListener
    • displayReport

      public boolean displayReport(int reportId)
    • displayReport

      public boolean displayReport(int reportId, boolean showNavigationMenu)
    • getContextName

      public String getContextName()
      Specified by:
      getContextName in interface ContextProvider
    • getContextDescriptions

      public Collection<String> getContextDescriptions()
      Specified by:
      getContextDescriptions in interface ContextProvider