/** * 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.marketplace.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.model.BaseModel; import com.liferay.portal.kernel.model.CacheModel; import com.liferay.portal.kernel.model.ShardedModel; import com.liferay.portal.kernel.service.ServiceContext; import java.io.Serializable; /** * The base model interface for the Module service. Represents a row in the "Marketplace_Module" database table, with each column mapped to a property of this class. * * <p> * This interface and its corresponding implementation {@link com.liferay.marketplace.model.impl.ModuleModelImpl} 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.marketplace.model.impl.ModuleImpl}. * </p> * * @author Ryan Park * @see Module * @see com.liferay.marketplace.model.impl.ModuleImpl * @see com.liferay.marketplace.model.impl.ModuleModelImpl * @generated */ @ProviderType public interface ModuleModel extends BaseModel<Module>, ShardedModel { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. All methods that expect a module model instance should use the {@link Module} interface instead. */ /** * Returns the primary key of this module. * * @return the primary key of this module */ public long getPrimaryKey(); /** * Sets the primary key of this module. * * @param primaryKey the primary key of this module */ public void setPrimaryKey(long primaryKey); /** * Returns the uuid of this module. * * @return the uuid of this module */ @AutoEscape public String getUuid(); /** * Sets the uuid of this module. * * @param uuid the uuid of this module */ public void setUuid(String uuid); /** * Returns the module ID of this module. * * @return the module ID of this module */ public long getModuleId(); /** * Sets the module ID of this module. * * @param moduleId the module ID of this module */ public void setModuleId(long moduleId); /** * Returns the company ID of this module. * * @return the company ID of this module */ @Override public long getCompanyId(); /** * Sets the company ID of this module. * * @param companyId the company ID of this module */ @Override public void setCompanyId(long companyId); /** * Returns the app ID of this module. * * @return the app ID of this module */ public long getAppId(); /** * Sets the app ID of this module. * * @param appId the app ID of this module */ public void setAppId(long appId); /** * Returns the bundle symbolic name of this module. * * @return the bundle symbolic name of this module */ @AutoEscape public String getBundleSymbolicName(); /** * Sets the bundle symbolic name of this module. * * @param bundleSymbolicName the bundle symbolic name of this module */ public void setBundleSymbolicName(String bundleSymbolicName); /** * Returns the bundle version of this module. * * @return the bundle version of this module */ @AutoEscape public String getBundleVersion(); /** * Sets the bundle version of this module. * * @param bundleVersion the bundle version of this module */ public void setBundleVersion(String bundleVersion); /** * Returns the context name of this module. * * @return the context name of this module */ @AutoEscape public String getContextName(); /** * Sets the context name of this module. * * @param contextName the context name of this module */ public void setContextName(String contextName); @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(Module module); @Override public int hashCode(); @Override public CacheModel<Module> toCacheModel(); @Override public Module toEscapedModel(); @Override public Module toUnescapedModel(); @Override public String toString(); @Override public String toXmlString(); }