001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.service.ServiceContext;
019    
020    import com.liferay.portlet.expando.model.ExpandoBridge;
021    
022    import java.io.Serializable;
023    
024    import java.util.Locale;
025    import java.util.Map;
026    
027    /**
028     * <p>
029     * This interface is a model that represents the LayoutPrototype table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       LayoutPrototype
035     * @see       com.liferay.portal.model.impl.LayoutPrototypeImpl
036     * @see       com.liferay.portal.model.impl.LayoutPrototypeModelImpl
037     * @generated
038     */
039    public interface LayoutPrototypeModel extends BaseModel<LayoutPrototype> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getLayoutPrototypeId();
045    
046            public void setLayoutPrototypeId(long layoutPrototypeId);
047    
048            public long getCompanyId();
049    
050            public void setCompanyId(long companyId);
051    
052            public String getName();
053    
054            public String getName(Locale locale);
055    
056            public String getName(Locale locale, boolean useDefault);
057    
058            public String getName(String languageId);
059    
060            public String getName(String languageId, boolean useDefault);
061    
062            public Map<Locale, String> getNameMap();
063    
064            public void setName(String name);
065    
066            public void setName(Locale locale, String name);
067    
068            public void setNameMap(Map<Locale, String> nameMap);
069    
070            @AutoEscape
071            public String getDescription();
072    
073            public void setDescription(String description);
074    
075            @AutoEscape
076            public String getSettings();
077    
078            public void setSettings(String settings);
079    
080            public boolean getActive();
081    
082            public boolean isActive();
083    
084            public void setActive(boolean active);
085    
086            public LayoutPrototype toEscapedModel();
087    
088            public boolean isNew();
089    
090            public void setNew(boolean n);
091    
092            public boolean isCachedModel();
093    
094            public void setCachedModel(boolean cachedModel);
095    
096            public boolean isEscapedModel();
097    
098            public void setEscapedModel(boolean escapedModel);
099    
100            public Serializable getPrimaryKeyObj();
101    
102            public ExpandoBridge getExpandoBridge();
103    
104            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
105    
106            public Object clone();
107    
108            public int compareTo(LayoutPrototype layoutPrototype);
109    
110            public int hashCode();
111    
112            public String toString();
113    
114            public String toXmlString();
115    }