com.liferay.portal.model
Class UserGroupRoleWrapper

java.lang.Object
  extended by com.liferay.portal.model.UserGroupRoleWrapper
All Implemented Interfaces:
BaseModel<UserGroupRole>, UserGroupRole, UserGroupRoleModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<UserGroupRole>

public class UserGroupRoleWrapper
extends java.lang.Object
implements UserGroupRole

View Source

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

This class is a wrapper for UserGroupRole.

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

Constructor Summary
UserGroupRoleWrapper(UserGroupRole userGroupRole)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(UserGroupRole userGroupRole)
           
 ExpandoBridge getExpandoBridge()
           
 Group getGroup()
           
 long getGroupId()
           
 UserGroupRolePK getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 Role getRole()
           
 long getRoleId()
           
 User getUser()
           
 long getUserId()
           
 java.lang.String getUserUuid()
           
 UserGroupRole getWrappedUserGroupRole()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(UserGroupRolePK pk)
           
 void setRoleId(long roleId)
           
 void setUserId(long userId)
           
 void setUserUuid(java.lang.String userUuid)
           
 UserGroupRole 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

UserGroupRoleWrapper

public UserGroupRoleWrapper(UserGroupRole userGroupRole)
Method Detail

getPrimaryKey

public UserGroupRolePK getPrimaryKey()
Specified by:
getPrimaryKey in interface UserGroupRoleModel

setPrimaryKey

public void setPrimaryKey(UserGroupRolePK pk)
Specified by:
setPrimaryKey in interface UserGroupRoleModel

getUserId

public long getUserId()
Specified by:
getUserId in interface UserGroupRoleModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface UserGroupRoleModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface UserGroupRoleModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface UserGroupRoleModel

getGroupId

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

setGroupId

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

getRoleId

public long getRoleId()
Specified by:
getRoleId in interface UserGroupRoleModel

setRoleId

public void setRoleId(long roleId)
Specified by:
setRoleId in interface UserGroupRoleModel

toEscapedModel

public UserGroupRole toEscapedModel()
Specified by:
toEscapedModel in interface UserGroupRoleModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<UserGroupRole>
Specified by:
isNew in interface UserGroupRoleModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<UserGroupRole>
Specified by:
setNew in interface UserGroupRoleModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<UserGroupRole>
Specified by:
isCachedModel in interface UserGroupRoleModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<UserGroupRole>
Specified by:
setCachedModel in interface UserGroupRoleModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<UserGroupRole>
Specified by:
isEscapedModel in interface UserGroupRoleModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<UserGroupRole>
Specified by:
setEscapedModel in interface UserGroupRoleModel

getPrimaryKeyObj

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

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<UserGroupRole>
Specified by:
getExpandoBridge in interface UserGroupRoleModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserGroupRole>
Specified by:
setExpandoBridgeAttributes in interface UserGroupRoleModel

clone

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

compareTo

public int compareTo(UserGroupRole userGroupRole)
Specified by:
compareTo in interface UserGroupRoleModel
Specified by:
compareTo in interface java.lang.Comparable<UserGroupRole>

hashCode

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

toString

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

toXmlString

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

getGroup

public Group getGroup()
               throws com.liferay.portal.kernel.exception.PortalException,
                      com.liferay.portal.kernel.exception.SystemException
Specified by:
getGroup in interface UserGroupRole
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getRole

public Role getRole()
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
getRole in interface UserGroupRole
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getUser

public User getUser()
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
getUser in interface UserGroupRole
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedUserGroupRole

public UserGroupRole getWrappedUserGroupRole()