|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.UserGroupRoleWrapper
@ProviderType public class UserGroupRoleWrapper
This class is a wrapper for UserGroupRole.
UserGroupRole,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.UserGroupRole |
|---|
GROUP_ID_ACCESSOR, ROLE_ID_ACCESSOR, USER_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
UserGroupRoleWrapper(UserGroupRole userGroupRole)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroupRole userGroupRole)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this user group role. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getGroupId()
Returns the group ID of this user group role. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this user group role. |
UserGroupRolePK |
getPrimaryKey()
Returns the primary key of this user group role. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
Role |
getRole()
|
long |
getRoleId()
Returns the role ID of this user group role. |
User |
getUser()
|
long |
getUserId()
Returns the user ID of this user group role. |
String |
getUserUuid()
Returns the user uuid of this user group role. |
UserGroupRole |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setCompanyId(long companyId)
Sets the company ID of this user group role. |
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 role. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user group role. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(UserGroupRolePK primaryKey)
Sets the primary key of this user group role. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRoleId(long roleId)
Sets the role ID of this user group role. |
void |
setUserId(long userId)
Sets the user ID of this user group role. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this user group role. |
CacheModel<UserGroupRole> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
UserGroupRole |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
UserGroupRole |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UserGroupRoleWrapper(UserGroupRole userGroupRole)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserGroupRole>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserGroupRole>public Object clone()
BaseModel
clone in interface BaseModel<UserGroupRole>clone in interface UserGroupRoleModelclone in class Objectpublic int compareTo(UserGroupRole userGroupRole)
compareTo in interface UserGroupRoleModelcompareTo in interface Comparable<UserGroupRole>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface UserGroupRoleModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<UserGroupRole>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserGroupRoleModel
public Group getGroup()
throws PortalException
getGroup in interface UserGroupRolePortalExceptionpublic long getGroupId()
getGroupId in interface UserGroupRoleModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserGroupRoleModelpublic UserGroupRolePK getPrimaryKey()
getPrimaryKey in interface UserGroupRoleModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<UserGroupRole>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserGroupRoleModel
public Role getRole()
throws PortalException
getRole in interface UserGroupRolePortalExceptionpublic long getRoleId()
getRoleId in interface UserGroupRoleModel
public User getUser()
throws PortalException
getUser in interface UserGroupRolePortalExceptionpublic long getUserId()
getUserId in interface UserGroupRoleModelpublic String getUserUuid()
getUserUuid in interface UserGroupRoleModelpublic int hashCode()
hashCode in interface UserGroupRoleModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<UserGroupRole>isCachedModel in interface UserGroupRoleModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<UserGroupRole>isEscapedModel in interface UserGroupRoleModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<UserGroupRole>isNew in interface UserGroupRoleModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<UserGroupRole>setCachedModel in interface UserGroupRoleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface UserGroupRoleModelcompanyId - the company ID of this user group rolepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserGroupRole>setExpandoBridgeAttributes in interface UserGroupRoleModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserGroupRole>setExpandoBridgeAttributes in interface UserGroupRoleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<UserGroupRole>setExpandoBridgeAttributes in interface UserGroupRoleModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface UserGroupRoleModelgroupId - the group ID of this user group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserGroupRoleModelmvccVersion - the mvcc version of this user group rolepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<UserGroupRole>setNew in interface UserGroupRoleModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(UserGroupRolePK primaryKey)
setPrimaryKey in interface UserGroupRoleModelprimaryKey - the primary key of this user group rolepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<UserGroupRole>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserGroupRoleModelprimaryKeyObj - the primary key of this model instancepublic void setRoleId(long roleId)
setRoleId in interface UserGroupRoleModelroleId - the role ID of this user group rolepublic void setUserId(long userId)
setUserId in interface UserGroupRoleModeluserId - the user ID of this user group rolepublic void setUserUuid(String userUuid)
setUserUuid in interface UserGroupRoleModeluserUuid - the user uuid of this user group rolepublic CacheModel<UserGroupRole> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<UserGroupRole>toCacheModel in interface UserGroupRoleModelpublic UserGroupRole toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<UserGroupRole>toEscapedModel in interface UserGroupRoleModelAutoEscapeBeanHandlerpublic String toString()
toString in interface UserGroupRoleModeltoString in class Objectpublic UserGroupRole toUnescapedModel()
toUnescapedModel in interface BaseModel<UserGroupRole>toUnescapedModel in interface UserGroupRoleModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserGroupRole>toXmlString in interface UserGroupRoleModelpublic boolean equals(Object obj)
equals in class Objectpublic UserGroupRole getWrappedModel()
getWrappedModel in interface ModelWrapper<UserGroupRole>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<UserGroupRole>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<UserGroupRole>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<UserGroupRole>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||