com.liferay.portal.model.impl
Class OrganizationImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Organization>
com.liferay.portal.model.impl.OrganizationModelImpl
com.liferay.portal.model.impl.OrganizationBaseImpl
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
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 |
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 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 |
OrganizationImpl
public OrganizationImpl()
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