|
Liferay 6.0.5 | |||||||||
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 |
getActive()
Gets the active of this group. |
String |
getClassName()
Gets the class name of the model instance this group is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this group. |
long |
getClassPK()
Gets the class p k of this group. |
long |
getCompanyId()
Gets the company id of this group. |
long |
getCreatorUserId()
Gets the creator user id of this group. |
String |
getCreatorUserUuid()
Gets the creator user uuid of this group. |
long |
getDefaultPrivatePlid()
|
long |
getDefaultPublicPlid()
|
String |
getDescription()
Gets the description of this group. |
String |
getDescriptiveName()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFriendlyURL()
Gets the friendly u r l of this group. |
long |
getGroupId()
Gets the group id of this group. |
Group |
getLiveGroup()
|
long |
getLiveGroupId()
Gets the live group id of this group. |
String |
getName()
Gets the name of this group. |
long |
getOrganizationId()
|
long |
getParentGroupId()
Gets the parent group id of this group. |
String |
getPathFriendlyURL(boolean privateLayout,
ThemeDisplay themeDisplay)
|
long |
getPrimaryKey()
Gets the primary key of this group. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
LayoutSet |
getPrivateLayoutSet()
|
int |
getPrivateLayoutsPageCount()
|
LayoutSet |
getPublicLayoutSet()
|
int |
getPublicLayoutsPageCount()
|
Group |
getStagingGroup()
|
int |
getType()
Gets the type of this group. |
String |
getTypeLabel()
|
String |
getTypeSettings()
Gets the type settings of this group. |
UnicodeProperties |
getTypeSettingsProperties()
|
String |
getTypeSettingsProperty(String key)
|
String |
getWorkflowRoleNames()
|
int |
getWorkflowStages()
|
Group |
getWrappedGroup()
|
int |
hashCode()
|
boolean |
hasPrivateLayouts()
|
boolean |
hasPublicLayouts()
|
boolean |
hasStagingGroup()
|
boolean |
isActive()
Determines whether this group is active. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isCommunity()
|
boolean |
isCompany()
|
boolean |
isControlPanel()
|
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isLayout()
|
boolean |
isLayoutPrototype()
|
boolean |
isLayoutSetPrototype()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isOrganization()
|
boolean |
isStaged()
|
boolean |
isStagedPortlet(String portletId)
|
boolean |
isStagedRemotely()
|
boolean |
isStagingGroup()
|
boolean |
isUser()
|
boolean |
isUserGroup()
|
boolean |
isWorkflowEnabled()
|
void |
setActive(boolean active)
Sets whether this {$entity.humanName} is active. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
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 pk)
Sets the primary key 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)
|
Group |
toEscapedModel()
Gets a copy of this group as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GroupWrapper(Group group)
Method Detail |
---|
public long getPrimaryKey()
GroupModel
getPrimaryKey
in interface GroupModel
public void setPrimaryKey(long pk)
GroupModel
setPrimaryKey
in interface GroupModel
pk
- the primary key of this grouppublic long getGroupId()
GroupModel
getGroupId
in interface GroupModel
public void setGroupId(long groupId)
GroupModel
setGroupId
in interface GroupModel
groupId
- the group id of this grouppublic long getCompanyId()
GroupModel
getCompanyId
in interface GroupModel
public void setCompanyId(long companyId)
GroupModel
setCompanyId
in interface GroupModel
companyId
- the company id of this grouppublic long getCreatorUserId()
GroupModel
getCreatorUserId
in interface GroupModel
public void setCreatorUserId(long creatorUserId)
GroupModel
setCreatorUserId
in interface GroupModel
creatorUserId
- the creator user id of this grouppublic String getCreatorUserUuid() throws SystemException
GroupModel
getCreatorUserUuid
in interface GroupModel
SystemException
- if a system exception occurredpublic void setCreatorUserUuid(String creatorUserUuid)
GroupModel
setCreatorUserUuid
in interface GroupModel
creatorUserUuid
- the creator user uuid of this grouppublic String getClassName()
GroupModel
getClassName
in interface GroupModel
public long getClassNameId()
GroupModel
getClassNameId
in interface GroupModel
public void setClassNameId(long classNameId)
GroupModel
setClassNameId
in interface GroupModel
classNameId
- the class name id of this grouppublic long getClassPK()
GroupModel
getClassPK
in interface GroupModel
public void setClassPK(long classPK)
GroupModel
setClassPK
in interface GroupModel
classPK
- the class p k of this grouppublic long getParentGroupId()
GroupModel
getParentGroupId
in interface GroupModel
public void setParentGroupId(long parentGroupId)
GroupModel
setParentGroupId
in interface GroupModel
parentGroupId
- the parent group id of this grouppublic long getLiveGroupId()
GroupModel
getLiveGroupId
in interface GroupModel
public void setLiveGroupId(long liveGroupId)
GroupModel
setLiveGroupId
in interface GroupModel
liveGroupId
- the live group id of this grouppublic String getName()
GroupModel
getName
in interface GroupModel
public void setName(String name)
GroupModel
setName
in interface GroupModel
name
- the name of this grouppublic String getDescription()
GroupModel
getDescription
in interface GroupModel
public void setDescription(String description)
GroupModel
setDescription
in interface GroupModel
description
- the description of this grouppublic int getType()
GroupModel
getType
in interface GroupModel
public void setType(int type)
GroupModel
setType
in interface GroupModel
type
- the type of this grouppublic String getTypeSettings()
GroupModel
getTypeSettings
in interface Group
getTypeSettings
in interface GroupModel
public void setTypeSettings(String typeSettings)
GroupModel
setTypeSettings
in interface Group
setTypeSettings
in interface GroupModel
typeSettings
- the type settings of this grouppublic String getFriendlyURL()
GroupModel
getFriendlyURL
in interface GroupModel
public void setFriendlyURL(String friendlyURL)
GroupModel
setFriendlyURL
in interface GroupModel
friendlyURL
- the friendly u r l of this grouppublic boolean getActive()
GroupModel
getActive
in interface GroupModel
public boolean isActive()
GroupModel
isActive
in interface GroupModel
public void setActive(boolean active)
GroupModel
setActive
in interface GroupModel
active
- the active of this grouppublic Group toEscapedModel()
GroupModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface GroupModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<Group>
isEscapedModel
in interface GroupModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<Group>
setEscapedModel
in interface GroupModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Group>
getPrimaryKeyObj
in interface GroupModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Group>
getExpandoBridge
in interface GroupModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Group>
setExpandoBridgeAttributes
in interface GroupModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface GroupModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Group>
toXmlString
in interface GroupModel
public 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 Group getLiveGroup()
getLiveGroup
in interface Group
public long getOrganizationId()
getOrganizationId
in interface Group
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 String getWorkflowRoleNames()
getWorkflowRoleNames
in interface Group
public int getWorkflowStages()
getWorkflowStages
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()
isCommunity
in interface Group
public boolean isCompany()
isCompany
in interface Group
public boolean isControlPanel()
isControlPanel
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 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 isWorkflowEnabled()
isWorkflowEnabled
in interface Group
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface Group
public Group getWrappedGroup()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |