Package com.liferay.portal.kernel.model
Class UserGroupWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<UserGroup>
com.liferay.portal.kernel.model.UserGroupWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<UserGroup>
,CTModel<UserGroup>
,ClassedModel
,ExternalReferenceCodeModel
,ModelWrapper<UserGroup>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,UserGroup
,UserGroupModel
,Serializable
,Cloneable
,Comparable<UserGroup>
public class UserGroupWrapper
extends BaseModelWrapper<UserGroup>
implements ModelWrapper<UserGroup>, UserGroup
This class is a wrapper for UserGroup
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.UserGroup
NAME_ACCESSOR, USER_GROUP_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the added by ldap import of this user group.long
Returns the company ID of this user group.Returns the create date of this user group.long
Returns the ct collection ID of this user group.Returns the description of this user group.Returns the external reference code of this user group.getGroup()
long
Returns the modified date of this user group.long
Returns the mvcc version of this user group.getName()
Returns the name of this user group.long
Returns the parent user group ID of this user group.long
Returns the primary key of this user group.int
int
long
Returns the user group ID of this user group.long
Returns the user ID of this user group.Returns the user name of this user group.Returns the user uuid of this user group.getUuid()
Returns the uuid of this user group.boolean
boolean
boolean
Returnstrue
if this user group is added by ldap import.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID 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
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
Sets the uuid of this user group.protected UserGroupWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
UserGroupWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<UserGroup>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<UserGroup>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<UserGroup>
- Specified by:
cloneWithOriginalValues
in interfaceUserGroupModel
-
getAddedByLDAPImport
public boolean getAddedByLDAPImport()Returns the added by ldap import of this user group.- Specified by:
getAddedByLDAPImport
in interfaceUserGroupModel
- Returns:
- the added by ldap import of this user group
-
getCompanyId
public long getCompanyId()Returns the company ID of this user group.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Specified by:
getCompanyId
in interfaceUserGroupModel
- Returns:
- the company ID of this user group
-
getCreateDate
Returns the create date of this user group.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Specified by:
getCreateDate
in interfaceUserGroupModel
- Returns:
- the create date of this user group
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this user group.- Specified by:
getCtCollectionId
in interfaceCTModel<UserGroup>
- Specified by:
getCtCollectionId
in interfaceUserGroupModel
- Returns:
- the ct collection ID of this user group
-
getDescription
Returns the description of this user group.- Specified by:
getDescription
in interfaceUserGroupModel
- Returns:
- the description of this user group
-
getExternalReferenceCode
Returns the external reference code of this user group.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceUserGroupModel
- Returns:
- the external reference code of this user group
-
getGroup
- Specified by:
getGroup
in interfaceUserGroup
- Throws:
PortalException
-
getGroupId
- Specified by:
getGroupId
in interfaceUserGroup
- Throws:
PortalException
-
getModifiedDate
Returns the modified date of this user group.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Specified by:
getModifiedDate
in interfaceUserGroupModel
- Returns:
- the modified date of this user group
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this user group.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceUserGroupModel
- Returns:
- the mvcc version of this user group
-
getName
Returns the name of this user group.- Specified by:
getName
in interfaceUserGroupModel
- Returns:
- the name of this user group
-
getParentUserGroupId
public long getParentUserGroupId()Returns the parent user group ID of this user group.- Specified by:
getParentUserGroupId
in interfaceUserGroupModel
- Returns:
- the parent user group ID of this user group
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this user group.- Specified by:
getPrimaryKey
in interfaceCTModel<UserGroup>
- Specified by:
getPrimaryKey
in interfaceUserGroupModel
- Returns:
- the primary key of this user group
-
getPrivateLayoutsPageCount
- Specified by:
getPrivateLayoutsPageCount
in interfaceUserGroup
- Throws:
PortalException
-
getPublicLayoutsPageCount
- Specified by:
getPublicLayoutsPageCount
in interfaceUserGroup
- Throws:
PortalException
-
getUserGroupId
public long getUserGroupId()Returns the user group ID of this user group.- Specified by:
getUserGroupId
in interfaceUserGroupModel
- Returns:
- the user group ID of this user group
-
getUserId
public long getUserId()Returns the user ID of this user group.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceUserGroupModel
- Returns:
- the user ID of this user group
-
getUserName
Returns the user name of this user group.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceUserGroupModel
- Returns:
- the user name of this user group
-
getUserUuid
Returns the user uuid of this user group.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceUserGroupModel
- Returns:
- the user uuid of this user group
-
getUuid
Returns the uuid of this user group.- Specified by:
getUuid
in interfaceStagedModel
- Specified by:
getUuid
in interfaceUserGroupModel
- Returns:
- the uuid of this user group
-
hasPrivateLayouts
- Specified by:
hasPrivateLayouts
in interfaceUserGroup
- Throws:
PortalException
-
hasPublicLayouts
- Specified by:
hasPublicLayouts
in interfaceUserGroup
- Throws:
PortalException
-
isAddedByLDAPImport
public boolean isAddedByLDAPImport()Returnstrue
if this user group is added by ldap import.- Specified by:
isAddedByLDAPImport
in interfaceUserGroupModel
- Returns:
true
if this user group is added by ldap import;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setAddedByLDAPImport
public void setAddedByLDAPImport(boolean addedByLDAPImport) Sets whether this user group is added by ldap import.- Specified by:
setAddedByLDAPImport
in interfaceUserGroupModel
- Parameters:
addedByLDAPImport
- the added by ldap import of this user group
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this user group.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Specified by:
setCompanyId
in interfaceUserGroupModel
- Parameters:
companyId
- the company ID of this user group
-
setCreateDate
Sets the create date of this user group.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Specified by:
setCreateDate
in interfaceUserGroupModel
- Parameters:
createDate
- the create date of this user group
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this user group.- Specified by:
setCtCollectionId
in interfaceCTModel<UserGroup>
- Specified by:
setCtCollectionId
in interfaceUserGroupModel
- Parameters:
ctCollectionId
- the ct collection ID of this user group
-
setDescription
Sets the description of this user group.- Specified by:
setDescription
in interfaceUserGroupModel
- Parameters:
description
- the description of this user group
-
setExternalReferenceCode
Sets the external reference code of this user group.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceUserGroupModel
- Parameters:
externalReferenceCode
- the external reference code of this user group
-
setModifiedDate
Sets the modified date of this user group.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Specified by:
setModifiedDate
in interfaceUserGroupModel
- Parameters:
modifiedDate
- the modified date of this user group
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this user group.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceUserGroupModel
- Parameters:
mvccVersion
- the mvcc version of this user group
-
setName
Sets the name of this user group.- Specified by:
setName
in interfaceUserGroupModel
- Parameters:
name
- the name of this user group
-
setParentUserGroupId
public void setParentUserGroupId(long parentUserGroupId) Sets the parent user group ID of this user group.- Specified by:
setParentUserGroupId
in interfaceUserGroupModel
- Parameters:
parentUserGroupId
- the parent user group ID of this user group
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this user group.- Specified by:
setPrimaryKey
in interfaceCTModel<UserGroup>
- Specified by:
setPrimaryKey
in interfaceUserGroupModel
- Parameters:
primaryKey
- the primary key of this user group
-
setUserGroupId
public void setUserGroupId(long userGroupId) Sets the user group ID of this user group.- Specified by:
setUserGroupId
in interfaceUserGroupModel
- Parameters:
userGroupId
- the user group ID of this user group
-
setUserId
public void setUserId(long userId) Sets the user ID of this user group.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceUserGroupModel
- Parameters:
userId
- the user ID of this user group
-
setUserName
Sets the user name of this user group.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceUserGroupModel
- Parameters:
userName
- the user name of this user group
-
setUserUuid
Sets the user uuid of this user group.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceUserGroupModel
- Parameters:
userUuid
- the user uuid of this user group
-
setUuid
Sets the uuid of this user group.- Specified by:
setUuid
in interfaceStagedModel
- Specified by:
setUuid
in interfaceUserGroupModel
- Parameters:
uuid
- the uuid of this user group
-
toXmlString
- Specified by:
toXmlString
in interfaceUserGroupModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<UserGroup>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<UserGroup>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<UserGroup>
-