|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.UserGroupRoleWrapper
@ProviderType public class UserGroupRoleWrapper
This class is a wrapper for UserGroupRole
.
UserGroupRole
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portal.model.UserGroupRole |
---|
GROUP_ID_ACCESSOR, ROLE_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)
|
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()
|
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()
|
UserGroupRole |
getWrappedUserGroupRole()
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 role. |
void |
setModelAttributes(Map<String,Object> attributes)
|
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserGroupRole>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserGroupRole>
public UserGroupRolePK getPrimaryKey()
getPrimaryKey
in interface UserGroupRoleModel
public void setPrimaryKey(UserGroupRolePK primaryKey)
setPrimaryKey
in interface UserGroupRoleModel
primaryKey
- the primary key of this user group rolepublic long getUserId()
getUserId
in interface UserGroupRoleModel
public void setUserId(long userId)
setUserId
in interface UserGroupRoleModel
userId
- the user ID of this user group rolepublic String getUserUuid() throws SystemException
getUserUuid
in interface UserGroupRoleModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserGroupRoleModel
userUuid
- the user uuid of this user group rolepublic long getGroupId()
getGroupId
in interface UserGroupRoleModel
public void setGroupId(long groupId)
setGroupId
in interface UserGroupRoleModel
groupId
- the group ID of this user group rolepublic long getRoleId()
getRoleId
in interface UserGroupRoleModel
public void setRoleId(long roleId)
setRoleId
in interface UserGroupRoleModel
roleId
- the role ID of this user group rolepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<UserGroupRole>
isNew
in interface UserGroupRoleModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserGroupRole>
setNew
in interface UserGroupRoleModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<UserGroupRole>
isCachedModel
in interface UserGroupRoleModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<UserGroupRole>
setCachedModel
in interface UserGroupRoleModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<UserGroupRole>
isEscapedModel
in interface UserGroupRoleModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserGroupRole>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserGroupRoleModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserGroupRole>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserGroupRoleModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserGroupRole>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserGroupRoleModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserGroupRole>
setExpandoBridgeAttributes
in interface UserGroupRoleModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserGroupRole>
setExpandoBridgeAttributes
in interface UserGroupRoleModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserGroupRole>
setExpandoBridgeAttributes
in interface UserGroupRoleModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<UserGroupRole>
clone
in interface UserGroupRoleModel
clone
in class Object
public int compareTo(UserGroupRole userGroupRole)
compareTo
in interface UserGroupRoleModel
compareTo
in interface Comparable<UserGroupRole>
public int hashCode()
hashCode
in interface UserGroupRoleModel
hashCode
in class Object
public CacheModel<UserGroupRole> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserGroupRole>
toCacheModel
in interface UserGroupRoleModel
public UserGroupRole toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserGroupRole>
toEscapedModel
in interface UserGroupRoleModel
AutoEscapeBeanHandler
public UserGroupRole toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserGroupRole>
toUnescapedModel
in interface UserGroupRoleModel
public String toString()
toString
in interface UserGroupRoleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserGroupRole>
toXmlString
in interface UserGroupRoleModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic Group getGroup() throws PortalException, SystemException
getGroup
in interface UserGroupRole
PortalException
SystemException
public Role getRole() throws PortalException, SystemException
getRole
in interface UserGroupRole
PortalException
SystemException
public User getUser() throws PortalException, SystemException
getUser
in interface UserGroupRole
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public UserGroupRole getWrappedUserGroupRole()
getWrappedModel()
public UserGroupRole getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserGroupRole>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserGroupRole>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |