Liferay 6.0.3

com.liferay.portal.model
Class GroupWrapper

java.lang.Object
  extended by com.liferay.portal.model.GroupWrapper
All Implemented Interfaces:
BaseModel<Group>, Group, GroupModel, Serializable, Cloneable, Comparable<Group>

public class GroupWrapper
extends Object
implements Group

This class is a wrapper for Group.

See Also:
Group, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
GroupWrapper(Group group)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Group group)
           
 boolean getActive()
           
 String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 long getCreatorUserId()
           
 String getCreatorUserUuid()
           
 long getDefaultPrivatePlid()
           
 long getDefaultPublicPlid()
           
 String getDescription()
           
 String getDescriptiveName()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 String getFriendlyURL()
           
 long getGroupId()
           
 Group getLiveGroup()
           
 long getLiveGroupId()
           
 String getName()
           
 long getParentGroupId()
           
 String getPathFriendlyURL(boolean privateLayout, ThemeDisplay themeDisplay)
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 LayoutSet getPrivateLayoutSet()
           
 int getPrivateLayoutsPageCount()
           
 LayoutSet getPublicLayoutSet()
           
 int getPublicLayoutsPageCount()
           
 Group getStagingGroup()
           
 int getType()
           
 String getTypeLabel()
           
 String getTypeSettings()
           
 UnicodeProperties getTypeSettingsProperties()
           
 String getTypeSettingsProperty(String key)
           
 String getWorkflowRoleNames()
           
 int getWorkflowStages()
           
 Group getWrappedGroup()
           
 int hashCode()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasStagingGroup()
           
 boolean isActive()
           
 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 has been wrapped with an HTML auto escape handler.
 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)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreatorUserId(long creatorUserId)
           
 void setCreatorUserUuid(String creatorUserUuid)
           
 void setDescription(String description)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 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)
           
 void setGroupId(long groupId)
           
 void setLiveGroupId(long liveGroupId)
           
 void setName(String name)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setParentGroupId(long parentGroupId)
           
 void setPrimaryKey(long pk)
           
 void setType(int type)
           
 void setTypeSettings(String typeSettings)
           
 void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
           
 Group toEscapedModel()
           
 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

GroupWrapper

public GroupWrapper(Group group)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface GroupModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface GroupModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface GroupModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface GroupModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface GroupModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface GroupModel

getCreatorUserId

public long getCreatorUserId()
Specified by:
getCreatorUserId in interface GroupModel

setCreatorUserId

public void setCreatorUserId(long creatorUserId)
Specified by:
setCreatorUserId in interface GroupModel

getCreatorUserUuid

public String getCreatorUserUuid()
                          throws SystemException
Specified by:
getCreatorUserUuid in interface GroupModel
Throws:
SystemException

setCreatorUserUuid

public void setCreatorUserUuid(String creatorUserUuid)
Specified by:
setCreatorUserUuid in interface GroupModel

getClassName

public String getClassName()
Specified by:
getClassName in interface GroupModel

getClassNameId

public long getClassNameId()
Specified by:
getClassNameId in interface GroupModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface GroupModel

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface GroupModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface GroupModel

getParentGroupId

public long getParentGroupId()
Specified by:
getParentGroupId in interface GroupModel

setParentGroupId

public void setParentGroupId(long parentGroupId)
Specified by:
setParentGroupId in interface GroupModel

getLiveGroupId

public long getLiveGroupId()
Specified by:
getLiveGroupId in interface GroupModel

setLiveGroupId

public void setLiveGroupId(long liveGroupId)
Specified by:
setLiveGroupId in interface GroupModel

getName

public String getName()
Specified by:
getName in interface GroupModel

setName

public void setName(String name)
Specified by:
setName in interface GroupModel

getDescription

public String getDescription()
Specified by:
getDescription in interface GroupModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface GroupModel

getType

public int getType()
Specified by:
getType in interface GroupModel

setType

public void setType(int type)
Specified by:
setType in interface GroupModel

getTypeSettings

public String getTypeSettings()
Specified by:
getTypeSettings in interface Group
Specified by:
getTypeSettings in interface GroupModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface Group
Specified by:
setTypeSettings in interface GroupModel

getFriendlyURL

public String getFriendlyURL()
Specified by:
getFriendlyURL in interface GroupModel

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Specified by:
setFriendlyURL in interface GroupModel

getActive

public boolean getActive()
Specified by:
getActive in interface GroupModel

isActive

public boolean isActive()
Specified by:
isActive in interface GroupModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface GroupModel

toEscapedModel

