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

Generate automatically batch infrastructure

    Details

      Description

      (v1.0/import/DTO_CLASSNAME/VERSION/)

      We need a way of informing batch framework of the:

      • DTO className
      • version
      • operation (delete, get...)

      Options:

      1 - Annotations manually
      1.1 - trying to avoid passing the full dto classname and version (version latest, trying to use simple dto class name). Behaviour won't be consistent between versions.
      2 - Explicit endpoint /batch ^ -> Drew -> /organizations (long[] id) <> /organizations (page...)

      3 - Global configuration
      4 - Interface that you implement in resourceImpl (generator with 2 generation passes)

      5 - Add a flag in the model and generate or not the path

      Things that we want:

      • A method to be optionally overriden for implementing batch

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.X
                  7.1.X
                  7.2.X