@ProviderType public class UserGroupWrapper extends java.lang.Object implements UserGroup, ModelWrapper<UserGroup>
This class is a wrapper for UserGroup.
UserGroup,
Serialized FormNAME_ACCESSOR| Constructor and Description |
|---|
UserGroupWrapper(UserGroup userGroup) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(UserGroup userGroup) |
boolean |
equals(java.lang.Object obj) |
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.
|
java.util.Date |
getCreateDate()
Returns the create date of this user group.
|
java.lang.String |
getDescription()
Returns the description of this user group.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
Group |
getGroup() |
long |
getGroupId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this user group.
|
java.lang.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.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getPrivateLayoutsPageCount() |
int |
getPublicLayoutsPageCount() |
StagedModelType |
getStagedModelType() |
long |
getUserGroupId()
Returns the user group ID of this user group.
|
long |
getUserId()
Returns the user ID of this user group.
|
java.lang.String |
getUserName()
Returns the user name of this user group.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this user group.
|
java.lang.String |
getUuid()
Returns the uuid of this user group.
|
UserGroup |
getWrappedModel() |
UserGroup |
getWrappedUserGroup()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
hasPrivateLayouts() |
boolean |
hasPublicLayouts() |
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 |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
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(java.util.Date createDate)
Sets the create date of this user group.
|
void |
setDescription(java.lang.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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this user group.
|
void |
setName(java.lang.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(java.io.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(java.lang.String userName)
Sets the user name of this user group.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this user group.
|
void |
setUuid(java.lang.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. |
java.lang.String |
toString() |
UserGroup |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserGroupWrapper(UserGroup userGroup)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserGroup>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<UserGroup>public long getPrimaryKey()
getPrimaryKey in interface UserGroupModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserGroupModelprimaryKey - the primary key of this user grouppublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface UserGroupModelpublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface UserGroupModeluuid - the uuid of this user grouppublic long getUserGroupId()
getUserGroupId in interface UserGroupModelpublic void setUserGroupId(long userGroupId)
setUserGroupId in interface UserGroupModeluserGroupId - the user group ID of this user grouppublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface UserGroupModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface UserGroupModelcompanyId - the company ID of this user grouppublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface UserGroupModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface UserGroupModeluserId - the user ID of this user grouppublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface UserGroupModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface UserGroupModeluserUuid - the user uuid of this user grouppublic java.lang.String getUserName()
getUserName in interface AuditedModelgetUserName in interface UserGroupModelpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelsetUserName in interface UserGroupModeluserName - the user name of this user grouppublic java.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface UserGroupModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface UserGroupModelcreateDate - the create date of this user grouppublic java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface UserGroupModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface UserGroupModelmodifiedDate - the modified date of this user grouppublic long getParentUserGroupId()
getParentUserGroupId in interface UserGroupModelpublic void setParentUserGroupId(long parentUserGroupId)
setParentUserGroupId in interface UserGroupModelparentUserGroupId - the parent user group ID of this user grouppublic java.lang.String getName()
getName in interface UserGroupModelpublic void setName(java.lang.String name)
setName in interface UserGroupModelname - the name of this user grouppublic java.lang.String getDescription()
getDescription in interface UserGroupModelpublic void setDescription(java.lang.String description)
setDescription in interface UserGroupModeldescription - the description of this user grouppublic boolean getAddedByLDAPImport()
getAddedByLDAPImport in interface UserGroupModelpublic boolean isAddedByLDAPImport()
true 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)
setAddedByLDAPImport in interface UserGroupModeladdedByLDAPImport - the added by l d a p import of this user grouppublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<UserGroup>isNew in interface UserGroupModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<UserGroup>setNew in interface UserGroupModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<UserGroup>isCachedModel in interface UserGroupModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<UserGroup>setCachedModel in interface UserGroupModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<UserGroup>isEscapedModel in interface UserGroupModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<UserGroup>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserGroupModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<UserGroup>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserGroupModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<UserGroup>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserGroupModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<UserGroup>setExpandoBridgeAttributes in interface UserGroupModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<UserGroup>clone in interface StagedModelclone in interface UserGroupModelclone in class java.lang.Objectpublic int compareTo(UserGroup userGroup)
compareTo in interface UserGroupModelcompareTo in interface java.lang.Comparable<UserGroup>public int hashCode()
hashCode in interface UserGroupModelhashCode in class java.lang.Objectpublic CacheModel<UserGroup> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<UserGroup>toCacheModel in interface UserGroupModelpublic UserGroup toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<UserGroup>toEscapedModel in interface UserGroupModelAutoEscapeBeanHandlerpublic UserGroup toUnescapedModel()
toUnescapedModel in interface BaseModel<UserGroup>toUnescapedModel in interface UserGroupModelpublic java.lang.String toString()
toString in interface UserGroupModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<UserGroup>toXmlString in interface UserGroupModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic Group getGroup() throws PortalException, SystemException
getGroup in interface UserGroupPortalExceptionSystemExceptionpublic long getGroupId()
throws PortalException,
SystemException
getGroupId in interface UserGroupPortalExceptionSystemExceptionpublic int getPrivateLayoutsPageCount()
throws PortalException,
SystemException
getPrivateLayoutsPageCount in interface UserGroupPortalExceptionSystemExceptionpublic int getPublicLayoutsPageCount()
throws PortalException,
SystemException
getPublicLayoutsPageCount in interface UserGroupPortalExceptionSystemExceptionpublic boolean hasPrivateLayouts()
throws PortalException,
SystemException
hasPrivateLayouts in interface UserGroupPortalExceptionSystemExceptionpublic boolean hasPublicLayouts()
throws PortalException,
SystemException
hasPublicLayouts in interface UserGroupPortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic UserGroup getWrappedUserGroup()
getWrappedModel()public UserGroup getWrappedModel()
getWrappedModel in interface ModelWrapper<UserGroup>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<UserGroup>