Package com.liferay.portal.kernel.model
Class GroupWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Group>
com.liferay.portal.kernel.model.GroupWrapper
- All Implemented Interfaces:
AttachedModel,BaseModel<Group>,CTModel<Group>,ClassedModel,ExternalReferenceCodeModel,Group,GroupModel,LocalizedModel,ModelWrapper<Group>,MVCCModel,PersistedModel,ShardedModel,TreeModel,TypedModel,Serializable,Cloneable,Comparable<Group>
This class is a wrapper for Group.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Group
GROUP_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanReturns the active of this group.String[]getChildren(boolean site) getChildrenWithLayouts(boolean site, int start, int end, OrderByComparator<Group> orderByComparator) intgetChildrenWithLayoutsCount(boolean site) Returns the fully qualified class name of this group.longReturns the class name ID of this group.longReturns the class pk of this group.longReturns the company ID of this group.longReturns the creator user ID of this group.Returns the creator user uuid of this group.longReturns the ct collection ID of this group.longlonggetDescendants(boolean site) Returns the description of this group.getDescription(String languageId) Returns the localized description of this group in the language.getDescription(String languageId, boolean useDefault) Returns the localized description of this group in the language, optionally using the default language if no localization exists for the requested language.getDescription(Locale locale) Returns the localized description of this group in the language.getDescription(Locale locale, boolean useDefault) Returns the localized description of this group in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized descriptions of this group.getDescriptiveName(Locale locale) getDisplayURL(ThemeDisplay themeDisplay) getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout) getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout, boolean controlPanel) Returns the external reference code of this group.Returns the friendly url of this group.longReturns the group ID of this group.Returns the group key of this group.getIconURL(ThemeDisplay themeDisplay) booleanReturns the inherit content of this group.getLayoutRootNodeName(boolean privateLayout, Locale locale) longReturns the live group ID of this group.getLogoURL(ThemeDisplay themeDisplay, boolean useDefault) booleanReturns the manual membership of this group.intReturns the membership restriction of this group.Returns the modified date of this group.longReturns the mvcc version of this group.getName()Returns the name of this group.Returns the localized name of this group in the language.Returns the localized name of this group in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this group in the language.Returns the localized name of this group in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this group.longlongReturns the parent group ID of this group.getPathFriendlyURL(boolean privateLayout, ThemeDisplay themeDisplay) longReturns the primary key of this group.intintlongintReturns the remote staging group count of this group.getScopeDescriptiveName(ThemeDisplay themeDisplay) getScopeLabel(ThemeDisplay themeDisplay) getScopeSimpleName(ThemeDisplay themeDisplay) booleangetSite()Returns the site of this group.Returns the tree path of this group.intgetType()Returns the type of this group.Returns the type settings of this group.getUnambiguousName(String name, Locale locale) getUuid()Returns the uuid of this group.booleanhasAncestor(long groupId) booleanbooleanbooleanbooleanbooleanbooleanisActive()Returnstrueif this group is active.booleanbooleanbooleanbooleanbooleanisDepot()booleanisGuest()booleanReturnstrueif this group is inherit content.booleanisInStagingPortlet(String portletId) booleanisLayout()booleanbooleanbooleanbooleanReturnstrueif this group is manual membership.booleanbooleanbooleanbooleanisRoot()booleanisShowSite(PermissionChecker permissionChecker, boolean privateSite) booleanisSite()Returnstrueif this group is site.booleanisStaged()booleanisStagedPortlet(String portletId) booleanbooleanbooleanisUser()booleanbooleanvoidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetActive(boolean active) Sets whether this group is active.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this group.voidsetClassPK(long classPK) Sets the class pk of this group.voidsetCompanyId(long companyId) Sets the company ID of this group.voidsetCreatorUserId(long creatorUserId) Sets the creator user ID of this group.voidsetCreatorUserUuid(String creatorUserUuid) Sets the creator user uuid of this group.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this group.voidsetDescription(String description) Sets the description of this group.voidsetDescription(String description, Locale locale) Sets the localized description of this group in the language.voidsetDescription(String description, Locale locale, Locale defaultLocale) Sets the localized description of this group in the language, and sets the default locale.voidsetDescriptionCurrentLanguageId(String languageId) voidsetDescriptionMap(Map<Locale, String> descriptionMap) Sets the localized descriptions of this group from the map of locales and localized descriptions.voidsetDescriptionMap(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this group from the map of locales and localized descriptions, and sets the default locale.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this group.voidsetFriendlyURL(String friendlyURL) Sets the friendly url of this group.voidsetGroupId(long groupId) Sets the group ID of this group.voidsetGroupKey(String groupKey) Sets the group key of this group.voidsetInheritContent(boolean inheritContent) Sets whether this group is inherit content.voidsetLiveGroupId(long liveGroupId) Sets the live group ID of this group.voidsetManualMembership(boolean manualMembership) Sets whether this group is manual membership.voidsetMembershipRestriction(int membershipRestriction) Sets the membership restriction of this group.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this group.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this group.voidSets the name of this group.voidSets the localized name of this group in the language.voidSets the localized name of this group in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this group from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this group from the map of locales and localized names, and sets the default locale.voidsetParentGroupId(long parentGroupId) Sets the parent group ID of this group.voidsetPrimaryKey(long primaryKey) Sets the primary key of this group.voidsetRemoteStagingGroupCount(int remoteStagingGroupCount) Sets the remote staging group count of this group.voidsetSite(boolean site) Sets whether this group is site.voidsetTreePath(String treePath) Sets the tree path of this group.voidsetType(int type) Sets the type of this group.voidsetTypeSettings(String typeSettings) Sets the type settings of this group.voidsetTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) voidSets the uuid of this group.voidupdateTreePath(String treePath) protected GroupWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj
-
Constructor Details
-
GroupWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Group>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Group>
-
buildTreePath
- Specified by:
buildTreePathin interfaceTreeModel- Throws:
PortalException
-
clearStagingGroup
public void clearStagingGroup()- Specified by:
clearStagingGroupin interfaceGroup
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Group>- Specified by:
cloneWithOriginalValuesin interfaceGroupModel
-
getActive
public boolean getActive()Returns the active of this group.- Specified by:
getActivein interfaceGroupModel- Returns:
- the active of this group
-
getAncestors
- Specified by:
getAncestorsin interfaceGroup
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceGroupModel- Specified by:
getAvailableLanguageIdsin interfaceLocalizedModel
-
getChildren
- Specified by:
getChildrenin interfaceGroup
-
getChildrenWithLayouts
public List<Group> getChildrenWithLayouts(boolean site, int start, int end, OrderByComparator<Group> orderByComparator) - Specified by:
getChildrenWithLayoutsin interfaceGroup
-
getChildrenWithLayoutsCount
public int getChildrenWithLayoutsCount(boolean site) - Specified by:
getChildrenWithLayoutsCountin interfaceGroup
-
getClassName
Returns the fully qualified class name of this group.- Specified by:
getClassNamein interfaceGroupModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this group
-
getClassNameId
public long getClassNameId()Returns the class name ID of this group.- Specified by:
getClassNameIdin interfaceGroupModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this group
-
getClassPK
public long getClassPK()Returns the class pk of this group.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceGroupModel- Returns:
- the class pk of this group
-
getCompanyId
public long getCompanyId()Returns the company ID of this group.- Specified by:
getCompanyIdin interfaceGroupModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this group
-
getCreatorUserId
public long getCreatorUserId()Returns the creator user ID of this group.- Specified by:
getCreatorUserIdin interfaceGroupModel- Returns:
- the creator user ID of this group
-
getCreatorUserUuid
Returns the creator user uuid of this group.- Specified by:
getCreatorUserUuidin interfaceGroupModel- Returns:
- the creator user uuid of this group
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this group.- Specified by:
getCtCollectionIdin interfaceCTModel<Group>- Specified by:
getCtCollectionIdin interfaceGroupModel- Returns:
- the ct collection ID of this group
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceGroupModel- Specified by:
getDefaultLanguageIdin interfaceLocalizedModel
-
getDefaultPrivatePlid
public long getDefaultPrivatePlid()- Specified by:
getDefaultPrivatePlidin interfaceGroup
-
getDefaultPublicPlid
public long getDefaultPublicPlid()- Specified by:
getDefaultPublicPlidin interfaceGroup
-
getDescendants
- Specified by:
getDescendantsin interfaceGroup
-
getDescription
Returns the description of this group.- Specified by:
getDescriptionin interfaceGroupModel- Returns:
- the description of this group
-
getDescription
Returns the localized description of this group in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceGroupModel- Parameters:
locale- the locale of the language- Returns:
- the localized description of this group
-
getDescription
Returns the localized description of this group in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceGroupModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this group. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this group in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceGroupModel- Parameters:
languageId- the ID of the language- Returns:
- the localized description of this group
-
getDescription
Returns the localized description of this group in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceGroupModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this group
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageIdin interfaceGroupModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValuein interfaceGroupModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this group.- Specified by:
getDescriptionMapin interfaceGroupModel- Returns:
- the locales and localized descriptions of this group
-
getDescriptiveName
- Specified by:
getDescriptiveNamein interfaceGroup- Throws:
PortalException
-
getDescriptiveName
- Specified by:
getDescriptiveNamein interfaceGroup- Throws:
PortalException
-
getDescriptiveNameMap
- Specified by:
getDescriptiveNameMapin interfaceGroup- Throws:
PortalException
-
getDisplayURL
- Specified by:
getDisplayURLin interfaceGroup
-
getDisplayURL
- Specified by:
getDisplayURLin interfaceGroup
-
getDisplayURL
- Specified by:
getDisplayURLin interfaceGroup
-
getExternalReferenceCode
Returns the external reference code of this group.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceGroupModel- Returns:
- the external reference code of this group
-
getFriendlyURL
Returns the friendly url of this group.- Specified by:
getFriendlyURLin interfaceGroupModel- Returns:
- the friendly url of this group
-
getGroupId
public long getGroupId()Returns the group ID of this group.- Specified by:
getGroupIdin interfaceGroupModel- Returns:
- the group ID of this group
-
getGroupKey
Returns the group key of this group.- Specified by:
getGroupKeyin interfaceGroupModel- Returns:
- the group key of this group
-
getIconCssClass
- Specified by:
getIconCssClassin interfaceGroup
-
getIconURL
- Specified by:
getIconURLin interfaceGroup
-
getInheritContent
public boolean getInheritContent()Returns the inherit content of this group.- Specified by:
getInheritContentin interfaceGroupModel- Returns:
- the inherit content of this group
-
getLayoutRootNodeName
- Specified by:
getLayoutRootNodeNamein interfaceGroup
-
getLiveGroup
- Specified by:
getLiveGroupin interfaceGroup
-
getLiveGroupId
public long getLiveGroupId()Returns the live group ID of this group.- Specified by:
getLiveGroupIdin interfaceGroupModel- Returns:
- the live group ID of this group
-
getLiveParentTypeSettingsProperty
- Specified by:
getLiveParentTypeSettingsPropertyin interfaceGroup
-
getLogoURL
- Specified by:
getLogoURLin interfaceGroup
-
getManualMembership
public boolean getManualMembership()Returns the manual membership of this group.- Specified by:
getManualMembershipin interfaceGroupModel- Returns:
- the manual membership of this group
-
getMembershipRestriction
public int getMembershipRestriction()Returns the membership restriction of this group.- Specified by:
getMembershipRestrictionin interfaceGroupModel- Returns:
- the membership restriction of this group
-
getModifiedDate
Returns the modified date of this group.- Specified by:
getModifiedDatein interfaceGroupModel- Returns:
- the modified date of this group
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this group.- Specified by:
getMvccVersionin interfaceGroupModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this group
-
getName
Returns the name of this group.- Specified by:
getNamein interfaceGroupModel- Returns:
- the name of this group
-
getName
Returns the localized name of this group in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceGroupModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this group
-
getName
Returns the localized name of this group in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceGroupModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this group. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this group in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceGroupModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this group
-
getName
Returns the localized name of this group in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceGroupModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this group
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceGroupModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceGroupModel
-
getNameMap
Returns a map of the locales and localized names of this group.- Specified by:
getNameMapin interfaceGroupModel- Returns:
- the locales and localized names of this group
-
getOrganizationId
public long getOrganizationId()- Specified by:
getOrganizationIdin interfaceGroup
-
getParentGroup
- Specified by:
getParentGroupin interfaceGroup
-
getParentGroupId
public long getParentGroupId()Returns the parent group ID of this group.- Specified by:
getParentGroupIdin interfaceGroupModel- Returns:
- the parent group ID of this group
-
getParentLiveGroupTypeSettingsProperties
- Specified by:
getParentLiveGroupTypeSettingsPropertiesin interfaceGroup
-
getPathFriendlyURL
- Specified by:
getPathFriendlyURLin interfaceGroup
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this group.- Specified by:
getPrimaryKeyin interfaceCTModel<Group>- Specified by:
getPrimaryKeyin interfaceGroupModel- Returns:
- the primary key of this group
-
getPrivateLayoutSet
- Specified by:
getPrivateLayoutSetin interfaceGroup
-
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount()- Specified by:
getPrivateLayoutsPageCountin interfaceGroup
-
getPublicLayoutSet
- Specified by:
getPublicLayoutSetin interfaceGroup
-
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount()- Specified by:
getPublicLayoutsPageCountin interfaceGroup
-
getRemoteLiveGroupId
public long getRemoteLiveGroupId()- Specified by:
getRemoteLiveGroupIdin interfaceGroup
-
getRemoteStagingGroupCount
public int getRemoteStagingGroupCount()Returns the remote staging group count of this group.- Specified by:
getRemoteStagingGroupCountin interfaceGroupModel- Returns:
- the remote staging group count of this group
-
getScopeDescriptiveName
- Specified by:
getScopeDescriptiveNamein interfaceGroup- Throws:
PortalException
-
getScopeLabel
- Specified by:
getScopeLabelin interfaceGroup
-
getScopeSimpleName
- Specified by:
getScopeSimpleNamein interfaceGroup
-
getSite
public boolean getSite()Returns the site of this group.- Specified by:
getSitein interfaceGroupModel- Returns:
- the site of this group
-
getStagingGroup
- Specified by:
getStagingGroupin interfaceGroup
-
getTreePath
Returns the tree path of this group.- Specified by:
getTreePathin interfaceGroupModel- Specified by:
getTreePathin interfaceTreeModel- Returns:
- the tree path of this group
-
getType
public int getType()Returns the type of this group.- Specified by:
getTypein interfaceGroupModel- Returns:
- the type of this group
-
getTypeLabel
- Specified by:
getTypeLabelin interfaceGroup
-
getTypeSettings
Returns the type settings of this group.- Specified by:
getTypeSettingsin interfaceGroupModel- Returns:
- the type settings of this group
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsPropertiesin interfaceGroup
-
getTypeSettingsProperty
- Specified by:
getTypeSettingsPropertyin interfaceGroup
-
getUnambiguousName
- Specified by:
getUnambiguousNamein interfaceGroup
-
getUuid
Returns the uuid of this group.- Specified by:
getUuidin interfaceGroupModel- Returns:
- the uuid of this group
-
hasAncestor
public boolean hasAncestor(long groupId) - Specified by:
hasAncestorin interfaceGroup
-
hasLocalOrRemoteStagingGroup
public boolean hasLocalOrRemoteStagingGroup()- Specified by:
hasLocalOrRemoteStagingGroupin interfaceGroup
-
hasPrivateLayouts
public boolean hasPrivateLayouts()- Specified by:
hasPrivateLayoutsin interfaceGroup
-
hasPublicLayouts
public boolean hasPublicLayouts()- Specified by:
hasPublicLayoutsin interfaceGroup
-
hasRemoteStagingGroup
public boolean hasRemoteStagingGroup()- Specified by:
hasRemoteStagingGroupin interfaceGroup
-
hasStagingGroup
public boolean hasStagingGroup()- Specified by:
hasStagingGroupin interfaceGroup
-
isActive
public boolean isActive()Returnstrueif this group is active.- Specified by:
isActivein interfaceGroupModel- Returns:
trueif this group is active;falseotherwise
-
isCompany
public boolean isCompany() -
isCompanyStagingGroup
public boolean isCompanyStagingGroup()- Specified by:
isCompanyStagingGroupin interfaceGroup
-
isContentSharingWithChildrenEnabled
public boolean isContentSharingWithChildrenEnabled()- Specified by:
isContentSharingWithChildrenEnabledin interfaceGroup
-
isControlPanel
public boolean isControlPanel()- Specified by:
isControlPanelin interfaceGroup
-
isDepot
public boolean isDepot() -
isGuest
public boolean isGuest() -
isInheritContent
public boolean isInheritContent()Returnstrueif this group is inherit content.- Specified by:
isInheritContentin interfaceGroupModel- Returns:
trueif this group is inherit content;falseotherwise
-
isInStagingPortlet
- Specified by:
isInStagingPortletin interfaceGroup
-
isLayout
public boolean isLayout() -
isLayoutPrototype
public boolean isLayoutPrototype()- Specified by:
isLayoutPrototypein interfaceGroup
-
isLayoutSetPrototype
public boolean isLayoutSetPrototype()- Specified by:
isLayoutSetPrototypein interfaceGroup
-
isLimitedToParentSiteMembers
public boolean isLimitedToParentSiteMembers()- Specified by:
isLimitedToParentSiteMembersin interfaceGroup
-
isManualMembership
public boolean isManualMembership()Returnstrueif this group is manual membership.- Specified by:
isManualMembershipin interfaceGroupModel- Returns:
trueif this group is manual membership;falseotherwise
-
isOrganization
public boolean isOrganization()- Specified by:
isOrganizationin interfaceGroup
-
isPrivateLayoutsEnabled
public boolean isPrivateLayoutsEnabled()- Specified by:
isPrivateLayoutsEnabledin interfaceGroup
-
isRegularSite
public boolean isRegularSite()- Specified by:
isRegularSitein interfaceGroup
-
isRoot
public boolean isRoot() -
isShowSite
public boolean isShowSite(PermissionChecker permissionChecker, boolean privateSite) throws PortalException - Specified by:
isShowSitein interfaceGroup- Throws:
PortalException
-
isSite
public boolean isSite()Returnstrueif this group is site.- Specified by:
isSitein interfaceGroupModel- Returns:
trueif this group is site;falseotherwise
-
isStaged
public boolean isStaged() -
isStagedPortlet
- Specified by:
isStagedPortletin interfaceGroup
-
isStagedRemotely
public boolean isStagedRemotely()- Specified by:
isStagedRemotelyin interfaceGroup
-
isStagingGroup
public boolean isStagingGroup()- Specified by:
isStagingGroupin interfaceGroup
-
isUser
public boolean isUser() -
isUserGroup
public boolean isUserGroup()- Specified by:
isUserGroupin interfaceGroup
-
isUserPersonalSite
public boolean isUserPersonalSite()- Specified by:
isUserPersonalSitein interfaceGroup
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceGroupModel- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImportin interfaceGroupModel- Specified by:
prepareLocalizedFieldsForImportin interfaceLocalizedModel- Throws:
LocaleException
-
setActive
public void setActive(boolean active) Sets whether this group is active.- Specified by:
setActivein interfaceGroupModel- Parameters:
active- the active of this group
-
setClassName
- Specified by:
setClassNamein interfaceGroupModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this group.- Specified by:
setClassNameIdin interfaceGroupModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this group
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this group.- Specified by:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceGroupModel- Parameters:
classPK- the class pk of this group
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this group.- Specified by:
setCompanyIdin interfaceGroupModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this group
-
setCreatorUserId
public void setCreatorUserId(long creatorUserId) Sets the creator user ID of this group.- Specified by:
setCreatorUserIdin interfaceGroupModel- Parameters:
creatorUserId- the creator user ID of this group
-
setCreatorUserUuid
Sets the creator user uuid of this group.- Specified by:
setCreatorUserUuidin interfaceGroupModel- Parameters:
creatorUserUuid- the creator user uuid of this group
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this group.- Specified by:
setCtCollectionIdin interfaceCTModel<Group>- Specified by:
setCtCollectionIdin interfaceGroupModel- Parameters:
ctCollectionId- the ct collection ID of this group
-
setDescription
Sets the description of this group.- Specified by:
setDescriptionin interfaceGroupModel- Parameters:
description- the description of this group
-
setDescription
Sets the localized description of this group in the language.- Specified by:
setDescriptionin interfaceGroupModel- Parameters:
description- the localized description of this grouplocale- the locale of the language
-
setDescription
Sets the localized description of this group in the language, and sets the default locale.- Specified by:
setDescriptionin interfaceGroupModel- Parameters:
description- the localized description of this grouplocale- the locale of the languagedefaultLocale- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageIdin interfaceGroupModel
-
setDescriptionMap
Sets the localized descriptions of this group from the map of locales and localized descriptions.- Specified by:
setDescriptionMapin interfaceGroupModel- Parameters:
descriptionMap- the locales and localized descriptions of this group
-
setDescriptionMap
Sets the localized descriptions of this group from the map of locales and localized descriptions, and sets the default locale.- Specified by:
setDescriptionMapin interfaceGroupModel- Parameters:
descriptionMap- the locales and localized descriptions of this groupdefaultLocale- the default locale
-
setExternalReferenceCode
Sets the external reference code of this group.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein interfaceGroupModel- Parameters:
externalReferenceCode- the external reference code of this group
-
setFriendlyURL
Sets the friendly url of this group.- Specified by:
setFriendlyURLin interfaceGroupModel- Parameters:
friendlyURL- the friendly url of this group
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this group.- Specified by:
setGroupIdin interfaceGroupModel- Parameters:
groupId- the group ID of this group
-
setGroupKey
Sets the group key of this group.- Specified by:
setGroupKeyin interfaceGroupModel- Parameters:
groupKey- the group key of this group
-
setInheritContent
public void setInheritContent(boolean inheritContent) Sets whether this group is inherit content.- Specified by:
setInheritContentin interfaceGroupModel- Parameters:
inheritContent- the inherit content of this group
-
setLiveGroupId
public void setLiveGroupId(long liveGroupId) Sets the live group ID of this group.- Specified by:
setLiveGroupIdin interfaceGroupModel- Parameters:
liveGroupId- the live group ID of this group
-
setManualMembership
public void setManualMembership(boolean manualMembership) Sets whether this group is manual membership.- Specified by:
setManualMembershipin interfaceGroupModel- Parameters:
manualMembership- the manual membership of this group
-
setMembershipRestriction
public void setMembershipRestriction(int membershipRestriction) Sets the membership restriction of this group.- Specified by:
setMembershipRestrictionin interfaceGroupModel- Parameters:
membershipRestriction- the membership restriction of this group
-
setModifiedDate
Sets the modified date of this group.- Specified by:
setModifiedDatein interfaceGroupModel- Parameters:
modifiedDate- the modified date of this group
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this group.- Specified by:
setMvccVersionin interfaceGroupModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this group
-
setName
Sets the name of this group.- Specified by:
setNamein interfaceGroupModel- Parameters:
name- the name of this group
-
setName
Sets the localized name of this group in the language.- Specified by:
setNamein interfaceGroupModel- Parameters:
name- the localized name of this grouplocale- the locale of the language
-
setName
Sets the localized name of this group in the language, and sets the default locale.- Specified by:
setNamein interfaceGroupModel- Parameters:
name- the localized name of this grouplocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceGroupModel
-
setNameMap
Sets the localized names of this group from the map of locales and localized names.- Specified by:
setNameMapin interfaceGroupModel- Parameters:
nameMap- the locales and localized names of this group
-
setNameMap
Sets the localized names of this group from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceGroupModel- Parameters:
nameMap- the locales and localized names of this groupdefaultLocale- the default locale
-
setParentGroupId
public void setParentGroupId(long parentGroupId) Sets the parent group ID of this group.- Specified by:
setParentGroupIdin interfaceGroupModel- Parameters:
parentGroupId- the parent group ID of this group
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this group.- Specified by:
setPrimaryKeyin interfaceCTModel<Group>- Specified by:
setPrimaryKeyin interfaceGroupModel- Parameters:
primaryKey- the primary key of this group
-
setRemoteStagingGroupCount
public void setRemoteStagingGroupCount(int remoteStagingGroupCount) Sets the remote staging group count of this group.- Specified by:
setRemoteStagingGroupCountin interfaceGroupModel- Parameters:
remoteStagingGroupCount- the remote staging group count of this group
-
setSite
public void setSite(boolean site) Sets whether this group is site.- Specified by:
setSitein interfaceGroupModel- Parameters:
site- the site of this group
-
setTreePath
Sets the tree path of this group.- Specified by:
setTreePathin interfaceGroupModel- Parameters:
treePath- the tree path of this group
-
setType
public void setType(int type) Sets the type of this group.- Specified by:
setTypein interfaceGroupModel- Parameters:
type- the type of this group
-
setTypeSettings
Sets the type settings of this group.- Specified by:
setTypeSettingsin interfaceGroupModel- Parameters:
typeSettings- the type settings of this group
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsPropertiesin interfaceGroup
-
setUuid
Sets the uuid of this group.- Specified by:
setUuidin interfaceGroupModel- Parameters:
uuid- the uuid of this group
-
toXmlString
- Specified by:
toXmlStringin interfaceGroupModel
-
updateTreePath
- Specified by:
updateTreePathin interfaceTreeModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Group>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Group>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Group>
-