Introduction to Data Access

Liferay DXP’s data can be retrieved using its APIs. It’s important, however, to understand how data is used amid all of Liferay DXP’s constructs. At a basic level, all the data is represented by an object model. This is retrieved from the database and automatically mapped from SQL to the model by Service Builder. Using Model Listeners, you can listen for events on these models and take action when they are stored or retrieved.

All data in Liferay DXP is scoped to a context: a site, a page, or global. When storing data in your application, you should therefore take advantage of scope so your application integrates well with the system and users can add your application in whatever scope they need it.

Read on to learn how to do both of these things.

« Finding and Invoking Liferay ServicesData Scopes »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0