001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.util.Accessor;
020
021
030 @ProviderType
031 public interface Organization extends OrganizationModel, PersistedModel,
032 TreeModel {
033
038 public static final Accessor<Organization, String> NAME_ACCESSOR = new Accessor<Organization, String>() {
039 @Override
040 public String get(Organization organization) {
041 return organization.getName();
042 }
043 };
044
045 public com.liferay.portal.model.Address getAddress();
046
047 public java.util.List<com.liferay.portal.model.Address> getAddresses()
048 throws com.liferay.portal.kernel.exception.SystemException;
049
050 public java.util.List<com.liferay.portal.model.Organization> getAncestors()
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException;
053
054 public java.lang.String[] getChildrenTypes();
055
056 public java.util.List<com.liferay.portal.model.Organization> getDescendants()
057 throws com.liferay.portal.kernel.exception.SystemException;
058
059 public com.liferay.portal.model.Group getGroup();
060
061 public long getGroupId();
062
063 public long getLogoId();
064
065 public com.liferay.portal.model.Organization getParentOrganization()
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException;
068
069 public javax.portlet.PortletPreferences getPreferences()
070 throws com.liferay.portal.kernel.exception.SystemException;
071
072 public int getPrivateLayoutsPageCount();
073
074 public int getPublicLayoutsPageCount();
075
076 public java.util.Set<java.lang.String> getReminderQueryQuestions(
077 java.util.Locale locale)
078 throws com.liferay.portal.kernel.exception.SystemException;
079
080 public java.util.Set<java.lang.String> getReminderQueryQuestions(
081 java.lang.String languageId)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084 public java.util.List<com.liferay.portal.model.Organization> getSuborganizations()
085 throws com.liferay.portal.kernel.exception.SystemException;
086
087 public int getSuborganizationsSize()
088 throws com.liferay.portal.kernel.exception.SystemException;
089
090 public int getTypeOrder();
091
092 public boolean hasPrivateLayouts();
093
094 public boolean hasPublicLayouts();
095
096 public boolean hasSuborganizations()
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public boolean isParentable();
100
101 public boolean isRoot();
102 }