O'Reilly logo

Liferay Portal Systems Development by Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rebuilding services

Service-Builder provides the ability to build services and models automatically. However, there are a few scenarios where you need to rebuild services against service.xml. The following is a list of possible use cases:

  • Use case 1: Change package-path to a different value such as com.bookpub.knowledgebase and / or change name-space to another value such as KBM
  • Use case 2: Change the entity name to a different value such as KBArticle
  • Use case 3: Update the columns, finders, orders, relationship, references, and exceptions
  • Use case 4: Update signatures (and add new methods) in local-service-impl and / or finder-impl and / or update constraint hint in portlet-model-hints.xml
  • Use case 5: Use other databases in plugins

In use cases 1 and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required