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
model
Fields inherited from interface com.liferay.portal.kernel.model.Group
GROUP_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
Returns the active of this group.String[]
getChildren
(boolean site) getChildrenWithLayouts
(boolean site, int start, int end, OrderByComparator<Group> orderByComparator) int
getChildrenWithLayoutsCount
(boolean site) Returns the fully qualified class name of this group.long
Returns the class name ID of this group.long
Returns the class pk of this group.long
Returns the company ID of this group.long
Returns the creator user ID of this group.Returns the creator user uuid of this group.long
Returns the ct collection ID of this group.long
long
getDescendants
(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.long
Returns the group ID of this group.Returns the group key of this group.getIconURL
(ThemeDisplay themeDisplay) boolean
Returns the inherit content of this group.getLayoutRootNodeName
(boolean privateLayout, Locale locale) long
Returns the live group ID of this group.getLogoURL
(ThemeDisplay themeDisplay, boolean useDefault) boolean
Returns the manual membership of this group.int
Returns the membership restriction of this group.Returns the modified date of this group.long
Returns 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.long
long
Returns the parent group ID of this group.getPathFriendlyURL
(boolean privateLayout, ThemeDisplay themeDisplay) long
Returns the primary key of this group.int
int
long
int
Returns the remote staging group count of this group.getScopeDescriptiveName
(ThemeDisplay themeDisplay) getScopeLabel
(ThemeDisplay themeDisplay) getScopeSimpleName
(ThemeDisplay themeDisplay) boolean
getSite()
Returns the site of this group.Returns the tree path of this group.int
getType()
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.boolean
hasAncestor
(long groupId) boolean
boolean
boolean
boolean
boolean
boolean
isActive()
Returnstrue
if this group is active.boolean
boolean
boolean
boolean
boolean
isDepot()
boolean
isGuest()
boolean
Returnstrue
if this group is inherit content.boolean
isInStagingPortlet
(String portletId) boolean
isLayout()
boolean
boolean
boolean
boolean
Returnstrue
if this group is manual membership.boolean
boolean
boolean
boolean
isRoot()
boolean
isShowSite
(PermissionChecker permissionChecker, boolean privateSite) boolean
isSite()
Returnstrue
if this group is site.boolean
isStaged()
boolean
isStagedPortlet
(String portletId) boolean
boolean
boolean
isUser()
boolean
boolean
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setActive
(boolean active) Sets whether this group is active.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this group.void
setClassPK
(long classPK) Sets the class pk of this group.void
setCompanyId
(long companyId) Sets the company ID of this group.void
setCreatorUserId
(long creatorUserId) Sets the creator user ID of this group.void
setCreatorUserUuid
(String creatorUserUuid) Sets the creator user uuid of this group.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this group.void
setDescription
(String description) Sets the description of this group.void
setDescription
(String description, Locale locale) Sets the localized description of this group in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this group in the language, and sets the default locale.void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) Sets the localized descriptions of this group from the map of locales and localized descriptions.void
setDescriptionMap
(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.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this group.void
setFriendlyURL
(String friendlyURL) Sets the friendly url of this group.void
setGroupId
(long groupId) Sets the group ID of this group.void
setGroupKey
(String groupKey) Sets the group key of this group.void
setInheritContent
(boolean inheritContent) Sets whether this group is inherit content.void
setLiveGroupId
(long liveGroupId) Sets the live group ID of this group.void
setManualMembership
(boolean manualMembership) Sets whether this group is manual membership.void
setMembershipRestriction
(int membershipRestriction) Sets the membership restriction of this group.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this group.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this group.void
Sets the name of this group.void
Sets the localized name of this group in the language.void
Sets the localized name of this group in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this group from the map of locales and localized names.void
setNameMap
(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.void
setParentGroupId
(long parentGroupId) Sets the parent group ID of this group.void
setPrimaryKey
(long primaryKey) Sets the primary key of this group.void
setRemoteStagingGroupCount
(int remoteStagingGroupCount) Sets the remote staging group count of this group.void
setSite
(boolean site) Sets whether this group is site.void
setTreePath
(String treePath) Sets the tree path of this group.void
setType
(int type) Sets the type of this group.void
setTypeSettings
(String typeSettings) Sets the type settings of this group.void
setTypeSettingsProperties
(UnicodeProperties typeSettingsUnicodeProperties) void
Sets the uuid of this group.void
updateTreePath
(String treePath) protected GroupWrapper
Methods 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, 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.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj
-
Constructor Details
-
GroupWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Group>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Group>
-
buildTreePath
- Specified by:
buildTreePath
in interfaceTreeModel
- Throws:
PortalException
-
clearStagingGroup
public void clearStagingGroup()- Specified by:
clearStagingGroup
in interfaceGroup
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Group>
- Specified by:
cloneWithOriginalValues
in interfaceGroupModel
-
getActive
public boolean getActive()Returns the active of this group.- Specified by:
getActive
in interfaceGroupModel
- Returns:
- the active of this group
-
getAncestors
- Specified by:
getAncestors
in interfaceGroup
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceGroupModel
- Specified by:
getAvailableLanguageIds
in interfaceLocalizedModel
-
getChildren
- Specified by:
getChildren
in interfaceGroup
-
getChildrenWithLayouts
public List<Group> getChildrenWithLayouts(boolean site, int start, int end, OrderByComparator<Group> orderByComparator) - Specified by:
getChildrenWithLayouts
in interfaceGroup
-
getChildrenWithLayoutsCount
public int getChildrenWithLayoutsCount(boolean site) - Specified by:
getChildrenWithLayoutsCount
in interfaceGroup
-
getClassName
Returns the fully qualified class name of this group.- Specified by:
getClassName
in interfaceGroupModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this group
-
getClassNameId
public long getClassNameId()Returns the class name ID of this group.- Specified by:
getClassNameId
in interfaceGroupModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this group
-
getClassPK
public long getClassPK()Returns the class pk of this group.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceGroupModel
- Returns:
- the class pk of this group
-
getCompanyId
public long getCompanyId()Returns the company ID of this group.- Specified by:
getCompanyId
in interfaceGroupModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this group
-
getCreatorUserId
public long getCreatorUserId()Returns the creator user ID of this group.- Specified by:
getCreatorUserId
in interfaceGroupModel
- Returns:
- the creator user ID of this group
-
getCreatorUserUuid
Returns the creator user uuid of this group.- Specified by:
getCreatorUserUuid
in interfaceGroupModel
- Returns:
- the creator user uuid of this group
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this group.- Specified by:
getCtCollectionId
in interfaceCTModel<Group>
- Specified by:
getCtCollectionId
in interfaceGroupModel
- Returns:
- the ct collection ID of this group
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceGroupModel
- Specified by:
getDefaultLanguageId
in interfaceLocalizedModel
-
getDefaultPrivatePlid
public long getDefaultPrivatePlid()- Specified by:
getDefaultPrivatePlid
in interfaceGroup
-
getDefaultPublicPlid
public long getDefaultPublicPlid()- Specified by:
getDefaultPublicPlid
in interfaceGroup
-
getDescendants
- Specified by:
getDescendants
in interfaceGroup
-
getDescription
Returns the description of this group.- Specified by:
getDescription
in 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:
getDescription
in 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:
getDescription
in 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
useDefault
isfalse
and 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:
getDescription
in 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:
getDescription
in 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:
getDescriptionCurrentLanguageId
in interfaceGroupModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValue
in interfaceGroupModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this group.- Specified by:
getDescriptionMap
in interfaceGroupModel
- Returns:
- the locales and localized descriptions of this group
-
getDescriptiveName
- Specified by:
getDescriptiveName
in interfaceGroup
- Throws:
PortalException
-
getDescriptiveName
- Specified by:
getDescriptiveName
in interfaceGroup
- Throws:
PortalException
-
getDescriptiveNameMap
- Specified by:
getDescriptiveNameMap
in interfaceGroup
- Throws:
PortalException
-
getDisplayURL
- Specified by:
getDisplayURL
in interfaceGroup
-
getDisplayURL
- Specified by:
getDisplayURL
in interfaceGroup
-
getDisplayURL
- Specified by:
getDisplayURL
in interfaceGroup
-
getExternalReferenceCode
Returns the external reference code of this group.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceGroupModel
- Returns:
- the external reference code of this group
-
getFriendlyURL
Returns the friendly url of this group.- Specified by:
getFriendlyURL
in interfaceGroupModel
- Returns:
- the friendly url of this group
-
getGroupId
public long getGroupId()Returns the group ID of this group.- Specified by:
getGroupId
in interfaceGroupModel
- Returns:
- the group ID of this group
-
getGroupKey
Returns the group key of this group.- Specified by:
getGroupKey
in interfaceGroupModel
- Returns:
- the group key of this group
-
getIconCssClass
- Specified by:
getIconCssClass
in interfaceGroup
-
getIconURL
- Specified by:
getIconURL
in interfaceGroup
-
getInheritContent
public boolean getInheritContent()Returns the inherit content of this group.- Specified by:
getInheritContent
in interfaceGroupModel
- Returns:
- the inherit content of this group
-
getLayoutRootNodeName
- Specified by:
getLayoutRootNodeName
in interfaceGroup
-
getLiveGroup
- Specified by:
getLiveGroup
in interfaceGroup
-
getLiveGroupId
public long getLiveGroupId()Returns the live group ID of this group.- Specified by:
getLiveGroupId
in interfaceGroupModel
- Returns:
- the live group ID of this group
-
getLiveParentTypeSettingsProperty
- Specified by:
getLiveParentTypeSettingsProperty
in interfaceGroup
-
getLogoURL
- Specified by:
getLogoURL
in interfaceGroup
-
getManualMembership
public boolean getManualMembership()Returns the manual membership of this group.- Specified by:
getManualMembership
in interfaceGroupModel
- Returns:
- the manual membership of this group
-
getMembershipRestriction
public int getMembershipRestriction()Returns the membership restriction of this group.- Specified by:
getMembershipRestriction
in interfaceGroupModel
- Returns:
- the membership restriction of this group
-
getModifiedDate
Returns the modified date of this group.- Specified by:
getModifiedDate
in interfaceGroupModel
- Returns:
- the modified date of this group
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this group.- Specified by:
getMvccVersion
in interfaceGroupModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this group
-
getName
Returns the name of this group.- Specified by:
getName
in 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:
getName
in 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:
getName
in 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
useDefault
isfalse
and 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:
getName
in 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:
getName
in 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:
getNameCurrentLanguageId
in interfaceGroupModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceGroupModel
-
getNameMap
Returns a map of the locales and localized names of this group.- Specified by:
getNameMap
in interfaceGroupModel
- Returns:
- the locales and localized names of this group
-
getOrganizationId
public long getOrganizationId()- Specified by:
getOrganizationId
in interfaceGroup
-
getParentGroup
- Specified by:
getParentGroup
in interfaceGroup
-
getParentGroupId
public long getParentGroupId()Returns the parent group ID of this group.- Specified by:
getParentGroupId
in interfaceGroupModel
- Returns:
- the parent group ID of this group
-
getParentLiveGroupTypeSettingsProperties
- Specified by:
getParentLiveGroupTypeSettingsProperties
in interfaceGroup
-
getPathFriendlyURL
- Specified by:
getPathFriendlyURL
in interfaceGroup
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this group.- Specified by:
getPrimaryKey
in interfaceCTModel<Group>
- Specified by:
getPrimaryKey
in interfaceGroupModel
- Returns:
- the primary key of this group
-
getPrivateLayoutSet
- Specified by:
getPrivateLayoutSet
in interfaceGroup
-
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount()- Specified by:
getPrivateLayoutsPageCount
in interfaceGroup
-
getPublicLayoutSet
- Specified by:
getPublicLayoutSet
in interfaceGroup
-
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount()- Specified by:
getPublicLayoutsPageCount
in interfaceGroup
-
getRemoteLiveGroupId
public long getRemoteLiveGroupId()- Specified by:
getRemoteLiveGroupId
in interfaceGroup
-
getRemoteStagingGroupCount
public int getRemoteStagingGroupCount()Returns the remote staging group count of this group.- Specified by:
getRemoteStagingGroupCount
in interfaceGroupModel
- Returns:
- the remote staging group count of this group
-
getScopeDescriptiveName
- Specified by:
getScopeDescriptiveName
in interfaceGroup
- Throws:
PortalException
-
getScopeLabel
- Specified by:
getScopeLabel
in interfaceGroup
-
getScopeSimpleName
- Specified by:
getScopeSimpleName
in interfaceGroup
-
getSite
public boolean getSite()Returns the site of this group.- Specified by:
getSite
in interfaceGroupModel
- Returns:
- the site of this group
-
getStagingGroup
- Specified by:
getStagingGroup
in interfaceGroup
-
getTreePath
Returns the tree path of this group.- Specified by:
getTreePath
in interfaceGroupModel
- Specified by:
getTreePath
in interfaceTreeModel
- Returns:
- the tree path of this group
-
getType
public int getType()Returns the type of this group.- Specified by:
getType
in interfaceGroupModel
- Returns:
- the type of this group
-
getTypeLabel
- Specified by:
getTypeLabel
in interfaceGroup
-
getTypeSettings
Returns the type settings of this group.- Specified by:
getTypeSettings
in interfaceGroupModel
- Returns:
- the type settings of this group
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsProperties
in interfaceGroup
-
getTypeSettingsProperty
- Specified by:
getTypeSettingsProperty
in interfaceGroup
-
getUnambiguousName
- Specified by:
getUnambiguousName
in interfaceGroup
-
getUuid
Returns the uuid of this group.- Specified by:
getUuid
in interfaceGroupModel
- Returns:
- the uuid of this group
-
hasAncestor
public boolean hasAncestor(long groupId) - Specified by:
hasAncestor
in interfaceGroup
-
hasLocalOrRemoteStagingGroup
public boolean hasLocalOrRemoteStagingGroup()- Specified by:
hasLocalOrRemoteStagingGroup
in interfaceGroup
-
hasPrivateLayouts
public boolean hasPrivateLayouts()- Specified by:
hasPrivateLayouts
in interfaceGroup
-
hasPublicLayouts
public boolean hasPublicLayouts()- Specified by:
hasPublicLayouts
in interfaceGroup
-
hasRemoteStagingGroup
public boolean hasRemoteStagingGroup()- Specified by:
hasRemoteStagingGroup
in interfaceGroup
-
hasStagingGroup
public boolean hasStagingGroup()- Specified by:
hasStagingGroup
in interfaceGroup
-
isActive
public boolean isActive()Returnstrue
if this group is active.- Specified by:
isActive
in interfaceGroupModel
- Returns:
true
if this group is active;false
otherwise
-
isCompany
public boolean isCompany() -
isCompanyStagingGroup
public boolean isCompanyStagingGroup()- Specified by:
isCompanyStagingGroup
in interfaceGroup
-
isContentSharingWithChildrenEnabled
public boolean isContentSharingWithChildrenEnabled()- Specified by:
isContentSharingWithChildrenEnabled
in interfaceGroup
-
isControlPanel
public boolean isControlPanel()- Specified by:
isControlPanel
in interfaceGroup
-
isDepot
public boolean isDepot() -
isGuest
public boolean isGuest() -
isInheritContent
public boolean isInheritContent()Returnstrue
if this group is inherit content.- Specified by:
isInheritContent
in interfaceGroupModel
- Returns:
true
if this group is inherit content;false
otherwise
-
isInStagingPortlet
- Specified by:
isInStagingPortlet
in interfaceGroup
-
isLayout
public boolean isLayout() -
isLayoutPrototype
public boolean isLayoutPrototype()- Specified by:
isLayoutPrototype
in interfaceGroup
-
isLayoutSetPrototype
public boolean isLayoutSetPrototype()- Specified by:
isLayoutSetPrototype
in interfaceGroup
-
isLimitedToParentSiteMembers
public boolean isLimitedToParentSiteMembers()- Specified by:
isLimitedToParentSiteMembers
in interfaceGroup
-
isManualMembership
public boolean isManualMembership()Returnstrue
if this group is manual membership.- Specified by:
isManualMembership
in interfaceGroupModel
- Returns:
true
if this group is manual membership;false
otherwise
-
isOrganization
public boolean isOrganization()- Specified by:
isOrganization
in interfaceGroup
-
isPrivateLayoutsEnabled
public boolean isPrivateLayoutsEnabled()- Specified by:
isPrivateLayoutsEnabled
in interfaceGroup
-
isRegularSite
public boolean isRegularSite()- Specified by:
isRegularSite
in interfaceGroup
-
isRoot
public boolean isRoot() -
isShowSite
public boolean isShowSite(PermissionChecker permissionChecker, boolean privateSite) throws PortalException - Specified by:
isShowSite
in interfaceGroup
- Throws:
PortalException
-
isSite
public boolean isSite()Returnstrue
if this group is site.- Specified by:
isSite
in interfaceGroupModel
- Returns:
true
if this group is site;false
otherwise
-
isStaged
public boolean isStaged() -
isStagedPortlet
- Specified by:
isStagedPortlet
in interfaceGroup
-
isStagedRemotely
public boolean isStagedRemotely()- Specified by:
isStagedRemotely
in interfaceGroup
-
isStagingGroup
public boolean isStagingGroup()- Specified by:
isStagingGroup
in interfaceGroup
-
isUser
public boolean isUser() -
isUserGroup
public boolean isUserGroup()- Specified by:
isUserGroup
in interfaceGroup
-
isUserPersonalSite
public boolean isUserPersonalSite()- Specified by:
isUserPersonalSite
in interfaceGroup
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImport
in interfaceGroupModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceLocalizedModel
- Throws:
LocaleException
-
prepareLocalizedFieldsForImport
- Specified by:
prepareLocalizedFieldsForImport
in interfaceGroupModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceLocalizedModel
- Throws:
LocaleException
-
setActive
public void setActive(boolean active) Sets whether this group is active.- Specified by:
setActive
in interfaceGroupModel
- Parameters:
active
- the active of this group
-
setClassName
- Specified by:
setClassName
in interfaceGroupModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this group.- Specified by:
setClassNameId
in interfaceGroupModel
- Specified by:
setClassNameId
in 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:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceGroupModel
- Parameters:
classPK
- the class pk of this group
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this group.- Specified by:
setCompanyId
in interfaceGroupModel
- Specified by:
setCompanyId
in 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:
setCreatorUserId
in interfaceGroupModel
- Parameters:
creatorUserId
- the creator user ID of this group
-
setCreatorUserUuid
Sets the creator user uuid of this group.- Specified by:
setCreatorUserUuid
in 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:
setCtCollectionId
in interfaceCTModel<Group>
- Specified by:
setCtCollectionId
in interfaceGroupModel
- Parameters:
ctCollectionId
- the ct collection ID of this group
-
setDescription
Sets the description of this group.- Specified by:
setDescription
in interfaceGroupModel
- Parameters:
description
- the description of this group
-
setDescription
Sets the localized description of this group in the language.- Specified by:
setDescription
in 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:
setDescription
in interfaceGroupModel
- Parameters:
description
- the localized description of this grouplocale
- the locale of the languagedefaultLocale
- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageId
in interfaceGroupModel
-
setDescriptionMap
Sets the localized descriptions of this group from the map of locales and localized descriptions.- Specified by:
setDescriptionMap
in 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:
setDescriptionMap
in 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:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceGroupModel
- Parameters:
externalReferenceCode
- the external reference code of this group
-
setFriendlyURL
Sets the friendly url of this group.- Specified by:
setFriendlyURL
in interfaceGroupModel
- Parameters:
friendlyURL
- the friendly url of this group
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this group.- Specified by:
setGroupId
in interfaceGroupModel
- Parameters:
groupId
- the group ID of this group
-
setGroupKey
Sets the group key of this group.- Specified by:
setGroupKey
in interfaceGroupModel
- Parameters:
groupKey
- the group key of this group
-
setInheritContent
public void setInheritContent(boolean inheritContent) Sets whether this group is inherit content.- Specified by:
setInheritContent
in 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:
setLiveGroupId
in 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:
setManualMembership
in interfaceGroupModel
- Parameters:
manualMembership
- the manual membership of this group
-
setMembershipRestriction
public void setMembershipRestriction(int membershipRestriction) Sets the membership restriction of this group.- Specified by:
setMembershipRestriction
in interfaceGroupModel
- Parameters:
membershipRestriction
- the membership restriction of this group
-
setModifiedDate
Sets the modified date of this group.- Specified by:
setModifiedDate
in interfaceGroupModel
- Parameters:
modifiedDate
- the modified date of this group
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this group.- Specified by:
setMvccVersion
in interfaceGroupModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this group
-
setName
Sets the name of this group.- Specified by:
setName
in interfaceGroupModel
- Parameters:
name
- the name of this group
-
setName
Sets the localized name of this group in the language.- Specified by:
setName
in 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:
setName
in interfaceGroupModel
- Parameters:
name
- the localized name of this grouplocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceGroupModel
-
setNameMap
Sets the localized names of this group from the map of locales and localized names.- Specified by:
setNameMap
in 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:
setNameMap
in 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:
setParentGroupId
in 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:
setPrimaryKey
in interfaceCTModel<Group>
- Specified by:
setPrimaryKey
in 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:
setRemoteStagingGroupCount
in 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:
setSite
in interfaceGroupModel
- Parameters:
site
- the site of this group
-
setTreePath
Sets the tree path of this group.- Specified by:
setTreePath
in interfaceGroupModel
- Parameters:
treePath
- the tree path of this group
-
setType
public void setType(int type) Sets the type of this group.- Specified by:
setType
in interfaceGroupModel
- Parameters:
type
- the type of this group
-
setTypeSettings
Sets the type settings of this group.- Specified by:
setTypeSettings
in interfaceGroupModel
- Parameters:
typeSettings
- the type settings of this group
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsProperties
in interfaceGroup
-
setUuid
Sets the uuid of this group.- Specified by:
setUuid
in interfaceGroupModel
- Parameters:
uuid
- the uuid of this group
-
toXmlString
- Specified by:
toXmlString
in interfaceGroupModel
-
updateTreePath
- Specified by:
updateTreePath
in interfaceTreeModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Group>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Group>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Group>
-