|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<UserGroupRole>
com.liferay.portal.model.impl.UserGroupRoleModelImpl
@JSON(strict=true) public class UserGroupRoleModelImpl
The base model implementation for the UserGroupRole service. Represents a row in the "UserGroupRole" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface UserGroupRoleModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserGroupRoleImpl
.
UserGroupRoleImpl
,
UserGroupRole
,
UserGroupRoleModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
ROLEID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
USERID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
UserGroupRoleModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroupRole userGroupRole)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getGroupId()
Returns the group ID of this user group role. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalGroupId()
|
long |
getOriginalRoleId()
|
long |
getOriginalUserId()
|
UserGroupRolePK |
getPrimaryKey()
Returns the primary key of this user group role. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRoleId()
Returns the role ID of this user group role. |
long |
getUserId()
Returns the user ID of this user group role. |
String |
getUserUuid()
Returns the user uuid of this user group role. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setGroupId(long groupId)
Sets the group ID of this user group role. |
void |
setModelAttributes(Map<String,Object> attributes)
|
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 . |
static UserGroupRole |
toModel(UserGroupRoleSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<UserGroupRole> |
toModels(UserGroupRoleSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
UserGroupRole |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.UserGroupRoleModel |
---|
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long GROUPID_COLUMN_BITMASK
public static long ROLEID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public UserGroupRoleModelImpl()
Method Detail |
---|
public static UserGroupRole toModel(UserGroupRoleSoap soapModel)
soapModel
- the soap model instance to convert
public static List<UserGroupRole> toModels(UserGroupRoleSoap[] soapModels)
soapModels
- the soap model instances to convert
public UserGroupRolePK getPrimaryKey()
UserGroupRoleModel
getPrimaryKey
in interface UserGroupRoleModel
public void setPrimaryKey(UserGroupRolePK primaryKey)
UserGroupRoleModel
setPrimaryKey
in interface UserGroupRoleModel
primaryKey
- the primary key of this user group rolepublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserGroupRole>
getModelAttributes
in class BaseModelImpl<UserGroupRole>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserGroupRole>
setModelAttributes
in class BaseModelImpl<UserGroupRole>
@JSON public long getUserId()
UserGroupRoleModel
getUserId
in interface UserGroupRoleModel
public void setUserId(long userId)
UserGroupRoleModel
setUserId
in interface UserGroupRoleModel
userId
- the user ID of this user group rolepublic String getUserUuid() throws SystemException
UserGroupRoleModel
getUserUuid
in interface UserGroupRoleModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
UserGroupRoleModel
setUserUuid
in interface UserGroupRoleModel
userUuid
- the user uuid of this user group rolepublic long getOriginalUserId()
@JSON public long getGroupId()
UserGroupRoleModel
getGroupId
in interface UserGroupRoleModel
public void setGroupId(long groupId)
UserGroupRoleModel
setGroupId
in interface UserGroupRoleModel
groupId
- the group ID of this user group rolepublic long getOriginalGroupId()
@JSON public long getRoleId()
UserGroupRoleModel
getRoleId
in interface UserGroupRoleModel
public void setRoleId(long roleId)
UserGroupRoleModel
setRoleId
in interface UserGroupRoleModel
roleId
- the role ID of this user group rolepublic long getOriginalRoleId()
public long getColumnBitmask()
public UserGroupRole toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserGroupRole>
toEscapedModel
in interface UserGroupRoleModel
toEscapedModel
in class BaseModelImpl<UserGroupRole>
AutoEscapeBeanHandler
public UserGroupRole toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserGroupRole>
toUnescapedModel
in interface UserGroupRoleModel
toUnescapedModel
in class BaseModelImpl<UserGroupRole>
public Object clone()
BaseModel
clone
in interface BaseModel<UserGroupRole>
clone
in interface UserGroupRoleModel
clone
in class BaseModelImpl<UserGroupRole>
public int compareTo(UserGroupRole userGroupRole)
compareTo
in interface UserGroupRoleModel
compareTo
in interface Comparable<UserGroupRole>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface UserGroupRoleModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<UserGroupRole>
resetOriginalValues
in class BaseModelImpl<UserGroupRole>
public CacheModel<UserGroupRole> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserGroupRole>
toCacheModel
in interface UserGroupRoleModel
toCacheModel
in class BaseModelImpl<UserGroupRole>
public String toString()
toString
in interface UserGroupRoleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserGroupRole>
toXmlString
in interface UserGroupRoleModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |