|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.OrganizationWrapper
public class OrganizationWrapper
This class is a wrapper for Organization.
Organization,
Serialized Form| Constructor Summary | |
|---|---|
OrganizationWrapper(Organization organization)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Organization organization)
|
Address |
getAddress()
|
List<Address> |
getAddresses()
|
List<Organization> |
getAncestors()
|
String[] |
getChildrenTypes()
|
String |
getComments()
Gets the comments of this organization. |
long |
getCompanyId()
Gets the company id of this organization. |
long |
getCountryId()
Gets the country id of this organization. |
List<Organization> |
getDescendants()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getLeftOrganizationId()
Gets the left organization id of this organization. |
long |
getLogoId()
|
String |
getName()
Gets the name of this organization. |
long |
getOrganizationId()
Gets the organization id of this organization. |
Organization |
getParentOrganization()
|
long |
getParentOrganizationId()
Gets the parent organization id of this organization. |
PortletPreferences |
getPreferences()
|
long |
getPrimaryKey()
Gets the primary key of this organization. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getPrivateLayoutsPageCount()
|
int |
getPublicLayoutsPageCount()
|
boolean |
getRecursable()
Gets the recursable of this organization. |
long |
getRegionId()
Gets the region id of this organization. |
Set<String> |
getReminderQueryQuestions(Locale locale)
|
Set<String> |
getReminderQueryQuestions(String languageId)
|
long |
getRightOrganizationId()
Gets the right organization id of this organization. |
int |
getStatusId()
Gets the status id of this organization. |
List<Organization> |
getSuborganizations()
|
int |
getSuborganizationsSize()
|
String |
getType()
Gets the type of this organization. |
int |
getTypeOrder()
|
Organization |
getWrappedOrganization()
|
int |
hashCode()
|
boolean |
hasPrivateLayouts()
|
boolean |
hasPublicLayouts()
|
boolean |
hasSuborganizations()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isParentable()
|
boolean |
isRecursable()
Determines whether this organization is recursable. |
boolean |
isRoot()
|
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setLeftOrganizationId(long leftOrganizationId)
Sets the left organization id 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 pk)
Sets the primary key of this organization |
void |
setRecursable(boolean recursable)
Sets whether this {$entity.humanName} is recursable. |
void |
setRegionId(long regionId)
Sets the region id of this organization. |
void |
setRightOrganizationId(long rightOrganizationId)
Sets the right organization id of this organization. |
void |
setStatusId(int statusId)
Sets the status id of this organization. |
void |
setType(String type)
Sets the type of this organization. |
Organization |
toEscapedModel()
Gets a copy of this organization as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrganizationWrapper(Organization organization)
| Method Detail |
|---|
public long getPrimaryKey()
OrganizationModel
getPrimaryKey in interface OrganizationModelpublic void setPrimaryKey(long pk)
OrganizationModel
setPrimaryKey in interface OrganizationModelpk - the primary key of this organizationpublic long getOrganizationId()
OrganizationModel
getOrganizationId in interface OrganizationModelpublic void setOrganizationId(long organizationId)
OrganizationModel
setOrganizationId in interface OrganizationModelorganizationId - the organization id of this organizationpublic long getCompanyId()
OrganizationModel
getCompanyId in interface OrganizationModelpublic void setCompanyId(long companyId)
OrganizationModel
setCompanyId in interface OrganizationModelcompanyId - the company id of this organizationpublic long getParentOrganizationId()
OrganizationModel
getParentOrganizationId in interface OrganizationModelpublic void setParentOrganizationId(long parentOrganizationId)
OrganizationModel
setParentOrganizationId in interface OrganizationModelparentOrganizationId - the parent organization id of this organizationpublic long getLeftOrganizationId()
OrganizationModel
getLeftOrganizationId in interface OrganizationModelpublic void setLeftOrganizationId(long leftOrganizationId)
OrganizationModel
setLeftOrganizationId in interface OrganizationModelleftOrganizationId - the left organization id of this organizationpublic long getRightOrganizationId()
OrganizationModel
getRightOrganizationId in interface OrganizationModelpublic void setRightOrganizationId(long rightOrganizationId)
OrganizationModel
setRightOrganizationId in interface OrganizationModelrightOrganizationId - the right organization id of this organizationpublic String getName()
OrganizationModel
getName in interface OrganizationModelpublic void setName(String name)
OrganizationModel
setName in interface OrganizationModelname - the name of this organizationpublic String getType()
OrganizationModel
getType in interface OrganizationModelpublic void setType(String type)
OrganizationModel
setType in interface OrganizationModeltype - the type of this organizationpublic boolean getRecursable()
OrganizationModel
getRecursable in interface OrganizationModelpublic boolean isRecursable()
OrganizationModel
isRecursable in interface OrganizationModelpublic void setRecursable(boolean recursable)
OrganizationModel
setRecursable in interface OrganizationModelrecursable - the recursable of this organizationpublic long getRegionId()
OrganizationModel
getRegionId in interface OrganizationModelpublic void setRegionId(long regionId)
OrganizationModel
setRegionId in interface OrganizationModelregionId - the region id of this organizationpublic long getCountryId()
OrganizationModel
getCountryId in interface OrganizationModelpublic void setCountryId(long countryId)
OrganizationModel
setCountryId in interface OrganizationModelcountryId - the country id of this organizationpublic int getStatusId()
OrganizationModel
getStatusId in interface OrganizationModelpublic void setStatusId(int statusId)
OrganizationModel
setStatusId in interface OrganizationModelstatusId - the status id of this organizationpublic String getComments()
OrganizationModel
getComments in interface OrganizationModelpublic void setComments(String comments)
OrganizationModel
setComments in interface OrganizationModelcomments - the comments of this organizationpublic Organization toEscapedModel()
OrganizationModelAutoEscapeBeanHandler.
toEscapedModel in interface OrganizationModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Organization>isNew in interface OrganizationModeltrue 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 OrganizationModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Organization>isCachedModel in interface OrganizationModeltrue 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 OrganizationModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Organization>isEscapedModel in interface OrganizationModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Organization>setEscapedModel in interface OrganizationModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Organization>getPrimaryKeyObj in interface OrganizationModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Organization>getExpandoBridge in interface OrganizationModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Organization>setExpandoBridgeAttributes in interface OrganizationModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Organization>clone in interface OrganizationModelclone in class Objectpublic int compareTo(Organization organization)
compareTo in interface OrganizationModelcompareTo in interface Comparable<Organization>public int hashCode()
hashCode in interface OrganizationModelhashCode in class Objectpublic String toString()
toString in interface OrganizationModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Organization>toXmlString in interface OrganizationModel
public List<Organization> getAncestors()
throws PortalException,
SystemException
getAncestors in interface OrganizationPortalException
SystemException
public Organization getParentOrganization()
throws PortalException,
SystemException
getParentOrganization in interface OrganizationPortalException
SystemExceptionpublic Address getAddress()
getAddress in interface Organization
public List<Address> getAddresses()
throws SystemException
getAddresses in interface OrganizationSystemExceptionpublic String[] getChildrenTypes()
getChildrenTypes in interface Organization
public List<Organization> getDescendants()
throws SystemException
getDescendants in interface OrganizationSystemExceptionpublic Group getGroup()
getGroup in interface Organizationpublic long getLogoId()
getLogoId in interface Organization
public PortletPreferences getPreferences()
throws SystemException
getPreferences in interface OrganizationSystemExceptionpublic int getPrivateLayoutsPageCount()
getPrivateLayoutsPageCount in interface Organizationpublic int getPublicLayoutsPageCount()
getPublicLayoutsPageCount in interface Organization
public Set<String> getReminderQueryQuestions(Locale locale)
throws SystemException
getReminderQueryQuestions in interface OrganizationSystemException
public Set<String> getReminderQueryQuestions(String languageId)
throws SystemException
getReminderQueryQuestions in interface OrganizationSystemException
public List<Organization> getSuborganizations()
throws SystemException
getSuborganizations in interface OrganizationSystemException
public int getSuborganizationsSize()
throws SystemException
getSuborganizationsSize in interface OrganizationSystemExceptionpublic int getTypeOrder()
getTypeOrder in interface Organizationpublic boolean hasPrivateLayouts()
hasPrivateLayouts in interface Organizationpublic boolean hasPublicLayouts()
hasPublicLayouts in interface Organization
public boolean hasSuborganizations()
throws SystemException
hasSuborganizations in interface OrganizationSystemExceptionpublic boolean isParentable()
isParentable in interface Organizationpublic boolean isRoot()
isRoot in interface Organizationpublic Organization getWrappedOrganization()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||