|
Liferay 6.0-ee | |||||||||
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 FormConstructor 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 entity 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()
getPrimaryKey
in interface OrganizationModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface OrganizationModel
pk
- the primary key 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 OrganizationModel
public void setCompanyId(long companyId)
setCompanyId
in interface OrganizationModel
companyId
- the company id 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 long getLeftOrganizationId()
getLeftOrganizationId
in interface OrganizationModel
public void setLeftOrganizationId(long leftOrganizationId)
setLeftOrganizationId
in interface OrganizationModel
leftOrganizationId
- the left organization id of this organizationpublic long getRightOrganizationId()
getRightOrganizationId
in interface OrganizationModel
public void setRightOrganizationId(long rightOrganizationId)
setRightOrganizationId
in interface OrganizationModel
rightOrganizationId
- the right organization id 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()
isRecursable
in interface OrganizationModel
public 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
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
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
isEscapedModel
in interface BaseModel<Organization>
isEscapedModel
in interface OrganizationModel
true
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 OrganizationModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Organization>
getPrimaryKeyObj
in interface OrganizationModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Organization>
getExpandoBridge
in interface OrganizationModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Organization>
setExpandoBridgeAttributes
in interface OrganizationModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<Organization>
clone
in interface OrganizationModel
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 Organization toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Organization>
toEscapedModel
in interface OrganizationModel
AutoEscapeBeanHandler
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 List<Organization> getAncestors() throws PortalException, SystemException
getAncestors
in interface Organization
PortalException
SystemException
public Organization getParentOrganization() throws PortalException, SystemException
getParentOrganization
in interface Organization
PortalException
SystemException
public Address getAddress()
getAddress
in interface Organization
public List<Address> getAddresses() throws SystemException
getAddresses
in interface Organization
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 getLogoId()
getLogoId
in interface Organization
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 Organization getWrappedOrganization()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |