|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<UserGroup>
com.liferay.portal.model.impl.UserGroupModelImpl
public class UserGroupModelImpl
The base model implementation for the UserGroup service. Represents a row in the "UserGroup" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface UserGroupModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserGroupImpl
.
Never modify or reference this class directly. All methods that expect a user group model instance should use the UserGroup
interface instead.
UserGroupImpl
,
UserGroup
,
UserGroupModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_GROUPS_USERGROUPS
|
static boolean |
FINDER_CACHE_ENABLED_USERS_USERGROUPS
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
MAPPING_TABLE_GROUPS_USERGROUPS_NAME
|
static String |
MAPPING_TABLE_USERS_USERGROUPS_NAME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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
|
Constructor Summary | |
---|---|
UserGroupModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroup userGroup)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Gets the company id of this user group. |
String |
getDescription()
Gets the description of this user group. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this user group. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getParentUserGroupId()
Gets the parent user group id of this user group. |
long |
getPrimaryKey()
Gets the primary key of this user group. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserGroupId()
Gets the user group id of this user group. |
int |
hashCode()
|
void |
setCompanyId(long companyId)
Sets the company id of this user group. |
void |
setDescription(String description)
Sets the description of this user group. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
Sets the name of this user group. |
void |
setParentUserGroupId(long parentUserGroupId)
Sets the parent user group id of this user group. |
void |
setPrimaryKey(long pk)
Sets the primary key of this user group |
void |
setUserGroupId(long userGroupId)
Sets the user group id of this user group. |
UserGroup |
toEscapedModel()
Gets a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static UserGroup |
toModel(UserGroupSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<UserGroup> |
toModels(UserGroupSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.UserGroupModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 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 String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
public static final boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS
public static final String MAPPING_TABLE_USERS_USERGROUPS_NAME
public static final boolean FINDER_CACHE_ENABLED_USERS_USERGROUPS
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public UserGroupModelImpl()
Method Detail |
---|
public static UserGroup toModel(UserGroupSoap soapModel)
soapModel
- the soap model instance to convert
public static List<UserGroup> toModels(UserGroupSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
UserGroupModel
getPrimaryKey
in interface UserGroupModel
public void setPrimaryKey(long pk)
UserGroupModel
setPrimaryKey
in interface UserGroupModel
pk
- the primary key of this user grouppublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserGroup>
getPrimaryKeyObj
in interface UserGroupModel
public long getUserGroupId()
UserGroupModel
getUserGroupId
in interface UserGroupModel
public void setUserGroupId(long userGroupId)
UserGroupModel
setUserGroupId
in interface UserGroupModel
userGroupId
- the user group id of this user grouppublic long getCompanyId()
UserGroupModel
getCompanyId
in interface UserGroupModel
public void setCompanyId(long companyId)
UserGroupModel
setCompanyId
in interface UserGroupModel
companyId
- the company id of this user grouppublic long getOriginalCompanyId()
public long getParentUserGroupId()
UserGroupModel
getParentUserGroupId
in interface UserGroupModel
public void setParentUserGroupId(long parentUserGroupId)
UserGroupModel
setParentUserGroupId
in interface UserGroupModel
parentUserGroupId
- the parent user group id of this user grouppublic String getName()
UserGroupModel
getName
in interface UserGroupModel
public void setName(String name)
UserGroupModel
setName
in interface UserGroupModel
name
- the name of this user grouppublic String getOriginalName()
public String getDescription()
UserGroupModel
getDescription
in interface UserGroupModel
public void setDescription(String description)
UserGroupModel
setDescription
in interface UserGroupModel
description
- the description of this user grouppublic UserGroup toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<UserGroup>
toEscapedModel
in interface UserGroupModel
toEscapedModel
in class BaseModelImpl<UserGroup>
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserGroup>
getExpandoBridge
in interface UserGroupModel
getExpandoBridge
in class BaseModelImpl<UserGroup>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
setExpandoBridgeAttributes
in interface UserGroupModel
setExpandoBridgeAttributes
in class BaseModelImpl<UserGroup>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<UserGroup>
clone
in interface UserGroupModel
clone
in class BaseModelImpl<UserGroup>
public int compareTo(UserGroup userGroup)
compareTo
in interface UserGroupModel
compareTo
in interface Comparable<UserGroup>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface UserGroupModel
hashCode
in class Object
public String toString()
toString
in interface UserGroupModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserGroup>
toXmlString
in interface UserGroupModel
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |