Business Logic with Service Builder

Once you’ve defined your application’s entities and run Service Builder to generate your service and persistence layers, you can begin adding business logic. Each entity generated by Service Builder contains a model implementation, local service implementation, and optionally a remote service implementation class. Your application’s business logic can be implemented in these classes. The generated service layer contains default methods for CRUD operations, but often times it’s necessary to implement additional methods. Once you’ve added your business logic, running Service Builder again regenerates your application’s interfaces and makes your new logic available for invocation.

In this section of tutorials, you’ll learn about creating and invoking your application’s local services, finding and invoking Liferay’s services, and customizing Liferay services.

« Actionable Dynamic QueriesCreating Local Services »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0