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.longReturns the company ID of this organization.longReturns the country ID of this organization.Returns the create date of this organization.longReturns the ct collection ID of this organization.Returns the external reference code of this organization.longReturns the logo ID of this organization.Returns the modified date of this organization.longReturns the mvcc version of this organization.getName()Returns the name of this organization.longReturns the organization ID of this organization.longReturns the parent organization ID of this organization.longReturns the primary key of this organization.booleanReturns the recursable of this organization.longReturns the region ID of this organization.longReturns the status list type ID of this organization.Returns the tree path of this organization.getType()Returns the type of this organization.longReturns 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.booleanReturnstrueif this organization is recursable.voidsetComments(String comments) Sets the comments of this organization.voidsetCompanyId(long companyId) Sets the company ID of this organization.voidsetCountryId(long countryId) Sets the country ID of this organization.voidsetCreateDate(Date createDate) Sets the create date of this organization.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this organization.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this organization.voidsetLogoId(long logoId) Sets the logo ID of this organization.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this organization.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this organization.voidSets the name of this organization.voidsetOrganizationId(long organizationId) Sets the organization ID of this organization.voidsetParentOrganizationId(long parentOrganizationId) Sets the parent organization ID of this organization.voidsetPrimaryKey(long primaryKey) Sets the primary key of this organization.voidsetRecursable(boolean recursable) Sets whether this organization is recursable.voidsetRegionId(long regionId) Sets the region ID of this organization.voidsetStatusListTypeId(long statusListTypeId) Sets the status list type ID of this organization.voidsetTreePath(String treePath) Sets the tree path of this organization.voidSets the type of this organization.voidsetUserId(long userId) Sets the user ID of this organization.voidsetUserName(String userName) Sets the user name of this organization.voidsetUserUuid(String userUuid) Sets the user uuid of this organization.voidSets the uuid of this organization.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 organization.- Specified by:
getPrimaryKeyin interfaceCTModel<Organization>- Returns:
- the primary key of this organization
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this organization.- Specified by:
setPrimaryKeyin interfaceCTModel<Organization>- Parameters:
primaryKey- the primary key of this organization
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this organization.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this organization
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this organization.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this organization
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this organization.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin interfaceCTModel<Organization>- Parameters:
ctCollectionId- the ct collection ID of this organization
-
getUuid
Returns the uuid of this organization.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this organization
-
setUuid
Sets the uuid of this organization.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this organization
-
getExternalReferenceCode
Returns the external reference code of this organization.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this organization
-
setExternalReferenceCode
Sets the external reference code of this organization.- Specified by:
setExternalReferenceCodein 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this organization
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this organization.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this organization
-
getUserId
long getUserId()Returns the user ID of this organization.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this organization
-
setUserId
void setUserId(long userId) Sets the user ID of this organization.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this organization
-
getUserUuid
String getUserUuid()Returns the user uuid of this organization.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this organization
-
setUserUuid
Sets the user uuid of this organization.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this organization
-
getUserName
Returns the user name of this organization.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this organization
-
setUserName
Sets the user name of this organization.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this organization
-
getCreateDate
Date getCreateDate()Returns the create date of this organization.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this organization
-
setCreateDate
Sets the create date of this organization.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this organization
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this organization.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this organization
-
setModifiedDate
Sets the modified date of this organization.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this organization is recursable.- Returns:
trueif this organization is recursable;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<Organization>
-
toXmlString
-