Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ポートレット グループの範囲設定に応じて、組織であるすべてのグループに対していくつかのcronジョブを実行する必要があります。
ポートレットを組織ページに追加し、ポートレットにいくつかのプリファレンスを設定してからポートレットを削除すると、プリファレンスは削除されず、cron ジョブが引き続きタスクを実行します。
ポートレットが削除されたこと、または具体的idに接続されたポートレットがないことを確認する方法はありますgroupIdか?
id
groupId
環境: Liferay 6.1
ポートレットが存在するか、どのページにも存在しない場合にPortalUtil.getPlidFromPortletId(long groupId, String portletId)返すために使用できます。plid0
PortalUtil.getPlidFromPortletId(long groupId, String portletId)
plid
0