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.

カテゴリ
カテゴリ
PortletMVC4Spring Project Anatomy
PortletMVC4Spring Project Anatomy PortletMVC4Spring portlets are packaged in WARs. Liferay provides Maven archetypes for creating projects configured to use JSP/JSPX and Thymeleaf templates. Their...
Reference
Reference PortletMVC4Spring integrates Spring, the Spring Web Framework, and the MVC design pattern with portlet development. As such, it uses configuration files from each of these areas and...
PortletMVC4Spring Configuration Files
PortletMVC4Spring Configuration Files A PortletMVC4Spring application has these descriptors, Spring contexts, and properties files in its WEB-INF folder: web.xml → Web application descriptor ...
Adding a Language
Adding a Language Liferay ships with over 50 languages out-of-the-box. Translation is complete for many of these languages, and some are still in the translation process. Each language has its own...
Generating Translations Automatically
Generating Translations Automatically Liferay DXP supports 50 languages out-of-the-box. Each locale has its own language properties file containing keys for its language. When you create an...
Customizing Localization
Customizing Localization Liferay ships with 55 translations, making it ideal for deployments all over the world. Sometimes, however, you must modify a translation or provide a new one. Here you can...
APIs as OSGi Services
APIs as OSGi Services After you've learned what a module is and how to deploy one, you can use modules to define APIs and implement them. Liferay APIs are OSGi services, defined by Java interfaces...
アーキテクチャ
アーキテクチャ Liferay DXP/Portalのアーキテクチャには、次の3つの部分があります。 コア: DXPとそのフレームワークをブートストラップします。 コアは、サービス、UIコンポーネント、およびカスタマイゼーションを管理するためのランタイム環境を提供します。 サービス: Java APIおよびWeb APIを介してDXP機能とカスタム機能を公開します。 UI:...
Fundamentals
Fundamentals Liferay development projects consist primarily of simple .jar files. These contain a few extra configuration files that make them OSGi modules, but they're easily understandable by...
Configuring Dependencies
Configuring Dependencies Liferay provides a container where modules can publish and consume functionality through their Java packages. Modules can leverage packages from other modules or...
Finding Artifacts
Finding Artifacts To use external artifacts in your project, you must configure their dependencies in your build.gradle Gradle script. Before specifying an artifact as a dependency, you must first...
Deploying WARs (WAB Generator)
Deploying WARs (WAB Generator) You can create applications as Java EE-style Web Application ARchive (WAR) artifacts or as Java ARchive (JAR) OSGi bundle artifacts. Bean Portlets, PortletMVC4Spring...
Specifying Dependencies
Specifying Dependencies You must satisfy all dependencies to compile and deploy a module successfully. After you find the dependency artifacts, add them as dependencies in your Gradle build file....
Exporting Packages
Exporting Packages In OSGi, packages are private by default. You must explicitly exporting a package so other modules can import and use them. Here's how to export packages: Open your bnd.bnd...
Resolving Third Party Library Package Dependencies
Resolving Third Party Library Package Dependencies An application can rely on multiple OSGi modules. Resolving their Java package dependencies can be challenging. In a perfect world, every package...
エクスポートされたサードパーティパッケージ
エクスポートされたサードパーティパッケージ Liferayでは、100以上のサードパーティのJavaパッケージを実行時に提供しています。 com.liferay.portal.bootstrapモジュールは、個々のパッケージを明示的に指定したり、 globを使ってパッケージのグループを指定することで、パッケージをエクスポートします。 例えば、 7.3.4-ga5...
JARs Excluded from WABs
JARs Excluded from WABs [Liferay-generated web application bundles (WABs) are stripped of third party JARs that contain packages that Liferay exports already. Deploying the same third party...
Importing Packages
Importing Packages You often find yourself in a position of needing functionality provided by another module. To access this functionality, you must import packages from other modules into your...
Module Projects
Module Projects Liferay applications and customizations are OSGi modules: .jar files containing Java code and some extra configuration for publishing and consuming APIs. A module project comprises...
Semantic Versioning
Semantic Versioning Semantic Versioning is a three tiered versioning system for incrementing version numbers based on the degree of API change made in a releasable software component. It's a...
Using an OSGi Service
Using an OSGi Service Liferay APIs are readily available as OSGi services. You can access a service by creating a field of that service type and annotating the field with @Reference, like this: ...
Using the Gogo Shell
Using the Gogo Shell The Gogo shell provides a way to interact with the module framework. Among other things, you can Dynamically install/uninstall bundles (modules) Examine package...
Command Line Gogo Shell
Command Line Gogo Shell If you're in a development environment, you can interact with the module framework locally from the command line. Gogo shell should only be run from the command line in...
Gogo Shell Commands
Gogo Shell Commands The Gogo shell executes Felix Gogo basic commands and Liferay commands. The Gogo shell is accessible in the Control Panel (recommended) and from the command line. Here are some...
ビデオショートカットプロバイダーの作成
ビデオショートカットプロバイダーの作成 Liferay DXP 7.4以降で利用可能 デフォルトでは、Liferayの外部ビデオショートカットは、 YouTube 、 Vimeo 、 Facebook 、および Twitch をサポートしています。 ただし、この機能を拡張して、他のビデオソースをサポートすることができます。 ...
Workflow Definition Link API Basics
Workflow Definition Link API Basics Liferay DXP 2025.Q1+/Portal GA132+ You can manage workflow definition links from the Liferay UI or using Liferay's REST APIs. In Liferay, the Control Panel →...
開発者ガイド
開発者ガイド UADフレームワークの追加 アカウントAPIの基本 アカウントユーザーとロールのAPI ユーザーアカウントAPIの基本 組織APIの基本 ロールAPIの基本 User Groups APIの基本 Countries API の基本 Regions API の基本
Account Groups API Basics
Account Groups API Basics Liferay DXP/Portal 7.4+ You can manage account groups from the Applications menu or use Liferay's REST APIs. Call these services to create and manage account groups. ...
アカウントユーザーとロールのAPI
アカウントユーザーとロールのAPI アプリケーションメニューから アカウントユーザー と アカウントロール を管理することができますが、LiferayのREST APIを利用することもできます。 これらのサービスを呼び出して、アカウントユーザーとロールの作成と管理を行います。 アカウントユーザーの追加 次に、以下の手順を実行します。 Accounts API Basics...
組織 API の基本
組織 API の基本 アプリケーションメニューから Create and Manage Organizations を利用できますが、Liferay の REST API を利用することもできます。 組織を管理するためにこれらのサービスを呼び出す。 組織の追加 次に、以下の手順に従います。 Organizations API Basics をダウンロードして解凍する。 curl...
アカウントAPIの基本
アカウントAPIの基本 Liferay DXP/Portal 7.4以降 アプリケーションメニューから アカウント を管理することができますが、LiferayのREST APIを利用することもできます。 これらのサービスを呼び出して、アカウントの作成や管理を行います。 アカウントの追加 次に、以下の手順に従います。 Accounts API Basics...
各国APIの基本
各国APIの基本 Liferay 7.4 U24+ および GA24+ LiferayのRest APIを使用して国を作成し、管理します。 国の追加 次に、以下の手順に従います。 Countries API Basics をダウンロードして解凍する。 curl...
リージョンAPIの基本
リージョンAPIの基本 Liferay 7.4 U24+ および GA24+ Liferay の REST API を使ってリージョンを作成・管理します。 リージョンの追加 次に、以下の手順に従います。 Regions API Basics をダウンロードして解凍する。 curl...
UADフレームワークの追加
UADフレームワークの追加 Liferayのユーザー関連データ(UAD)管理ツールでユーザーデータを管理・削除することができます。 本ツールは、Liferayの多くのアプリケーション(ブログ、ドキュメントとメディア、掲示板など)ですぐに利用できます。 このフレームワークは、お客様のカスタムアプリケーションに適用することも可能です。 この作業は、...
ロールAPIの基本
ロールAPIの基本 アプリケーションメニューから Create and Manage Roles ができますが、Liferay の REST API を使うこともできます。 ロールを管理するためにこれらのサービスを呼び出す。 ユーザーを通常の役割に関連付ける 次に、以下の手順を実行します。 Roles API Basics をダウンロードし、解凍します。 curl...
住所APIの基本
住所APIの基本 liferay DXP/Portal 7.4+. Liferay の REST API を使用して郵便住所を管理します。 アカウントに住所を追加する 次に、以下の手順に従います。 Postal Address API Basics をダウンロードして解凍する。 curl...
ユーザーグループAPIの基本
ユーザーグループAPIの基本 アプリケーションメニューから Create and Manage User Groups ができますが、Liferay の REST API を使うこともできます。 これらのサービスを呼び出して、ユーザーグループを管理する。 ユーザーグループの追加 その後、以下の手順に従ってください: User Groups API Basics...
ユーザーアカウントAPIの基本
ユーザーアカウントAPIの基本 コントロールパネルから ユーザーの追加と管理 ができますが、Liferay の REST API を使うこともできます。 これらのサービスを呼び出して、ユーザーの追加、編集、削除を行うことができます。 まず、新しいユーザーを追加します。 ユーザーの追加 次に、以下の手順に従います。 User Account API Basics...
Portal Developer Properties
Portal Developer Properties There are Portal Properties that facilitate development. Liferay's portal-developer.properties file includes all of them. The portal-developer.properties file is enabled...
7.2 旧バージョンと非互換の変更
7.2 旧バージョンと非互換の変更 このドキュメントは、サードパーティのLiferay開発者またはユーザーとの既存の機能、API、または契約に違反する変更の時系列リストを示しています。 私たちはこれらの混乱を最小限にするために最善を尽くしていますが、時には避けられないこともあります。 このファイルに記載されている変更の種類の一部を次に示します。 削除または置換される機能 ...
7.3 旧バージョンと非互換の変更
7.3 旧バージョンと非互換の変更 このドキュメントは、サードパーティのLiferay開発者またはユーザーとの既存の機能、API、または契約に違反する変更の時系列リストを示しています。 私たちはこれらの混乱を最小限にするために最善を尽くしていますが、時には避けられないこともあります。 このファイルに記載されている変更の種類の一部を次に示します。 削除または置換される機能 ...
7.4 旧バージョンと非互換の変更
7.4 旧バージョンと非互換の変更 破壊的変更 既存の機能やコード構造を破壊したり、大幅に変更したりする。 最初の四半期リリース(2023 Q3)から始まるLiferay 7.4のすべての変更点です。 製品の変更や改良に伴い、私たちはこうした中断を最小限に抑えるよう最善を尽くしますが、避けられない場合もあります。 Liferay ソースコード の 2023 Q3 以前からの 7.4...
フォーム・フラグメントの作成
フォーム・フラグメントの作成 liferay 7.4 U45+/GA45+. フォームコンポーネントの断片 は、コンテンツページでオブジェクトのフォームを構築するためのものです。 Liferayのフォームフラグメントがあなたのユースケースを満たさない場合は、フォームに必要なデザインと機能を実現するために独自のフォームフラグメントを作成してください。 フォームの断片を作る ...
Contributing to Liferay Development
Contributing to Liferay Development The first thing to do in learning to fix bugs or contributing a feature is to become familiar with how to build the system. The Liferay Portal build system now...
LiferayでGlowrootを使う
LiferayでGlowrootを使う liferay DXP 2023.Q4+/Portal 7.4 GA100+. Liferayは、オープンソースのJavaアプリケーション監視ツールである Glowroot をバンドルしています。 このツールは、システムに関する有用な統計情報(サーバーへのリクエスト、エラーなど)を表示します。 最小限のオーバーヘッドで。...
Glowroot による Liferay パフォーマンスの使用例
Glowroot による Liferay パフォーマンスの使用例 liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンスを診断し、改善するための情報を提供します。 可能な使用例をいくつか挙げてみよう。 大型コレクションの返却...
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...
GlowrootによるJVMの問題のトラブルシューティング
GlowrootによるJVMの問題のトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowrootは、システムの問題を素早く特定するためのダッシュボードを表示する。 Errors_タブをクリックすると、追跡されたエラーのリストが表示されます。...
Glowroot Freemarker プラグインによるテンプレートのトラブルシューティング
Glowroot Freemarker プラグインによるテンプレートのトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot は、 FreeMarker テンプレート をトラブルシューティングし、遅いトランザクションを特定することができます。 FreeMarkerプラグインの設定 Configuration →...
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンス問題を特定し、診断します。 以下のトピックは、診断するための一般的な問題です。 高価なSQLクエリ 高価な SQL...
スクリプトコンソールからのスクリプトの実行
スクリプトコンソールからのスクリプトの実行 スクリプトコンソールは、Groovyスクリプトを実行し、その出力を印刷するための単一のビューを提供します。 ウィジェットとユーザーの操作を容易にする定義済みの変数があります。 次のトピックでは、スクリプトコンソールの使用を開始します。 スクリプトコンソールでサンプルスクリプトを実行する スクリプトコンソールで使用可能な定義済み変数 ...
スクリプトエンジンの使用
スクリプトエンジンの使用 DXPは、 Groovy スクリプトを実行してLiferay DXPインスタンスを維持するための堅牢なスクリプトエンジンを提供します。 スクリプトを実行して、データのクリーンアップ、ユーザーメンテナンス操作、Liferay APIの一括呼び出し、またはシステムレベルの操作を含むメンテナンスタスクを実行できます。 ...
スクリプトからLiferayサービスを呼び出す
スクリプトからLiferayサービスを呼び出す 多くのスクリプトシナリオでは、Liferayサービスを呼び出す必要があります。 Liferay *ServiceUtilクラス は、スクリプトコンソールでLiferayサービスを呼び出す最も速くて便利な方法です。 Javaを使用するのと同じ方法でGroovyを使用してLiferayサービスを呼び出します。...
スクリプトの例
スクリプトの例 DXPでスクリプトを使用するのに役立ついくつかの例を次に示します。 ほとんどの例は、Liferayブログの投稿「 5 Tips to Improve Usage of the Liferay Script Console 」に基づいています。 例1:新しい利用規約をユーザーに提示する...
Development
Development Liferay's development platform makes developers faster and more efficient by providing a baseline set of features to build upon. Rather than start from scratch, you can start instead...
Building a Custom Ticketing System
Building a Custom Ticketing System Liferay makes it easy for you to build digital solutions. For example, you can create a custom ticketing application with the styling and features needed for your...
Building Applications
Building Applications For maximum compatibility with all of Liferay's deployment options, you can combine Liferay's Objects, Client Extensions, and other features and tools to build real-world...
Implementing a Documentation Referral System
Implementing a Documentation Referral System The ticketing system can be further enhanced with a documentation referral system. The system searches automatically for relevant documentation based on...
Deploying a Custom Application
Deploying a Custom Application You can use a custom element client extension to render a JavaScript application as a widget on a Liferay site page. The application is served by Liferay and...
Applying a Custom Theme
Applying a Custom Theme You can use different front-end client extensions to customize the look and feel of your site. Specifically, theme CSS type client extension can be used as an alternative to...