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
modelFields 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.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.getGroup()longlongReturns 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.intintbooleanReturns the recursable of this organization.longReturns the region ID of this organization.getReminderQueryQuestions(String languageId) getReminderQueryQuestions(Locale locale) longReturns the status list type ID of this organization.intReturns the tree path of this organization.getType()Returns the type of this organization.intlongReturns 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.booleanbooleanbooleanbooleanbooleanReturnstrueif this organization is recursable.booleanisRoot()voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.voidupdateTreePath(String treePath) protected OrganizationWrapperwrap(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, 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
cloneMethods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj
-
Constructor Details
-
OrganizationWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Organization>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Organization>
-
buildTreePath
- Specified by:
buildTreePathin interfaceTreeModel- Throws:
PortalException
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Organization>- Specified by:
cloneWithOriginalValuesin interfaceOrganizationModel
-
getAddress
- Specified by:
getAddressin interfaceOrganization
-
getAddresses
- Specified by:
getAddressesin interfaceOrganization
-
getAncestorOrganizationIds
- Specified by:
getAncestorOrganizationIdsin interfaceOrganization- Throws:
PortalException
-
getAncestors
- Specified by:
getAncestorsin interfaceOrganization- Throws:
PortalException
-
getChildrenTypes
- Specified by:
getChildrenTypesin interfaceOrganization
-
getComments
Returns the comments of this organization.- Specified by:
getCommentsin interfaceOrganizationModel- Returns:
- the comments of this organization
-
getCompanyId
public long getCompanyId()Returns the company ID of this organization.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceOrganizationModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this organization
-
getCountryId
public long getCountryId()Returns the country ID of this organization.- Specified by:
getCountryIdin interfaceOrganizationModel- Returns:
- the country ID of this organization
-
getCreateDate
Returns the create date of this organization.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceOrganizationModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this organization
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this organization.- Specified by:
getCtCollectionIdin interfaceCTModel<Organization>- Specified by:
getCtCollectionIdin interfaceOrganizationModel- Returns:
- the ct collection ID of this organization
-
getDescendants
- Specified by:
getDescendantsin interfaceOrganization
-
getExternalReferenceCode
Returns the external reference code of this organization.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceOrganizationModel- Returns:
- the external reference code of this organization
-
getGroup
- Specified by:
getGroupin interfaceOrganization
-
getGroupId
public long getGroupId()- Specified by:
getGroupIdin interfaceOrganization
-
getLogoId
public long getLogoId()Returns the logo ID of this organization.- Specified by:
getLogoIdin interfaceOrganizationModel- Returns:
- the logo ID of this organization
-
getLogoURL
- Specified by:
getLogoURLin interfaceOrganization
-
getModifiedDate
Returns the modified date of this organization.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceOrganizationModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this organization
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this organization.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceOrganizationModel- Returns:
- the mvcc version of this organization
-
getName
Returns the name of this organization.- Specified by:
getNamein interfaceOrganizationModel- Returns:
- the name of this organization
-
getOrganizationId
public long getOrganizationId()Returns the organization ID of this organization.- Specified by:
getOrganizationIdin interfaceOrganizationModel- Returns:
- the organization ID of this organization
-
getParentOrganization
- Specified by:
getParentOrganizationin interfaceOrganization- Throws:
PortalException
-
getParentOrganizationId
public long getParentOrganizationId()Returns the parent organization ID of this organization.- Specified by:
getParentOrganizationIdin interfaceOrganizationModel- Returns:
- the parent organization ID of this organization
-
getParentOrganizationName
- Specified by:
getParentOrganizationNamein interfaceOrganization
-
getPreferences
- Specified by:
getPreferencesin interfaceOrganization
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this organization.- Specified by:
getPrimaryKeyin interfaceCTModel<Organization>- Specified by:
getPrimaryKeyin interfaceOrganizationModel- Returns:
- the primary key of this organization
-
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount()- Specified by:
getPrivateLayoutsPageCountin interfaceOrganization
-
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount()- Specified by:
getPublicLayoutsPageCountin interfaceOrganization
-
getRecursable
public boolean getRecursable()Returns the recursable of this organization.- Specified by:
getRecursablein interfaceOrganizationModel- Returns:
- the recursable of this organization
-
getRegionId
public long getRegionId()Returns the region ID of this organization.- Specified by:
getRegionIdin interfaceOrganizationModel- Returns:
- the region ID of this organization
-
getReminderQueryQuestions
- Specified by:
getReminderQueryQuestionsin interfaceOrganization
-
getReminderQueryQuestions
- Specified by:
getReminderQueryQuestionsin interfaceOrganization
-
getStatusListTypeId
public long getStatusListTypeId()Returns the status list type ID of this organization.- Specified by:
getStatusListTypeIdin interfaceOrganizationModel- Returns:
- the status list type ID of this organization
-
getSuborganizations
- Specified by:
getSuborganizationsin interfaceOrganization
-
getSuborganizationsSize
public int getSuborganizationsSize()- Specified by:
getSuborganizationsSizein interfaceOrganization
-
getTreePath
Returns the tree path of this organization.- Specified by:
getTreePathin interfaceOrganizationModel- Specified by:
getTreePathin interfaceTreeModel- Returns:
- the tree path of this organization
-
getType
Returns the type of this organization.- Specified by:
getTypein interfaceOrganizationModel- Returns:
- the type of this organization
-
getTypeOrder
public int getTypeOrder()- Specified by:
getTypeOrderin interfaceOrganization
-
getUserId
public long getUserId()Returns the user ID of this organization.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceOrganizationModel- Returns:
- the user ID of this organization
-
getUserName
Returns the user name of this organization.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceOrganizationModel- Returns:
- the user name of this organization
-
getUserUuid
Returns the user uuid of this organization.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceOrganizationModel- Returns:
- the user uuid of this organization
-
getUuid
Returns the uuid of this organization.- Specified by:
getUuidin interfaceOrganizationModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this organization
-
hasPrivateLayouts
public boolean hasPrivateLayouts()- Specified by:
hasPrivateLayoutsin interfaceOrganization
-
hasPublicLayouts
public boolean hasPublicLayouts()- Specified by:
hasPublicLayoutsin interfaceOrganization
-
hasSuborganizations
public boolean hasSuborganizations()- Specified by:
hasSuborganizationsin interfaceOrganization
-
isParentable
public boolean isParentable()- Specified by:
isParentablein interfaceOrganization
-
isRecursable
public boolean isRecursable()Returnstrueif this organization is recursable.- Specified by:
isRecursablein interfaceOrganizationModel- Returns:
trueif this organization is recursable;falseotherwise
-
isRoot
public boolean isRoot()- Specified by:
isRootin interfaceOrganization
-
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
-
setComments
Sets the comments of this organization.- Specified by:
setCommentsin interfaceOrganizationModel- Parameters:
comments- the comments of this organization
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this organization.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceOrganizationModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this organization
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this organization.- Specified by:
setCountryIdin interfaceOrganizationModel- Parameters:
countryId- the country ID of this organization
-
setCreateDate
Sets the create date of this organization.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceOrganizationModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfaceCTModel<Organization>- Specified by:
setCtCollectionIdin interfaceOrganizationModel- Parameters:
ctCollectionId- the ct collection ID of this organization
-
setExternalReferenceCode
Sets the external reference code of this organization.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein 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:
setLogoIdin interfaceOrganizationModel- Parameters:
logoId- the logo ID of this organization
-
setModifiedDate
Sets the modified date of this organization.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceOrganizationModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this organization
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this organization.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceOrganizationModel- Parameters:
mvccVersion- the mvcc version of this organization
-
setName
Sets the name of this organization.- Specified by:
setNamein interfaceOrganizationModel- Parameters:
name- the name of this organization
-
setOrganizationId
public void setOrganizationId(long organizationId) Sets the organization ID of this organization.- Specified by:
setOrganizationIdin 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:
setParentOrganizationIdin 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:
setPrimaryKeyin interfaceCTModel<Organization>- Specified by:
setPrimaryKeyin interfaceOrganizationModel- Parameters:
primaryKey- the primary key of this organization
-
setRecursable
public void setRecursable(boolean recursable) Sets whether this organization is recursable.- Specified by:
setRecursablein interfaceOrganizationModel- Parameters:
recursable- the recursable of this organization
-
setRegionId
public void setRegionId(long regionId) Sets the region ID of this organization.- Specified by:
setRegionIdin 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:
setStatusListTypeIdin interfaceOrganizationModel- Parameters:
statusListTypeId- the status list type ID of this organization
-
setTreePath
Sets the tree path of this organization.- Specified by:
setTreePathin interfaceOrganizationModel- Parameters:
treePath- the tree path of this organization
-
setType
Sets the type of this organization.- Specified by:
setTypein interfaceOrganizationModel- Parameters:
type- the type of this organization
-
setUserId
public void setUserId(long userId) Sets the user ID of this organization.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceOrganizationModel- Parameters:
userId- the user ID of this organization
-
setUserName
Sets the user name of this organization.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceOrganizationModel- Parameters:
userName- the user name of this organization
-
setUserUuid
Sets the user uuid of this organization.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceOrganizationModel- Parameters:
userUuid- the user uuid of this organization
-
setUuid
Sets the uuid of this organization.- Specified by:
setUuidin interfaceOrganizationModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this organization
-
toXmlString
- Specified by:
toXmlStringin interfaceOrganizationModel
-
updateTreePath
- Specified by:
updateTreePathin interfaceTreeModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Organization>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Organization>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Organization>
-