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.

カテゴリ
カテゴリ
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....
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...
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...
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: ...
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...
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...
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...
ビデオショートカットプロバイダーの作成
ビデオショートカットプロバイダーの作成 Liferay DXP 7.4以降で利用可能 デフォルトでは、Liferayの外部ビデオショートカットは、 YouTube 、 Vimeo 、 Facebook 、および Twitch をサポートしています。 ただし、この機能を拡張して、他のビデオソースをサポートすることができます。 ...
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...
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンス問題を特定し、診断します。 以下のトピックは、診断するための一般的な問題です。 高価なSQLクエリ 高価な SQL...
GlowrootによるJVMの問題のトラブルシューティング
GlowrootによるJVMの問題のトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowrootは、システムの問題を素早く特定するためのダッシュボードを表示する。 Errors_タブをクリックすると、追跡されたエラーのリストが表示されます。...
スクリプトの例
スクリプトの例 DXPでスクリプトを使用するのに役立ついくつかの例を次に示します。 ほとんどの例は、Liferayブログの投稿「 5 Tips to Improve Usage of the Liferay Script Console 」に基づいています。 例1:新しい利用規約をユーザーに提示する...
スクリプトコンソールからのスクリプトの実行
スクリプトコンソールからのスクリプトの実行 スクリプトコンソールは、Groovyスクリプトを実行し、その出力を印刷するための単一のビューを提供します。 ウィジェットとユーザーの操作を容易にする定義済みの変数があります。 次のトピックでは、スクリプトコンソールの使用を開始します。 スクリプトコンソールでサンプルスクリプトを実行する スクリプトコンソールで使用可能な定義済み変数 ...
スクリプトエンジンの使用
スクリプトエンジンの使用 DXPは、 Groovy スクリプトを実行してLiferay DXPインスタンスを維持するための堅牢なスクリプトエンジンを提供します。 スクリプトを実行して、データのクリーンアップ、ユーザーメンテナンス操作、Liferay APIの一括呼び出し、またはシステムレベルの操作を含むメンテナンスタスクを実行できます。 ...