Liferay 6.0.5

com.liferay.portal.model.impl
Class OrganizationImpl

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

public class OrganizationImpl
extends OrganizationModelImpl
implements Organization

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, MAPPING_TABLE_GROUPS_ORGS_NAME, MAPPING_TABLE_USERS_ORGS_NAME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
OrganizationImpl()
           
 
Method Summary
 Address getAddress()
           
 List<Address> getAddresses()
           
 List<Organization> getAncestors()
           
 String[] getChildrenTypes()
           
static String[] getChildrenTypes(String type)
           
 List<Organization> getDescendants()
           
 Group getGroup()
           
 long getLogoId()
           
 Organization getParentOrganization()
           
static String[] getParentTypes(String type)
           
 PortletPreferences getPreferences()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 Set<String> getReminderQueryQuestions(Locale locale)
           
 Set<String> getReminderQueryQuestions(String languageId)
           
 List<Organization> getSuborganizations()
           
 int getSuborganizationsSize()
           
 int getTypeOrder()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasSuborganizations()
           
 boolean isParentable()
           
static boolean isParentable(String type)
           
 boolean isRoot()
           
static boolean isRootable(String type)
           
 
Methods inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
clone, compareTo, equals, getComments, getCompanyId, getCountryId, getExpandoBridge, getLeftOrganizationId, getName, getOrganizationId, getOriginalCompanyId, getOriginalName, getOriginalParentOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getRightOrganizationId, getStatusId, getType, hashCode, isRecursable, setComments, setCompanyId, setCountryId, setExpandoBridgeAttributes, setLeftOrganizationId, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setRightOrganizationId, setStatusId, setType, 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
clone, compareTo, getComments, getCompanyId, getCountryId, getExpandoBridge, getLeftOrganizationId, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getRightOrganizationId, getStatusId, getType, hashCode, isCachedModel, isEscapedModel, isNew, isRecursable, setCachedModel, setComments, setCompanyId, setCountryId, setEscapedModel, setExpandoBridgeAttributes, setLeftOrganizationId, setName, setNew, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setRightOrganizationId, setStatusId, setType, toEscapedModel, toString, toXmlString
 

Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

getAncestors

public List<Organization> getAncestors()
                                throws PortalException,
                                       SystemException
Specified by:
getAncestors in interface Organization
Throws:
PortalException
SystemException

getChildrenTypes

public static String[] getChildrenTypes(String type)

getParentOrganization

public Organization getParentOrganization()
                                   throws PortalException,
                                          SystemException
Specified by:
getParentOrganization in interface Organization
Throws:
PortalException
SystemException

getParentTypes

public static String[] getParentTypes(String type)

isParentable

public static boolean isParentable(String type)

isRootable

public static boolean isRootable(String type)

getAddress

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

getAddresses

public List<Address> getAddresses()
                           throws SystemException
Specified by:
getAddresses in interface Organization
Throws:
SystemException

getChildrenTypes

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

getDescendants

public List<Organization> getDescendants()
                                  throws SystemException
Specified by:
getDescendants in interface Organization
Throws:
SystemException

getGroup

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

getLogoId

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

getPreferences

public PortletPreferences getPreferences()
                                  throws SystemException
Specified by:
getPreferences in interface Organization
Throws:
SystemException

getPrivateLayoutsPageCount

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

getPublicLayoutsPageCount

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

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(Locale locale)
                                      throws SystemException
Specified by:
getReminderQueryQuestions in interface Organization
Throws:
SystemException

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(String languageId)
                                      throws SystemException
Specified by:
getReminderQueryQuestions in interface Organization
Throws:
SystemException

getSuborganizations

public List<Organization> getSuborganizations()
                                       throws SystemException
Specified by:
getSuborganizations in interface Organization
Throws:
SystemException

getSuborganizationsSize

public int getSuborganizationsSize()
                            throws SystemException
Specified by:
getSuborganizationsSize in interface Organization
Throws:
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 SystemException
Specified by:
hasSuborganizations in interface Organization
Throws:
SystemException

isParentable

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

isRoot

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

Liferay 6.0.5