|
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.impl.BaseModelImpl<UserGroupRole>
com.liferay.portal.model.impl.UserGroupRoleModelImpl
@JSON(strict=true) @ProviderType 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 Form| Field 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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
ROLEID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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 |
getCompanyId()
Returns the company ID of this user group role. |
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. |
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()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this user group role. |
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 |
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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long GROUPID_COLUMN_BITMASK
public static final long ROLEID_COLUMN_BITMASK
public static final 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 UserGroupRoleModelpublic void setPrimaryKey(UserGroupRolePK primaryKey)
UserGroupRoleModel
setPrimaryKey in interface UserGroupRoleModelprimaryKey - the primary key of this user group rolepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<UserGroupRole>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserGroupRoleModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<UserGroupRole>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserGroupRoleModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 getMvccVersion()
UserGroupRoleModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserGroupRoleModelpublic void setMvccVersion(long mvccVersion)
UserGroupRoleModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserGroupRoleModelmvccVersion - the mvcc version of this user group role@JSON public long getUserId()
UserGroupRoleModel
getUserId in interface UserGroupRoleModelpublic void setUserId(long userId)
UserGroupRoleModel
setUserId in interface UserGroupRoleModeluserId - the user ID of this user group rolepublic String getUserUuid()
UserGroupRoleModel
getUserUuid in interface UserGroupRoleModelpublic void setUserUuid(String userUuid)
UserGroupRoleModel
setUserUuid in interface UserGroupRoleModeluserUuid - the user uuid of this user group rolepublic long getOriginalUserId()
@JSON public long getGroupId()
UserGroupRoleModel
getGroupId in interface UserGroupRoleModelpublic void setGroupId(long groupId)
UserGroupRoleModel
setGroupId in interface UserGroupRoleModelgroupId - the group ID of this user group rolepublic long getOriginalGroupId()
@JSON public long getRoleId()
UserGroupRoleModel
getRoleId in interface UserGroupRoleModelpublic void setRoleId(long roleId)
UserGroupRoleModel
setRoleId in interface UserGroupRoleModelroleId - the role ID of this user group rolepublic long getOriginalRoleId()
@JSON public long getCompanyId()
UserGroupRoleModel
getCompanyId in interface ShardedModelgetCompanyId in interface UserGroupRoleModelpublic void setCompanyId(long companyId)
UserGroupRoleModel
setCompanyId in interface ShardedModelsetCompanyId in interface UserGroupRoleModelcompanyId - the company ID of this user group rolepublic long getColumnBitmask()
public UserGroupRole toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<UserGroupRole>toEscapedModel in interface UserGroupRoleModeltoEscapedModel in class BaseModelImpl<UserGroupRole>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<UserGroupRole>clone in interface UserGroupRoleModelclone in class BaseModelImpl<UserGroupRole>public int compareTo(UserGroupRole userGroupRole)
compareTo in interface UserGroupRoleModelcompareTo in interface Comparable<UserGroupRole>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface UserGroupRoleModelhashCode in class Objectpublic 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>resetOriginalValues in class BaseModelImpl<UserGroupRole>public CacheModel<UserGroupRole> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<UserGroupRole>toCacheModel in interface UserGroupRoleModeltoCacheModel in class BaseModelImpl<UserGroupRole>public String toString()
toString in interface UserGroupRoleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserGroupRole>toXmlString in interface UserGroupRoleModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||