|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.GroupWrapper
@ProviderType public class GroupWrapper
This class is a wrapper for Group.
Group,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.Group |
|---|
GROUP_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
GroupWrapper(Group group)
|
|
| Method Summary | |
|---|---|
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 7.0.0, 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 p k 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 u r l 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 7.0.0, 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 p k 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 u r l 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)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GroupWrapper(Group group)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 TreeModelPortalExceptionpublic void clearStagingGroup()
clearStagingGroup in interface Grouppublic Object clone()
BaseModel
clone in interface BaseModel<Group>clone in interface GroupModelclone in class Objectpublic int compareTo(Group group)
compareTo in interface GroupModelcompareTo in interface Comparable<Group>public boolean getActive()
getActive in interface GroupModel
public List<Group> getAncestors()
throws PortalException
getAncestors in interface GroupPortalExceptionpublic String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface GroupModelgetAvailableLanguageIds in interface LocalizedModelpublic 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 Grouppublic int getChildrenWithLayoutsCount(boolean site)
getChildrenWithLayoutsCount in interface Grouppublic String getClassName()
getClassName in interface GroupModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface GroupModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface GroupModelpublic long getCompanyId()
getCompanyId in interface GroupModelgetCompanyId in interface ShardedModelpublic long getCreatorUserId()
getCreatorUserId in interface GroupModelpublic String getCreatorUserUuid()
getCreatorUserUuid in interface GroupModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface GroupModelgetDefaultLanguageId in interface LocalizedModelpublic long getDefaultPrivatePlid()
getDefaultPrivatePlid in interface Grouppublic long getDefaultPublicPlid()
getDefaultPublicPlid in interface Grouppublic List<Group> getDescendants(boolean site)
getDescendants in interface Grouppublic String getDescription()
getDescription in interface GroupModelpublic String getDescription(String languageId)
getDescription in interface GroupModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface GroupModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getDescription(Locale locale)
getDescription in interface GroupModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface GroupModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface GroupModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface GroupModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface GroupModel
public String getDescriptiveName()
throws PortalException
getDescriptiveName in interface GroupPortalException
public String getDescriptiveName(Locale locale)
throws PortalException
getDescriptiveName in interface GroupPortalExceptionpublic String getDisplayURL(ThemeDisplay themeDisplay)
getDisplayURL in interface Group
public String getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout)
getDisplayURL in interface Grouppublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Group>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface GroupModelpublic String getFriendlyURL()
getFriendlyURL in interface GroupModelpublic long getGroupId()
getGroupId in interface GroupModelpublic String getGroupKey()
getGroupKey in interface GroupModelpublic String getIconCssClass()
getIconCssClass in interface Grouppublic String getIconURL(ThemeDisplay themeDisplay)
getIconURL in interface Grouppublic boolean getInheritContent()
getInheritContent in interface GroupModel
public String getLayoutRootNodeName(boolean privateLayout,
Locale locale)
getLayoutRootNodeName in interface Grouppublic Group getLiveGroup()
getLiveGroup in interface Grouppublic long getLiveGroupId()
getLiveGroupId in interface GroupModelpublic String getLiveParentTypeSettingsProperty(String key)
getLiveParentTypeSettingsProperty in interface Group
public String getLogoURL(ThemeDisplay themeDisplay,
boolean useDefault)
getLogoURL in interface Grouppublic boolean getManualMembership()
getManualMembership in interface GroupModelpublic int getMembershipRestriction()
getMembershipRestriction in interface GroupModelpublic long getMvccVersion()
getMvccVersion in interface GroupModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface GroupModelpublic String getName(String languageId)
getName in interface GroupModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
getName in interface GroupModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getName(Locale locale)
getName in interface GroupModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
getName in interface GroupModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface GroupModelpublic String getNameCurrentValue()
getNameCurrentValue in interface GroupModelpublic Map<Locale,String> getNameMap()
getNameMap in interface GroupModelpublic long getOrganizationId()
getOrganizationId in interface Group
public Group getParentGroup()
throws PortalException
getParentGroup in interface GroupPortalExceptionpublic long getParentGroupId()
getParentGroupId in interface GroupModelpublic UnicodeProperties getParentLiveGroupTypeSettingsProperties()
getParentLiveGroupTypeSettingsProperties in interface Group
public String getPathFriendlyURL(boolean privateLayout,
ThemeDisplay themeDisplay)
getPathFriendlyURL in interface Grouppublic long getPrimaryKey()
getPrimaryKey in interface GroupModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Group>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface GroupModelgetPrimaryKeyObj in interface TreeModelpublic LayoutSet getPrivateLayoutSet()
getPrivateLayoutSet in interface Grouppublic int getPrivateLayoutsPageCount()
getPrivateLayoutsPageCount in interface Grouppublic LayoutSet getPublicLayoutSet()
getPublicLayoutSet in interface Grouppublic int getPublicLayoutsPageCount()
getPublicLayoutsPageCount in interface Grouppublic long getRemoteLiveGroupId()
getRemoteLiveGroupId in interface Grouppublic int getRemoteStagingGroupCount()
getRemoteStagingGroupCount in interface GroupModel
public String getScopeDescriptiveName(ThemeDisplay themeDisplay)
throws PortalException
getScopeDescriptiveName in interface GroupPortalExceptionpublic String getScopeLabel(ThemeDisplay themeDisplay)
getScopeLabel in interface Grouppublic boolean getSite()
getSite in interface GroupModelpublic Group getStagingGroup()
getStagingGroup in interface Grouppublic String getTreePath()
getTreePath in interface GroupModelgetTreePath in interface TreeModelpublic int getType()
getType in interface GroupModelpublic String getTypeLabel()
getTypeLabel in interface Grouppublic String getTypeSettings()
getTypeSettings in interface GroupModelpublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface Grouppublic String getTypeSettingsProperty(String key)
getTypeSettingsProperty in interface Group
public String getUnambiguousName(String name,
Locale locale)
getUnambiguousName in interface Grouppublic String getUuid()
getUuid in interface GroupModelpublic boolean hasAncestor(long groupId)
hasAncestor in interface Grouppublic boolean hasLocalOrRemoteStagingGroup()
hasLocalOrRemoteStagingGroup in interface Grouppublic boolean hasPrivateLayouts()
hasPrivateLayouts in interface Grouppublic boolean hasPublicLayouts()
hasPublicLayouts in interface Grouppublic boolean hasRemoteStagingGroup()
hasRemoteStagingGroup in interface Grouppublic boolean hasStagingGroup()
hasStagingGroup in interface Grouppublic int hashCode()
hashCode in interface GroupModelhashCode in class Objectpublic boolean isActive()
true if this group is active.
isActive in interface GroupModeltrue if this group is active; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Group>isCachedModel in interface GroupModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)@Deprecated public boolean isChild(long groupId)
hasAncestor(long)
isChild in interface Grouppublic boolean isCompany()
isCompany in interface Grouppublic boolean isCompanyStagingGroup()
isCompanyStagingGroup in interface Grouppublic boolean isControlPanel()
isControlPanel in interface Grouppublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Group>isEscapedModel in interface GroupModeltrue if this model instance is escaped;
false otherwisepublic boolean isGuest()
isGuest in interface Grouppublic boolean isInStagingPortlet(String portletId)
isInStagingPortlet in interface Grouppublic boolean isInheritContent()
true if this group is inherit content.
isInheritContent in interface GroupModeltrue if this group is inherit content; false otherwisepublic boolean isLayout()
isLayout in interface Grouppublic boolean isLayoutPrototype()
isLayoutPrototype in interface Grouppublic boolean isLayoutSetPrototype()
isLayoutSetPrototype in interface Grouppublic boolean isLimitedToParentSiteMembers()
isLimitedToParentSiteMembers in interface Grouppublic boolean isManualMembership()
true if this group is manual membership.
isManualMembership in interface GroupModeltrue if this group is manual membership; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Group>isNew in interface GroupModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isOrganization()
isOrganization in interface Grouppublic boolean isRegularSite()
isRegularSite in interface Grouppublic boolean isRoot()
isRoot in interface Group
public boolean isShowSite(PermissionChecker permissionChecker,
boolean privateSite)
throws PortalException
isShowSite in interface GroupPortalExceptionpublic boolean isSite()
true if this group is site.
isSite in interface GroupModeltrue if this group is site; false otherwisepublic boolean isStaged()
isStaged in interface Grouppublic boolean isStagedPortlet(String portletId)
isStagedPortlet in interface Grouppublic boolean isStagedRemotely()
isStagedRemotely in interface Grouppublic boolean isStagingGroup()
isStagingGroup in interface Grouppublic boolean isUser()
isUser in interface Grouppublic boolean isUserGroup()
isUserGroup in interface Grouppublic boolean isUserPersonalSite()
isUserPersonalSite in interface Grouppublic void persist()
PersistedModel
persist in interface PersistedModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface GroupModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface GroupModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic void setActive(boolean active)
setActive in interface GroupModelactive - the active of this grouppublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Group>setCachedModel in interface GroupModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface GroupModelpublic void setClassNameId(long classNameId)
setClassNameId in interface GroupModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this grouppublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface GroupModelclassPK - the class p k of this grouppublic void setCompanyId(long companyId)
setCompanyId in interface GroupModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this grouppublic void setCreatorUserId(long creatorUserId)
setCreatorUserId in interface GroupModelcreatorUserId - the creator user ID of this grouppublic void setCreatorUserUuid(String creatorUserUuid)
setCreatorUserUuid in interface GroupModelcreatorUserUuid - the creator user uuid of this grouppublic void setDescription(String description)
setDescription in interface GroupModeldescription - the description of this group
public void setDescription(String description,
Locale locale)
setDescription in interface GroupModeldescription - the localized description of this grouplocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface GroupModeldescription - the localized description of this grouplocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface GroupModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface GroupModeldescriptionMap - the locales and localized descriptions of this group
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface GroupModeldescriptionMap - the locales and localized descriptions of this groupdefaultLocale - the default localepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Group>setExpandoBridgeAttributes in interface GroupModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Group>setExpandoBridgeAttributes in interface GroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Group>setExpandoBridgeAttributes in interface GroupModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFriendlyURL(String friendlyURL)
setFriendlyURL in interface GroupModelfriendlyURL - the friendly u r l of this grouppublic void setGroupId(long groupId)
setGroupId in interface GroupModelgroupId - the group ID of this grouppublic void setGroupKey(String groupKey)
setGroupKey in interface GroupModelgroupKey - the group key of this grouppublic void setInheritContent(boolean inheritContent)
setInheritContent in interface GroupModelinheritContent - the inherit content of this grouppublic void setLiveGroupId(long liveGroupId)
setLiveGroupId in interface GroupModelliveGroupId - the live group ID of this grouppublic void setManualMembership(boolean manualMembership)
setManualMembership in interface GroupModelmanualMembership - the manual membership of this grouppublic void setMembershipRestriction(int membershipRestriction)
setMembershipRestriction in interface GroupModelmembershipRestriction - the membership restriction of this grouppublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface GroupModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this grouppublic void setName(String name)
setName in interface GroupModelname - the name of this group
public void setName(String name,
Locale locale)
setName in interface GroupModelname - the localized name of this grouplocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
setName in interface GroupModelname - the localized name of this grouplocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface GroupModelpublic void setNameMap(Map<Locale,String> nameMap)
setNameMap in interface GroupModelnameMap - the locales and localized names of this group
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
setNameMap in interface GroupModelnameMap - the locales and localized names of this groupdefaultLocale - the default localepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Group>setNew in interface GroupModeln - whether this model instance does not yet exist in the databasepublic void setParentGroupId(long parentGroupId)
setParentGroupId in interface GroupModelparentGroupId - the parent group ID of this grouppublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface GroupModelprimaryKey - the primary key of this grouppublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Group>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface GroupModelprimaryKeyObj - the primary key of this model instancepublic void setRemoteStagingGroupCount(int remoteStagingGroupCount)
setRemoteStagingGroupCount in interface GroupModelremoteStagingGroupCount - the remote staging group count of this grouppublic void setSite(boolean site)
setSite in interface GroupModelsite - the site of this grouppublic void setTreePath(String treePath)
setTreePath in interface GroupModeltreePath - the tree path of this grouppublic void setType(int type)
setType in interface GroupModeltype - the type of this grouppublic void setTypeSettings(String typeSettings)
setTypeSettings in interface GroupModeltypeSettings - the type settings of this grouppublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface Grouppublic void setUuid(String uuid)
setUuid in interface GroupModeluuid - the uuid of this grouppublic CacheModel<Group> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Group>toCacheModel in interface GroupModelpublic Group toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Group>toEscapedModel in interface GroupModelAutoEscapeBeanHandlerpublic String toString()
toString in interface GroupModeltoString in class Objectpublic Group toUnescapedModel()
toUnescapedModel in interface BaseModel<Group>toUnescapedModel in interface GroupModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Group>toXmlString in interface GroupModelpublic void updateTreePath(String treePath)
updateTreePath in interface TreeModelpublic boolean equals(Object obj)
equals in class Objectpublic Group getWrappedModel()
getWrappedModel in interface ModelWrapper<Group>public boolean isEntityCacheEnabled()
BaseModeltrue 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()
BaseModeltrue 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>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||