Package com.liferay.portal.kernel.model
Interface Group
- All Superinterfaces:
AttachedModel
,BaseModel<Group>
,ClassedModel
,Cloneable
,Comparable<Group>
,CTModel<Group>
,ExternalReferenceCodeModel
,GroupModel
,LocalizedModel
,MVCCModel
,PersistedModel
,Serializable
,ShardedModel
,TreeModel
,TypedModel
- All Known Implementing Classes:
GroupWrapper
The extended model interface for the Group service. Represents a row in the "Group_" database table, with each column mapped to a property of this class.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
getChildren
(boolean site) getChildrenWithLayouts
(boolean site, int start, int end, OrderByComparator<Group> orderByComparator) int
getChildrenWithLayoutsCount
(boolean site) long
long
getDescendants
(boolean site) getDescriptiveName
(Locale locale) getDisplayURL
(ThemeDisplay themeDisplay) getDisplayURL
(ThemeDisplay themeDisplay, boolean privateLayout) getDisplayURL
(ThemeDisplay themeDisplay, boolean privateLayout, boolean controlPanel) getIconURL
(ThemeDisplay themeDisplay) getLayoutRootNodeName
(boolean privateLayout, Locale locale) getLogoURL
(ThemeDisplay themeDisplay, boolean useDefault) long
getPathFriendlyURL
(boolean privateLayout, ThemeDisplay themeDisplay) int
int
long
getScopeDescriptiveName
(ThemeDisplay themeDisplay) getScopeLabel
(ThemeDisplay themeDisplay) getScopeSimpleName
(ThemeDisplay themeDisplay) getUnambiguousName
(String name, Locale locale) boolean
hasAncestor
(long groupId) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isDepot()
boolean
isGuest()
boolean
isInStagingPortlet
(String portletId) boolean
isLayout()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isRoot()
boolean
isShowSite
(PermissionChecker permissionChecker, boolean privateSite) boolean
isStaged()
boolean
isStagedPortlet
(String portletId) boolean
boolean
boolean
isUser()
boolean
boolean
void
setTypeSettingsProperties
(UnicodeProperties typeSettingsUnicodeProperties) Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.GroupModel
cloneWithOriginalValues, getActive, getAvailableLanguageIds, getClassName, getClassNameId, getClassPK, getCompanyId, getCreatorUserId, getCreatorUserUuid, getCtCollectionId, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExternalReferenceCode, getFriendlyURL, getGroupId, getGroupKey, getInheritContent, getLiveGroupId, getManualMembership, getMembershipRestriction, getModifiedDate, getMvccVersion, getName, getName, getName, getName, getName, getNameCurrentLanguageId, getNameCurrentValue, getNameMap, getParentGroupId, getPrimaryKey, getRemoteStagingGroupCount, getSite, getTreePath, getType, getTypeSettings, getUuid, isActive, isInheritContent, isManualMembership, isSite, prepareLocalizedFieldsForImport, prepareLocalizedFieldsForImport, setActive, setClassName, setClassNameId, setClassPK, setCompanyId, setCreatorUserId, setCreatorUserUuid, setCtCollectionId, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExternalReferenceCode, setFriendlyURL, setGroupId, setGroupKey, setInheritContent, setLiveGroupId, setManualMembership, setMembershipRestriction, setModifiedDate, setMvccVersion, setName, setName, setName, setNameCurrentLanguageId, setNameMap, setNameMap, setParentGroupId, setPrimaryKey, setRemoteStagingGroupCount, setSite, setTreePath, setType, setTypeSettings, setUuid, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.PersistedModel
persist
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
buildTreePath, getPrimaryKeyObj, getTreePath, updateTreePath
-
Field Details
-
GROUP_ID_ACCESSOR
-
-
Method Details
-
clearStagingGroup
void clearStagingGroup() -
getAncestors
-
getChildren
-
getChildrenWithLayouts
List<Group> getChildrenWithLayouts(boolean site, int start, int end, OrderByComparator<Group> orderByComparator) -
getChildrenWithLayoutsCount
int getChildrenWithLayoutsCount(boolean site) -
getDefaultPrivatePlid
long getDefaultPrivatePlid() -
getDefaultPublicPlid
long getDefaultPublicPlid() -
getDescendants
-
getDescriptiveName
- Throws:
PortalException
-
getDescriptiveName
- Throws:
PortalException
-
getDescriptiveNameMap
- Throws:
PortalException
-
getDisplayURL
-
getDisplayURL
-
getDisplayURL
-
getIconCssClass
String getIconCssClass() -
getIconURL
-
getLayoutRootNodeName
-
getLiveGroup
Group getLiveGroup() -
getLiveParentTypeSettingsProperty
-
getLogoURL
-
getOrganizationId
long getOrganizationId() -
getParentGroup
Group getParentGroup() -
getParentLiveGroupTypeSettingsProperties
UnicodeProperties getParentLiveGroupTypeSettingsProperties() -
getPathFriendlyURL
-
getPrivateLayoutSet
LayoutSet getPrivateLayoutSet() -
getPrivateLayoutsPageCount
int getPrivateLayoutsPageCount() -
getPublicLayoutSet
LayoutSet getPublicLayoutSet() -
getPublicLayoutsPageCount
int getPublicLayoutsPageCount() -
getRemoteLiveGroupId
long getRemoteLiveGroupId() -
getScopeDescriptiveName
- Throws:
PortalException
-
getScopeLabel
-
getScopeSimpleName
-
getStagingGroup
Group getStagingGroup() -
getTypeLabel
String getTypeLabel() -
getTypeSettingsProperties
UnicodeProperties getTypeSettingsProperties() -
getTypeSettingsProperty
-
getUnambiguousName
-
hasAncestor
boolean hasAncestor(long groupId) -
hasLocalOrRemoteStagingGroup
boolean hasLocalOrRemoteStagingGroup() -
hasPrivateLayouts
boolean hasPrivateLayouts() -
hasPublicLayouts
boolean hasPublicLayouts() -
hasRemoteStagingGroup
boolean hasRemoteStagingGroup() -
hasStagingGroup
boolean hasStagingGroup() -
isCompany
boolean isCompany() -
isCompanyStagingGroup
boolean isCompanyStagingGroup() -
isContentSharingWithChildrenEnabled
boolean isContentSharingWithChildrenEnabled() -
isControlPanel
boolean isControlPanel() -
isDepot
boolean isDepot() -
isGuest
boolean isGuest() -
isInStagingPortlet
-
isLayout
boolean isLayout() -
isLayoutPrototype
boolean isLayoutPrototype() -
isLayoutSetPrototype
boolean isLayoutSetPrototype() -
isLimitedToParentSiteMembers
boolean isLimitedToParentSiteMembers() -
isOrganization
boolean isOrganization() -
isPrivateLayoutsEnabled
boolean isPrivateLayoutsEnabled() -
isRegularSite
boolean isRegularSite() -
isRoot
boolean isRoot() -
isShowSite
- Throws:
PortalException
-
isStaged
boolean isStaged() -
isStagedPortlet
-
isStagedRemotely
boolean isStagedRemotely() -
isStagingGroup
boolean isStagingGroup() -
isUser
boolean isUser() -
isUserGroup
boolean isUserGroup() -
isUserPersonalSite
boolean isUserPersonalSite() -
setTypeSettingsProperties
-