@ProviderType public class GroupWrapper extends Object implements Group, ModelWrapper<Group>
This class is a wrapper for Group
.
Group
,
Serialized FormGROUP_ID_ACCESSOR
Constructor and Description |
---|
GroupWrapper(Group group) |
Modifier and Type | Method and Description |
---|---|
String |
buildTreePath() |
void |
clearStagingGroup() |
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Group group) |
boolean |
equals(Object obj) |
boolean |
getActive()
Returns the active of this group.
|
List<Group> |
getAncestors() |
String[] |
getAvailableLanguageIds() |
List<Group> |
getChildren(boolean site) |
List<Group> |
getChildrenWithLayouts(boolean site,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getChildrenWithLayouts(boolean, int, int,
OrderByComparator) |
List<Group> |
getChildrenWithLayouts(boolean site,
int start,
int end,
OrderByComparator<Group> obc) |
int |
getChildrenWithLayoutsCount(boolean site) |
String |
getClassName()
Returns the fully qualified class name of this group.
|
long |
getClassNameId()
Returns the class name ID of this group.
|
long |
getClassPK()
Returns the class pk of this group.
|
long |
getCompanyId()
Returns the company ID of this group.
|
long |
getCreatorUserId()
Returns the creator user ID of this group.
|
String |
getCreatorUserUuid()
Returns the creator user uuid of this group.
|
String |
getDefaultLanguageId() |
long |
getDefaultPrivatePlid() |
long |
getDefaultPublicPlid() |
List<Group> |
getDescendants(boolean site) |
String |
getDescription()
Returns the description of this group.
|
String |
getDescription(Locale locale)
Returns the localized description of this group in the language.
|
String |
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.
|
String |
getDescription(String languageId)
Returns the localized description of this group in the language.
|
String |
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.
|
String |
getDescriptionCurrentLanguageId() |
String |
getDescriptionCurrentValue() |
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this group.
|
String |
getDescriptiveName() |
String |
getDescriptiveName(Locale locale) |
String |
getDisplayURL(ThemeDisplay themeDisplay) |
String |
getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout) |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getFriendlyURL()
Returns the friendly url of this group.
|
long |
getGroupId()
Returns the group ID of this group.
|
String |
getGroupKey()
Returns the group key of this group.
|
String |
getIconCssClass() |
String |
getIconURL(ThemeDisplay themeDisplay) |
boolean |
getInheritContent()
Returns the inherit content of this group.
|
String |
getLayoutRootNodeName(boolean privateLayout,
Locale locale) |
Group |
getLiveGroup() |
long |
getLiveGroupId()
Returns the live group ID of this group.
|
String |
getLiveParentTypeSettingsProperty(String key) |
String |
getLogoURL(ThemeDisplay themeDisplay,
boolean useDefault) |
boolean |
getManualMembership()
Returns the manual membership of this group.
|
int |
getMembershipRestriction()
Returns the membership restriction of this group.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this group.
|
String |
getName()
Returns the name of this group.
|
String |
getName(Locale locale)
Returns the localized name of this group in the language.
|
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this group in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getName(String languageId)
Returns the localized name of this group in the language.
|
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this group in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getNameCurrentLanguageId() |
String |
getNameCurrentValue() |
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this group.
|
long |
getOrganizationId() |
Group |
getParentGroup() |
long |
getParentGroupId()
Returns the parent group ID of this group.
|
UnicodeProperties |
getParentLiveGroupTypeSettingsProperties() |
String |
getPathFriendlyURL(boolean privateLayout,
ThemeDisplay themeDisplay) |
long |
getPrimaryKey()
Returns the primary key of this group.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
LayoutSet |
getPrivateLayoutSet() |
int |
getPrivateLayoutsPageCount() |
LayoutSet |
getPublicLayoutSet() |
int |
getPublicLayoutsPageCount() |
long |
getRemoteLiveGroupId() |
int |
getRemoteStagingGroupCount()
Returns the remote staging group count of this group.
|
String |
getScopeDescriptiveName(ThemeDisplay themeDisplay) |
String |
getScopeLabel(ThemeDisplay themeDisplay) |
boolean |
getSite()
Returns the site of this group.
|
Group |
getStagingGroup() |
String |
getTreePath()
Returns the tree path of this group.
|
int |
getType()
Returns the type of this group.
|
String |
getTypeLabel() |
String |
getTypeSettings()
Returns the type settings of this group.
|
UnicodeProperties |
getTypeSettingsProperties() |
String |
getTypeSettingsProperty(String key) |
String |
getUnambiguousName(String name,
Locale locale) |
String |
getUuid()
Returns the uuid of this group.
|
Group |
getWrappedModel() |
boolean |
hasAncestor(long groupId) |
int |
hashCode() |
boolean |
hasLocalOrRemoteStagingGroup() |
boolean |
hasPrivateLayouts() |
boolean |
hasPublicLayouts() |
boolean |
hasRemoteStagingGroup() |
boolean |
hasStagingGroup() |
boolean |
isActive()
Returns
true if this group is active. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isChild(long groupId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
hasAncestor(long) |
boolean |
isCompany() |
boolean |
isCompanyStagingGroup() |
boolean |
isControlPanel() |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isGuest() |
boolean |
isInheritContent()
Returns
true if this group is inherit content. |
boolean |
isInStagingPortlet(String portletId) |
boolean |
isLayout() |
boolean |
isLayoutPrototype() |
boolean |
isLayoutSetPrototype() |
boolean |
isLimitedToParentSiteMembers() |
boolean |
isManualMembership()
Returns
true if this group is manual membership. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isOrganization() |
boolean |
isRegularSite() |
boolean |
isRoot() |
boolean |
isShowSite(PermissionChecker permissionChecker,
boolean privateSite) |
boolean |
isSite()
Returns
true if this group is site. |
boolean |
isStaged() |
boolean |
isStagedPortlet(String portletId) |
boolean |
isStagedRemotely() |
boolean |
isStagingGroup() |
boolean |
isUser() |
boolean |
isUserGroup() |
boolean |
isUserPersonalSite() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale) |
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setActive(boolean active)
Sets whether this group is active.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this group.
|
void |
setName(String name)
Sets the name of this group.
|
void |
setName(String name,
Locale locale)
Sets the localized name of this group in the language.
|
void |
setName(String name,
Locale locale,
Locale defaultLocale)
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setParentGroupId(long parentGroupId)
Sets the parent group ID of this group.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this group.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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 typeSettingsProperties) |
void |
setUuid(String uuid)
Sets the uuid of this group.
|
CacheModel<Group> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Group |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
Group |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
void |
updateTreePath(String treePath) |
public GroupWrapper(Group group)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Group>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Group>
public String buildTreePath() throws PortalException
buildTreePath
in interface TreeModel
PortalException
public void clearStagingGroup()
clearStagingGroup
in interface Group
public Object clone()
BaseModel
clone
in interface BaseModel<Group>
clone
in interface GroupModel
clone
in class Object
public int compareTo(Group group)
compareTo
in interface GroupModel
compareTo
in interface Comparable<Group>
public boolean getActive()
getActive
in interface GroupModel
public List<Group> getAncestors()
getAncestors
in interface Group
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface GroupModel
getAvailableLanguageIds
in interface LocalizedModel
public List<Group> getChildren(boolean site)
getChildren
in interface Group
@Deprecated public List<Group> getChildrenWithLayouts(boolean site, int start, int end)
getChildrenWithLayouts(boolean, int, int,
OrderByComparator)
getChildrenWithLayouts
in interface Group
public List<Group> getChildrenWithLayouts(boolean site, int start, int end, OrderByComparator<Group> obc)
getChildrenWithLayouts
in interface Group
public int getChildrenWithLayoutsCount(boolean site)
getChildrenWithLayoutsCount
in interface Group
public String getClassName()
getClassName
in interface GroupModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface GroupModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface GroupModel
public long getCompanyId()
getCompanyId
in interface GroupModel
getCompanyId
in interface ShardedModel
public long getCreatorUserId()
getCreatorUserId
in interface GroupModel
public String getCreatorUserUuid()
getCreatorUserUuid
in interface GroupModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface GroupModel
getDefaultLanguageId
in interface LocalizedModel
public long getDefaultPrivatePlid()
getDefaultPrivatePlid
in interface Group
public long getDefaultPublicPlid()
getDefaultPublicPlid
in interface Group
public List<Group> getDescendants(boolean site)
getDescendants
in interface Group
public String getDescription()
getDescription
in interface GroupModel
public String getDescription(Locale locale)
getDescription
in interface GroupModel
locale
- the locale of the languagepublic String getDescription(Locale locale, boolean useDefault)
getDescription
in interface GroupModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
getDescription
in interface GroupModel
languageId
- the ID of the languagepublic String getDescription(String languageId, boolean useDefault)
getDescription
in interface GroupModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface GroupModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface GroupModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface GroupModel
public String getDescriptiveName() throws PortalException
getDescriptiveName
in interface Group
PortalException
public String getDescriptiveName(Locale locale) throws PortalException
getDescriptiveName
in interface Group
PortalException
public String getDisplayURL(ThemeDisplay themeDisplay)
getDisplayURL
in interface Group
public String getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout)
getDisplayURL
in interface Group
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Group>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface GroupModel
public String getFriendlyURL()
getFriendlyURL
in interface GroupModel
public long getGroupId()
getGroupId
in interface GroupModel
public String getGroupKey()
getGroupKey
in interface GroupModel
public String getIconCssClass()
getIconCssClass
in interface Group
public String getIconURL(ThemeDisplay themeDisplay)
getIconURL
in interface Group
public boolean getInheritContent()
getInheritContent
in interface GroupModel
public String getLayoutRootNodeName(boolean privateLayout, Locale locale)
getLayoutRootNodeName
in interface Group
public Group getLiveGroup()
getLiveGroup
in interface Group
public long getLiveGroupId()
getLiveGroupId
in interface GroupModel
public String getLiveParentTypeSettingsProperty(String key)
getLiveParentTypeSettingsProperty
in interface Group
public String getLogoURL(ThemeDisplay themeDisplay, boolean useDefault)
getLogoURL
in interface Group
public boolean getManualMembership()
getManualMembership
in interface GroupModel
public int getMembershipRestriction()
getMembershipRestriction
in interface GroupModel
public long getMvccVersion()
getMvccVersion
in interface GroupModel
getMvccVersion
in interface MVCCModel
public String getName()
getName
in interface GroupModel
public String getName(Locale locale)
getName
in interface GroupModel
locale
- the locale of the languagepublic String getName(Locale locale, boolean useDefault)
getName
in interface GroupModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getName(String languageId)
getName
in interface GroupModel
languageId
- the ID of the languagepublic String getName(String languageId, boolean useDefault)
getName
in interface GroupModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface GroupModel
public String getNameCurrentValue()
getNameCurrentValue
in interface GroupModel
public Map<Locale,String> getNameMap()
getNameMap
in interface GroupModel
public long getOrganizationId()
getOrganizationId
in interface Group
public Group getParentGroup()
getParentGroup
in interface Group
public long getParentGroupId()
getParentGroupId
in interface GroupModel
public UnicodeProperties getParentLiveGroupTypeSettingsProperties()
getParentLiveGroupTypeSettingsProperties
in interface Group
public String getPathFriendlyURL(boolean privateLayout, ThemeDisplay themeDisplay)
getPathFriendlyURL
in interface Group
public long getPrimaryKey()
getPrimaryKey
in interface GroupModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Group>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface GroupModel
getPrimaryKeyObj
in interface TreeModel
public LayoutSet getPrivateLayoutSet()
getPrivateLayoutSet
in interface Group
public int getPrivateLayoutsPageCount()
getPrivateLayoutsPageCount
in interface Group
public LayoutSet getPublicLayoutSet()
getPublicLayoutSet
in interface Group
public int getPublicLayoutsPageCount()
getPublicLayoutsPageCount
in interface Group
public long getRemoteLiveGroupId()
getRemoteLiveGroupId
in interface Group
public int getRemoteStagingGroupCount()
getRemoteStagingGroupCount
in interface GroupModel
public String getScopeDescriptiveName(ThemeDisplay themeDisplay) throws PortalException
getScopeDescriptiveName
in interface Group
PortalException
public String getScopeLabel(ThemeDisplay themeDisplay)
getScopeLabel
in interface Group
public boolean getSite()
getSite
in interface GroupModel
public Group getStagingGroup()
getStagingGroup
in interface Group
public String getTreePath()
getTreePath
in interface GroupModel
getTreePath
in interface TreeModel
public int getType()
getType
in interface GroupModel
public String getTypeLabel()
getTypeLabel
in interface Group
public String getTypeSettings()
getTypeSettings
in interface GroupModel
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface Group
public String getTypeSettingsProperty(String key)
getTypeSettingsProperty
in interface Group
public String getUnambiguousName(String name, Locale locale)
getUnambiguousName
in interface Group
public String getUuid()
getUuid
in interface GroupModel
public boolean hasAncestor(long groupId)
hasAncestor
in interface Group
public int hashCode()
hashCode
in interface GroupModel
hashCode
in class Object
public boolean hasLocalOrRemoteStagingGroup()
hasLocalOrRemoteStagingGroup
in interface Group
public boolean hasPrivateLayouts()
hasPrivateLayouts
in interface Group
public boolean hasPublicLayouts()
hasPublicLayouts
in interface Group
public boolean hasRemoteStagingGroup()
hasRemoteStagingGroup
in interface Group
public boolean hasStagingGroup()
hasStagingGroup
in interface Group
public boolean isActive()
true
if this group is active.isActive
in interface GroupModel
true
if this group is active; false
otherwisepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<Group>
isCachedModel
in interface GroupModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
@Deprecated public boolean isChild(long groupId)
hasAncestor(long)
public boolean isCompanyStagingGroup()
isCompanyStagingGroup
in interface Group
public boolean isControlPanel()
isControlPanel
in interface Group
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<Group>
isEscapedModel
in interface GroupModel
true
if this model instance is escaped;
false
otherwisepublic boolean isInheritContent()
true
if this group is inherit content.isInheritContent
in interface GroupModel
true
if this group is inherit content; false
otherwisepublic boolean isInStagingPortlet(String portletId)
isInStagingPortlet
in interface Group
public boolean isLayoutPrototype()
isLayoutPrototype
in interface Group
public boolean isLayoutSetPrototype()
isLayoutSetPrototype
in interface Group
public boolean isLimitedToParentSiteMembers()
isLimitedToParentSiteMembers
in interface Group
public boolean isManualMembership()
true
if this group is manual membership.isManualMembership
in interface GroupModel
true
if this group is manual membership; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<Group>
isNew
in interface GroupModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic boolean isOrganization()
isOrganization
in interface Group
public boolean isRegularSite()
isRegularSite
in interface Group
public boolean isShowSite(PermissionChecker permissionChecker, boolean privateSite) throws PortalException
isShowSite
in interface Group
PortalException
public boolean isSite()
true
if this group is site.isSite
in interface GroupModel
true
if this group is site; false
otherwisepublic boolean isStagedPortlet(String portletId)
isStagedPortlet
in interface Group
public boolean isStagedRemotely()
isStagedRemotely
in interface Group
public boolean isStagingGroup()
isStagingGroup
in interface Group
public boolean isUserGroup()
isUserGroup
in interface Group
public boolean isUserPersonalSite()
isUserPersonalSite
in interface Group
public void persist()
PersistedModel
persist
in interface PersistedModel
public void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface GroupModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface GroupModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void setActive(boolean active)
setActive
in interface GroupModel
active
- the active of this grouppublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Group>
setCachedModel
in interface GroupModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface GroupModel
public void setClassNameId(long classNameId)
setClassNameId
in interface GroupModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this grouppublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface GroupModel
classPK
- the class pk of this grouppublic void setCompanyId(long companyId)
setCompanyId
in interface GroupModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this grouppublic void setCreatorUserId(long creatorUserId)
setCreatorUserId
in interface GroupModel
creatorUserId
- the creator user ID of this grouppublic void setCreatorUserUuid(String creatorUserUuid)
setCreatorUserUuid
in interface GroupModel
creatorUserUuid
- the creator user uuid of this grouppublic void setDescription(String description)
setDescription
in interface GroupModel
description
- the description of this grouppublic void setDescription(String description, Locale locale)
setDescription
in interface GroupModel
description
- the localized description of this grouplocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface GroupModel
description
- the localized description of this grouplocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface GroupModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface GroupModel
descriptionMap
- the locales and localized descriptions of this grouppublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface GroupModel
descriptionMap
- the locales and localized descriptions of this groupdefaultLocale
- the default localepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Group>
setExpandoBridgeAttributes
in interface GroupModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Group>
setExpandoBridgeAttributes
in interface GroupModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Group>
setExpandoBridgeAttributes
in interface GroupModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface GroupModel
friendlyURL
- the friendly url of this grouppublic void setGroupId(long groupId)
setGroupId
in interface GroupModel
groupId
- the group ID of this grouppublic void setGroupKey(String groupKey)
setGroupKey
in interface GroupModel
groupKey
- the group key of this grouppublic void setInheritContent(boolean inheritContent)
setInheritContent
in interface GroupModel
inheritContent
- the inherit content of this grouppublic void setLiveGroupId(long liveGroupId)
setLiveGroupId
in interface GroupModel
liveGroupId
- the live group ID of this grouppublic void setManualMembership(boolean manualMembership)
setManualMembership
in interface GroupModel
manualMembership
- the manual membership of this grouppublic void setMembershipRestriction(int membershipRestriction)
setMembershipRestriction
in interface GroupModel
membershipRestriction
- the membership restriction of this grouppublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface GroupModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this grouppublic void setName(String name)
setName
in interface GroupModel
name
- the name of this grouppublic void setName(String name, Locale locale)
setName
in interface GroupModel
name
- the localized name of this grouplocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
setName
in interface GroupModel
name
- the localized name of this grouplocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface GroupModel
public void setNameMap(Map<Locale,String> nameMap)
setNameMap
in interface GroupModel
nameMap
- the locales and localized names of this grouppublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
setNameMap
in interface GroupModel
nameMap
- the locales and localized names of this groupdefaultLocale
- the default localepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Group>
setNew
in interface GroupModel
n
- whether this model instance does not yet exist in the databasepublic void setParentGroupId(long parentGroupId)
setParentGroupId
in interface GroupModel
parentGroupId
- the parent group ID of this grouppublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface GroupModel
primaryKey
- the primary key of this grouppublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Group>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface GroupModel
primaryKeyObj
- the primary key of this model instancepublic void setRemoteStagingGroupCount(int remoteStagingGroupCount)
setRemoteStagingGroupCount
in interface GroupModel
remoteStagingGroupCount
- the remote staging group count of this grouppublic void setSite(boolean site)
setSite
in interface GroupModel
site
- the site of this grouppublic void setTreePath(String treePath)
setTreePath
in interface GroupModel
treePath
- the tree path of this grouppublic void setType(int type)
setType
in interface GroupModel
type
- the type of this grouppublic void setTypeSettings(String typeSettings)
setTypeSettings
in interface GroupModel
typeSettings
- the type settings of this grouppublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface Group
public void setUuid(String uuid)
setUuid
in interface GroupModel
uuid
- the uuid of this grouppublic CacheModel<Group> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Group>
toCacheModel
in interface GroupModel
public Group toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<Group>
toEscapedModel
in interface GroupModel
AutoEscapeBeanHandler
public String toString()
toString
in interface GroupModel
toString
in class Object
public Group toUnescapedModel()
toUnescapedModel
in interface BaseModel<Group>
toUnescapedModel
in interface GroupModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Group>
toXmlString
in interface GroupModel
public void updateTreePath(String treePath)
updateTreePath
in interface TreeModel
public boolean equals(Object obj)
equals
in class Object
public Group getWrappedModel()
getWrappedModel
in interface ModelWrapper<Group>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<Group>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<Group>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Group>