Package com.liferay.portal.kernel.model
Class UserGroupRoleWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<UserGroupRole>
com.liferay.portal.kernel.model.UserGroupRoleWrapper
- All Implemented Interfaces:
BaseModel<UserGroupRole>,CTModel<UserGroupRole>,ClassedModel,ModelWrapper<UserGroupRole>,MVCCModel,PersistedModel,ShardedModel,UserGroupRole,UserGroupRoleModel,Serializable,Cloneable,Comparable<UserGroupRole>
public class UserGroupRoleWrapper
extends BaseModelWrapper<UserGroupRole>
implements ModelWrapper<UserGroupRole>, UserGroupRole
This class is a wrapper for UserGroupRole.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.UserGroupRole
GROUP_ID_ACCESSOR, ROLE_ID_ACCESSOR, USER_GROUP_ROLE_ID_ACCESSOR, USER_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongReturns the company ID of this user group role.longReturns the ct collection ID of this user group role.getGroup()longReturns the group ID of this user group role.longReturns the mvcc version of this user group role.longReturns the primary key of this user group role.getRole()longReturns the role ID of this user group role.getUser()longReturns the user group role ID of this user group role.longReturns the user ID of this user group role.Returns the user uuid of this user group role.inthashCode()booleanbooleanvoidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetCompanyId(long companyId) Sets the company ID of this user group role.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this user group role.voidsetGroupId(long groupId) Sets the group ID of this user group role.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this user group role.voidsetPrimaryKey(long primaryKey) Sets the primary key of this user group role.voidsetRoleId(long roleId) Sets the role ID of this user group role.voidsetUserGroupRoleId(long userGroupRoleId) Sets the user group role ID of this user group role.voidsetUserId(long userId) Sets the user ID of this user group role.voidsetUserUuid(String userUuid) Sets the user uuid of this user group role.protected UserGroupRoleWrapperwrap(UserGroupRole userGroupRole) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
UserGroupRoleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<UserGroupRole>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<UserGroupRole>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<UserGroupRole>- Specified by:
cloneWithOriginalValuesin interfaceUserGroupRoleModel
-
equals
- Specified by:
equalsin interfaceUserGroupRole- Overrides:
equalsin classBaseModelWrapper<UserGroupRole>
-
getCompanyId
public long getCompanyId()Returns the company ID of this user group role.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceUserGroupRoleModel- Returns:
- the company ID of this user group role
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this user group role.- Specified by:
getCtCollectionIdin interfaceCTModel<UserGroupRole>- Specified by:
getCtCollectionIdin interfaceUserGroupRoleModel- Returns:
- the ct collection ID of this user group role
-
getGroup
- Specified by:
getGroupin interfaceUserGroupRole- Throws:
PortalException
-
getGroupId
public long getGroupId()Returns the group ID of this user group role.- Specified by:
getGroupIdin interfaceUserGroupRoleModel- Returns:
- the group ID of this user group role
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this user group role.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceUserGroupRoleModel- Returns:
- the mvcc version of this user group role
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this user group role.- Specified by:
getPrimaryKeyin interfaceCTModel<UserGroupRole>- Specified by:
getPrimaryKeyin interfaceUserGroupRoleModel- Returns:
- the primary key of this user group role
-
getRole
- Specified by:
getRolein interfaceUserGroupRole- Throws:
PortalException
-
getRoleId
public long getRoleId()Returns the role ID of this user group role.- Specified by:
getRoleIdin interfaceUserGroupRoleModel- Returns:
- the role ID of this user group role
-
getUser
- Specified by:
getUserin interfaceUserGroupRole- Throws:
PortalException
-
getUserGroupRoleId
public long getUserGroupRoleId()Returns the user group role ID of this user group role.- Specified by:
getUserGroupRoleIdin interfaceUserGroupRoleModel- Returns:
- the user group role ID of this user group role
-
getUserId
public long getUserId()Returns the user ID of this user group role.- Specified by:
getUserIdin interfaceUserGroupRoleModel- Returns:
- the user ID of this user group role
-
getUserUuid
Returns the user uuid of this user group role.- Specified by:
getUserUuidin interfaceUserGroupRoleModel- Returns:
- the user uuid of this user group role
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceUserGroupRole- Overrides:
hashCodein classBaseModelWrapper<UserGroupRole>
-
hasOrganizationRole
public boolean hasOrganizationRole()- Specified by:
hasOrganizationRolein interfaceUserGroupRole
-
hasSiteRole
public boolean hasSiteRole()- Specified by:
hasSiteRolein interfaceUserGroupRole
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this user group role.- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceUserGroupRoleModel- Parameters:
companyId- the company ID of this user group role
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this user group role.- Specified by:
setCtCollectionIdin interfaceCTModel<UserGroupRole>- Specified by:
setCtCollectionIdin interfaceUserGroupRoleModel- Parameters:
ctCollectionId- the ct collection ID of this user group role
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this user group role.- Specified by:
setGroupIdin interfaceUserGroupRoleModel- Parameters:
groupId- the group ID of this user group role
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this user group role.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceUserGroupRoleModel- Parameters:
mvccVersion- the mvcc version of this user group role
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this user group role.- Specified by:
setPrimaryKeyin interfaceCTModel<UserGroupRole>- Specified by:
setPrimaryKeyin interfaceUserGroupRoleModel- Parameters:
primaryKey- the primary key of this user group role
-
setRoleId
public void setRoleId(long roleId) Sets the role ID of this user group role.- Specified by:
setRoleIdin interfaceUserGroupRoleModel- Parameters:
roleId- the role ID of this user group role
-
setUserGroupRoleId
public void setUserGroupRoleId(long userGroupRoleId) Sets the user group role ID of this user group role.- Specified by:
setUserGroupRoleIdin interfaceUserGroupRoleModel- Parameters:
userGroupRoleId- the user group role ID of this user group role
-
setUserId
public void setUserId(long userId) Sets the user ID of this user group role.- Specified by:
setUserIdin interfaceUserGroupRoleModel- Parameters:
userId- the user ID of this user group role
-
setUserUuid
Sets the user uuid of this user group role.- Specified by:
setUserUuidin interfaceUserGroupRoleModel- Parameters:
userUuid- the user uuid of this user group role
-
toXmlString
- Specified by:
toXmlStringin interfaceUserGroupRoleModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<UserGroupRole>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<UserGroupRole>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<UserGroupRole>
-