Package com.liferay.portal.model.impl
Class OrganizationImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Organization>
com.liferay.portal.model.impl.OrganizationModelImpl
com.liferay.portal.model.impl.OrganizationBaseImpl
com.liferay.portal.model.impl.OrganizationImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Organization>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Organization>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.Organization
,com.liferay.portal.kernel.model.OrganizationModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TreeModel
,Serializable
,Cloneable
,Comparable<com.liferay.portal.kernel.model.Organization>
- Author:
- Brian Wing Shun Chan, Jorge Ferrer, Marco Leo
- See Also:
-
Field Summary
Fields inherited from class com.liferay.portal.model.impl.OrganizationModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, EXTERNALREFERENCECODE_COLUMN_BITMASK, 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, ORDER_BY_SQL_INLINE_DISTINCT, 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.kernel.model.Organization
NAME_ACCESSOR, ORGANIZATION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.Address
List<com.liferay.portal.kernel.model.Address>
long[]
List<com.liferay.portal.kernel.model.Organization>
String[]
static String[]
getChildrenTypes
(String type) List<com.liferay.portal.kernel.model.Organization>
com.liferay.portal.kernel.model.Group
getGroup()
long
com.liferay.portal.kernel.model.Organization
static String[]
getParentTypes
(String type) int
int
getReminderQueryQuestions
(String languageId) getReminderQueryQuestions
(Locale locale) List<com.liferay.portal.kernel.model.Organization>
int
int
boolean
boolean
boolean
boolean
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, cloneWithOriginalValues, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, getComments, getCompanyId, getCountryId, getCreateDate, getCtCollectionId, getExpandoBridge, getExternalReferenceCode, getLogoId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getName, getOrganizationId, getOriginalCompanyId, getOriginalExternalReferenceCode, getOriginalName, getOriginalOrganizationId, getOriginalParentOrganizationId, getOriginalTreePath, getOriginalUuid, getParentOrganizationId, getPrimaryKey, getPrimaryKeyObj, getRecursable, getRegionId, getStagedModelType, getStatusListTypeId, getTreePath, getType, getUserId, getUserName, getUserUuid, getUuid, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, isRecursable, resetOriginalValues, setComments, setCompanyId, setCountryId, setCreateDate, setCtCollectionId, setExpandoBridgeAttributes, setExternalReferenceCode, setLogoId, setModelAttributes, setModifiedDate, setMvccVersion, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setPrimaryKeyObj, setRecursable, setRegionId, setStatusListTypeId, setTreePath, setType, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString
Methods inherited from class com.liferay.portal.kernel.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.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.OrganizationModel
cloneWithOriginalValues, getComments, getCompanyId, getCountryId, getCreateDate, getCtCollectionId, getExternalReferenceCode, getLogoId, getModifiedDate, getMvccVersion, getName, getOrganizationId, getParentOrganizationId, getPrimaryKey, getRecursable, getRegionId, getStatusListTypeId, getTreePath, getType, getUserId, getUserName, getUserUuid, getUuid, isRecursable, setComments, setCompanyId, setCountryId, setCreateDate, setCtCollectionId, setExternalReferenceCode, setLogoId, setModifiedDate, setMvccVersion, setName, setOrganizationId, setParentOrganizationId, setPrimaryKey, setRecursable, setRegionId, setStatusListTypeId, setTreePath, setType, setUserId, setUserName, setUserUuid, setUuid, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj, getTreePath
-
Constructor Details
-
OrganizationImpl
public OrganizationImpl()
-
-
Method Details
-
getChildrenTypes
-
getParentTypes
-
isParentable
-
isRootable
-
getAddress
public com.liferay.portal.kernel.model.Address getAddress() -
getAddresses
-
getAncestorOrganizationIds
public long[] getAncestorOrganizationIds() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAncestors
public List<com.liferay.portal.kernel.model.Organization> getAncestors() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getChildrenTypes
-
getDescendants
-
getGroup
public com.liferay.portal.kernel.model.Group getGroup() -
getGroupId
public long getGroupId() -
getLogoURL
-
getParentOrganization
public com.liferay.portal.kernel.model.Organization getParentOrganization() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getParentOrganizationName
-
getPreferences
-
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount() -
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount() -
getReminderQueryQuestions
-
getReminderQueryQuestions
-
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()
-