com.liferay.portal.model.impl
Class OrganizationImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      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.OrganizationModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

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

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
CACHE_ENABLED, CACHE_ENABLED_GROUPS_ORGS, CACHE_ENABLED_USERS_ORGS, DATA_SOURCE, 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()
           
 java.util.List<com.liferay.portal.model.Organization> getAncestors()
           
 java.lang.String[] getChildrenTypes()
           
static java.lang.String[] getChildrenTypes(java.lang.String type)
           
 com.liferay.portal.model.Group getGroup()
           
 com.liferay.portal.model.Organization getParentOrganization()
           
static java.lang.String[] getParentTypes(java.lang.String type)
           
 javax.portlet.PortletPreferences getPreferences()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 java.util.Set<java.lang.String> getReminderQueryQuestions(java.util.Locale locale)
           
 java.util.Set<java.lang.String> getReminderQueryQuestions(java.lang.String languageId)
           
 java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
           
 int getSuborganizationsSize()
           
 int getTypeOrder()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasSuborganizations()
           
 boolean isParentable()
           
static boolean isParentable(java.lang.String type)
           
 boolean isRoot()
           
static boolean isRootable(java.lang.String type)
           
 
Methods inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
clone, compareTo, equals, getComments, getCompanyId, getCountryId, getExpandoBridge, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStatusId, getType, hashCode, isRecursable, setComments, setCompanyId, setCountryId, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setStatusId, setType, toEscapedModel, toModel, toModels
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.OrganizationModel
getComments, getCompanyId, getCountryId, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getRecursable, getRegionId, getStatusId, getType, isRecursable, setComments, setCompanyId, setCountryId, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setStatusId, setType, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

getAncestors

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

getChildrenTypes

public static java.lang.String[] getChildrenTypes(java.lang.String type)

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

getParentTypes

public static java.lang.String[] getParentTypes(java.lang.String type)

isParentable

public static boolean isParentable(java.lang.String type)

isRootable

public static boolean isRootable(java.lang.String type)

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

getChildrenTypes

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

getGroup

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

getPreferences

public javax.portlet.PortletPreferences getPreferences()
                                                throws com.liferay.portal.SystemException
Specified by:
getPreferences in interface com.liferay.portal.model.Organization
Throws:
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

getReminderQueryQuestions

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

getReminderQueryQuestions

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

getSuborganizations

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

getSuborganizationsSize

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

getTypeOrder

public int getTypeOrder()
Specified by:
getTypeOrder 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

hasSuborganizations

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

isParentable

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

isRoot

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