掲示板

Liferay : One common thing to use hook is to override the UserLocalService

12年前 に Kiran Jai によって更新されました。

Liferay : One common thing to use hook is to override the UserLocalService

Junior Member 投稿: 38 参加年月日: 12/04/09 最新の投稿
Hi ,

I am going through the Liferay Hooks Concept , one common overide through hooks concept i see that is done for this service-type UserLocalService .
Could anybody please let me know why to override this class .UserLocalService with the user defined type .

I am new to Liferay , could anybody please point out any point for doing so , i am sorry if this is a weird question . Thanks for reading .

<service>
<service-type>com.liferay.portal.service.UserLocalService</service-type>
<service-impl>com.MyUserLocalService</service-impl>
</service>
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Liferay : One common thing to use hook is to override the UserLocalSer

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Different countries may have different model of user information.
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: Liferay : One common thing to use hook is to override the UserLocalSer

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
And different organizations can have different attributes they want to expose in the user object. Hooking UserLocalServiceUtil allows an organization to include these customizations.

Hooks are used for more than overriding the UserLocalService implementation. JSP overrides, replacing/extending other services, etc. Just because you found a bunch through a google search is no indication that this is the only thing they're used for.
12年前 に Kiran Jai によって更新されました。

RE: Liferay : One common thing to use hook is to override the UserLocalSer

Junior Member 投稿: 38 参加年月日: 12/04/09 最新の投稿
Ya , Thank you very much for clearing my weird questions .