001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
028 @ProviderType
029 public interface Group extends GroupModel, PersistedModel, TreeModel {
030
035 public void clearStagingGroup();
036
037 public java.util.List<com.liferay.portal.model.Group> getAncestors()
038 throws com.liferay.portal.kernel.exception.PortalException,
039 com.liferay.portal.kernel.exception.SystemException;
040
041 public java.util.List<com.liferay.portal.model.Group> getChildren(
042 boolean site)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public java.util.List<com.liferay.portal.model.Group> getChildrenWithLayouts(
046 boolean site, int start, int end)
047 throws com.liferay.portal.kernel.exception.SystemException;
048
049 public int getChildrenWithLayoutsCount(boolean site)
050 throws com.liferay.portal.kernel.exception.SystemException;
051
052 public long getDefaultPrivatePlid();
053
054 public long getDefaultPublicPlid();
055
056 public java.lang.String getDescriptiveName()
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException;
059
060 public java.lang.String getDescriptiveName(java.util.Locale locale)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException;
063
064 public java.lang.String getIconURL(
065 com.liferay.portal.theme.ThemeDisplay themeDisplay);
066
067 public java.lang.String getLayoutRootNodeName(boolean privateLayout,
068 java.util.Locale locale);
069
070 public com.liferay.portal.model.Group getLiveGroup();
071
072 public java.lang.String getLiveParentTypeSettingsProperty(
073 java.lang.String key);
074
075 public long getOrganizationId();
076
077 public com.liferay.portal.model.Group getParentGroup()
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException;
080
081 public com.liferay.portal.kernel.util.UnicodeProperties getParentLiveGroupTypeSettingsProperties();
082
083 public java.lang.String getPathFriendlyURL(boolean privateLayout,
084 com.liferay.portal.theme.ThemeDisplay themeDisplay);
085
086 public com.liferay.portal.model.LayoutSet getPrivateLayoutSet();
087
088 public int getPrivateLayoutsPageCount();
089
090 public com.liferay.portal.model.LayoutSet getPublicLayoutSet();
091
092 public int getPublicLayoutsPageCount();
093
094 public java.lang.String getScopeDescriptiveName(
095 com.liferay.portal.theme.ThemeDisplay themeDisplay)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException;
098
099 public java.lang.String getScopeLabel(
100 com.liferay.portal.theme.ThemeDisplay themeDisplay);
101
102 public com.liferay.portal.model.Group getStagingGroup();
103
104 public java.lang.String getTypeLabel();
105
106 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
107
108 public java.lang.String getTypeSettingsProperty(java.lang.String key);
109
110 public boolean hasAncestor(long groupId);
111
112 public boolean hasLocalOrRemoteStagingGroup();
113
114 public boolean hasPrivateLayouts();
115
116 public boolean hasPublicLayouts();
117
118 public boolean hasStagingGroup();
119
120
123 public boolean isChild(long groupId);
124
125
128 public boolean isCommunity();
129
130 public boolean isCompany();
131
132 public boolean isCompanyStagingGroup();
133
134 public boolean isControlPanel();
135
136 public boolean isGuest();
137
138 public boolean isInStagingPortlet(java.lang.String portletId);
139
140 public boolean isLayout();
141
142 public boolean isLayoutPrototype();
143
144 public boolean isLayoutSetPrototype();
145
146 public boolean isLimitedToParentSiteMembers();
147
148 public boolean isOrganization();
149
150 public boolean isRegularSite();
151
152 public boolean isRoot();
153
154 public boolean isShowSite(
155 com.liferay.portal.security.permission.PermissionChecker permissionChecker,
156 boolean privateSite)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException;
159
160 public boolean isStaged();
161
162 public boolean isStagedPortlet(java.lang.String portletId);
163
164 public boolean isStagedRemotely();
165
166 public boolean isStagingGroup();
167
168 public boolean isUser();
169
170 public boolean isUserGroup();
171
172 public boolean isUserPersonalSite();
173
174 public void setTypeSettingsProperties(
175 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
176 }