|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.OrganizationWrapper
@ProviderType public class OrganizationWrapper
This class is a wrapper for Organization
.
Organization
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portal.model.Organization |
---|
NAME_ACCESSOR |
Constructor Summary | |
---|---|
OrganizationWrapper(Organization organization)
|
Method Summary | |
---|---|
String |
buildTreePath()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Organization organization)
|
boolean |
equals(Object obj)
|
Address |
getAddress()
|
List<Address> |
getAddresses()
|
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()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getGroupId()
|
long |
getLogoId()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date 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. |
PortletPreferences |
getPreferences()
|
long |
getPrimaryKey()
Returns the primary key of this organization. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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()
|
int |
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. |
Organization |
getWrappedModel()
|
Organization |
getWrappedOrganization()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
hasPrivateLayouts()
|
boolean |
hasPublicLayouts()
|
boolean |
hasSuborganizations()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isParentable()
|
boolean |
isRecursable()
Returns true 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 |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this organization. |
void |
setName(String name)
Sets the name of this organization. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRecursable(boolean recursable)
Sets whether this organization is recursable. |
void |
setRegionId(long regionId)
Sets the region ID of this organization. |
void |
setStatusId(int 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. |
CacheModel<Organization> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Organization |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
Organization |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
void |
updateTreePath(String treePath)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrganizationWrapper(Organization organization)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Organization>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Organization>
public long getPrimaryKey()
getPrimaryKey
in interface OrganizationModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface OrganizationModel
primaryKey
- the primary key of this organizationpublic String getUuid()
getUuid
in interface OrganizationModel
getUuid
in interface StagedModel
public void setUuid(String uuid)
setUuid
in interface OrganizationModel
setUuid
in interface StagedModel
uuid
- the uuid of this organizationpublic long getOrganizationId()
getOrganizationId
in interface OrganizationModel
public void setOrganizationId(long organizationId)
setOrganizationId
in interface OrganizationModel
organizationId
- the organization ID of this organizationpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface OrganizationModel
getCompanyId
in interface StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface OrganizationModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this organizationpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface OrganizationModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface OrganizationModel
userId
- the user ID of this organizationpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface OrganizationModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface OrganizationModel
userUuid
- the user uuid of this organizationpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface OrganizationModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface OrganizationModel
userName
- the user name of this organizationpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface OrganizationModel
getCreateDate
in interface StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface OrganizationModel
setCreateDate
in interface StagedModel
createDate
- the create date of this organizationpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface OrganizationModel
getModifiedDate
in interface StagedModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface OrganizationModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this organizationpublic long getParentOrganizationId()
getParentOrganizationId
in interface OrganizationModel
public void setParentOrganizationId(long parentOrganizationId)
setParentOrganizationId
in interface OrganizationModel
parentOrganizationId
- the parent organization ID of this organizationpublic String getTreePath()
getTreePath
in interface OrganizationModel
getTreePath
in interface TreeModel
public void setTreePath(String treePath)
setTreePath
in interface OrganizationModel
treePath
- the tree path of this organizationpublic String getName()
getName
in interface OrganizationModel
public void setName(String name)
setName
in interface OrganizationModel
name
- the name of this organizationpublic String getType()
getType
in interface OrganizationModel
public void setType(String type)
setType
in interface OrganizationModel
type
- the type of this organizationpublic boolean getRecursable()
getRecursable
in interface OrganizationModel
public boolean isRecursable()
true
if this organization is recursable.
isRecursable
in interface OrganizationModel
true
if this organization is recursable; false
otherwisepublic void setRecursable(boolean recursable)
setRecursable
in interface OrganizationModel
recursable
- the recursable of this organizationpublic long getRegionId()
getRegionId
in interface OrganizationModel
public void setRegionId(long regionId)
setRegionId
in interface OrganizationModel
regionId
- the region ID of this organizationpublic long getCountryId()
getCountryId
in interface OrganizationModel
public void setCountryId(long countryId)
setCountryId
in interface OrganizationModel
countryId
- the country ID of this organizationpublic int getStatusId()
getStatusId
in interface OrganizationModel
public void setStatusId(int statusId)
setStatusId
in interface OrganizationModel
statusId
- the status ID of this organizationpublic String getComments()
getComments
in interface OrganizationModel
public void setComments(String comments)
setComments
in interface OrganizationModel
comments
- the comments of this organizationpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Organization>
isNew
in interface OrganizationModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Organization>
setNew
in interface OrganizationModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Organization>
isCachedModel
in interface OrganizationModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Organization>
setCachedModel
in interface OrganizationModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Organization>
isEscapedModel
in interface OrganizationModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Organization>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface OrganizationModel
getPrimaryKeyObj
in interface TreeModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Organization>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface OrganizationModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Organization>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface OrganizationModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<Organization>
setExpandoBridgeAttributes
in interface OrganizationModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<Organization>
setExpandoBridgeAttributes
in interface OrganizationModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Organization>
setExpandoBridgeAttributes
in interface OrganizationModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Organization>
clone
in interface OrganizationModel
clone
in interface StagedModel
clone
in class Object
public int compareTo(Organization organization)
compareTo
in interface OrganizationModel
compareTo
in interface Comparable<Organization>
public int hashCode()
hashCode
in interface OrganizationModel
hashCode
in class Object
public CacheModel<Organization> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Organization>
toCacheModel
in interface OrganizationModel
public Organization toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Organization>
toEscapedModel
in interface OrganizationModel
AutoEscapeBeanHandler
public Organization toUnescapedModel()
toUnescapedModel
in interface BaseModel<Organization>
toUnescapedModel
in interface OrganizationModel
public String toString()
toString
in interface OrganizationModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Organization>
toXmlString
in interface OrganizationModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String buildTreePath() throws PortalException, SystemException
buildTreePath
in interface TreeModel
PortalException
SystemException
public void updateTreePath(String treePath) throws SystemException
updateTreePath
in interface TreeModel
SystemException
public Address getAddress()
getAddress
in interface Organization
public List<Address> getAddresses() throws SystemException
getAddresses
in interface Organization
SystemException
public List<Organization> getAncestors() throws PortalException, SystemException
getAncestors
in interface Organization
PortalException
SystemException
public String[] getChildrenTypes()
getChildrenTypes
in interface Organization
public List<Organization> getDescendants() throws SystemException
getDescendants
in interface Organization
SystemException
public Group getGroup()
getGroup
in interface Organization
public long getGroupId()
getGroupId
in interface Organization
public long getLogoId()
getLogoId
in interface Organization
public Organization getParentOrganization() throws PortalException, SystemException
getParentOrganization
in interface Organization
PortalException
SystemException
public PortletPreferences getPreferences() throws SystemException
getPreferences
in interface Organization
SystemException
public int getPrivateLayoutsPageCount()
getPrivateLayoutsPageCount
in interface Organization
public int getPublicLayoutsPageCount()
getPublicLayoutsPageCount
in interface Organization
public Set<String> getReminderQueryQuestions(Locale locale) throws SystemException
getReminderQueryQuestions
in interface Organization
SystemException
public Set<String> getReminderQueryQuestions(String languageId) throws SystemException
getReminderQueryQuestions
in interface Organization
SystemException
public List<Organization> getSuborganizations() throws SystemException
getSuborganizations
in interface Organization
SystemException
public int getSuborganizationsSize() throws SystemException
getSuborganizationsSize
in interface Organization
SystemException
public int getTypeOrder()
getTypeOrder
in interface Organization
public boolean hasPrivateLayouts()
hasPrivateLayouts
in interface Organization
public boolean hasPublicLayouts()
hasPublicLayouts
in interface Organization
public boolean hasSuborganizations() throws SystemException
hasSuborganizations
in interface Organization
SystemException
public boolean isParentable()
isParentable
in interface Organization
public boolean isRoot()
isRoot
in interface Organization
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public Organization getWrappedOrganization()
getWrappedModel()
public Organization getWrappedModel()
getWrappedModel
in interface ModelWrapper<Organization>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Organization>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |