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 public boolean isChild(long groupId);
121
122
125 public boolean isCommunity();
126
127 public boolean isCompany();
128
129 public boolean isCompanyStagingGroup();
130
131 public boolean isControlPanel();
132
133 public boolean isGuest();
134
135 public boolean isInStagingPortlet(java.lang.String portletId);
136
137 public boolean isLayout();
138
139 public boolean isLayoutPrototype();
140
141 public boolean isLayoutSetPrototype();
142
143 public boolean isLimitedToParentSiteMembers();
144
145 public boolean isOrganization();
146
147 public boolean isRegularSite();
148
149 public boolean isRoot();
150
151 public boolean isShowSite(
152 com.liferay.portal.security.permission.PermissionChecker permissionChecker,
153 boolean privateSite)
154 throws com.liferay.portal.kernel.exception.PortalException,
155 com.liferay.portal.kernel.exception.SystemException;
156
157 public boolean isStaged();
158
159 public boolean isStagedPortlet(java.lang.String portletId);
160
161 public boolean isStagedRemotely();
162
163 public boolean isStagingGroup();
164
165 public boolean isUser();
166
167 public boolean isUserGroup();
168
169 public boolean isUserPersonalSite();
170
171 public void setTypeSettingsProperties(
172 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
173 }