All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.kernel.model.Organization Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.kernel.model;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.annotation.ImplementationClassName;
import com.liferay.portal.kernel.util.Accessor;

/**
 * The extended model interface for the Organization service. Represents a row in the "Organization_" database table, with each column mapped to a property of this class.
 *
 * @author Brian Wing Shun Chan
 * @see OrganizationModel
 * @generated
 */
@ImplementationClassName("com.liferay.portal.model.impl.OrganizationImpl")
@ProviderType
public interface Organization
	extends OrganizationModel, PersistedModel, TreeModel {

	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify this interface directly. Add methods to com.liferay.portal.model.impl.OrganizationImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
	 */
	public static final Accessor ORGANIZATION_ID_ACCESSOR =
		new Accessor() {

			@Override
			public Long get(Organization organization) {
				return organization.getOrganizationId();
			}

			@Override
			public Class getAttributeClass() {
				return Long.class;
			}

			@Override
			public Class getTypeClass() {
				return Organization.class;
			}

		};
	public static final Accessor NAME_ACCESSOR =
		new Accessor() {

			@Override
			public String get(Organization organization) {
				return organization.getName();
			}

			@Override
			public Class getAttributeClass() {
				return String.class;
			}

			@Override
			public Class getTypeClass() {
				return Organization.class;
			}

		};

	public Address getAddress();

	public java.util.List
getAddresses(); public long[] getAncestorOrganizationIds() throws com.liferay.portal.kernel.exception.PortalException; public java.util.List getAncestors() throws com.liferay.portal.kernel.exception.PortalException; public String[] getChildrenTypes(); public java.util.List getDescendants(); public Group getGroup(); public long getGroupId(); public Organization getParentOrganization() throws com.liferay.portal.kernel.exception.PortalException; public String getParentOrganizationName(); public javax.portlet.PortletPreferences getPreferences(); public int getPrivateLayoutsPageCount(); public int getPublicLayoutsPageCount(); public java.util.Set getReminderQueryQuestions( java.util.Locale locale); public java.util.Set getReminderQueryQuestions(String languageId); public java.util.List getSuborganizations(); public int getSuborganizationsSize(); public int getTypeOrder(); public boolean hasPrivateLayouts(); public boolean hasPublicLayouts(); public boolean hasSuborganizations(); public boolean isParentable(); public boolean isRoot(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy