Class CmsSiteSelectorOption

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

    public class CmsSiteSelectorOption
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    Bean class which represents an option for the site selector in the gallery dialog.

    • Constructor Detail

      • CmsSiteSelectorOption

        public CmsSiteSelectorOption​(CmsSiteSelectorOption.Type type,
                                     java.lang.String siteRoot,
                                     boolean isCurrentSite,
                                     java.lang.String message)
        Creates a new site selector option.

        Parameters:
        type - the site type
        siteRoot - the site root
        isCurrentSite - true if this is the current site
        message - the message to display for this site
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Gets the message to display for this site.

        Returns:
        the message to display for this site
      • getSiteRoot

        public java.lang.String getSiteRoot()
        Gets the site root for the site.

        Returns:
        the site root
      • isCurrentSite

        public boolean isCurrentSite()
        Returns true if this site is the current site.

        Returns:
        true if this is the current site