Class CmsListElementCreationOption

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

    public class CmsListElementCreationOption
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    Represents a single option (type) that can be selected in the list element creation dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsListInfoBean getInfo()
      Gets the list info bean representing the type.
      java.lang.String getNewLink()
      Gets the string used by the content editor to create the new resource.
      java.lang.String getType()
      Gets the resource type name.
      • Methods inherited from class java.lang.Object

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

      • CmsListElementCreationOption

        public CmsListElementCreationOption​(java.lang.String type,
                                            CmsListInfoBean info,
                                            java.lang.String newLink)
        Creates a new instance.
        Parameters:
        type - the type name
        info - the list info bean describing the type
        newLink - the string used by the content editor to create the new resource
    • Method Detail

      • getInfo

        public CmsListInfoBean getInfo()
        Gets the list info bean representing the type.
        Returns:
        the list info bean for the type
      • getNewLink

        public java.lang.String getNewLink()
        Gets the string used by the content editor to create the new resource.
        Returns:
        the string used by the content editor to create the new resource
      • getType

        public java.lang.String getType()
        Gets the resource type name.
        Returns:
        the type name