@ProviderType public class UserGroupGroupRoleWrapper extends java.lang.Object implements UserGroupGroupRole, ModelWrapper<UserGroupGroupRole>
This class is a wrapper for UserGroupGroupRole.
UserGroupGroupRole,
Serialized Form| Constructor and Description |
|---|
UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserGroupGroupRole userGroupGroupRole) |
boolean |
equals(java.lang.Object obj) |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Group |
getGroup() |
long |
getGroupId()
Returns the group ID of this user group group role.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
UserGroupGroupRolePK |
getPrimaryKey()
Returns the primary key of this user group group role.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
Role |
getRole() |
long |
getRoleId()
Returns the role ID of this user group group role.
|
UserGroup |
getUserGroup() |
long |
getUserGroupId()
Returns the user group ID of this user group group role.
|
UserGroupGroupRole |
getWrappedModel() |
UserGroupGroupRole |
getWrappedUserGroupGroupRole()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this user group group role.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(UserGroupGroupRolePK primaryKey)
Sets the primary key of this user group group role.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRoleId(long roleId)
Sets the role ID of this user group group role.
|
void |
setUserGroupId(long userGroupId)
Sets the user group ID of this user group group role.
|
CacheModel<UserGroupGroupRole> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
UserGroupGroupRole |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
UserGroupGroupRole |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserGroupGroupRole>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<UserGroupGroupRole>public UserGroupGroupRolePK getPrimaryKey()
getPrimaryKey in interface UserGroupGroupRoleModelpublic void setPrimaryKey(UserGroupGroupRolePK primaryKey)
setPrimaryKey in interface UserGroupGroupRoleModelprimaryKey - the primary key of this user group group rolepublic long getUserGroupId()
getUserGroupId in interface UserGroupGroupRoleModelpublic void setUserGroupId(long userGroupId)
setUserGroupId in interface UserGroupGroupRoleModeluserGroupId - the user group ID of this user group group rolepublic long getGroupId()
getGroupId in interface UserGroupGroupRoleModelpublic void setGroupId(long groupId)
setGroupId in interface UserGroupGroupRoleModelgroupId - the group ID of this user group group rolepublic long getRoleId()
getRoleId in interface UserGroupGroupRoleModelpublic void setRoleId(long roleId)
setRoleId in interface UserGroupGroupRoleModelroleId - the role ID of this user group group rolepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<UserGroupGroupRole>isNew in interface UserGroupGroupRoleModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserGroupGroupRole>setNew in interface UserGroupGroupRoleModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserGroupGroupRole>isCachedModel in interface UserGroupGroupRoleModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserGroupGroupRole>setCachedModel in interface UserGroupGroupRoleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserGroupGroupRole>isEscapedModel in interface UserGroupGroupRoleModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserGroupGroupRole>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserGroupGroupRoleModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserGroupGroupRole>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserGroupGroupRoleModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserGroupGroupRole>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserGroupGroupRoleModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserGroupGroupRole>setExpandoBridgeAttributes in interface UserGroupGroupRoleModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserGroupGroupRole>setExpandoBridgeAttributes in interface UserGroupGroupRoleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserGroupGroupRole>setExpandoBridgeAttributes in interface UserGroupGroupRoleModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<UserGroupGroupRole>clone in interface UserGroupGroupRoleModelclone in class java.lang.Objectpublic int compareTo(UserGroupGroupRole userGroupGroupRole)
compareTo in interface UserGroupGroupRoleModelcompareTo in interface java.lang.Comparable<UserGroupGroupRole>public int hashCode()
hashCode in interface UserGroupGroupRoleModelhashCode in class java.lang.Objectpublic CacheModel<UserGroupGroupRole> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserGroupGroupRole>toCacheModel in interface UserGroupGroupRoleModelpublic UserGroupGroupRole toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserGroupGroupRole>toEscapedModel in interface UserGroupGroupRoleModelAutoEscapeBeanHandlerpublic UserGroupGroupRole toUnescapedModel()
toUnescapedModel in interface BaseModel<UserGroupGroupRole>toUnescapedModel in interface UserGroupGroupRoleModelpublic java.lang.String toString()
toString in interface UserGroupGroupRoleModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserGroupGroupRole>toXmlString in interface UserGroupGroupRoleModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic Group getGroup() throws PortalException, SystemException
getGroup in interface UserGroupGroupRolePortalExceptionSystemExceptionpublic Role getRole() throws PortalException, SystemException
getRole in interface UserGroupGroupRolePortalExceptionSystemExceptionpublic UserGroup getUserGroup() throws PortalException, SystemException
getUserGroup in interface UserGroupGroupRolePortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic UserGroupGroupRole getWrappedUserGroupGroupRole()
getWrappedModel()public UserGroupGroupRole getWrappedModel()
getWrappedModel in interface ModelWrapper<UserGroupGroupRole>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<UserGroupGroupRole>