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
modelFields inherited from interface com.liferay.portal.kernel.model.UserGroup
NAME_ACCESSOR, USER_GROUP_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the added by ldap import of this user group.longReturns the company ID of this user group.Returns the create date of this user group.longReturns 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()longReturns the modified date of this user group.longReturns the mvcc version of this user group.getName()Returns the name of this user group.longReturns the parent user group ID of this user group.longReturns the primary key of this user group.intintlongReturns the user group ID of this user group.longReturns 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.booleanbooleanbooleanReturnstrueif this user group is added by ldap import.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetAddedByLDAPImport(boolean addedByLDAPImport) Sets whether this user group is added by ldap import.voidsetCompanyId(long companyId) Sets the company ID of this user group.voidsetCreateDate(Date createDate) Sets the create date of this user group.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this user group.voidsetDescription(String description) Sets the description of this user group.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this user group.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this user group.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this user group.voidSets the name of this user group.voidsetParentUserGroupId(long parentUserGroupId) Sets the parent user group ID of this user group.voidsetPrimaryKey(long primaryKey) Sets the primary key of this user group.voidsetUserGroupId(long userGroupId) Sets the user group ID of this user group.voidsetUserId(long userId) Sets the user ID of this user group.voidsetUserName(String userName) Sets the user name of this user group.voidsetUserUuid(String userUuid) Sets the user uuid of this user group.voidSets the uuid of this user group.protected UserGroupWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
UserGroupWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<UserGroup>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<UserGroup>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<UserGroup>- Specified by:
cloneWithOriginalValuesin interfaceUserGroupModel
-
getAddedByLDAPImport
public boolean getAddedByLDAPImport()Returns the added by ldap import of this user group.- Specified by:
getAddedByLDAPImportin 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Specified by:
getCompanyIdin interfaceUserGroupModel- Returns:
- the company ID of this user group
-
getCreateDate
Returns the create date of this user group.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Specified by:
getCreateDatein interfaceUserGroupModel- Returns:
- the create date of this user group
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this user group.- Specified by:
getCtCollectionIdin interfaceCTModel<UserGroup>- Specified by:
getCtCollectionIdin interfaceUserGroupModel- Returns:
- the ct collection ID of this user group
-
getDescription
Returns the description of this user group.- Specified by:
getDescriptionin interfaceUserGroupModel- Returns:
- the description of this user group
-
getExternalReferenceCode
Returns the external reference code of this user group.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceUserGroupModel- Returns:
- the external reference code of this user group
-
getGroup
- Specified by:
getGroupin interfaceUserGroup- Throws:
PortalException
-
getGroupId
- Specified by:
getGroupIdin interfaceUserGroup- Throws:
PortalException
-
getModifiedDate
Returns the modified date of this user group.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Specified by:
getModifiedDatein interfaceUserGroupModel- Returns:
- the modified date of this user group
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this user group.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceUserGroupModel- Returns:
- the mvcc version of this user group
-
getName
Returns the name of this user group.- Specified by:
getNamein interfaceUserGroupModel- Returns:
- the name of this user group
-
getParentUserGroupId
public long getParentUserGroupId()Returns the parent user group ID of this user group.- Specified by:
getParentUserGroupIdin 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:
getPrimaryKeyin interfaceCTModel<UserGroup>- Specified by:
getPrimaryKeyin interfaceUserGroupModel- Returns:
- the primary key of this user group
-
getPrivateLayoutsPageCount
- Specified by:
getPrivateLayoutsPageCountin interfaceUserGroup- Throws:
PortalException
-
getPublicLayoutsPageCount
- Specified by:
getPublicLayoutsPageCountin interfaceUserGroup- Throws:
PortalException
-
getUserGroupId
public long getUserGroupId()Returns the user group ID of this user group.- Specified by:
getUserGroupIdin interfaceUserGroupModel- Returns:
- the user group ID of this user group
-
getUserId
public long getUserId()Returns the user ID of this user group.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceUserGroupModel- Returns:
- the user ID of this user group
-
getUserName
Returns the user name of this user group.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceUserGroupModel- Returns:
- the user name of this user group
-
getUserUuid
Returns the user uuid of this user group.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceUserGroupModel- Returns:
- the user uuid of this user group
-
getUuid
Returns the uuid of this user group.- Specified by:
getUuidin interfaceStagedModel- Specified by:
getUuidin interfaceUserGroupModel- Returns:
- the uuid of this user group
-
hasPrivateLayouts
- Specified by:
hasPrivateLayoutsin interfaceUserGroup- Throws:
PortalException
-
hasPublicLayouts
- Specified by:
hasPublicLayoutsin interfaceUserGroup- Throws:
PortalException
-
isAddedByLDAPImport
public boolean isAddedByLDAPImport()Returnstrueif this user group is added by ldap import.- Specified by:
isAddedByLDAPImportin interfaceUserGroupModel- Returns:
trueif this user group is added by ldap import;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setAddedByLDAPImport
public void setAddedByLDAPImport(boolean addedByLDAPImport) Sets whether this user group is added by ldap import.- Specified by:
setAddedByLDAPImportin 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:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Specified by:
setCompanyIdin interfaceUserGroupModel- Parameters:
companyId- the company ID of this user group
-
setCreateDate
Sets the create date of this user group.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfaceCTModel<UserGroup>- Specified by:
setCtCollectionIdin interfaceUserGroupModel- Parameters:
ctCollectionId- the ct collection ID of this user group
-
setDescription
Sets the description of this user group.- Specified by:
setDescriptionin interfaceUserGroupModel- Parameters:
description- the description of this user group
-
setExternalReferenceCode
Sets the external reference code of this user group.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein interfaceUserGroupModel- Parameters:
externalReferenceCode- the external reference code of this user group
-
setModifiedDate
Sets the modified date of this user group.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceUserGroupModel- Parameters:
mvccVersion- the mvcc version of this user group
-
setName
Sets the name of this user group.- Specified by:
setNamein 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:
setParentUserGroupIdin 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:
setPrimaryKeyin interfaceCTModel<UserGroup>- Specified by:
setPrimaryKeyin 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:
setUserGroupIdin 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:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceUserGroupModel- Parameters:
userId- the user ID of this user group
-
setUserName
Sets the user name of this user group.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceUserGroupModel- Parameters:
userName- the user name of this user group
-
setUserUuid
Sets the user uuid of this user group.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceUserGroupModel- Parameters:
userUuid- the user uuid of this user group
-
setUuid
Sets the uuid of this user group.- Specified by:
setUuidin interfaceStagedModel- Specified by:
setUuidin interfaceUserGroupModel- Parameters:
uuid- the uuid of this user group
-
toXmlString
- Specified by:
toXmlStringin interfaceUserGroupModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<UserGroup>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<UserGroup>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<UserGroup>
-