com.liferay.portal.kernel.model.CompanyModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel 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-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.expando.kernel.model.ExpandoBridge;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.service.ServiceContext;
import java.io.Serializable;
/**
* The base model interface for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation {@link com.liferay.portal.model.impl.CompanyModelImpl} 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.CompanyImpl}.
*
*
* @author Brian Wing Shun Chan
* @see Company
* @see com.liferay.portal.model.impl.CompanyImpl
* @see com.liferay.portal.model.impl.CompanyModelImpl
* @generated
*/
@ProviderType
public interface CompanyModel extends BaseModel, MVCCModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a company model instance should use the {@link Company} interface instead.
*/
/**
* Returns the primary key of this company.
*
* @return the primary key of this company
*/
public long getPrimaryKey();
/**
* Sets the primary key of this company.
*
* @param primaryKey the primary key of this company
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the mvcc version of this company.
*
* @return the mvcc version of this company
*/
@Override
public long getMvccVersion();
/**
* Sets the mvcc version of this company.
*
* @param mvccVersion the mvcc version of this company
*/
@Override
public void setMvccVersion(long mvccVersion);
/**
* Returns the company ID of this company.
*
* @return the company ID of this company
*/
public long getCompanyId();
/**
* Sets the company ID of this company.
*
* @param companyId the company ID of this company
*/
public void setCompanyId(long companyId);
/**
* Returns the account ID of this company.
*
* @return the account ID of this company
*/
public long getAccountId();
/**
* Sets the account ID of this company.
*
* @param accountId the account ID of this company
*/
public void setAccountId(long accountId);
/**
* Returns the web ID of this company.
*
* @return the web ID of this company
*/
@AutoEscape
public String getWebId();
/**
* Sets the web ID of this company.
*
* @param webId the web ID of this company
*/
public void setWebId(String webId);
/**
* Returns the key of this company.
*
* @return the key of this company
*/
@AutoEscape
public String getKey();
/**
* Sets the key of this company.
*
* @param key the key of this company
*/
public void setKey(String key);
/**
* Returns the mx of this company.
*
* @return the mx of this company
*/
@AutoEscape
public String getMx();
/**
* Sets the mx of this company.
*
* @param mx the mx of this company
*/
public void setMx(String mx);
/**
* Returns the home u r l of this company.
*
* @return the home u r l of this company
*/
@AutoEscape
public String getHomeURL();
/**
* Sets the home u r l of this company.
*
* @param homeURL the home u r l of this company
*/
public void setHomeURL(String homeURL);
/**
* Returns the logo ID of this company.
*
* @return the logo ID of this company
*/
public long getLogoId();
/**
* Sets the logo ID of this company.
*
* @param logoId the logo ID of this company
*/
public void setLogoId(long logoId);
/**
* Returns the system of this company.
*
* @return the system of this company
*/
public boolean getSystem();
/**
* Returns true
if this company is system.
*
* @return true
if this company is system; false
otherwise
*/
public boolean isSystem();
/**
* Sets whether this company is system.
*
* @param system the system of this company
*/
public void setSystem(boolean system);
/**
* Returns the max users of this company.
*
* @return the max users of this company
*/
public int getMaxUsers();
/**
* Sets the max users of this company.
*
* @param maxUsers the max users of this company
*/
public void setMaxUsers(int maxUsers);
/**
* Returns the active of this company.
*
* @return the active of this company
*/
public boolean getActive();
/**
* Returns true
if this company is active.
*
* @return true
if this company is active; false
otherwise
*/
public boolean isActive();
/**
* Sets whether this company is active.
*
* @param active the active of this company
*/
public void setActive(boolean active);
@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(com.liferay.portal.kernel.model.Company company);
@Override
public int hashCode();
@Override
public CacheModel toCacheModel();
@Override
public com.liferay.portal.kernel.model.Company toEscapedModel();
@Override
public com.liferay.portal.kernel.model.Company toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy