Capability

Development and Tooling

Liferay offers a comprehensive toolkit to extend or customize your digital experience. Build applications quickly with low-code/no-code features like Objects, or leverage developer tools like Liferay Workspace and Blade CLI for further customizations.

For users on PaaS or running Self-Hosted, Liferay also offers tools deploying customizations.

Feature
Deployment Approach
Capability
Business Logic with Service Builder
Business Logic with Service Builder Once you've generated model, persistence, and service code with Service Builder, you can begin adding business logic. Entities generated by Service Builder...
公開日: 2024/05/09 18:52
Service Builder
Service Builder An application without reliable business logic or persistence isn't much of an application at all. Unfortunately, writing your own persistence code often takes a great deal of time....
公開日: 2024/05/09 18:52
Advanced Queries
Advanced Queries Service Builder doesn't limit you to elements in service.xml. If simple finders aren't sufficient for getting data out of your application, there are three other ways to make the...
公開日: 2025/01/11 16:12
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...
公開日: 2024/05/09 18:52
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....
公開日: 2024/05/09 18:52
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...
公開日: 2024/05/09 18:52
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,...
公開日: 2024/05/09 18:52
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...
公開日: 2024/05/09 18:52
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...
公開日: 2024/05/09 18:52
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...
公開日: 2024/05/09 18:52
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...
公開日: 2024/05/09 18:52
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,...
公開日: 2024/05/09 18:52
Generating Model, Persistence, and Service Code
Generating Model, Persistence, and Service Code Service Builder makes it easy to define models and generate model, persistence, and service code for them. You'll experience this by defining a model...
公開日: 2024/05/09 18:52
Glowroot による Liferay パフォーマンスの使用例
Glowroot による Liferay パフォーマンスの使用例 liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンスを診断し、改善するための情報を提供します。 可能な使用例をいくつか挙げてみよう。 大型コレクションの返却...
公開日: 2024/05/09 18:59
LiferayでGlowrootを使う
LiferayでGlowrootを使う liferay DXP 2023.Q4+/Portal 7.4 GA100+. Liferayは、オープンソースのJavaアプリケーション監視ツールである Glowroot をバンドルしています。 このツールは、システムに関する有用な統計情報(サーバーへのリクエスト、エラーなど)を表示します。 最小限のオーバーヘッドで。...
公開日: 2024/05/09 18:59
Developing Glowroot Plugins
Developing Glowroot Plugins Liferay DXP 2023.Q4+/Portal GA100+ Glowroot provides various out-of-the-box plugins. You can also build your own with the use of their plugin API. Here are some tips...
公開日: 2024/05/09 18:59
GlowrootによるJVMの問題のトラブルシューティング
GlowrootによるJVMの問題のトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowrootは、システムの問題を素早く特定するためのダッシュボードを表示する。 Errors_タブをクリックすると、追跡されたエラーのリストが表示されます。...
公開日: 2024/05/09 18:59
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンス問題を特定し、診断します。 以下のトピックは、診断するための一般的な問題です。 高価なSQLクエリ 高価な SQL...
公開日: 2024/05/09 18:59
Glowroot Freemarker プラグインによるテンプレートのトラブルシューティング
Glowroot Freemarker プラグインによるテンプレートのトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot は、 FreeMarker テンプレート をトラブルシューティングし、遅いトランザクションを特定することができます。 FreeMarkerプラグインの設定 Configuration →...
公開日: 2024/05/09 18:59
スクリプトからLiferayサービスを呼び出す
スクリプトからLiferayサービスを呼び出す 多くのスクリプトシナリオでは、Liferayサービスを呼び出す必要があります。 Liferay *ServiceUtilクラス は、スクリプトコンソールでLiferayサービスを呼び出す最も速くて便利な方法です。 Javaを使用するのと同じ方法でGroovyを使用してLiferayサービスを呼び出します。...
公開日: 2024/05/09 18:59