com.liferay.portal.model
Class OrganizationWrapper

java.lang.Object
  extended by com.liferay.portal.model.OrganizationWrapper
All Implemented Interfaces:
BaseModel<Organization>, Organization, OrganizationModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Organization>

public class OrganizationWrapper
extends java.lang.Object
implements Organization

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for Organization.

Author:
Brian Wing Shun Chan
See Also:
Organization, Serialized Form
Generated:

Constructor Summary
OrganizationWrapper(Organization organization)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(Organization organization)
           
 Address getAddress()
           
 java.util.List<Address> getAddresses()
           
 java.util.List<Organization> getAncestors()
           
 java.lang.String[] getChildrenTypes()
           
 java.lang.String getComments()
           
 long getCompanyId()
           
 long getCountryId()
           
 java.util.List<Organization> getDescendants()
           
 ExpandoBridge getExpandoBridge()
           
 Group getGroup()
           
 long getLeftOrganizationId()
           
 long getLogoId()
           
 java.lang.String getName()
           
 long getOrganizationId()
           
 Organization getParentOrganization()
           
 long getParentOrganizationId()
           
 javax.portlet.PortletPreferences getPreferences()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 boolean getRecursable()
           
 long getRegionId()
           
 java.util.Set<java.lang.String> getReminderQueryQuestions(java.util.Locale locale)
           
 java.util.Set<java.lang.String> getReminderQueryQuestions(java.lang.String languageId)
           
 long getRightOrganizationId()
           
 int getStatusId()
           
 java.util.List<Organization> getSuborganizations()
           
 int getSuborganizationsSize()
           
 java.lang.String getType()
           
 int getTypeOrder()
           
 Organization getWrappedOrganization()
           
 int hashCode()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasSuborganizations()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isParentable()
           
 boolean isRecursable()
           
 boolean isRoot()
           
 void setCachedModel(boolean cachedModel)
           
 void setComments(java.lang.String comments)
           
 void setCompanyId(long companyId)
           
 void setCountryId(long countryId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setLeftOrganizationId(long leftOrganizationId)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 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(java.lang.String type)
           
 Organization toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrganizationWrapper

public OrganizationWrapper(Organization organization)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface OrganizationModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface OrganizationModel

getOrganizationId

public long getOrganizationId()
Specified by:
getOrganizationId in interface OrganizationModel

setOrganizationId

public void setOrganizationId(long organizationId)
Specified by:
setOrganizationId in interface OrganizationModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface OrganizationModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface OrganizationModel

getParentOrganizationId

public long getParentOrganizationId()
Specified by:
getParentOrganizationId in interface OrganizationModel

setParentOrganizationId

public void setParentOrganizationId(long parentOrganizationId)
Specified by:
setParentOrganizationId in interface OrganizationModel

getLeftOrganizationId

public long getLeftOrganizationId()
Specified by:
getLeftOrganizationId in interface OrganizationModel

setLeftOrganizationId

public void setLeftOrganizationId(long leftOrganizationId)
Specified by:
setLeftOrganizationId in interface OrganizationModel

getRightOrganizationId

public long getRightOrganizationId()
Specified by:
getRightOrganizationId in interface OrganizationModel

setRightOrganizationId

public void setRightOrganizationId(long rightOrganizationId)
Specified by:
setRightOrganizationId in interface OrganizationModel

getName

public java.lang.String getName()
Specified by:
getName in interface OrganizationModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface OrganizationModel

getType

public java.lang.String getType()
Specified by:
getType in interface OrganizationModel

setType

public void setType(java.lang.String type)
Specified by:
setType in interface OrganizationModel

getRecursable

public boolean getRecursable()
Specified by:
getRecursable in interface OrganizationModel

isRecursable

public boolean isRecursable()
Specified by:
isRecursable in interface OrganizationModel

setRecursable

public void setRecursable(boolean recursable)
Specified by:
setRecursable in interface OrganizationModel

getRegionId

public long getRegionId()
Specified by:
getRegionId in interface OrganizationModel

setRegionId

public void setRegionId(long regionId)
Specified by:
setRegionId in interface OrganizationModel

getCountryId

public long getCountryId()
Specified by:
getCountryId in interface OrganizationModel

setCountryId

public void setCountryId(long countryId)
Specified by:
setCountryId in interface OrganizationModel

getStatusId

public int getStatusId()
Specified by:
getStatusId in interface OrganizationModel

setStatusId

public void setStatusId(int statusId)
Specified by:
setStatusId in interface OrganizationModel

getComments

public java.lang.String getComments()
Specified by:
getComments in interface OrganizationModel

setComments

public void setComments(java.lang.String comments)
Specified by:
setComments in interface OrganizationModel

toEscapedModel

public Organization toEscapedModel()
Specified by:
toEscapedModel in interface OrganizationModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<Organization>
Specified by:
isNew in interface OrganizationModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<Organization>
Specified by:
setNew in interface OrganizationModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<Organization>
Specified by:
isCachedModel in interface OrganizationModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<Organization>
Specified by:
setCachedModel in interface OrganizationModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<Organization>
Specified by:
isEscapedModel in interface OrganizationModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<Organization>
Specified by:
setEscapedModel in interface OrganizationModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<Organization>
Specified by:
getPrimaryKeyObj in interface OrganizationModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<Organization>
Specified by:
getExpandoBridge in interface OrganizationModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Organization>
Specified by:
setExpandoBridgeAttributes in interface OrganizationModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<Organization>
Specified by:
clone in interface OrganizationModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(Organization organization)
Specified by:
compareTo in interface OrganizationModel
Specified by:
compareTo in interface java.lang.Comparable<Organization>

hashCode

public int hashCode()
Specified by:
hashCode in interface OrganizationModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface OrganizationModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<Organization>
Specified by:
toXmlString in interface OrganizationModel

getAncestors

public java.util.List<Organization> getAncestors()
                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getAncestors in interface Organization
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getParentOrganization

public Organization getParentOrganization()
                                   throws com.liferay.portal.kernel.exception.PortalException,
                                          com.liferay.portal.kernel.exception.SystemException
Specified by:
getParentOrganization in interface Organization
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAddress

public Address getAddress()
Specified by:
getAddress in interface Organization

getAddresses

public java.util.List<Address> getAddresses()
                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getAddresses in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getChildrenTypes

public java.lang.String[] getChildrenTypes()
Specified by:
getChildrenTypes in interface Organization

getDescendants

public java.util.List<Organization> getDescendants()
                                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getDescendants in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getGroup

public Group getGroup()
Specified by:
getGroup in interface Organization

getLogoId

public long getLogoId()
Specified by:
getLogoId in interface Organization

getPreferences

public javax.portlet.PortletPreferences getPreferences()
                                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPreferences in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface Organization

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface Organization

getReminderQueryQuestions

public java.util.Set<java.lang.String> getReminderQueryQuestions(java.util.Locale locale)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getReminderQueryQuestions in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getReminderQueryQuestions

public java.util.Set<java.lang.String> getReminderQueryQuestions(java.lang.String languageId)
                                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getReminderQueryQuestions in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getSuborganizations

public java.util.List<Organization> getSuborganizations()
                                                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getSuborganizations in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getSuborganizationsSize

public int getSuborganizationsSize()
                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getSuborganizationsSize in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

getTypeOrder

public int getTypeOrder()
Specified by:
getTypeOrder in interface Organization

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface Organization

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface Organization

hasSuborganizations

public boolean hasSuborganizations()
                            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
hasSuborganizations in interface Organization
Throws:
com.liferay.portal.kernel.exception.SystemException

isParentable

public boolean isParentable()
Specified by:
isParentable in interface Organization

isRoot

public boolean isRoot()
Specified by:
isRoot in interface Organization

getWrappedOrganization

public Organization getWrappedOrganization()