Package com.liferay.portal.kernel.model
Class UserGroupGroupRoleWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<UserGroupGroupRole>
com.liferay.portal.kernel.model.UserGroupGroupRoleWrapper
- All Implemented Interfaces:
BaseModel<UserGroupGroupRole>
,CTModel<UserGroupGroupRole>
,ClassedModel
,ModelWrapper<UserGroupGroupRole>
,MVCCModel
,PersistedModel
,ShardedModel
,UserGroupGroupRole
,UserGroupGroupRoleModel
,Serializable
,Cloneable
,Comparable<UserGroupGroupRole>
public class UserGroupGroupRoleWrapper
extends BaseModelWrapper<UserGroupGroupRole>
implements ModelWrapper<UserGroupGroupRole>, UserGroupGroupRole
This class is a wrapper for UserGroupGroupRole
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.UserGroupGroupRole
USER_GROUP_GROUP_ROLE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Returns the company ID of this user group group role.long
Returns the ct collection ID of this user group group role.getGroup()
long
Returns the group ID of this user group group role.long
Returns the mvcc version of this user group group role.long
Returns the primary key of this user group group role.getRole()
long
Returns the role ID of this user group group role.long
Returns the user group group role ID of this user group group role.long
Returns the user group ID of this user group group role.int
hashCode()
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this user group group role.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this user group group role.void
setGroupId
(long groupId) Sets the group ID of this user group group role.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this user group group role.void
setPrimaryKey
(long primaryKey) Sets the primary key of this user group group role.void
setRoleId
(long roleId) Sets the role ID of this user group group role.void
setUserGroupGroupRoleId
(long userGroupGroupRoleId) Sets the user group group role ID of this user group group role.void
setUserGroupId
(long userGroupId) Sets the user group ID of this user group group role.protected UserGroupGroupRoleWrapper
wrap
(UserGroupGroupRole userGroupGroupRole) 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
UserGroupGroupRoleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<UserGroupGroupRole>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<UserGroupGroupRole>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<UserGroupGroupRole>
- Specified by:
cloneWithOriginalValues
in interfaceUserGroupGroupRoleModel
-
equals
- Specified by:
equals
in interfaceUserGroupGroupRole
- Overrides:
equals
in classBaseModelWrapper<UserGroupGroupRole>
-
getCompanyId
public long getCompanyId()Returns the company ID of this user group group role.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceUserGroupGroupRoleModel
- Returns:
- the company ID of this user group group role
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this user group group role.- Specified by:
getCtCollectionId
in interfaceCTModel<UserGroupGroupRole>
- Specified by:
getCtCollectionId
in interfaceUserGroupGroupRoleModel
- Returns:
- the ct collection ID of this user group group role
-
getGroup
- Specified by:
getGroup
in interfaceUserGroupGroupRole
- Throws:
PortalException
-
getGroupId
public long getGroupId()Returns the group ID of this user group group role.- Specified by:
getGroupId
in interfaceUserGroupGroupRoleModel
- Returns:
- the group ID of this user group group role
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this user group group role.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceUserGroupGroupRoleModel
- Returns:
- the mvcc version of this user group group role
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this user group group role.- Specified by:
getPrimaryKey
in interfaceCTModel<UserGroupGroupRole>
- Specified by:
getPrimaryKey
in interfaceUserGroupGroupRoleModel
- Returns:
- the primary key of this user group group role
-
getRole
- Specified by:
getRole
in interfaceUserGroupGroupRole
- Throws:
PortalException
-
getRoleId
public long getRoleId()Returns the role ID of this user group group role.- Specified by:
getRoleId
in interfaceUserGroupGroupRoleModel
- Returns:
- the role ID of this user group group role
-
getUserGroup
- Specified by:
getUserGroup
in interfaceUserGroupGroupRole
- Throws:
PortalException
-
getUserGroupGroupRoleId
public long getUserGroupGroupRoleId()Returns the user group group role ID of this user group group role.- Specified by:
getUserGroupGroupRoleId
in interfaceUserGroupGroupRoleModel
- Returns:
- the user group group role ID of this user group group role
-
getUserGroupId
public long getUserGroupId()Returns the user group ID of this user group group role.- Specified by:
getUserGroupId
in interfaceUserGroupGroupRoleModel
- Returns:
- the user group ID of this user group group role
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceUserGroupGroupRole
- Overrides:
hashCode
in classBaseModelWrapper<UserGroupGroupRole>
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this user group group role.- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceUserGroupGroupRoleModel
- Parameters:
companyId
- the company ID of this user group group role
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this user group group role.- Specified by:
setCtCollectionId
in interfaceCTModel<UserGroupGroupRole>
- Specified by:
setCtCollectionId
in interfaceUserGroupGroupRoleModel
- Parameters:
ctCollectionId
- the ct collection ID of this user group group role
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this user group group role.- Specified by:
setGroupId
in interfaceUserGroupGroupRoleModel
- Parameters:
groupId
- the group ID of this user group group role
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this user group group role.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceUserGroupGroupRoleModel
- Parameters:
mvccVersion
- the mvcc version of this user group group role
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this user group group role.- Specified by:
setPrimaryKey
in interfaceCTModel<UserGroupGroupRole>
- Specified by:
setPrimaryKey
in interfaceUserGroupGroupRoleModel
- Parameters:
primaryKey
- the primary key of this user group group role
-
setRoleId
public void setRoleId(long roleId) Sets the role ID of this user group group role.- Specified by:
setRoleId
in interfaceUserGroupGroupRoleModel
- Parameters:
roleId
- the role ID of this user group group role
-
setUserGroupGroupRoleId
public void setUserGroupGroupRoleId(long userGroupGroupRoleId) Sets the user group group role ID of this user group group role.- Specified by:
setUserGroupGroupRoleId
in interfaceUserGroupGroupRoleModel
- Parameters:
userGroupGroupRoleId
- the user group group role ID of this user group group role
-
setUserGroupId
public void setUserGroupId(long userGroupId) Sets the user group ID of this user group group role.- Specified by:
setUserGroupId
in interfaceUserGroupGroupRoleModel
- Parameters:
userGroupId
- the user group ID of this user group group role
-
toXmlString
- Specified by:
toXmlString
in interfaceUserGroupGroupRoleModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<UserGroupGroupRole>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<UserGroupGroupRole>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<UserGroupGroupRole>
-