|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.GroupWrapper
public class GroupWrapper
This class is a wrapper for Group.
Group,
Serialized Form| Constructor 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 |
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 GroupModelpublic void setPrimaryKey(long pk)
GroupModel
setPrimaryKey in interface GroupModelpk - the primary key of this grouppublic long getGroupId()
GroupModel
getGroupId in interface GroupModelpublic void setGroupId(long groupId)
GroupModel
setGroupId in interface GroupModelgroupId - the group id of this grouppublic long getCompanyId()
GroupModel
getCompanyId in interface GroupModelpublic void setCompanyId(long companyId)
GroupModel
setCompanyId in interface GroupModelcompanyId - the company id of this grouppublic long getCreatorUserId()
GroupModel
getCreatorUserId in interface GroupModelpublic void setCreatorUserId(long creatorUserId)
GroupModel
setCreatorUserId in interface GroupModelcreatorUserId - the creator user id of this group
public String getCreatorUserUuid()
throws SystemException
GroupModel
getCreatorUserUuid in interface GroupModelSystemException - if a system exception occurredpublic void setCreatorUserUuid(String creatorUserUuid)
GroupModel
setCreatorUserUuid in interface GroupModelcreatorUserUuid - the creator user uuid of this grouppublic String getClassName()
GroupModel
getClassName in interface GroupModelpublic long getClassNameId()
GroupModel
getClassNameId in interface GroupModelpublic void setClassNameId(long classNameId)
GroupModel
setClassNameId in interface GroupModelclassNameId - the class name id of this grouppublic long getClassPK()
GroupModel
getClassPK in interface GroupModelpublic void setClassPK(long classPK)
GroupModel
setClassPK in interface GroupModelclassPK - the class p k of this grouppublic long getParentGroupId()
GroupModel
getParentGroupId in interface GroupModelpublic void setParentGroupId(long parentGroupId)
GroupModel
setParentGroupId in interface GroupModelparentGroupId - the parent group id of this grouppublic long getLiveGroupId()
GroupModel
getLiveGroupId in interface GroupModelpublic void setLiveGroupId(long liveGroupId)
GroupModel
setLiveGroupId in interface GroupModelliveGroupId - the live group id of this grouppublic String getName()
GroupModel
getName in interface GroupModelpublic void setName(String name)
GroupModel
setName in interface GroupModelname - the name of this grouppublic String getDescription()
GroupModel
getDescription in interface GroupModelpublic void setDescription(String description)
GroupModel
setDescription in interface GroupModeldescription - the description of this grouppublic int getType()
GroupModel
getType in interface GroupModelpublic void setType(int type)
GroupModel
setType in interface GroupModeltype - the type of this grouppublic String getTypeSettings()
GroupModel
getTypeSettings in interface GroupgetTypeSettings in interface GroupModelpublic void setTypeSettings(String typeSettings)
GroupModel
setTypeSettings in interface GroupsetTypeSettings in interface GroupModeltypeSettings - the type settings of this grouppublic String getFriendlyURL()
GroupModel
getFriendlyURL in interface GroupModelpublic void setFriendlyURL(String friendlyURL)
GroupModel
setFriendlyURL in interface GroupModelfriendlyURL - the friendly u r l of this grouppublic boolean getActive()
GroupModel
getActive in interface GroupModelpublic boolean isActive()
GroupModel
isActive in interface GroupModelpublic void setActive(boolean active)
GroupModel
setActive in interface GroupModelactive - the active of this grouppublic Group toEscapedModel()
GroupModelAutoEscapeBeanHandler.
toEscapedModel in interface GroupModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Group>isNew in interface GroupModeltrue 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 GroupModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Group>isCachedModel in interface GroupModeltrue 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 GroupModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Group>isEscapedModel in interface GroupModeltrue 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 GroupModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Group>getPrimaryKeyObj in interface GroupModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Group>getExpandoBridge in interface GroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Group>setExpandoBridgeAttributes in interface GroupModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public 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 int hashCode()
hashCode in interface GroupModelhashCode in class Objectpublic String toString()
toString in interface GroupModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Group>toXmlString in interface GroupModelpublic long getDefaultPrivatePlid()
getDefaultPrivatePlid in interface Grouppublic long getDefaultPublicPlid()
getDefaultPublicPlid in interface Group
public String getDescriptiveName()
throws PortalException,
SystemException
getDescriptiveName in interface GroupPortalException
SystemExceptionpublic Group getLiveGroup()
getLiveGroup in interface Group
public String getPathFriendlyURL(boolean privateLayout,
ThemeDisplay themeDisplay)
getPathFriendlyURL in interface Grouppublic LayoutSet getPrivateLayoutSet()
getPrivateLayoutSet in interface Grouppublic int getPrivateLayoutsPageCount()
getPrivateLayoutsPageCount in interface Grouppublic LayoutSet getPublicLayoutSet()
getPublicLayoutSet in interface Grouppublic int getPublicLayoutsPageCount()
getPublicLayoutsPageCount in interface Grouppublic Group getStagingGroup()
getStagingGroup in interface Grouppublic String getTypeLabel()
getTypeLabel in interface Grouppublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface Grouppublic String getTypeSettingsProperty(String key)
getTypeSettingsProperty in interface Grouppublic String getWorkflowRoleNames()
getWorkflowRoleNames in interface Grouppublic int getWorkflowStages()
getWorkflowStages in interface Grouppublic boolean hasPrivateLayouts()
hasPrivateLayouts in interface Grouppublic boolean hasPublicLayouts()
hasPublicLayouts in interface Grouppublic boolean hasStagingGroup()
hasStagingGroup in interface Grouppublic boolean isCommunity()
isCommunity in interface Grouppublic boolean isCompany()
isCompany in interface Grouppublic boolean isControlPanel()
isControlPanel in interface Grouppublic boolean isLayout()
isLayout in interface Grouppublic boolean isLayoutPrototype()
isLayoutPrototype in interface Grouppublic boolean isLayoutSetPrototype()
isLayoutSetPrototype in interface Grouppublic boolean isOrganization()
isOrganization in interface Grouppublic 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 isWorkflowEnabled()
isWorkflowEnabled in interface Grouppublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface Grouppublic Group getWrappedGroup()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||