Package com.liferay.portal.kernel.model
Interface UserGroupModel
- All Superinterfaces:
AuditedModel,BaseModel<UserGroup>,ClassedModel,Cloneable,Comparable<UserGroup>,CTModel<UserGroup>,ExternalReferenceCodeModel,MVCCModel,Serializable,ShardedModel,StagedAuditedModel,StagedModel
- All Known Subinterfaces:
UserGroup
- All Known Implementing Classes:
UserGroupWrapper
@ProviderType
public interface UserGroupModel
extends BaseModel<UserGroup>, CTModel<UserGroup>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the UserGroup service. Represents a row in the "UserGroup" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.UserGroupModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.UserGroupImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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.Returns 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.longReturns 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.booleanReturnstrueif this user group is added by ldap import.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this user group.- Specified by:
getPrimaryKeyin interfaceCTModel<UserGroup>- Returns:
- the primary key of this user group
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this user group.- Specified by:
setPrimaryKeyin interfaceCTModel<UserGroup>- Parameters:
primaryKey- the primary key of this user group
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this user group.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this user group
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this user group.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this user group
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this user group.- Specified by:
getCtCollectionIdin interfaceCTModel<UserGroup>- Returns:
- the ct collection ID of this user group
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this user group.- Specified by:
setCtCollectionIdin interfaceCTModel<UserGroup>- Parameters:
ctCollectionId- the ct collection ID of this user group
-
getUuid
Returns the uuid of this user group.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this user group
-
setUuid
Sets the uuid of this user group.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this user group
-
getExternalReferenceCode
Returns the external reference code of this user group.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this user group
-
setExternalReferenceCode
Sets the external reference code of this user group.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this user group
-
getUserGroupId
long getUserGroupId()Returns the user group ID of this user group.- Returns:
- the user group ID of this user group
-
setUserGroupId
void setUserGroupId(long userGroupId) Sets the user group ID of this user group.- Parameters:
userGroupId- the user group ID of this user group
-
getCompanyId
long getCompanyId()Returns the company ID of this user group.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this user group
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this user group.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this user group
-
getUserId
long getUserId()Returns the user ID of this user group.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this user group
-
setUserId
void setUserId(long userId) Sets the user ID of this user group.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this user group
-
getUserUuid
String getUserUuid()Returns the user uuid of this user group.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this user group
-
setUserUuid
Sets the user uuid of this user group.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this user group
-
getUserName
Returns the user name of this user group.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this user group
-
setUserName
Sets the user name of this user group.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this user group
-
getCreateDate
Date getCreateDate()Returns the create date of this user group.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this user group
-
setCreateDate
Sets the create date of this user group.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this user group
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this user group.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this user group
-
setModifiedDate
Sets the modified date of this user group.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this user group
-
getParentUserGroupId
long getParentUserGroupId()Returns the parent user group ID of this user group.- Returns:
- the parent user group ID of this user group
-
setParentUserGroupId
void setParentUserGroupId(long parentUserGroupId) Sets the parent user group ID of this user group.- Parameters:
parentUserGroupId- the parent user group ID of this user group
-
getName
Returns the name of this user group.- Returns:
- the name of this user group
-
setName
Sets the name of this user group.- Parameters:
name- the name of this user group
-
getDescription
Returns the description of this user group.- Returns:
- the description of this user group
-
setDescription
Sets the description of this user group.- Parameters:
description- the description of this user group
-
getAddedByLDAPImport
boolean getAddedByLDAPImport()Returns the added by ldap import of this user group.- Returns:
- the added by ldap import of this user group
-
isAddedByLDAPImport
boolean isAddedByLDAPImport()Returnstrueif this user group is added by ldap import.- Returns:
trueif this user group is added by ldap import;falseotherwise
-
setAddedByLDAPImport
void setAddedByLDAPImport(boolean addedByLDAPImport) Sets whether this user group is added by ldap import.- Parameters:
addedByLDAPImport- the added by ldap import of this user group
-
cloneWithOriginalValues
UserGroup cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<UserGroup>
-
toXmlString
-