Class CmsCreatableListItem

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, I_CmsDraggable, I_CmsListItem, I_CmsTruncable

    public class CmsCreatableListItem
    extends CmsListItem
    A list item widget class which also contains a resource type info bean, for use in creating new sitemap entries.

    Since:
    8.0.0
    • Constructor Detail

      • CmsCreatableListItem

        public CmsCreatableListItem​(CmsListItemWidget content,
                                    org.opencms.ade.sitemap.shared.CmsNewResourceInfo typeInfo,
                                    CmsCreatableListItem.NewEntryType newEntryType)
        Creates a new list item with a given resource type info bean.

        Parameters:
        content - the content for the list item widget
        typeInfo - the resource type info bean
        newEntryType - the type of the creatable sitemap entry type
    • Method Detail

      • getCopyResourceId

        public org.opencms.util.CmsUUID getCopyResourceId()
        Returns the copy resource structure id.

        Returns:
        the copy resource structure id
      • getResourceTypeInfo

        public org.opencms.ade.sitemap.shared.CmsNewResourceInfo getResourceTypeInfo()
        Returns the resource type information bean.

        Returns:
        the resource type info bean
      • getTypeId

        public int getTypeId()
        Returns the resource type id.

        Returns:
        the resource type id
      • getTypeName

        public java.lang.String getTypeName()
        Returns the resource type name.

        Returns:
        the resource type name