com.liferay.portal.model
Class UserGroupWrapper

java.lang.Object
  extended by com.liferay.portal.model.UserGroupWrapper
All Implemented Interfaces:
BaseModel<UserGroup>, UserGroup, UserGroupModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<UserGroup>

public class UserGroupWrapper
extends java.lang.Object
implements UserGroup

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for UserGroup.

Author:
Brian Wing Shun Chan
See Also:
UserGroup, Serialized Form
Generated:

Constructor Summary
UserGroupWrapper(UserGroup userGroup)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(UserGroup userGroup)
           
 long getCompanyId()
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 Group getGroup()
           
 java.lang.String getName()
           
 long getParentUserGroupId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 long getUserGroupId()
           
 UserGroup getWrappedUserGroup()
           
 int hashCode()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setDescription(java.lang.String description)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setParentUserGroupId(long parentUserGroupId)
           
 void setPrimaryKey(long pk)
           
 void setUserGroupId(long userGroupId)
           
 UserGroup toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserGroupWrapper

public UserGroupWrapper(UserGroup userGroup)
Method Detail

getPrimaryKey

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

setPrimaryKey

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

getUserGroupId

public long getUserGroupId()
Specified by:
getUserGroupId in interface UserGroupModel

setUserGroupId

public void setUserGroupId(long userGroupId)
Specified by:
setUserGroupId in interface UserGroupModel

getCompanyId

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

setCompanyId

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

getParentUserGroupId

public long getParentUserGroupId()
Specified by:
getParentUserGroupId in interface UserGroupModel

setParentUserGroupId

public void setParentUserGroupId(long parentUserGroupId)
Specified by:
setParentUserGroupId in interface UserGroupModel

getName

public java.lang.String getName()
Specified by:
getName in interface UserGroupModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface UserGroupModel

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface UserGroupModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface UserGroupModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<UserGroup>
Specified by:
isNew in interface UserGroupModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<UserGroup>
Specified by:
setNew in interface UserGroupModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<UserGroup>
Specified by:
isCachedModel in interface UserGroupModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<UserGroup>
Specified by:
setCachedModel in interface UserGroupModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<UserGroup>
Specified by:
isEscapedModel in interface UserGroupModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<UserGroup>
Specified by:
setEscapedModel in interface UserGroupModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<UserGroup>
Specified by:
getPrimaryKeyObj in interface UserGroupModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<UserGroup>
Specified by:
getExpandoBridge in interface UserGroupModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserGroup>
Specified by:
setExpandoBridgeAttributes in interface UserGroupModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<UserGroup>
Specified by:
clone in interface UserGroupModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(UserGroup userGroup)
Specified by:
compareTo in interface UserGroupModel
Specified by:
compareTo in interface java.lang.Comparable<UserGroup>

hashCode

public int hashCode()
Specified by:
hashCode in interface UserGroupModel
Overrides:
hashCode in class java.lang.Object

toEscapedModel

public UserGroup toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<UserGroup>
Specified by:
toEscapedModel in interface UserGroupModel

toString

public java.lang.String toString()
Specified by:
toString in interface UserGroupModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<UserGroup>
Specified by:
toXmlString in interface UserGroupModel

getGroup

public Group getGroup()
Specified by:
getGroup in interface UserGroup

getPrivateLayoutsPageCount

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

hasPrivateLayouts

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

getPublicLayoutsPageCount

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

hasPublicLayouts

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

getWrappedUserGroup

public UserGroup getWrappedUserGroup()