Class A_CmsToolbarHandler

    • Method Detail

      • transformEntries

        public java.util.List<I_CmsContextMenuEntrytransformEntries​(java.util.List<org.opencms.gwt.shared.CmsContextMenuEntryBean> menuBeans,
                                                                      org.opencms.util.CmsUUID structureId)
        Transforms a list of context menu entry beans to a list of context menu entries.

        Parameters:
        menuBeans - the list of context menu entry beans
        structureId - the id of the resource for which to transform the context menu entries
        Returns:
        a list of context menu entries
      • transformSingleEntry

        protected I_CmsContextMenuEntry transformSingleEntry​(org.opencms.util.CmsUUID structureId,
                                                             org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
        Creates a single context menu entry from a context menu entry bean.

        Parameters:
        structureId - the structure id of the resource
        bean - the context menu entry bean
        Returns:
        the created context menu entry