BlogsEntryServiceUtil does permission checking while BlogsEntryLocalServiceUtil does not do permission checking. The first one will only return blog entries which the current user has view permission. The second one will return all blog entries, including blog entries which the current user has no permission to view.
http://www.liferay.com/community/forums/-/message_boards/view_message/16639692
本文探讨了两种不同的博客条目服务工具:BlogsEntryServiceUtil 和 BlogsEntryLocalServiceUtil。前者在检索博客条目时会进行权限检查,仅返回当前用户有查看权限的内容;而后者则不会执行权限检查,能返回所有博客条目,包括用户无权访问的内容。
4707

被折叠的 条评论
为什么被折叠?



