Package com.liferay.portal.kernel.model
Class OrganizationWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Organization>
com.liferay.portal.kernel.model.OrganizationWrapper
- All Implemented Interfaces:
AuditedModel
,BaseModel<Organization>
,CTModel<Organization>
,ClassedModel
,ExternalReferenceCodeModel
,ModelWrapper<Organization>
,MVCCModel
,Organization
,OrganizationModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,TreeModel
,Serializable
,Cloneable
,Comparable<Organization>
public class OrganizationWrapper
extends BaseModelWrapper<Organization>
implements ModelWrapper<Organization>, Organization
This class is a wrapper for Organization
.
- 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.Organization
NAME_ACCESSOR, ORGANIZATION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong[]
String[]
Returns 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.getGroup()
long
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.int
int
boolean
Returns the recursable of this organization.long
Returns the region ID of this organization.getReminderQueryQuestions
(String languageId) getReminderQueryQuestions
(Locale locale) long
Returns the status list type ID of this organization.int
Returns the tree path of this organization.getType()
Returns the type of this organization.int
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
boolean
boolean
boolean
boolean
Returnstrue
if this organization is recursable.boolean
isRoot()
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setModelAttributes
(Map<String, Object> attributes) 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.void
updateTreePath
(String treePath) protected OrganizationWrapper
wrap
(Organization organization) 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
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj
-
Constructor Details
-
OrganizationWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Organization>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Organization>
-
buildTreePath
- Specified by:
buildTreePath
in interfaceTreeModel
- Throws:
PortalException
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Organization>
- Specified by:
cloneWithOriginalValues
in interfaceOrganizationModel
-
getAddress
- Specified by:
getAddress
in interfaceOrganization
-
getAddresses
- Specified by:
getAddresses
in interfaceOrganization
-
getAncestorOrganizationIds
- Specified by:
getAncestorOrganizationIds
in interfaceOrganization
- Throws:
PortalException
-
getAncestors
- Specified by:
getAncestors
in interfaceOrganization
- Throws:
PortalException
-
getChildrenTypes
- Specified by:
getChildrenTypes
in interfaceOrganization
-
getComments
Returns the comments of this organization.- Specified by:
getComments
in interfaceOrganizationModel
- Returns:
- the comments of this organization
-
getCompanyId
public long getCompanyId()Returns the company ID of this organization.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceOrganizationModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this organization
-
getCountryId
public long getCountryId()Returns the country ID of this organization.- Specified by:
getCountryId
in interfaceOrganizationModel
- Returns:
- the country ID of this organization
-
getCreateDate
Returns the create date of this organization.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceOrganizationModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this organization
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this organization.- Specified by:
getCtCollectionId
in interfaceCTModel<Organization>
- Specified by:
getCtCollectionId
in interfaceOrganizationModel
- Returns:
- the ct collection ID of this organization
-
getDescendants
- Specified by:
getDescendants
in interfaceOrganization
-
getExternalReferenceCode
Returns the external reference code of this organization.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceOrganizationModel
- Returns:
- the external reference code of this organization
-
getGroup
- Specified by:
getGroup
in interfaceOrganization
-
getGroupId
public long getGroupId()- Specified by:
getGroupId
in interfaceOrganization
-
getLogoId
public long getLogoId()Returns the logo ID of this organization.- Specified by:
getLogoId
in interfaceOrganizationModel
- Returns:
- the logo ID of this organization
-
getLogoURL
- Specified by:
getLogoURL
in interfaceOrganization
-
getModifiedDate
Returns the modified date of this organization.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceOrganizationModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this organization
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this organization.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceOrganizationModel
- Returns:
- the mvcc version of this organization
-
getName
Returns the name of this organization.- Specified by:
getName
in interfaceOrganizationModel
- Returns:
- the name of this organization
-
getOrganizationId
public long getOrganizationId()Returns the organization ID of this organization.- Specified by:
getOrganizationId
in interfaceOrganizationModel
- Returns:
- the organization ID of this organization
-
getParentOrganization
- Specified by:
getParentOrganization
in interfaceOrganization
- Throws:
PortalException
-
getParentOrganizationId
public long getParentOrganizationId()Returns the parent organization ID of this organization.- Specified by:
getParentOrganizationId
in interfaceOrganizationModel
- Returns:
- the parent organization ID of this organization
-
getParentOrganizationName
- Specified by:
getParentOrganizationName
in interfaceOrganization
-
getPreferences
- Specified by:
getPreferences
in interfaceOrganization
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this organization.- Specified by:
getPrimaryKey
in interfaceCTModel<Organization>
- Specified by:
getPrimaryKey
in interfaceOrganizationModel
- Returns:
- the primary key of this organization
-
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount()- Specified by:
getPrivateLayoutsPageCount
in interfaceOrganization
-
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount()- Specified by:
getPublicLayoutsPageCount
in interfaceOrganization
-
getRecursable
public boolean getRecursable()Returns the recursable of this organization.- Specified by:
getRecursable
in interfaceOrganizationModel
- Returns:
- the recursable of this organization
-
getRegionId
public long getRegionId()Returns the region ID of this organization.- Specified by:
getRegionId
in interfaceOrganizationModel
- Returns:
- the region ID of this organization
-
getReminderQueryQuestions
- Specified by:
getReminderQueryQuestions
in interfaceOrganization
-
getReminderQueryQuestions
- Specified by:
getReminderQueryQuestions
in interfaceOrganization
-
getStatusListTypeId
public long getStatusListTypeId()Returns the status list type ID of this organization.- Specified by:
getStatusListTypeId
in interfaceOrganizationModel
- Returns:
- the status list type ID of this organization
-
getSuborganizations
- Specified by:
getSuborganizations
in interfaceOrganization
-
getSuborganizationsSize
public int getSuborganizationsSize()- Specified by:
getSuborganizationsSize
in interfaceOrganization
-
getTreePath
Returns the tree path of this organization.- Specified by:
getTreePath
in interfaceOrganizationModel
- Specified by:
getTreePath
in interfaceTreeModel
- Returns:
- the tree path of this organization
-
getType
Returns the type of this organization.- Specified by:
getType
in interfaceOrganizationModel
- Returns:
- the type of this organization
-
getTypeOrder
public int getTypeOrder()- Specified by:
getTypeOrder
in interfaceOrganization
-
getUserId
public long getUserId()Returns the user ID of this organization.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceOrganizationModel
- Returns:
- the user ID of this organization
-
getUserName
Returns the user name of this organization.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceOrganizationModel
- Returns:
- the user name of this organization
-
getUserUuid
Returns the user uuid of this organization.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceOrganizationModel
- Returns:
- the user uuid of this organization
-
getUuid
Returns the uuid of this organization.- Specified by:
getUuid
in interfaceOrganizationModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this organization
-
hasPrivateLayouts
public boolean hasPrivateLayouts()- Specified by:
hasPrivateLayouts
in interfaceOrganization
-
hasPublicLayouts
public boolean hasPublicLayouts()- Specified by:
hasPublicLayouts
in interfaceOrganization
-
hasSuborganizations
public boolean hasSuborganizations()- Specified by:
hasSuborganizations
in interfaceOrganization
-
isParentable
public boolean isParentable()- Specified by:
isParentable
in interfaceOrganization
-
isRecursable
public boolean isRecursable()Returnstrue
if this organization is recursable.- Specified by:
isRecursable
in interfaceOrganizationModel
- Returns:
true
if this organization is recursable;false
otherwise
-
isRoot
public boolean isRoot()- Specified by:
isRoot
in interfaceOrganization
-
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
-
setComments
Sets the comments of this organization.- Specified by:
setComments
in interfaceOrganizationModel
- Parameters:
comments
- the comments of this organization
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this organization.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceOrganizationModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this organization
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this organization.- Specified by:
setCountryId
in interfaceOrganizationModel
- Parameters:
countryId
- the country ID of this organization
-
setCreateDate
Sets the create date of this organization.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceOrganizationModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this organization
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this organization.- Specified by:
setCtCollectionId
in interfaceCTModel<Organization>
- Specified by:
setCtCollectionId
in interfaceOrganizationModel
- Parameters:
ctCollectionId
- the ct collection ID of this organization
-
setExternalReferenceCode
Sets the external reference code of this organization.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceOrganizationModel
- Parameters:
externalReferenceCode
- the external reference code of this organization
-
setLogoId
public void setLogoId(long logoId) Sets the logo ID of this organization.- Specified by:
setLogoId
in interfaceOrganizationModel
- Parameters:
logoId
- the logo ID of this organization
-
setModifiedDate
Sets the modified date of this organization.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceOrganizationModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this organization
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this organization.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceOrganizationModel
- Parameters:
mvccVersion
- the mvcc version of this organization
-
setName
Sets the name of this organization.- Specified by:
setName
in interfaceOrganizationModel
- Parameters:
name
- the name of this organization
-
setOrganizationId
public void setOrganizationId(long organizationId) Sets the organization ID of this organization.- Specified by:
setOrganizationId
in interfaceOrganizationModel
- Parameters:
organizationId
- the organization ID of this organization
-
setParentOrganizationId
public void setParentOrganizationId(long parentOrganizationId) Sets the parent organization ID of this organization.- Specified by:
setParentOrganizationId
in interfaceOrganizationModel
- Parameters:
parentOrganizationId
- the parent organization ID of this organization
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this organization.- Specified by:
setPrimaryKey
in interfaceCTModel<Organization>
- Specified by:
setPrimaryKey
in interfaceOrganizationModel
- Parameters:
primaryKey
- the primary key of this organization
-
setRecursable
public void setRecursable(boolean recursable) Sets whether this organization is recursable.- Specified by:
setRecursable
in interfaceOrganizationModel
- Parameters:
recursable
- the recursable of this organization
-
setRegionId
public void setRegionId(long regionId) Sets the region ID of this organization.- Specified by:
setRegionId
in interfaceOrganizationModel
- Parameters:
regionId
- the region ID of this organization
-
setStatusListTypeId
public void setStatusListTypeId(long statusListTypeId) Sets the status list type ID of this organization.- Specified by:
setStatusListTypeId
in interfaceOrganizationModel
- Parameters:
statusListTypeId
- the status list type ID of this organization
-
setTreePath
Sets the tree path of this organization.- Specified by:
setTreePath
in interfaceOrganizationModel
- Parameters:
treePath
- the tree path of this organization
-
setType
Sets the type of this organization.- Specified by:
setType
in interfaceOrganizationModel
- Parameters:
type
- the type of this organization
-
setUserId
public void setUserId(long userId) Sets the user ID of this organization.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceOrganizationModel
- Parameters:
userId
- the user ID of this organization
-
setUserName
Sets the user name of this organization.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceOrganizationModel
- Parameters:
userName
- the user name of this organization
-
setUserUuid
Sets the user uuid of this organization.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceOrganizationModel
- Parameters:
userUuid
- the user uuid of this organization
-
setUuid
Sets the uuid of this organization.- Specified by:
setUuid
in interfaceOrganizationModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this organization
-
toXmlString
- Specified by:
toXmlString
in interfaceOrganizationModel
-
updateTreePath
- Specified by:
updateTreePath
in interfaceTreeModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Organization>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Organization>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Organization>
-