001
014
015 package com.liferay.portlet.socialactivity;
016
017 import com.liferay.portal.model.Portlet;
018 import com.liferay.portal.security.permission.PermissionChecker;
019 import com.liferay.portal.theme.ThemeDisplay;
020 import com.liferay.portlet.BaseControlPanelEntry;
021
022
025 public class SocialActivityAdminControlPanelEntry
026 extends BaseControlPanelEntry {
027
028 @Override
029 public boolean isVisible(
030 PermissionChecker permissionChecker, Portlet portlet)
031 throws Exception {
032
033 return false;
034 }
035
036 @Override
037 public boolean isVisible(
038 Portlet portlet, String category, ThemeDisplay themeDisplay)
039 throws Exception {
040
041 return super.isVisible(portlet, category, themeDisplay);
042 }
043
044 }