Package com.liferay.portal.kernel.model
Interface OrganizationModel
- All Superinterfaces:
AuditedModel
,BaseModel<Organization>
,ClassedModel
,Cloneable
,Comparable<Organization>
,CTModel<Organization>
,ExternalReferenceCodeModel
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
- All Known Subinterfaces:
Organization
- All Known Implementing Classes:
OrganizationWrapper
@ProviderType
public interface OrganizationModel
extends BaseModel<Organization>, CTModel<Organization>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Organization service. Represents a row in the "Organization_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.OrganizationModelImpl
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.OrganizationImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the comments of this organization.long
Returns the company ID of this organization.long
Returns the country ID of this organization.Returns the create date of this organization.long
Returns the ct collection ID of this organization.Returns the external reference code of this organization.long
Returns the logo ID of this organization.Returns the modified date of this organization.long
Returns the mvcc version of this organization.getName()
Returns the name of this organization.long
Returns the organization ID of this organization.long
Returns the parent organization ID of this organization.long
Returns the primary key of this organization.boolean
Returns the recursable of this organization.long
Returns the region ID of this organization.long
Returns the status list type ID of this organization.Returns the tree path of this organization.getType()
Returns the type of this organization.long
Returns the user ID of this organization.Returns the user name of this organization.Returns the user uuid of this organization.getUuid()
Returns the uuid of this organization.boolean
Returnstrue
if this organization is recursable.void
setComments
(String comments) Sets the comments of this organization.void
setCompanyId
(long companyId) Sets the company ID of this organization.void
setCountryId
(long countryId) Sets the country ID of this organization.void
setCreateDate
(Date createDate) Sets the create date of this organization.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this organization.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this organization.void
setLogoId
(long logoId) Sets the logo ID of this organization.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this organization.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this organization.void
Sets the name of this organization.void
setOrganizationId
(long organizationId) Sets the organization ID of this organization.void
setParentOrganizationId
(long parentOrganizationId) Sets the parent organization ID of this organization.void
setPrimaryKey
(long primaryKey) Sets the primary key of this organization.void
setRecursable
(boolean recursable) Sets whether this organization is recursable.void
setRegionId
(long regionId) Sets the region ID of this organization.void
setStatusListTypeId
(long statusListTypeId) Sets the status list type ID of this organization.void
setTreePath
(String treePath) Sets the tree path of this organization.void
Sets the type of this organization.void
setUserId
(long userId) Sets the user ID of this organization.void
setUserName
(String userName) Sets the user name of this organization.void
setUserUuid
(String userUuid) Sets the user uuid of this organization.void
Sets the uuid of this organization.default String
Methods 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, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this organization.- Specified by:
getPrimaryKey
in interfaceCTModel<Organization>
- Returns:
- the primary key of this organization
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this organization.- Specified by:
setPrimaryKey
in interfaceCTModel<Organization>
- Parameters:
primaryKey
- the primary key of this organization
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this organization.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this organization
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this organization.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this organization
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this organization.- Specified by:
getCtCollectionId
in interfaceCTModel<Organization>
- Returns:
- the ct collection ID of this organization
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this organization.- Specified by:
setCtCollectionId
in interfaceCTModel<Organization>
- Parameters:
ctCollectionId
- the ct collection ID of this organization
-
getUuid
Returns the uuid of this organization.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this organization
-
setUuid
Sets the uuid of this organization.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this organization
-
getExternalReferenceCode
Returns the external reference code of this organization.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this organization
-
setExternalReferenceCode
Sets the external reference code of this organization.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this organization
-
getOrganizationId
long getOrganizationId()Returns the organization ID of this organization.- Returns:
- the organization ID of this organization
-
setOrganizationId
void setOrganizationId(long organizationId) Sets the organization ID of this organization.- Parameters:
organizationId
- the organization ID of this organization
-
getCompanyId
long getCompanyId()Returns the company ID of this organization.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this organization
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this organization.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this organization
-
getUserId
long getUserId()Returns the user ID of this organization.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this organization
-
setUserId
void setUserId(long userId) Sets the user ID of this organization.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this organization
-
getUserUuid
String getUserUuid()Returns the user uuid of this organization.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this organization
-
setUserUuid
Sets the user uuid of this organization.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this organization
-
getUserName
Returns the user name of this organization.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this organization
-
setUserName
Sets the user name of this organization.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this organization
-
getCreateDate
Date getCreateDate()Returns the create date of this organization.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this organization
-
setCreateDate
Sets the create date of this organization.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this organization
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this organization.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this organization
-
setModifiedDate
Sets the modified date of this organization.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this organization
-
getParentOrganizationId
long getParentOrganizationId()Returns the parent organization ID of this organization.- Returns:
- the parent organization ID of this organization
-
setParentOrganizationId
void setParentOrganizationId(long parentOrganizationId) Sets the parent organization ID of this organization.- Parameters:
parentOrganizationId
- the parent organization ID of this organization
-
getTreePath
Returns the tree path of this organization.- Returns:
- the tree path of this organization
-
setTreePath
Sets the tree path of this organization.- Parameters:
treePath
- the tree path of this organization
-
getName
Returns the name of this organization.- Returns:
- the name of this organization
-
setName
Sets the name of this organization.- Parameters:
name
- the name of this organization
-
getType
String getType()Returns the type of this organization.- Returns:
- the type of this organization
-
setType
Sets the type of this organization.- Parameters:
type
- the type of this organization
-
getRecursable
boolean getRecursable()Returns the recursable of this organization.- Returns:
- the recursable of this organization
-
isRecursable
boolean isRecursable()Returnstrue
if this organization is recursable.- Returns:
true
if this organization is recursable;false
otherwise
-
setRecursable
void setRecursable(boolean recursable) Sets whether this organization is recursable.- Parameters:
recursable
- the recursable of this organization
-
getRegionId
long getRegionId()Returns the region ID of this organization.- Returns:
- the region ID of this organization
-
setRegionId
void setRegionId(long regionId) Sets the region ID of this organization.- Parameters:
regionId
- the region ID of this organization
-
getCountryId
long getCountryId()Returns the country ID of this organization.- Returns:
- the country ID of this organization
-
setCountryId
void setCountryId(long countryId) Sets the country ID of this organization.- Parameters:
countryId
- the country ID of this organization
-
getStatusListTypeId
long getStatusListTypeId()Returns the status list type ID of this organization.- Returns:
- the status list type ID of this organization
-
setStatusListTypeId
void setStatusListTypeId(long statusListTypeId) Sets the status list type ID of this organization.- Parameters:
statusListTypeId
- the status list type ID of this organization
-
getComments
Returns the comments of this organization.- Returns:
- the comments of this organization
-
setComments
Sets the comments of this organization.- Parameters:
comments
- the comments of this organization
-
getLogoId
long getLogoId()Returns the logo ID of this organization.- Returns:
- the logo ID of this organization
-
setLogoId
void setLogoId(long logoId) Sets the logo ID of this organization.- Parameters:
logoId
- the logo ID of this organization
-
cloneWithOriginalValues
Organization cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Organization>
-
toXmlString
-