public class UserGroupWrapper extends BaseModelWrapper<UserGroup> implements ModelWrapper<UserGroup>, UserGroup
This class is a wrapper for UserGroup.
UserGroup,
Serialized FormmodelNAME_ACCESSOR, USER_GROUP_ID_ACCESSOR| Constructor and Description |
|---|
UserGroupWrapper(UserGroup userGroup) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getExternalReferenceCode()
Returns the external reference code of this user group.
|
Group |
getGroup() |
long |
getGroupId() |
Map<String,Object> |
getModelAttributes() |
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.
|
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.
|
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.
|
boolean |
hasPrivateLayouts() |
boolean |
hasPublicLayouts() |
boolean |
isAddedByLDAPImport()
Returns
true if this user group is added by ldap import. |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setAddedByLDAPImport(boolean addedByLDAPImport)
Sets whether this user group is added by ldap 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 |
setExternalReferenceCode(String externalReferenceCode)
Sets the external reference code 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 |
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.
|
protected UserGroupWrapper |
wrap(UserGroup userGroup) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamepublic UserGroupWrapper(UserGroup userGroup)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserGroup>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserGroup>public boolean getAddedByLDAPImport()
getAddedByLDAPImport in interface UserGroupModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface UserGroupModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface UserGroupModelpublic String getDescription()
getDescription in interface UserGroupModelpublic String getExternalReferenceCode()
getExternalReferenceCode in interface UserGroupModelpublic Group getGroup() throws PortalException
getGroup in interface UserGroupPortalExceptionpublic long getGroupId()
throws PortalException
getGroupId in interface UserGroupPortalExceptionpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface UserGroupModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserGroupModelpublic String getName()
getName in interface UserGroupModelpublic long getParentUserGroupId()
getParentUserGroupId in interface UserGroupModelpublic long getPrimaryKey()
getPrimaryKey in interface UserGroupModelpublic int getPrivateLayoutsPageCount()
throws PortalException
getPrivateLayoutsPageCount in interface UserGroupPortalExceptionpublic int getPublicLayoutsPageCount()
throws PortalException
getPublicLayoutsPageCount in interface UserGroupPortalExceptionpublic long getUserGroupId()
getUserGroupId in interface UserGroupModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface UserGroupModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface UserGroupModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface UserGroupModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface UserGroupModelpublic boolean hasPrivateLayouts()
throws PortalException
hasPrivateLayouts in interface UserGroupPortalExceptionpublic boolean hasPublicLayouts()
throws PortalException
hasPublicLayouts in interface UserGroupPortalExceptionpublic boolean isAddedByLDAPImport()
true if this user group is added by ldap import.isAddedByLDAPImport in interface UserGroupModeltrue if this user group is added by ldap import; false otherwisepublic void persist()
UserGroup interface instead.persist in interface PersistedModelpublic void setAddedByLDAPImport(boolean addedByLDAPImport)
setAddedByLDAPImport in interface UserGroupModeladdedByLDAPImport - the added by ldap import of this user grouppublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface UserGroupModelcompanyId - the company ID of this user grouppublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface UserGroupModelcreateDate - the create date of this user grouppublic void setDescription(String description)
setDescription in interface UserGroupModeldescription - the description of this user grouppublic void setExternalReferenceCode(String externalReferenceCode)
setExternalReferenceCode in interface UserGroupModelexternalReferenceCode - the external reference code of this user grouppublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface UserGroupModelmodifiedDate - the modified date of this user grouppublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserGroupModelmvccVersion - the mvcc version of this user grouppublic void setName(String name)
setName in interface UserGroupModelname - the name of this user grouppublic void setParentUserGroupId(long parentUserGroupId)
setParentUserGroupId in interface UserGroupModelparentUserGroupId - the parent user group ID of this user grouppublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserGroupModelprimaryKey - the primary key of this user grouppublic void setUserGroupId(long userGroupId)
setUserGroupId in interface UserGroupModeluserGroupId - the user group ID of this user grouppublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface UserGroupModeluserId - the user ID of this user grouppublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface UserGroupModeluserName - the user name of this user grouppublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface UserGroupModeluserUuid - the user uuid of this user grouppublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface UserGroupModeluuid - the uuid of this user grouppublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected UserGroupWrapper wrap(UserGroup userGroup)
wrap in class BaseModelWrapper<UserGroup>