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.Date;
025    
026    /**
027     * <p>
028     * This interface is a model that represents the Image table in the
029     * database.
030     * </p>
031     *
032     * @author    Brian Wing Shun Chan
033     * @see       Image
034     * @see       com.liferay.portal.model.impl.ImageImpl
035     * @see       com.liferay.portal.model.impl.ImageModelImpl
036     * @generated
037     */
038    public interface ImageModel extends BaseModel<Image> {
039            public long getPrimaryKey();
040    
041            public void setPrimaryKey(long pk);
042    
043            public long getImageId();
044    
045            public void setImageId(long imageId);
046    
047            public Date getModifiedDate();
048    
049            public void setModifiedDate(Date modifiedDate);
050    
051            @AutoEscape
052            public String getText();
053    
054            public void setText(String text);
055    
056            @AutoEscape
057            public String getType();
058    
059            public void setType(String type);
060    
061            public int getHeight();
062    
063            public void setHeight(int height);
064    
065            public int getWidth();
066    
067            public void setWidth(int width);
068    
069            public int getSize();
070    
071            public void setSize(int size);
072    
073            public Image toEscapedModel();
074    
075            public boolean isNew();
076    
077            public void setNew(boolean n);
078    
079            public boolean isCachedModel();
080    
081            public void setCachedModel(boolean cachedModel);
082    
083            public boolean isEscapedModel();
084    
085            public void setEscapedModel(boolean escapedModel);
086    
087            public Serializable getPrimaryKeyObj();
088    
089            public ExpandoBridge getExpandoBridge();
090    
091            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
092    
093            public Object clone();
094    
095            public int compareTo(Image image);
096    
097            public int hashCode();
098    
099            public String toString();
100    
101            public String toXmlString();
102    }