Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-844

Getting resource actions has been simplified

Details

    Description

      Getting resource actions has been simplified with the addition of two new methods in ResourceActionsUtil. The first method is

      public static List<String> getResourceActions(String name);

      The above method can be used in place of getModelResourceActions(String name) and getPortletResourceActions(String name). The new method will determine the appropriate resource to return based on the name.

      The second method is

      public static List<String> getResourceCommunityDefaultActions(String name);

      The above method can be used in place of getModelResourceCommunityDefaultActions(String name)and getPortletResourceCommunityDefaultActions(String name). The new method will determine the appropriate resource to return based on the name.

      Attachments

        Issue Links

          Activity

            People

              support-ee EE Support
              samuel.kong Samuel Kong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP2 (5.1.5)