RE: What is the way to customize internal package classes?

thumbnail
7年前 に Kailash Yadav によって更新されました。 Regular Member 投稿: 211 参加年月日: 11/10/18 最新の投稿

Hello, we need to customize UI (sorting options) of Asset Browser Web and Journal Web modules. In Liferay 7.x, these option moved in Display Context classes. What is best way to cusomize these internal package classes like : 

JournalDisplayContext.java

AssetBrowserDisplayContext.java

 

Thanks in Advance :)

thumbnail
7年前 に Sushil Patidar によって更新されました。 Expert 投稿: 467 参加年月日: 11/10/31 最新の投稿

Hi ,

 

Check the link and below 

https://github.com/liferay/liferay-portal/blob/65059440dfaf2b8b365a20f99e83e4cdb15478aa/modules/apps/document-library-google-docs/document-library-google-docs/src/main/java/com/liferay/document/library/google/docs/internal/display/context/GoogleDocsDLDisplayContextFactory.java

 

I think it should help.

 

Regards

Sushil

thumbnail
7年前 に Abhishek Jain によって更新されました。 Regular Member 投稿: 226 参加年月日: 16/08/20 最新の投稿
Hi 
Kailash,

Please refer the following link for extending the class which is not the Component...

https://community.liferay.com/blogs/-/blogs/extending-liferay-osgi-modules
 

thumbnail
7年前 に Kailash Yadav によって更新されました。 Regular Member 投稿: 211 参加年月日: 11/10/18 最新の投稿
Thanks all. I think this (https://community.liferay.com/en_GB/blogs/-/blogs/fixing-module-package-access-modifiers ) blog is more usefull for me as all are internal package. Thanks Nisarg for quick help :)