|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getCompanyId()
|
long |
getCountryId()
|
List<Organization> |
getDescendants()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getLeftOrganizationId()
|
long |
getLogoId()
|
String |
getName()
|
long |
getOrganizationId()
|
Organization |
getParentOrganization()
|
long |
getParentOrganizationId()
|
PortletPreferences |
getPreferences()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
int |
getPrivateLayoutsPageCount()
|
int |
getPublicLayoutsPageCount()
|
boolean |
getRecursable()
|
long |
getRegionId()
|
Set<String> |
getReminderQueryQuestions(Locale locale)
|
Set<String> |
getReminderQueryQuestions(String languageId)
|
long |
getRightOrganizationId()
|
int |
getStatusId()
|
List<Organization> |
getSuborganizations()
|
int |
getSuborganizationsSize()
|
String |
getType()
|
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 has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isParentable()
|
boolean |
isRecursable()
|
boolean |
isRoot()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setComments(String comments)
|
void |
setCompanyId(long companyId)
|
void |
setCountryId(long countryId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOrganizationId(long organizationId)
|
void |
setParentOrganizationId(long parentOrganizationId)
|
void |
setPrimaryKey(long pk)
|
void |
setRecursable(boolean recursable)
|
void |
setRegionId(long regionId)
|
void |
setRightOrganizationId(long rightOrganizationId)
|
void |
setStatusId(int statusId)
|
void |
setType(String type)
|
Organization |
toEscapedModel()
|
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()
getPrimaryKey in interface OrganizationModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface OrganizationModelpublic long getOrganizationId()
getOrganizationId in interface OrganizationModelpublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrganizationModelpublic long getCompanyId()
getCompanyId in interface OrganizationModelpublic void setCompanyId(long companyId)
setCompanyId in interface OrganizationModelpublic long getParentOrganizationId()
getParentOrganizationId in interface OrganizationModelpublic void setParentOrganizationId(long parentOrganizationId)
setParentOrganizationId in interface OrganizationModelpublic long getLeftOrganizationId()
getLeftOrganizationId in interface OrganizationModelpublic void setLeftOrganizationId(long leftOrganizationId)
setLeftOrganizationId in interface OrganizationModelpublic long getRightOrganizationId()
getRightOrganizationId in interface OrganizationModelpublic void setRightOrganizationId(long rightOrganizationId)
setRightOrganizationId in interface OrganizationModelpublic String getName()
getName in interface OrganizationModelpublic void setName(String name)
setName in interface OrganizationModelpublic String getType()
getType in interface OrganizationModelpublic void setType(String type)
setType in interface OrganizationModelpublic boolean getRecursable()
getRecursable in interface OrganizationModelpublic boolean isRecursable()
isRecursable in interface OrganizationModelpublic void setRecursable(boolean recursable)
setRecursable in interface OrganizationModelpublic long getRegionId()
getRegionId in interface OrganizationModelpublic void setRegionId(long regionId)
setRegionId in interface OrganizationModelpublic long getCountryId()
getCountryId in interface OrganizationModelpublic void setCountryId(long countryId)
setCountryId in interface OrganizationModelpublic int getStatusId()
getStatusId in interface OrganizationModelpublic void setStatusId(int statusId)
setStatusId in interface OrganizationModelpublic String getComments()
getComments in interface OrganizationModelpublic void setComments(String comments)
setComments in interface OrganizationModelpublic Organization toEscapedModel()
toEscapedModel in interface OrganizationModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||