|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.GroupWrapper
public class GroupWrapper
This class is a wrapper for Group
.
Group
,
Serialized FormConstructor Summary | |
---|---|
GroupWrapper(Group group)
|
Method Summary | |
---|---|
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. |
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. |
long |
getDefaultPrivatePlid()
|
long |
getDefaultPublicPlid()
|
String |
getDescription()
Returns the description of this group. |
String |
getDescriptiveName()
|
String |
getDescriptiveName(Locale locale)
|
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. |
Group |
getLiveGroup()
|
long |
getLiveGroupId()
Returns the live group ID of this group. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this group. |
long |
getOrganizationId()
|
Group |
getParentGroup()
|
long |
getParentGroupId()
Returns the parent group ID of this group. |
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()
|
boolean |
getSite()
Returns the site of this group. |
Group |
getStagingGroup()
|
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)
|
Group |
getWrappedGroup()
Deprecated. Renamed to getWrappedModel() |
Group |
getWrappedModel()
|
int |
hashCode()
|
boolean |
hasPrivateLayouts()
|
boolean |
hasPublicLayouts()
|
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 |
isCommunity()
Deprecated. As of 6.1.0, renamed to isRegularSite() |
boolean |
isCompany()
|
boolean |
isControlPanel()
|
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isGuest()
|
boolean |
isInStagingPortlet(String portletId)
|
boolean |
isLayout()
|
boolean |
isLayoutPrototype()
|
boolean |
isLayoutSetPrototype()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isOrganization()
|
boolean |
isRegularSite()
|
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 |
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 |
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 |
setLiveGroupId(long liveGroupId)
Sets the live group ID of this group. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this group. |
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 |
setSite(boolean site)
Sets whether this group is site. |
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)
|
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. |
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 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 long getPrimaryKey()
getPrimaryKey
in interface GroupModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface GroupModel
primaryKey
- the primary key of this grouppublic long getGroupId()
getGroupId
in interface GroupModel
public void setGroupId(long groupId)
setGroupId
in interface GroupModel
groupId
- the group ID of this grouppublic long getCompanyId()
getCompanyId
in interface GroupModel
public void setCompanyId(long companyId)
setCompanyId
in interface GroupModel
companyId
- the company ID of this grouppublic long getCreatorUserId()
getCreatorUserId
in interface GroupModel
public void setCreatorUserId(long creatorUserId)
setCreatorUserId
in interface GroupModel
creatorUserId
- the creator user ID of this grouppublic String getCreatorUserUuid() throws SystemException
getCreatorUserUuid
in interface GroupModel
SystemException
- if a system exception occurredpublic void setCreatorUserUuid(String creatorUserUuid)
setCreatorUserUuid
in interface GroupModel
creatorUserUuid
- the creator user uuid of this grouppublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface GroupModel
public void setClassName(String className)
setClassName
in interface GroupModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface GroupModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface GroupModel
classNameId
- the class name ID of this grouppublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface GroupModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface GroupModel
classPK
- the class p k of this grouppublic long getParentGroupId()
getParentGroupId
in interface GroupModel
public void setParentGroupId(long parentGroupId)
setParentGroupId
in interface GroupModel
parentGroupId
- the parent group ID of this grouppublic long getLiveGroupId()
getLiveGroupId
in interface GroupModel
public void setLiveGroupId(long liveGroupId)
setLiveGroupId
in interface GroupModel
liveGroupId
- the live group ID of this grouppublic String getName()
getName
in interface GroupModel
public void setName(String name)
setName
in interface GroupModel
name
- the name of this grouppublic String getDescription()
getDescription
in interface GroupModel
public void setDescription(String description)
setDescription
in interface GroupModel
description
- the description of this grouppublic int getType()
getType
in interface GroupModel
public void setType(int type)
setType
in interface GroupModel
type
- the type of this grouppublic String getTypeSettings()
getTypeSettings
in interface Group
getTypeSettings
in interface GroupModel
public void setTypeSettings(String typeSettings)
setTypeSettings
in interface Group
setTypeSettings
in interface GroupModel
typeSettings
- the type settings of this grouppublic String getFriendlyURL()
getFriendlyURL
in interface GroupModel
public void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface GroupModel
friendlyURL
- the friendly u r l of this grouppublic boolean getSite()
getSite
in interface GroupModel
public boolean isSite()
true
if this group is site.
isSite
in interface GroupModel
true
if this group is site; false
otherwisepublic void setSite(boolean site)
setSite
in interface GroupModel
site
- the site of this grouppublic boolean getActive()
getActive
in interface GroupModel
public boolean isActive()
true
if this group is active.
isActive
in interface GroupModel
true
if this group is active; false
otherwisepublic void setActive(boolean active)
setActive
in interface GroupModel
active
- the active of this grouppublic 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 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 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)
public 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 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Group>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface GroupModel
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Group>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface GroupModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Group>
setExpandoBridgeAttributes
in interface GroupModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
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 int hashCode()
hashCode
in interface GroupModel
hashCode
in class Object
public 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 Group toUnescapedModel()
toUnescapedModel
in interface BaseModel<Group>
toUnescapedModel
in interface GroupModel
public String toString()
toString
in interface GroupModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Group>
toXmlString
in interface GroupModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic long getDefaultPrivatePlid()
getDefaultPrivatePlid
in interface Group
public long getDefaultPublicPlid()
getDefaultPublicPlid
in interface Group
public String getDescriptiveName() throws PortalException, SystemException
getDescriptiveName
in interface Group
PortalException
SystemException
public String getDescriptiveName(Locale locale) throws PortalException, SystemException
getDescriptiveName
in interface Group
PortalException
SystemException
public Group getLiveGroup()
getLiveGroup
in interface Group
public long getOrganizationId()
getOrganizationId
in interface Group
public Group getParentGroup() throws PortalException, SystemException
getParentGroup
in interface Group
PortalException
SystemException
public String getPathFriendlyURL(boolean privateLayout, ThemeDisplay themeDisplay)
getPathFriendlyURL
in interface Group
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 Group getStagingGroup()
getStagingGroup
in interface Group
public String getTypeLabel()
getTypeLabel
in interface Group
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface Group
public String getTypeSettingsProperty(String key)
getTypeSettingsProperty
in interface Group
public boolean hasPrivateLayouts()
hasPrivateLayouts
in interface Group
public boolean hasPublicLayouts()
hasPublicLayouts
in interface Group
public boolean hasStagingGroup()
hasStagingGroup
in interface Group
public boolean isCommunity()
isRegularSite()
isCommunity
in interface Group
public boolean isCompany()
isCompany
in interface Group
public boolean isControlPanel()
isControlPanel
in interface Group
public boolean isGuest()
isGuest
in interface Group
public boolean isInStagingPortlet(String portletId)
isInStagingPortlet
in interface Group
public boolean isLayout()
isLayout
in interface Group
public boolean isLayoutPrototype()
isLayoutPrototype
in interface Group
public boolean isLayoutSetPrototype()
isLayoutSetPrototype
in interface Group
public boolean isOrganization()
isOrganization
in interface Group
public boolean isRegularSite()
isRegularSite
in interface Group
public boolean isShowSite(PermissionChecker permissionChecker, boolean privateSite) throws PortalException, SystemException
isShowSite
in interface Group
PortalException
SystemException
public boolean isStaged()
isStaged
in interface Group
public boolean isStagedPortlet(String portletId)
isStagedPortlet
in interface Group
public boolean isStagedRemotely()
isStagedRemotely
in interface Group
public boolean isStagingGroup()
isStagingGroup
in interface Group
public boolean isUser()
isUser
in interface Group
public boolean isUserGroup()
isUserGroup
in interface Group
public boolean isUserPersonalSite()
isUserPersonalSite
in interface Group
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface Group
public boolean equals(Object obj)
equals
in class Object
public Group getWrappedGroup()
getWrappedModel()
public Group getWrappedModel()
getWrappedModel
in interface ModelWrapper<Group>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Group>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |