Liferay has interfaces for all its Local service implementations
Interfaces
public interface UserLocalService { }
public interface OrganizationLocalService { }
public interface ThemeLocalService { }
Interface Implementations
UserLocalServiceImpl
OrganizationLocalServiceImpl
UserGroupLocalServiceImpl
GroupLocalServiceImpl
BlogsEntryLocalServiceImpl
AccountLocalServiceImpl
AddressLocalServiceImpl
CompanyLocalServiceImpl
GroupLocalServiceImpl
PortalLocalServiceImpl
ThemeLocalServiceImpl
Each Local Service
When we want to customize any Service Implementation in hook, generally we don't directly extend the LocalServiceImpl clases. we use Wrapper classes
UserLocalServiceWrapper
OrganizationLocalServiceWrapper
ThemeLocalServiceWrapper
In order to user these Local service implementation in our code we always use Util classes
UserLocalServiceUtil
ThemeLocalServiceUtil
GroupLocalServiceUtil
CompanyLocalServiceUtil
No comments:
Post a Comment