Interface Beanable

All Known Implementing Classes:
AbstractCommandAction, AbstractCreateAndEditPageAction, AbstractCreatePageAction, AbstractEditPageAction, AbstractPreviewPageAction, AbstractTemplatePageAction, AddCommentAction, AddFavouriteAction, AddLabelAction, AddLabelAjaxAction, AddSpaceToFavouriteAjaxAction, AttachedImagesAction, AttachFileAction, AttachmentSearchAction, AutocompleteLabelsAction, BreadcrumbAction, BrowseMacrosAction, ChangeCronJobScheduleAction, ChangeSimpleJobScheduleAction, ContentNameSearchAction, ConvertPageToBlogPostAction, CopyPageAction, CreateBlogPostAction, CreatePageAction, CreatePageEntryAction, CreatePageFromTemplateAction, DraftAttachmentSearchAction, DropAuthenticationAction, EditBlogPostAction, EditCommentAction, EditorAction, EditPageAction, FindRestrictableEntitiesAction, ForceUpgradeAction, GetFutureSchedulesAction, GetPagePermissionsAction, HeartbeatAction, HistoryAction, ListWatchersAction, MacroDetailsAction, ManageAdminTaskAction, MoveBlogPostAction, MovePageAction, NotPermittedAction, PageChildrenAction, PageDestinationSearchAction, PageNotificationAction, PageVariablesAction, ReindexTaskProgressAction, RemoveFavouriteAction, RemoveHistoricalVersionAction, RemoveLabelAction, RemoveLabelAjaxAction, RemoveSpaceFromFavouriteAjaxAction, RenderContentAction, RevertPageOrderAction, SearchIndexesAction, SearchSiteAction, SetPageOrderAction, SetPagePermissionsAction, SpaceAvailableAction, ValidateLabelAjaxAction, ViewDiffOfDraftAction, ViewMyDraftsAction, ViewSystemClasspathAction, WysiwygConverterAction

@Deprecated public interface Beanable
Deprecated.
since 5.2. If you want a JSON-producing REST endpoint, then use a proper JAX-RS resource.
Describe actions which return a JSON object.

Please note that if you implement this in an action, you should probably map the path to /json so that NotPermittedAction will return the appropriate code.

  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
  • Method Details

    • getBean

      Object getBean()
      Deprecated.