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