Class WorkspaceTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class WorkspaceTag
    extends javax.servlet.jsp.tagext.TagSupport
    This tag prints the flags bound to the categories of a given Publication.
    Version:
    $Revision: 119523 $
    Author:
    Olivier Dedieu
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkspaceTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clean()  
      int doEndTag()  
      int doStartTag()  
      java.lang.String getAllWorkspaceUrl()  
      boolean getUpdateUrl()  
      boolean isAllWorkspace()  
      protected void printWorkspace​(java.lang.StringBuilder sb, Workspace workspace, java.lang.String url, java.lang.String printTitle, java.lang.String icon, java.lang.String userLang, java.lang.String onclick)  
      protected void printWorkspace​(java.lang.StringBuilder sb, Workspace workspace, java.lang.String url, java.lang.String printTitle, java.lang.String icon, java.lang.String userLang, java.lang.String onclick, boolean allWorkspace)  
      protected void printWorkspaceCombo​(java.lang.StringBuilder sb, Workspace workspace, Member loggedMember, java.lang.String userLang, java.util.SortedSet workspaceSet, javax.servlet.http.HttpServletRequest request)  
      protected void printWorkspaceModalCombo​(java.lang.StringBuilder sb, Workspace workspace, Member loggedMember, java.lang.String userLang, java.util.SortedSet workspaceSet)  
      void setAllWorkspace​(boolean allWorkspace)  
      void setAllWorkspaceUrl​(java.lang.String allWorkspaceUrl)  
      void setIcon​(java.lang.String v)  
      void setUpdateUrl​(boolean updateUrl)  
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • HIERARCHICAL_WS_MENU_LIMIT

        public static final java.lang.String HIERARCHICAL_WS_MENU_LIMIT
        See Also:
        Constant Field Values
      • WORKSPACE_LINK_MODIFIER

        public static final java.lang.String WORKSPACE_LINK_MODIFIER
        See Also:
        Constant Field Values
      • altWorkArea

        protected java.lang.String altWorkArea
      • altChangeWorkspace

        protected java.lang.String altChangeWorkspace
      • altChangeWorkspaceAttrEncoded

        protected java.lang.String altChangeWorkspaceAttrEncoded
      • urlWorkArea

        protected java.lang.String urlWorkArea
      • urlWorkAreaUpdate

        protected java.lang.String urlWorkAreaUpdate
      • allWorkspace

        protected boolean allWorkspace
      • allWorkspaceUrl

        protected java.lang.String allWorkspaceUrl
      • updateUrl

        protected boolean updateUrl
      • customIcon

        protected java.lang.String customIcon
    • Constructor Detail

      • WorkspaceTag

        public WorkspaceTag()
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class javax.servlet.jsp.tagext.TagSupport
        Throws:
        javax.servlet.jsp.JspException
      • doEndTag

        public int doEndTag()
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport
      • clean

        public void clean()
      • printWorkspace

        protected void printWorkspace​(java.lang.StringBuilder sb,
                                      Workspace workspace,
                                      java.lang.String url,
                                      java.lang.String printTitle,
                                      java.lang.String icon,
                                      java.lang.String userLang,
                                      java.lang.String onclick)
      • printWorkspace

        protected void printWorkspace​(java.lang.StringBuilder sb,
                                      Workspace workspace,
                                      java.lang.String url,
                                      java.lang.String printTitle,
                                      java.lang.String icon,
                                      java.lang.String userLang,
                                      java.lang.String onclick,
                                      boolean allWorkspace)
      • printWorkspaceCombo

        protected void printWorkspaceCombo​(java.lang.StringBuilder sb,
                                           Workspace workspace,
                                           Member loggedMember,
                                           java.lang.String userLang,
                                           java.util.SortedSet workspaceSet,
                                           javax.servlet.http.HttpServletRequest request)
      • printWorkspaceModalCombo

        protected void printWorkspaceModalCombo​(java.lang.StringBuilder sb,
                                                Workspace workspace,
                                                Member loggedMember,
                                                java.lang.String userLang,
                                                java.util.SortedSet workspaceSet)
      • isAllWorkspace

        public boolean isAllWorkspace()
      • setAllWorkspace

        public void setAllWorkspace​(boolean allWorkspace)
      • getAllWorkspaceUrl

        public java.lang.String getAllWorkspaceUrl()
      • setAllWorkspaceUrl

        public void setAllWorkspaceUrl​(java.lang.String allWorkspaceUrl)
      • setUpdateUrl

        public void setUpdateUrl​(boolean updateUrl)
      • getUpdateUrl

        public boolean getUpdateUrl()
      • setIcon

        public void setIcon​(java.lang.String v)