Class PubChooserHandler

    • Field Detail

      • typeSet

        protected boolean typeSet
      • superTypes

        protected java.lang.String[] superTypes
      • itemAction

        protected java.lang.String itemAction
      • multivalue

        protected boolean multivalue
      • jsFunc

        protected java.lang.String jsFunc
      • chooserWorkspace

        protected Workspace chooserWorkspace
      • isAllWorkspace

        protected boolean isAllWorkspace
      • isAllMyWorkspace

        protected boolean isAllMyWorkspace
      • displayExternalProviderContent

        protected boolean displayExternalProviderContent
      • subTypeSet

        protected java.util.Set<java.lang.Class<?>> subTypeSet
    • Constructor Detail

      • PubChooserHandler

        public PubChooserHandler()
    • Method Detail

      • getResultSet

        public QueryResultSet getResultSet()
        Description copied from class: QueryHandler
        Return results of a query done using this QueryHandler.

        Warning: This method process the query each time it is invoked, therefore do not call it multiple times if you don't need it.

        Overrides:
        getResultSet in class QueryHandler
        Returns:
        a QueryResultSet containing all results of this query, it is a HashSet and therefore it is NOT sorted. use either getAsSortedSet() or getAsSortedSet(Comparator) to obtain a sorted Set.
      • getMediaKindList

        public java.util.ArrayList<java.lang.String> getMediaKindList()
      • getSuperTypes

        public java.lang.String[] getSuperTypes()
      • setSuperTypes

        public void setSuperTypes​(java.lang.String[] superTypes)
      • setInitialSuper

        public void setInitialSuper​(java.lang.String... v)
      • setSuper

        public void setSuper​(java.lang.String... v)
      • showTypeChooser

        public boolean showTypeChooser()
      • initSubTypeSet

        public void initSubTypeSet()
      • getSubTypeSet

        public java.util.Set<java.lang.Class<?>> getSubTypeSet()
      • showSubTypeChooser

        public boolean showSubTypeChooser()
      • showPublicationInChooser

        public boolean showPublicationInChooser()
      • showContentInChooser

        public boolean showContentInChooser()
      • showUserContentInChooser

        public boolean showUserContentInChooser()
      • showFormInChooser

        public boolean showFormInChooser()
      • showPortletInChooser

        public boolean showPortletInChooser()
      • isDropEnabled

        public boolean isDropEnabled()
      • canUploadDocument

        public boolean canUploadDocument()
      • getUploadClass

        public java.lang.Class getUploadClass()
      • init

        protected void init()
        Description copied from class: JcmsFormHandler
        Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

        You must absolutely not perform any action which modify data or site configuration.

        Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

        Overrides:
        init in class JcmsFormHandler
      • getCardMediaCss

        public java.lang.String getCardMediaCss​(Publication pub)
      • getInsertImageDataAttributes

        public DataAttribute getInsertImageDataAttributes​(java.lang.String text,
                                                          java.lang.String src)
      • addFrontEndDependencies

        public void addFrontEndDependencies()
      • getSortedSet

        public java.util.Set<Publication> getSortedSet()
      • showPStatusFilter

        public boolean showPStatusFilter()
      • showAuthorAndGroupFilters

        public boolean showAuthorAndGroupFilters()
      • showAdditionalFilters

        public boolean showAdditionalFilters()
      • getPubChooserInnerUrl

        public java.lang.String getPubChooserInnerUrl()
      • isDisplayModeMedia

        public boolean isDisplayModeMedia()
      • displayMediaKindFilter

        public boolean displayMediaKindFilter()
      • getWFStates

        public java.util.Set<WFState> getWFStates()
      • getNextPageDataAttribute

        public DataAttribute getNextPageDataAttribute​(java.lang.String url)
      • getNextPageDataAttribute

        public DataAttribute getNextPageDataAttribute​(java.lang.String url,
                                                      java.util.Map<java.lang.String,​java.lang.Object> params)
      • showAddButton

        public boolean showAddButton()
      • getAddButtonTypes

        public java.util.Set<java.lang.Class<?>> getAddButtonTypes()
      • isAllWorkspace

        public boolean isAllWorkspace()
      • isAllMyWorkspace

        public boolean isAllMyWorkspace()
      • showAllWorkspaceFilter

        public boolean showAllWorkspaceFilter()
      • setWorkspaceQueryHandler

        public void setWorkspaceQueryHandler​(WorkspaceQueryHandler workspaceQueryHandler)
      • isTypeSet

        public boolean isTypeSet()
      • setTypeSet

        public void setTypeSet​(boolean isTypeSet)
      • getItemAction

        public java.lang.String getItemAction()
      • setItemAction

        public void setItemAction​(java.lang.String itemAction)
      • setFilterMode

        public void setFilterMode​(java.lang.String filterMode)
      • isMultivalue

        public boolean isMultivalue()
      • setMultivalue

        public void setMultivalue​(boolean multivalue)
      • getJsFunc

        public java.lang.String getJsFunc()
      • setJsFunc

        public void setJsFunc​(java.lang.String jsFunc)
      • setChooserWorkspace

        public void setChooserWorkspace​(java.lang.String workspaceId)
      • getSubTypes

        public java.util.Set<java.lang.Class<?>> getSubTypes​(java.lang.Class typeClass,
                                                             boolean removeAbstract)
      • getFileDocumentSuperClass

        public java.lang.Class getFileDocumentSuperClass()
      • getAvailableChooserWorkspace

        public Workspace getAvailableChooserWorkspace()
      • getNoResultLabelProp

        public java.lang.String getNoResultLabelProp()
      • getNoResultIconProp

        public java.lang.String getNoResultIconProp()
      • isDisplayExternalProviderContent

        public boolean isDisplayExternalProviderContent()
      • setDisplayExternalProviderContent

        public void setDisplayExternalProviderContent​(boolean displayExternalProviderContent)
      • setExternalProvider

        public void setExternalProvider​(PubChooserProvider externalProvider)
      • getExternalProviderValue

        public java.lang.String getExternalProviderValue()
      • setExternalProviderValue

        public void setExternalProviderValue​(java.lang.String externalProviderValue)
      • setDisplayMode

        public void setDisplayMode​(java.lang.String displayMode)
      • getMediaKind

        public java.lang.String getMediaKind()
      • setMediaKind

        public void setMediaKind​(java.lang.String mediaKind)
      • setMedia

        public void setMedia​(java.lang.String media)
      • setMediaKindForced

        public void setMediaKindForced​(boolean mediaKindForced)
      • isMediaKindForced

        public boolean isMediaKindForced()
      • isShowExternalProviders

        public boolean isShowExternalProviders()
      • setShowExternalProviders

        public void setShowExternalProviders​(boolean showExternalProviders)
      • getAvailablePubChooserMode

        public PubChooserMode getAvailablePubChooserMode()
      • setPubChooserMode

        public void setPubChooserMode​(java.lang.String pubChooserMode)
      • getAvailableInitialChooserWorkspace

        public Workspace getAvailableInitialChooserWorkspace()
      • setInitialChooserWorkspace

        public void setInitialChooserWorkspace​(java.lang.String initialChooserWorkspace)