本文整理了Java中com.liferay.portal.kernel.model.Group.isRoot()
方法的一些代码示例,展示了Group.isRoot()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Group.isRoot()
方法的具体详情如下:
包路径:com.liferay.portal.kernel.model.Group
类名称:Group
方法名:isRoot
暂无
代码示例来源:origin: com.liferay.portal/com.liferay.portal.kernel
@Override
public boolean isRoot() {
return _group.isRoot();
}
代码示例来源:origin: com.liferay/com.liferay.asset.publisher.web
@Override
public boolean isVisible(ThemeDisplay themeDisplay) {
Group siteGroup = themeDisplay.getSiteGroup();
if (siteGroup.isLayoutPrototype()) {
return false;
}
if (siteGroup.isLayoutSetPrototype()) {
return false;
}
if (siteGroup.isRoot()) {
return false;
}
return true;
}
内容来源于网络,如有侵权,请联系作者删除!