|
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<UserGroup>
com.liferay.portal.model.impl.UserGroupModelImpl
@JSON(strict=true) @ProviderType 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.
UserGroupImpl,
UserGroup,
UserGroupModel,
Serialized Form| Constructor Summary | |
|---|---|
UserGroupModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(UserGroup userGroup)
|
boolean |
equals(Object obj)
|
boolean |
getAddedByLDAPImport()
Returns the added by l d a p import of this user group. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this user group. |
Date |
getCreateDate()
Returns the create date of this user group. |
String |
getDescription()
Returns the description of this user group. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Date |
getLastPublishDate()
Returns the last publish date of this user group. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this user group. |
long |
getMvccVersion()
Returns the mvcc version of this user group. |
String |
getName()
Returns the name of this user group. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getOriginalParentUserGroupId()
|
String |
getOriginalUuid()
|
long |
getParentUserGroupId()
Returns the parent user group ID of this user group. |
long |
getPrimaryKey()
Returns the primary key of this user group. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
long |
getUserGroupId()
Returns the user group ID of this user group. |
long |
getUserId()
Returns the user ID of this user group. |
String |
getUserName()
Returns the user name of this user group. |
String |
getUserUuid()
Returns the user uuid of this user group. |
String |
getUuid()
Returns the uuid of this user group. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isAddedByLDAPImport()
Returns true if this user group is added by l d a p import. |
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 |
setAddedByLDAPImport(boolean addedByLDAPImport)
Sets whether this user group is added by l d a p import. |
void |
setCompanyId(long companyId)
Sets the company ID of this user group. |
void |
setCreateDate(Date createDate)
Sets the create date 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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this user group. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this user group. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user group. |
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 primaryKey)
Sets the primary key of this user group. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserGroupId(long userGroupId)
Sets the user group ID of this user group. |
void |
setUserId(long userId)
Sets the user ID of this user group. |
void |
setUserName(String userName)
Sets the user name of this user group. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this user group. |
void |
setUuid(String uuid)
Sets the uuid of this user group. |
CacheModel<UserGroup> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
UserGroup |
toEscapedModel()
Returns 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()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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.UserGroupModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, 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 COMPANYID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long PARENTUSERGROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS
public static final String MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS
public static final String MAPPING_TABLE_USERGROUPS_TEAMS_NAME
public static final Object[][] MAPPING_TABLE_USERGROUPS_TEAMS_COLUMNS
public static final String MAPPING_TABLE_USERGROUPS_TEAMS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERGROUPS_TEAMS
public static final String MAPPING_TABLE_USERS_USERGROUPS_NAME
public static final Object[][] MAPPING_TABLE_USERS_USERGROUPS_COLUMNS
public static final String MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE
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 UserGroupModelpublic void setPrimaryKey(long primaryKey)
UserGroupModel
setPrimaryKey in interface UserGroupModelprimaryKey - the primary key of this user grouppublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<UserGroup>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserGroupModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<UserGroup>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserGroupModelprimaryKeyObj - 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<UserGroup>getModelAttributes in class BaseModelImpl<UserGroup>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserGroup>setModelAttributes in class BaseModelImpl<UserGroup>@JSON public long getMvccVersion()
UserGroupModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserGroupModelpublic void setMvccVersion(long mvccVersion)
UserGroupModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserGroupModelmvccVersion - the mvcc version of this user group@JSON public String getUuid()
UserGroupModel
getUuid in interface StagedModelgetUuid in interface UserGroupModelpublic void setUuid(String uuid)
UserGroupModel
setUuid in interface StagedModelsetUuid in interface UserGroupModeluuid - the uuid of this user grouppublic String getOriginalUuid()
@JSON public long getUserGroupId()
UserGroupModel
getUserGroupId in interface UserGroupModelpublic void setUserGroupId(long userGroupId)
UserGroupModel
setUserGroupId in interface UserGroupModeluserGroupId - the user group ID of this user group@JSON public long getCompanyId()
UserGroupModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface UserGroupModelpublic void setCompanyId(long companyId)
UserGroupModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface UserGroupModelcompanyId - the company ID of this user grouppublic long getOriginalCompanyId()
@JSON public long getUserId()
UserGroupModel
getUserId in interface AuditedModelgetUserId in interface UserGroupModelpublic void setUserId(long userId)
UserGroupModel
setUserId in interface AuditedModelsetUserId in interface UserGroupModeluserId - the user ID of this user grouppublic String getUserUuid()
UserGroupModel
getUserUuid in interface AuditedModelgetUserUuid in interface UserGroupModelpublic void setUserUuid(String userUuid)
UserGroupModel
setUserUuid in interface AuditedModelsetUserUuid in interface UserGroupModeluserUuid - the user uuid of this user group@JSON public String getUserName()
UserGroupModel
getUserName in interface AuditedModelgetUserName in interface UserGroupModelpublic void setUserName(String userName)
UserGroupModel
setUserName in interface AuditedModelsetUserName in interface UserGroupModeluserName - the user name of this user group@JSON public Date getCreateDate()
UserGroupModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface UserGroupModelpublic void setCreateDate(Date createDate)
UserGroupModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface UserGroupModelcreateDate - the create date of this user group@JSON public Date getModifiedDate()
UserGroupModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface UserGroupModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
UserGroupModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface UserGroupModelmodifiedDate - the modified date of this user group@JSON public long getParentUserGroupId()
UserGroupModel
getParentUserGroupId in interface UserGroupModelpublic void setParentUserGroupId(long parentUserGroupId)
UserGroupModel
setParentUserGroupId in interface UserGroupModelparentUserGroupId - the parent user group ID of this user grouppublic long getOriginalParentUserGroupId()
@JSON public String getName()
UserGroupModel
getName in interface UserGroupModelpublic void setName(String name)
UserGroupModel
setName in interface UserGroupModelname - the name of this user grouppublic String getOriginalName()
@JSON public String getDescription()
UserGroupModel
getDescription in interface UserGroupModelpublic void setDescription(String description)
UserGroupModel
setDescription in interface UserGroupModeldescription - the description of this user group@JSON public boolean getAddedByLDAPImport()
UserGroupModel
getAddedByLDAPImport in interface UserGroupModelpublic boolean isAddedByLDAPImport()
UserGroupModeltrue if this user group is added by l d a p import.
isAddedByLDAPImport in interface UserGroupModeltrue if this user group is added by l d a p import; false otherwisepublic void setAddedByLDAPImport(boolean addedByLDAPImport)
UserGroupModel
setAddedByLDAPImport in interface UserGroupModeladdedByLDAPImport - the added by l d a p import of this user group@JSON public Date getLastPublishDate()
UserGroupModel
getLastPublishDate in interface UserGroupModelpublic void setLastPublishDate(Date lastPublishDate)
UserGroupModel
setLastPublishDate in interface UserGroupModellastPublishDate - the last publish date of this user grouppublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<UserGroup>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserGroupModelgetExpandoBridge in class BaseModelImpl<UserGroup>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelsetExpandoBridgeAttributes in class BaseModelImpl<UserGroup>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public UserGroup toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<UserGroup>toEscapedModel in interface UserGroupModeltoEscapedModel in class BaseModelImpl<UserGroup>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<UserGroup>clone in interface StagedModelclone in interface UserGroupModelclone in class BaseModelImpl<UserGroup>public int compareTo(UserGroup userGroup)
compareTo in interface UserGroupModelcompareTo in interface Comparable<UserGroup>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface UserGroupModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<UserGroup>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<UserGroup>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<UserGroup>resetOriginalValues in class BaseModelImpl<UserGroup>public CacheModel<UserGroup> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<UserGroup>toCacheModel in interface UserGroupModeltoCacheModel in class BaseModelImpl<UserGroup>public String toString()
toString in interface UserGroupModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<UserGroup>toXmlString in interface UserGroupModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||