Jetspeed 2
  1. Jetspeed 2
  2. JS2-1118

Extend PSML access from Portal Site Menus

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Environment:
      Portal Site Component

      Description

      Extend PortalSite MenuOption interface to include new methods to access editable status and underlying PSML nodes.

        Activity

        Hide
        Randy Watler added a comment -

        The following APIs have been implemented on MenuElement, (super interface of MenuOption):

        /**

        • isEditable - get editable access flag for menu option
          *
        • @return editable flag
          */
          boolean isEditable();

        /**

        • getNode - get Node proxy from site view associated with element
          *
        • @return proxy folder, page, or link node
          */
          Node getNode();

        /**

        • getManagedNode - get underlying managed concrete Node
        • associated with menu element; note that the
        • node returned is not necessarily deterministic
        • if the mapping of profiled folders, pages,
        • and links is not mapped 1:1
          *
        • @return concrete folder, page, or link node
          */
          Node getManagedNode();

        SVN commit revision: 919260.

        Show
        Randy Watler added a comment - The following APIs have been implemented on MenuElement, (super interface of MenuOption): /** isEditable - get editable access flag for menu option * @return editable flag */ boolean isEditable(); /** getNode - get Node proxy from site view associated with element * @return proxy folder, page, or link node */ Node getNode(); /** getManagedNode - get underlying managed concrete Node associated with menu element; note that the node returned is not necessarily deterministic if the mapping of profiled folders, pages, and links is not mapped 1:1 * @return concrete folder, page, or link node */ Node getManagedNode(); SVN commit revision: 919260.

          People

          • Assignee:
            Randy Watler
            Reporter:
            Randy Watler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development