|
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.UserGroupGroupRoleWrapper
@ProviderType public class UserGroupGroupRoleWrapper
This class is a wrapper for UserGroupGroupRole
.
UserGroupGroupRole
,
Serialized FormConstructor Summary | |
---|---|
UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroupGroupRole userGroupGroupRole)
|
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 group role. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
UserGroupGroupRolePK |
getPrimaryKey()
Returns the primary key of this user group group role. |
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(Map<String,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(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 . |
String |
toString()
|
UserGroupGroupRole |
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 UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole)
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<UserGroupGroupRole>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserGroupGroupRole>
public UserGroupGroupRolePK getPrimaryKey()
getPrimaryKey
in interface UserGroupGroupRoleModel
public void setPrimaryKey(UserGroupGroupRolePK primaryKey)
setPrimaryKey
in interface UserGroupGroupRoleModel
primaryKey
- the primary key of this user group group rolepublic long getUserGroupId()
getUserGroupId
in interface UserGroupGroupRoleModel
public void setUserGroupId(long userGroupId)
setUserGroupId
in interface UserGroupGroupRoleModel
userGroupId
- the user group ID of this user group group rolepublic long getGroupId()
getGroupId
in interface UserGroupGroupRoleModel
public void setGroupId(long groupId)
setGroupId
in interface UserGroupGroupRoleModel
groupId
- the group ID of this user group group rolepublic long getRoleId()
getRoleId
in interface UserGroupGroupRoleModel
public void setRoleId(long roleId)
setRoleId
in interface UserGroupGroupRoleModel
roleId
- the role ID of this user group group rolepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<UserGroupGroupRole>
isNew
in interface UserGroupGroupRoleModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<UserGroupGroupRole>
setNew
in interface UserGroupGroupRoleModel
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<UserGroupGroupRole>
isCachedModel
in interface UserGroupGroupRoleModel
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<UserGroupGroupRole>
setCachedModel
in interface UserGroupGroupRoleModel
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<UserGroupGroupRole>
isEscapedModel
in interface UserGroupGroupRoleModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserGroupGroupRole>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserGroupGroupRoleModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserGroupGroupRole>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserGroupGroupRoleModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserGroupGroupRole>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserGroupGroupRoleModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserGroupGroupRole>
setExpandoBridgeAttributes
in interface UserGroupGroupRoleModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserGroupGroupRole>
setExpandoBridgeAttributes
in interface UserGroupGroupRoleModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserGroupGroupRole>
setExpandoBridgeAttributes
in interface UserGroupGroupRoleModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<UserGroupGroupRole>
clone
in interface UserGroupGroupRoleModel
clone
in class Object
public int compareTo(UserGroupGroupRole userGroupGroupRole)
compareTo
in interface UserGroupGroupRoleModel
compareTo
in interface Comparable<UserGroupGroupRole>
public int hashCode()
hashCode
in interface UserGroupGroupRoleModel
hashCode
in class Object
public CacheModel<UserGroupGroupRole> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserGroupGroupRole>
toCacheModel
in interface UserGroupGroupRoleModel
public UserGroupGroupRole toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserGroupGroupRole>
toEscapedModel
in interface UserGroupGroupRoleModel
AutoEscapeBeanHandler
public UserGroupGroupRole toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserGroupGroupRole>
toUnescapedModel
in interface UserGroupGroupRoleModel
public String toString()
toString
in interface UserGroupGroupRoleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserGroupGroupRole>
toXmlString
in interface UserGroupGroupRoleModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic Group getGroup() throws PortalException, SystemException
getGroup
in interface UserGroupGroupRole
PortalException
SystemException
public Role getRole() throws PortalException, SystemException
getRole
in interface UserGroupGroupRole
PortalException
SystemException
public UserGroup getUserGroup() throws PortalException, SystemException
getUserGroup
in interface UserGroupGroupRole
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public UserGroupGroupRole getWrappedUserGroupGroupRole()
getWrappedModel()
public UserGroupGroupRole getWrappedModel()
getWrappedModel
in interface ModelWrapper<UserGroupGroupRole>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserGroupGroupRole>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |