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

      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

              Assignee:
              david.gutierrez David Gutiérrez Mesa
              Reporter:
              pavel.savinov Pavel Savinov
              Engineering Assignee:
              Pavel Savinov
              Recent user:
              David Gutiérrez Mesa
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master