Liferay 7.0-ce-b4

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:
AuditedModel, BaseModel<Organization>, ClassedModel, MVCCModel, Organization, OrganizationModel, PersistedModel, ShardedModel, StagedAuditedModel, StagedModel, TreeModel, 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, ORGANIZATIONID_COLUMN_BITMASK, PARENTORGANIZATIONID_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TREEPATH_COLUMN_BITMASK, TX_MANAGER, UUID_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.portal.model.Organization
NAME_ACCESSOR, ORGANIZATION_ID_ACCESSOR
 
Constructor Summary
OrganizationImpl()
           
 
Method Summary
 Address getAddress()
           
 List<Address> getAddresses()
           
 long[] getAncestorOrganizationIds()
           
 List<Organization> getAncestors()
           
 String[] getChildrenTypes()
           
static String[] getChildrenTypes(String type)
           
 List<Organization> getDescendants()
           
 Group getGroup()
           
 long getGroupId()
           
 Organization getParentOrganization()
           
 String getParentOrganizationName()
           
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
buildTreePath, persist, updateTreePath
 
Methods inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
clone, compareTo, equals, getColumnBitmask, getComments, getCompanyId, getCountryId, getCreateDate, getExpandoBridge, getLogoId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getName, getOrganizationId, getOriginalCompanyId, getOriginalName, getOriginalOrganizationId, getOriginalParentOrganizationId, getOriginalTreePath, getOriginalUuid, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStagedModelType, getStatusId, getTreePath, getType, getUserId, getUserName, getUserUuid, getUuid, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, isRecursable, resetOriginalValues, setComments, setCompanyId, setCountryId, setCreateDate, setExpandoBridgeAttributes, setLogoId, setModelAttributes, setModifiedDate, setMvccVersion, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setPrimaryKeyObj, setRecursable, setRegionId, setStatusId, setTreePath, setType, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
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, getCreateDate, getExpandoBridge, getLogoId, getModifiedDate, getMvccVersion, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStatusId, getTreePath, getType, getUserId, getUserName, getUserUuid, getUuid, hashCode, isCachedModel, isEscapedModel, isNew, isRecursable, setCachedModel, setComments, setCompanyId, setCountryId, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setLogoId, setModifiedDate, setMvccVersion, setName, setNew, setOrganizationId, setParentOrganizationId, setPrimaryKey, setPrimaryKeyObj, setRecursable, setRegionId, setStatusId, setTreePath, setType, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.TreeModel
getPrimaryKeyObj, getTreePath
 

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)

getAddress

public Address getAddress()

getAddresses

public List<Address> getAddresses()

getAncestorOrganizationIds

public long[] getAncestorOrganizationIds()
                                  throws PortalException
Throws:
PortalException

getAncestors

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

getChildrenTypes

public String[] getChildrenTypes()

getDescendants

public List<Organization> getDescendants()

getGroup

public Group getGroup()

getGroupId

public long getGroupId()

getParentOrganization

public Organization getParentOrganization()
                                   throws PortalException
Throws:
PortalException

getParentOrganizationName

public String getParentOrganizationName()

getPreferences

public PortletPreferences getPreferences()

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(Locale locale)

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions(String languageId)

getSuborganizations

public List<Organization> getSuborganizations()

getSuborganizationsSize

public int getSuborganizationsSize()

getTypeOrder

public int getTypeOrder()

hasPrivateLayouts

public boolean hasPrivateLayouts()

hasPublicLayouts

public boolean hasPublicLayouts()

hasSuborganizations

public boolean hasSuborganizations()

isParentable

public boolean isParentable()

isRoot

public boolean isRoot()

Liferay 7.0-ce-b4