com.liferay.portal.model.impl
Class OrganizationImpl

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

public class OrganizationImpl
extends OrganizationModelImpl
implements com.liferay.portal.model.Organization

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_GROUPS_ORGS, FINDER_CACHE_ENABLED_USERS_ORGS, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
OrganizationImpl()
           
 
Method Summary
 com.liferay.portal.model.Address getAddress()
           
 java.util.List<com.liferay.portal.model.Address> getAddresses()
           
 com.liferay.portal.model.Group getGroup()
           
 com.liferay.portal.model.Organization getParentOrganization()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 int getType()
           
 int getType(boolean location)
           
 java.lang.String getTypeLabel()
           
 java.lang.String getTypeLabel(int type)
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean isRegular()
           
 boolean isRoot()
           
 
Methods inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
clone, compareTo, equals, getComments, getCompanyId, getCountryId, getLeftOrganizationId, getLocation, getName, getOrganizationId, getOriginalCompanyId, getOriginalName, getOriginalParentOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getRightOrganizationId, getStatusId, hashCode, isLocation, isRecursable, setComments, setCompanyId, setCountryId, setLeftOrganizationId, setLocation, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setRightOrganizationId, setStatusId, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.OrganizationModel
getComments, getCompanyId, getCountryId, getLeftOrganizationId, getLocation, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getRecursable, getRegionId, getRightOrganizationId, getStatusId, isLocation, isRecursable, setComments, setCompanyId, setCountryId, setLeftOrganizationId, setLocation, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setRightOrganizationId, setStatusId, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

getAddress

public com.liferay.portal.model.Address getAddress()
Specified by:
getAddress in interface com.liferay.portal.model.Organization

getAddresses

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

getGroup

public com.liferay.portal.model.Group getGroup()
Specified by:
getGroup in interface com.liferay.portal.model.Organization

getParentOrganization

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

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface com.liferay.portal.model.Organization

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface com.liferay.portal.model.Organization

getType

public int getType()
Specified by:
getType in interface com.liferay.portal.model.Organization

getType

public int getType(boolean location)
Specified by:
getType in interface com.liferay.portal.model.Organization

getTypeLabel

public java.lang.String getTypeLabel()
Specified by:
getTypeLabel in interface com.liferay.portal.model.Organization

getTypeLabel

public java.lang.String getTypeLabel(int type)
Specified by:
getTypeLabel in interface com.liferay.portal.model.Organization

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface com.liferay.portal.model.Organization

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface com.liferay.portal.model.Organization

isRegular

public boolean isRegular()
Specified by:
isRegular in interface com.liferay.portal.model.Organization

isRoot

public boolean isRoot()
Specified by:
isRoot in interface com.liferay.portal.model.Organization