Search Results

All Results 6974
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Sorting Entity Instances
Sorting Entity Instances Often, you want to retrieve multiple instances of a given entity and list them in a particular order. The service.xml file lets you specify the default order of your...
Service Builder Basics
Service Builder Basics Using Service Builder helps you learn it. You'll use it to learn the basics: Generating Model, Persistence, and Service Code: Define a basic model, generate code from it,...
Invoking a Service Locally
Invoking a Service Locally Service Builder services that are deployed to DXP/Portal can be invoked from other classes in the same JVM. These services are local to the classes. Service Builder...
Understanding and Extending Generated Classes
Understanding and Extending Generated Classes Service Builder generates both tables for your entity and model, persistence, and service classes for it. Here you'll examine generated classes for an...
Defining Entities
Defining Entities Entities are the heart and soul of a service. They represent the map between the model objects in Java and your database fields and tables. Service Builder automatically maps your...
Configuring service.properties
Configuring service.properties Service Builder generates a service.properties file in your *-service module's src/main/resources folder. Liferay uses this file's properties to alter your service's...
Connecting Service Builder to an External Database
Connecting Service Builder to an External Database Service builder creates the necessary tables for the service in the lportal database with all other data used by Liferay. If you want to store the...
Defining Entity Columns
Defining Entity Columns An entity's columns represent its attributes. These attributes map table fields to Java object fields. Here you'll examine the sample project from Understanding and...
Defining Entity Relationships
Defining Entity Relationships Relationships between database entities or Java objects are necessary for most applications. Take Liferay's Message Boards application as an example. Each Message...
Adding Model Hints
Adding Model Hints Once you've used Service Builder to define model entities, you may want to refine how users enter that data. Model hints specify entity data restrictions and other formatting....
Configuring Global Service Options
Configuring Global Service Options A service's global options apply to all its entities. Here are the options: Dependency Injector Package path Multiversion concurrency control Namespace...
Defining Entity Finder Methods
Defining Entity Finder Methods Finder methods retrieve entity objects from the database based on specified parameters. For each finder defined, Service Builder generates several methods to fetch,...
Modifying Database Fields in Development
Modifying Database Fields in Development As you develop an application, you might need to add fields to your database. This is a normal process of iterative development: you get an idea for a new...
Upgrading Data Schemas
Upgrading Data Schemas When you upgrade Liferay, you might run into incompatibility issues with your custom modules' data schemas. There are three ways you can resolve these issues: You can run...
Using Upgrade Processes in Earlier Versions
Using Upgrade Processes in Earlier Versions Liferay DXP 7.4 U10/Portal 7.4 GA14 and Below Follow these steps to create an upgrade process for your module: Open your module's bnd.bnd file, and...
Multithreading Process
Multithreading Process Liferay DXP 7.4 U10+ or Liferay Portal 7.4 GA14+ Your Upgrade Processes may involve making complex changes to large data sets. If performance is critical, use the...
Continuous Integration
Continuous Integration Liferay Cloud uses Jenkins to power its continuous integration infrastructure service. When you send a pull request or push a commit to one of your pre-configured GitHub...
Database Service
Database Service The database service is a proxy in Liferay Cloud to the Cloud SQL service in the Google Cloud Platform where the database itself resides. The database service provides tools for...
Using a Custom Service
Using a Custom Service In Liferay Cloud, you are not limited to the standard set of services provided out-of-the-box. You can also create and deploy a custom service to run any new processes within...
Platform Services
Platform Services In Liferay Cloud, the processes necessary to host and maintain a site are run by platform services. Each service corresponds to a part of what is necessary to keep your...
Restoring Data from a Backup
Restoring Data from a Backup During project development, there may be times when you must restore data or roll back the project to an earlier state. Restoring a backup to an environment restores...
Search Service (Elasticsearch)
Search Service (Elasticsearch) The Elasticsearch service is the text search engine for your Liferay DXP application. It's a private service that only communicates with the other services in your...
Backup Service
Backup Service Maintaining regular backups is vital to protecting your project's data. The Liferay Cloud backup service stores iterations of environment data that can be used to restore your...
Using the Database Client
Using the Database Client Viewing data in the database is sometimes necessary to troubleshoot an issue with your application or for custom development. In order to access the database, you must use...
Command-Line Tool
Command-Line Tool The CLI tool can be used to view and manage your Liferay Cloud services. Once installed, you can run lcp --help in your terminal to view available actions. You can run the -v or...
Liferay SaaS Compatibility Matrix
Liferay SaaS Compatibility Matrix Liferay DXP is the heart of Liferay SaaS, but not every DXP feature applies to Liferay SaaS. Some DXP features are not compatible, and some must be achieved via...
Upgrading to a High Availability Subscription
Upgrading to a High Availability Subscription In many cases, the standard subscription plan for Liferay Cloud is sufficient to ensure quality performance for a live project. As your needs change,...
Configuration via LCP.json
Configuration via LCP.json Each service in your Liferay Cloud environments has an LCP.json file that you can use to configure the service. You can configure properties like the service ID, memory,...
Default Provisioning for PaaS Environments
Default Provisioning for PaaS Environments Liferay PaaS provides preconfigured infrastructure templates to meet the varying needs of development, testing, and production environments. Liferay Cloud...
Liferay Cloud Infrastructure
Liferay Cloud Infrastructure Liferay Cloud is a flexible platform that combines a collection of key components to provide a robust, reliable, and manageable Liferay DXP implementation. This diagram...
Understanding Service Stack Versions
Understanding Service Stack Versions The Liferay Cloud service stack represents the major version of all of the services in your Liferay Cloud environment. Each individual service may have a...
Defining Environment Variables
Defining Environment Variables Environment variables are a set of dynamic placeholders that can affect the way a service behaves within an environment. You can define environment variables via the...
Example Configuration Files
Example Configuration Files Different services in Liferay Cloud (such as the search and web server services) use configuration files to perform what you might be used to handling differently in an...
Liferay Cloud Version 5 Changes
Liferay Cloud Version 5 Changes Liferay Cloud version 5 comes with several changes and new features: ModSecurity Capabilities with Nginx Improved Regional Persistence Prepare and Swap Backup...
Platform Limitations
Platform Limitations Liferay Cloud and its services have some notable limitations, depending on your subscription level. Limitations with Liferay Cloud's infrastructure may change over time. ...
Creating a Database Dump
Creating a Database Dump Uploading a backup to Liferay Cloud's backup service requires a snapshot comprised of two compressed files, containing the document library and database dump, respectively....
Stage 3: Uploading and Restoring the Data Backup
Stage 3: Uploading and Restoring the Data Backup With your Liferay DXP database and document library in a compatible format, the next stage is to upload them together as a single backup to Liferay...
Changing Your Database Username
Changing Your Database Username The database username is defined by the lcp-secret-database-user secret and can be changed at any time. When this value is changed, a user with the new credentials...
Downloading and Uploading Backups
Downloading and Uploading Backups The Liferay Cloud backup service creates backups of an environment's database and the full contents of the Liferay instance's LIFERAY_HOME/data folder. This...
Changing Your Database Password
Changing Your Database Password Changing the database password for your database service also affects the other services that must connect to the database. Updating your database password...