Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-108427

As a developer I would like to have a remote method public Layout fetchLayout(groupId, privateLayout, layoutId)

Details

    • Automated, Integration

    Description

      Currently there are methods in the (remote) Layout Service to obtain a list of layouts (pages), however there isn't a method that allows obtaining a specific layout. While in certain contexts it's possible to use the local layout service to do this, in some others it's desirable to be able to go through the remote service to ensure a security check is made. Having the method in the remote service will also make it available via JSON Web Services.

      The provided method should have the following signature:

       public Layout fetchLayout(
        long groupId, boolean privateLayout, long layoutId);

      Test Scenarios

      Test Scenarios     Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration)
      groupId(long)  privateLayout(boolean) layoutId(long)        
      ${Test Site Name} True  ${Private Widget Page} Smoke Integration No Yes
      ${Test Site Name} False  ${Public Content Page} Smoke Integration No Yes
      ${Test Site Name} True ${Public Content Page} Regression Integration No Yes
      ${Test Site Name} False  ${Private Widget Page} Regression Integration No Yes
      Test Site Name True  ${Private Widget Page} Regression Integration No Yes
      Test Site Name False ${Public Content Page} Regression Integration No Yes
      ${Test Site Name} True  Public Content Page Regression Integration No Yes
      ${Test Site Name} False Public Content Page Regression Integration No Yes
      Test Site Name True Public Content Page Regression Integration No Yes
      Test Site Name False Public Content Page Regression Integration No Yes

      Attachments

        Issue Links

          Activity

            People

              david.gutierrez David Gutiérrez Mesa
              pavel.savinov Pavel Savinov (Inactive)
              Pavel Savinov Pavel Savinov (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master