com.liferay.portal.model.OrganizationModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-service Show documentation
Show all versions of portal-service Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-2013 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.model;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import java.io.Serializable;
import java.util.Date;
/**
* The base model interface for the Organization service. Represents a row in the "Organization_" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation {@link com.liferay.portal.model.impl.OrganizationModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.OrganizationImpl}.
*
*
* @author Brian Wing Shun Chan
* @see Organization
* @see com.liferay.portal.model.impl.OrganizationImpl
* @see com.liferay.portal.model.impl.OrganizationModelImpl
* @generated
*/
@ProviderType
public interface OrganizationModel extends BaseModel,
StagedAuditedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a organization model instance should use the {@link Organization} interface instead.
*/
/**
* Returns the primary key of this organization.
*
* @return the primary key of this organization
*/
public long getPrimaryKey();
/**
* Sets the primary key of this organization.
*
* @param primaryKey the primary key of this organization
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the uuid of this organization.
*
* @return the uuid of this organization
*/
@AutoEscape
@Override
public String getUuid();
/**
* Sets the uuid of this organization.
*
* @param uuid the uuid of this organization
*/
@Override
public void setUuid(String uuid);
/**
* Returns the organization ID of this organization.
*
* @return the organization ID of this organization
*/
public long getOrganizationId();
/**
* Sets the organization ID of this organization.
*
* @param organizationId the organization ID of this organization
*/
public void setOrganizationId(long organizationId);
/**
* Returns the company ID of this organization.
*
* @return the company ID of this organization
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this organization.
*
* @param companyId the company ID of this organization
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this organization.
*
* @return the user ID of this organization
*/
@Override
public long getUserId();
/**
* Sets the user ID of this organization.
*
* @param userId the user ID of this organization
*/
@Override
public void setUserId(long userId);
/**
* Returns the user uuid of this organization.
*
* @return the user uuid of this organization
* @throws SystemException if a system exception occurred
*/
@Override
public String getUserUuid() throws SystemException;
/**
* Sets the user uuid of this organization.
*
* @param userUuid the user uuid of this organization
*/
@Override
public void setUserUuid(String userUuid);
/**
* Returns the user name of this organization.
*
* @return the user name of this organization
*/
@AutoEscape
@Override
public String getUserName();
/**
* Sets the user name of this organization.
*
* @param userName the user name of this organization
*/
@Override
public void setUserName(String userName);
/**
* Returns the create date of this organization.
*
* @return the create date of this organization
*/
@Override
public Date getCreateDate();
/**
* Sets the create date of this organization.
*
* @param createDate the create date of this organization
*/
@Override
public void setCreateDate(Date createDate);
/**
* Returns the modified date of this organization.
*
* @return the modified date of this organization
*/
@Override
public Date getModifiedDate();
/**
* Sets the modified date of this organization.
*
* @param modifiedDate the modified date of this organization
*/
@Override
public void setModifiedDate(Date modifiedDate);
/**
* Returns the parent organization ID of this organization.
*
* @return the parent organization ID of this organization
*/
public long getParentOrganizationId();
/**
* Sets the parent organization ID of this organization.
*
* @param parentOrganizationId the parent organization ID of this organization
*/
public void setParentOrganizationId(long parentOrganizationId);
/**
* Returns the tree path of this organization.
*
* @return the tree path of this organization
*/
@AutoEscape
public String getTreePath();
/**
* Sets the tree path of this organization.
*
* @param treePath the tree path of this organization
*/
public void setTreePath(String treePath);
/**
* Returns the name of this organization.
*
* @return the name of this organization
*/
@AutoEscape
public String getName();
/**
* Sets the name of this organization.
*
* @param name the name of this organization
*/
public void setName(String name);
/**
* Returns the type of this organization.
*
* @return the type of this organization
*/
public String getType();
/**
* Sets the type of this organization.
*
* @param type the type of this organization
*/
public void setType(String type);
/**
* Returns the recursable of this organization.
*
* @return the recursable of this organization
*/
public boolean getRecursable();
/**
* Returns true
if this organization is recursable.
*
* @return true
if this organization is recursable; false
otherwise
*/
public boolean isRecursable();
/**
* Sets whether this organization is recursable.
*
* @param recursable the recursable of this organization
*/
public void setRecursable(boolean recursable);
/**
* Returns the region ID of this organization.
*
* @return the region ID of this organization
*/
public long getRegionId();
/**
* Sets the region ID of this organization.
*
* @param regionId the region ID of this organization
*/
public void setRegionId(long regionId);
/**
* Returns the country ID of this organization.
*
* @return the country ID of this organization
*/
public long getCountryId();
/**
* Sets the country ID of this organization.
*
* @param countryId the country ID of this organization
*/
public void setCountryId(long countryId);
/**
* Returns the status ID of this organization.
*
* @return the status ID of this organization
*/
public int getStatusId();
/**
* Sets the status ID of this organization.
*
* @param statusId the status ID of this organization
*/
public void setStatusId(int statusId);
/**
* Returns the comments of this organization.
*
* @return the comments of this organization
*/
@AutoEscape
public String getComments();
/**
* Sets the comments of this organization.
*
* @param comments the comments of this organization
*/
public void setComments(String comments);
@Override
public boolean isNew();
@Override
public void setNew(boolean n);
@Override
public boolean isCachedModel();
@Override
public void setCachedModel(boolean cachedModel);
@Override
public boolean isEscapedModel();
@Override
public Serializable getPrimaryKeyObj();
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj);
@Override
public ExpandoBridge getExpandoBridge();
@Override
public void setExpandoBridgeAttributes(BaseModel> baseModel);
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
@Override
public Object clone();
@Override
public int compareTo(Organization organization);
@Override
public int hashCode();
@Override
public CacheModel toCacheModel();
@Override
public Organization toEscapedModel();
@Override
public Organization toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}