@ProviderType public interface UserGroupModel extends BaseModel<UserGroup>, MVCCModel, ShardedModel, StagedAuditedModel
This interface and its corresponding implementation UserGroupModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserGroupImpl
.
UserGroup
,
UserGroupImpl
,
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 ldap 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 ldap 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 ldap 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, setModelAttributes
getStagedModelType
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this user grouplong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this user group@AutoEscape String getUuid()
getUuid
in interface StagedModel
void setUuid(String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this user grouplong getUserGroupId()
void setUserGroupId(long userGroupId)
userGroupId
- the user group ID of this user grouplong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this user grouplong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this user groupString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this user group@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this user groupDate getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this user groupDate getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- 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 ldap import.true
if this user group is added by ldap import; false
otherwisevoid setAddedByLDAPImport(boolean addedByLDAPImport)
addedByLDAPImport
- the added by ldap import of this user groupboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
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)
BaseModel
setCachedModel
in interface BaseModel<UserGroup>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<UserGroup>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<UserGroup>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<UserGroup>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<UserGroup>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<UserGroup>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<UserGroup>
clone
in interface StagedModel
int compareTo(UserGroup userGroup)
compareTo
in interface Comparable<UserGroup>
int hashCode()
hashCode
in class Object
CacheModel<UserGroup> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<UserGroup>
UserGroup toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<UserGroup>
AutoEscapeBeanHandler
UserGroup toUnescapedModel()
toUnescapedModel
in interface BaseModel<UserGroup>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<UserGroup>