public Group toEscapedModel()
Specified by:
toEscapedModel in interface GroupModel

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<Group>
Specified by:
isNew in interface GroupModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<Group>
Specified by:
setNew in interface GroupModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<Group>
Specified by:
isCachedModel in interface GroupModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<Group>
Specified by:
setCachedModel in interface GroupModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<Group>
Specified by:
isEscapedModel in interface GroupModel
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<Group>
Specified by:
setEscapedModel in interface GroupModel
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Group>
Specified by:
getPrimaryKeyObj in interface GroupModel
Returns:
the primary key

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Group>
Specified by:
getExpandoBridge in interface GroupModel
Returns:
the expando bridge

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Group>
Specified by:
setExpandoBridgeAttributes in interface GroupModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Group>
Specified by:
clone in interface GroupModel
Overrides:
clone in class Object
Returns:
the clone

compareTo

public int compareTo(Group group)
Specified by:
compareTo in interface GroupModel
Specified by:
compareTo in interface Comparable<Group>

hashCode

public int hashCode()
Specified by:
hashCode in interface GroupModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface GroupModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Group>
Specified by:
toXmlString in interface GroupModel
Returns:
the XML representation of this model instance

getDefaultPrivatePlid

public long getDefaultPrivatePlid()
Specified by:
getDefaultPrivatePlid in interface Group

getDefaultPublicPlid

public long getDefaultPublicPlid()
Specified by:
getDefaultPublicPlid in interface Group

getDescriptiveName

public String getDescriptiveName()
                          throws PortalException,
                                 SystemException
Specified by:
getDescriptiveName in interface Group
Throws:
PortalException
SystemException

getLiveGroup

public Group getLiveGroup()
Specified by:
getLiveGroup in interface Group

getPathFriendlyURL

public String getPathFriendlyURL(boolean privateLayout,
                                 ThemeDisplay themeDisplay)
Specified by:
getPathFriendlyURL in interface Group

getPrivateLayoutSet

public LayoutSet getPrivateLayoutSet()
Specified by:
getPrivateLayoutSet in interface Group

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface Group

getPublicLayoutSet

public LayoutSet getPublicLayoutSet()
Specified by:
getPublicLayoutSet in interface Group

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface Group

getStagingGroup

public Group getStagingGroup()
Specified by:
getStagingGroup in interface Group

getTypeLabel

public String getTypeLabel()
Specified by:
getTypeLabel in interface Group

getTypeSettingsProperties

public UnicodeProperties getTypeSettingsProperties()
Specified by:
getTypeSettingsProperties in interface Group

getTypeSettingsProperty

public String getTypeSettingsProperty(String key)
Specified by:
getTypeSettingsProperty in interface Group

getWorkflowRoleNames

public String getWorkflowRoleNames()
Specified by:
getWorkflowRoleNames in interface Group

getWorkflowStages

public int getWorkflowStages()
Specified by:
getWorkflowStages in interface Group

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface Group

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface Group

hasStagingGroup

public boolean hasStagingGroup()
Specified by:
hasStagingGroup in interface Group

isCommunity

public boolean isCommunity()
Specified by:
isCommunity in interface Group

isCompany

public boolean isCompany()
Specified by:
isCompany in interface Group

isControlPanel

public boolean isControlPanel()
Specified by:
isControlPanel in interface Group

isLayout

public boolean isLayout()
Specified by:
isLayout in interface Group

isLayoutPrototype

public boolean isLayoutPrototype()
Specified by:
isLayoutPrototype in interface Group

isLayoutSetPrototype

public boolean isLayoutSetPrototype()
Specified by:
isLayoutSetPrototype in interface Group

isOrganization

public boolean isOrganization()
Specified by:
isOrganization in interface Group

isStaged

public boolean isStaged()
Specified by:
isStaged in interface Group

isStagedPortlet

public boolean isStagedPortlet(String portletId)
Specified by:
isStagedPortlet in interface Group

isStagedRemotely

public boolean isStagedRemotely()
Specified by:
isStagedRemotely in interface Group

isStagingGroup

public boolean isStagingGroup()
Specified by:
isStagingGroup in interface Group

isUser

public boolean isUser()
Specified by:
isUser in interface Group

isUserGroup

public boolean isUserGroup()
Specified by:
isUserGroup in interface Group

isWorkflowEnabled

public boolean isWorkflowEnabled()
Specified by:
isWorkflowEnabled in interface Group

setTypeSettingsProperties

public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
Specified by:
setTypeSettingsProperties in interface Group

getWrappedGroup

public Group getWrappedGroup()

Liferay 6.0.3