Liferay 6.1.2-ce-ga3

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.OrganizationBaseImpl
              extended by com.liferay.portal.model.impl.OrganizationImpl
All Implemented Interfaces:
BaseModel<Organization>, ClassedModel, Organization, OrganizationModel, PersistedModel, Serializable, Cloneable, Comparable<Organization>

public class OrganizationImpl
extends OrganizationBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, 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_COLUMNS, MAPPING_TABLE_GROUPS_ORGS_NAME, MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE, MAPPING_TABLE_USERS_ORGS_COLUMNS, MAPPING_TABLE_USERS_ORGS_NAME, MAPPING_TABLE_USERS_ORGS_SQL_CREATE, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTORGANIZATIONID_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Fields inherited from interface com.liferay.portal.model.Organization
NAME_ACCESSOR
 
Constructor Summary
OrganizationImpl()
           
 
Method Summary
 String buildTreePath()
           
protected  void buildTreePath(StringBundler sb, Organization organization)
           
 Address getAddress()
           
 List<Address> getAddresses()
           
 List<Organization> getAncestors()
           
 String[] getChildrenTypes()
           
static String[] getChildrenTypes(String type)
           
 List<Organization> getDescendants()
           
 Group getGroup()
           
 long getGroupId()
           
 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.OrganizationBaseImpl
persist
 
Methods inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
clone, compareTo, equals, getColumnBitmask, getComments, getCompanyId, getCountryId, getExpandoBridge, getModelAttributes, getModelClass, getModelClassName, getName, getOrganizationId, getOriginalCompanyId, getOriginalName, getOriginalParentOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStatusId, getTreePath, getType, hashCode, isRecursable, resetOriginalValues, setComments, setCompanyId, setCountryId, setExpandoBridgeAttributes, setModelAttributes, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setPrimaryKeyObj, setRecursable, setRegionId, setStatusId, setTreePath, setType, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStatusId, getTreePath, getType, hashCode, isCachedModel, isEscapedModel, isNew, isRecursable, setCachedModel, setComments, setCompanyId, setCountryId, setExpandoBridgeAttributes, setName, setNew, setOrganizationId, setParentOrganizationId, setPrimaryKey, setPrimaryKeyObj, setRecursable, setRegionId, setStatusId, setTreePath, setType, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

OrganizationImpl

public OrganizationImpl()
Method Detail

getChildrenTypes

public static String[] getChildrenTypes(String type)

getParentTypes

public static String[] getParentTypes(String type)

isParentable

public static boolean isParentable(String type)

isRootable

public static boolean isRootable(String type)

buildTreePath

public String buildTreePath()
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getAddress

public Address getAddress()

getAddresses

public List<Address> getAddresses()
                           throws SystemException
Throws:
SystemException

getAncestors

public List<Organization> getAncestors()
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getChildrenTypes

public String[] getChildrenTypes()

getDescendants

public List<Organization> getDescendants()
                                  throws SystemException
Throws:
SystemException

getGroup

public Group getGroup()

getGroupId

public long getGroupId()

getLogoId

public long getLogoId()

getParentOrganization

public Organization getParentOrganization()
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getPreferences

public PortletPreferences getPreferences()
                                  throws SystemException
Throws:
SystemException

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(Locale locale)
                                      throws SystemException
Throws:
SystemException

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(String languageId)
                                      throws SystemException
Throws:
SystemException

getSuborganizations

public List<Organization> getSuborganizations()
                                       throws SystemException
Throws:
SystemException

getSuborganizationsSize

public int getSuborganizationsSize()
                            throws SystemException
Throws:
SystemException

getTypeOrder

public int getTypeOrder()

hasPrivateLayouts

public boolean hasPrivateLayouts()

hasPublicLayouts

public boolean hasPublicLayouts()

hasSuborganizations

public boolean hasSuborganizations()
                            throws SystemException
Throws:
SystemException

isParentable

public boolean isParentable()

isRoot

public boolean isRoot()

buildTreePath

protected void buildTreePath(StringBundler sb,
                             Organization organization)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3