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.OrganizationImpl
- All Implemented Interfaces:
- BaseModel<Organization>, Organization, OrganizationModel, Serializable, Cloneable, Comparable<Organization>
public class OrganizationImpl
- extends OrganizationModelImpl
- implements Organization
- See Also:
- Serialized Form
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 |
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 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 |
OrganizationImpl
public OrganizationImpl()
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