public class OrganizationWrapper extends BaseModelWrapper<Organization> implements ModelWrapper<Organization>, Organization
This class is a wrapper for Organization
.
Organization
,
Serialized Formmodel
NAME_ACCESSOR, ORGANIZATION_ID_ACCESSOR
Constructor and Description |
---|
OrganizationWrapper(Organization organization) |
Modifier and Type | Method and Description |
---|---|
String |
buildTreePath() |
Address |
getAddress() |
List<Address> |
getAddresses() |
long[] |
getAncestorOrganizationIds() |
List<Organization> |
getAncestors() |
String[] |
getChildrenTypes() |
String |
getComments()
Returns the comments of this organization.
|
long |
getCompanyId()
Returns the company ID of this organization.
|
long |
getCountryId()
Returns the country ID of this organization.
|
Date |
getCreateDate()
Returns the create date of this organization.
|
List<Organization> |
getDescendants() |
String |
getExternalReferenceCode()
Returns the external reference code of this organization.
|
Group |
getGroup() |
long |
getGroupId() |
long |
getLogoId()
Returns the logo ID of this organization.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this organization.
|
long |
getMvccVersion()
Returns the mvcc version of this organization.
|
String |
getName()
Returns the name of this organization.
|
long |
getOrganizationId()
Returns the organization ID of this organization.
|
Organization |
getParentOrganization() |
long |
getParentOrganizationId()
Returns the parent organization ID of this organization.
|
String |
getParentOrganizationName() |
PortletPreferences |
getPreferences() |
long |
getPrimaryKey()
Returns the primary key of this organization.
|
int |
getPrivateLayoutsPageCount() |
int |
getPublicLayoutsPageCount() |
boolean |
getRecursable()
Returns the recursable of this organization.
|
long |
getRegionId()
Returns the region ID of this organization.
|
Set<String> |
getReminderQueryQuestions(Locale locale) |
Set<String> |
getReminderQueryQuestions(String languageId) |
StagedModelType |
getStagedModelType() |
long |
getStatusId()
Returns the status ID of this organization.
|
List<Organization> |
getSuborganizations() |
int |
getSuborganizationsSize() |
String |
getTreePath()
Returns the tree path of this organization.
|
String |
getType()
Returns the type of this organization.
|
int |
getTypeOrder() |
long |
getUserId()
Returns the user ID of this organization.
|
String |
getUserName()
Returns the user name of this organization.
|
String |
getUserUuid()
Returns the user uuid of this organization.
|
String |
getUuid()
Returns the uuid of this organization.
|
boolean |
hasPrivateLayouts() |
boolean |
hasPublicLayouts() |
boolean |
hasSuborganizations() |
boolean |
isParentable() |
boolean |
isRecursable()
Returns
true if this organization is recursable. |
boolean |
isRoot() |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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 |
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 |
setName(String name)
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 |
setStatusId(long statusId)
Sets the status ID of this organization.
|
void |
setTreePath(String treePath)
Sets the tree path of this organization.
|
void |
setType(String type)
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 |
setUuid(String uuid)
Sets the uuid of this organization.
|
void |
updateTreePath(String treePath) |
protected OrganizationWrapper |
wrap(Organization organization) |
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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
clone
getModelClass, getModelClassName
getPrimaryKeyObj
public OrganizationWrapper(Organization organization)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Organization>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Organization>
public String buildTreePath() throws PortalException
buildTreePath
in interface TreeModel
PortalException
public Address getAddress()
getAddress
in interface Organization
public List<Address> getAddresses()
getAddresses
in interface Organization
public long[] getAncestorOrganizationIds() throws PortalException
getAncestorOrganizationIds
in interface Organization
PortalException
public List<Organization> getAncestors() throws PortalException
getAncestors
in interface Organization
PortalException
public String[] getChildrenTypes()
getChildrenTypes
in interface Organization
public String getComments()
getComments
in interface OrganizationModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface OrganizationModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public long getCountryId()
getCountryId
in interface OrganizationModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface OrganizationModel
getCreateDate
in interface StagedModel
public List<Organization> getDescendants()
getDescendants
in interface Organization
public String getExternalReferenceCode()
getExternalReferenceCode
in interface OrganizationModel
public Group getGroup()
getGroup
in interface Organization
public long getGroupId()
getGroupId
in interface Organization
public long getLogoId()
getLogoId
in interface OrganizationModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface OrganizationModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface OrganizationModel
public String getName()
getName
in interface OrganizationModel
public long getOrganizationId()
getOrganizationId
in interface OrganizationModel
public Organization getParentOrganization() throws PortalException
getParentOrganization
in interface Organization
PortalException
public long getParentOrganizationId()
getParentOrganizationId
in interface OrganizationModel
public String getParentOrganizationName()
getParentOrganizationName
in interface Organization
public PortletPreferences getPreferences()
getPreferences
in interface Organization
public long getPrimaryKey()
getPrimaryKey
in interface OrganizationModel
public int getPrivateLayoutsPageCount()
getPrivateLayoutsPageCount
in interface Organization
public int getPublicLayoutsPageCount()
getPublicLayoutsPageCount
in interface Organization
public boolean getRecursable()
getRecursable
in interface OrganizationModel
public long getRegionId()
getRegionId
in interface OrganizationModel
public Set<String> getReminderQueryQuestions(Locale locale)
getReminderQueryQuestions
in interface Organization
public Set<String> getReminderQueryQuestions(String languageId)
getReminderQueryQuestions
in interface Organization
public long getStatusId()
getStatusId
in interface OrganizationModel
public List<Organization> getSuborganizations()
getSuborganizations
in interface Organization
public int getSuborganizationsSize()
getSuborganizationsSize
in interface Organization
public String getTreePath()
getTreePath
in interface OrganizationModel
getTreePath
in interface TreeModel
public String getType()
getType
in interface OrganizationModel
public int getTypeOrder()
getTypeOrder
in interface Organization
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface OrganizationModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface OrganizationModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface OrganizationModel
public String getUuid()
getUuid
in interface OrganizationModel
getUuid
in interface StagedModel
public boolean hasPrivateLayouts()
hasPrivateLayouts
in interface Organization
public boolean hasPublicLayouts()
hasPublicLayouts
in interface Organization
public boolean hasSuborganizations()
hasSuborganizations
in interface Organization
public boolean isParentable()
isParentable
in interface Organization
public boolean isRecursable()
true
if this organization is recursable.isRecursable
in interface OrganizationModel
true
if this organization is recursable; false
otherwisepublic boolean isRoot()
isRoot
in interface Organization
public void persist()
Organization
interface instead.persist
in interface PersistedModel
public void setComments(String comments)
setComments
in interface OrganizationModel
comments
- the comments of this organizationpublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface OrganizationModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this organizationpublic void setCountryId(long countryId)
setCountryId
in interface OrganizationModel
countryId
- the country ID of this organizationpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface OrganizationModel
setCreateDate
in interface StagedModel
createDate
- the create date of this organizationpublic void setExternalReferenceCode(String externalReferenceCode)
setExternalReferenceCode
in interface OrganizationModel
externalReferenceCode
- the external reference code of this organizationpublic void setLogoId(long logoId)
setLogoId
in interface OrganizationModel
logoId
- the logo ID of this organizationpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface OrganizationModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this organizationpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface OrganizationModel
mvccVersion
- the mvcc version of this organizationpublic void setName(String name)
setName
in interface OrganizationModel
name
- the name of this organizationpublic void setOrganizationId(long organizationId)
setOrganizationId
in interface OrganizationModel
organizationId
- the organization ID of this organizationpublic void setParentOrganizationId(long parentOrganizationId)
setParentOrganizationId
in interface OrganizationModel
parentOrganizationId
- the parent organization ID of this organizationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface OrganizationModel
primaryKey
- the primary key of this organizationpublic void setRecursable(boolean recursable)
setRecursable
in interface OrganizationModel
recursable
- the recursable of this organizationpublic void setRegionId(long regionId)
setRegionId
in interface OrganizationModel
regionId
- the region ID of this organizationpublic void setStatusId(long statusId)
setStatusId
in interface OrganizationModel
statusId
- the status ID of this organizationpublic void setTreePath(String treePath)
setTreePath
in interface OrganizationModel
treePath
- the tree path of this organizationpublic void setType(String type)
setType
in interface OrganizationModel
type
- the type of this organizationpublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface OrganizationModel
userId
- the user ID of this organizationpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface OrganizationModel
userName
- the user name of this organizationpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface OrganizationModel
userUuid
- the user uuid of this organizationpublic void setUuid(String uuid)
setUuid
in interface OrganizationModel
setUuid
in interface StagedModel
uuid
- the uuid of this organizationpublic void updateTreePath(String treePath)
updateTreePath
in interface TreeModel
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected OrganizationWrapper wrap(Organization organization)
wrap
in class BaseModelWrapper<Organization>