@ProviderType public interface UserGroupModel extends BaseModel<UserGroup>, MVCCModel, ShardedModel, StagedAuditedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.UserGroupModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.UserGroupImpl.
UserGroup,
com.liferay.portal.model.impl.UserGroupImpl,
com.liferay.portal.model.impl.UserGroupModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserGroup userGroup) |
boolean |
getAddedByLDAPImport()
Returns the added by l d a p import of this user group.
|
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 |
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 |
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.
|
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 |
isAddedByLDAPImport()
Returns
true if this user group is added by l d a p import. |
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 |
setAddedByLDAPImport(boolean addedByLDAPImport)
Sets whether this user group is added by l d a p import.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(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 |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
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. |
String |
toString() |
UserGroup |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetStagedModelTypegetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this user grouplong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this user group@AutoEscape String getUuid()
getUuid in interface StagedModelvoid setUuid(String uuid)
setUuid in interface StagedModeluuid - the uuid of this user grouplong getUserGroupId()
void setUserGroupId(long userGroupId)
userGroupId - the user group ID of this user grouplong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this user grouplong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this user groupString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this user group@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this user groupDate getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this user groupDate getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this user grouplong getParentUserGroupId()
void setParentUserGroupId(long parentUserGroupId)
parentUserGroupId - the parent user group ID of this user group@AutoEscape String getName()
void setName(String name)
name - the name of this user group@AutoEscape String getDescription()
void setDescription(String description)
description - the description of this user groupboolean getAddedByLDAPImport()
boolean isAddedByLDAPImport()
true if this user group is added by l d a p import.true if this user group is added by l d a p import; false otherwisevoid setAddedByLDAPImport(boolean addedByLDAPImport)
addedByLDAPImport - the added by l d a p import of this user groupboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModelboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserGroup>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserGroup>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserGroup>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserGroup>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserGroup>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserGroup>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserGroup>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserGroup>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserGroup>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<UserGroup>clone in interface StagedModelint compareTo(UserGroup userGroup)
compareTo in interface Comparable<UserGroup>CacheModel<UserGroup> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserGroup>UserGroup toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserGroup>AutoEscapeBeanHandlerUserGroup toUnescapedModel()
toUnescapedModel in interface BaseModel<UserGroup>String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserGroup>