Class CmsGroupStateAction

    • Constructor Detail

      • CmsGroupStateAction

        public CmsGroupStateAction​(java.lang.String id,
                                   boolean direct)
        Default constructor.

        Parameters:
        id - the id of the action
        direct - the direct group flag
      • CmsGroupStateAction

        public CmsGroupStateAction​(java.lang.String id,
                                   org.opencms.file.CmsObject cms,
                                   boolean direct)
        Default constructor.

        Parameters:
        id - the id of the action
        cms - the cms context
        direct - the direct group flag
    • Method Detail

      • getCms

        public org.opencms.file.CmsObject getCms()
        Returns the cms context.

        Returns:
        the cms context
      • getUserName

        public java.lang.String getUserName()
        Returns the user Name.

        Returns:
        the user Name
      • isDirect

        public boolean isDirect()
        Returns the direct group flag.

        Returns:
        the direct group flag
      • isVisible

        public boolean isVisible()
        Specified by:
        isVisible in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
        Overrides:
        isVisible in class org.opencms.workplace.tools.A_CmsHtmlIconButton
        See Also:
        A_CmsHtmlIconButton.isVisible()
      • setUserName

        public void setUserName​(java.lang.String userName)
        Sets the user Name.

        Parameters:
        userName - the user Name to set