1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  import com.liferay.portal.kernel.annotation.AutoEscape;
18  import com.liferay.portal.service.ServiceContext;
19  
20  import com.liferay.portlet.expando.model.ExpandoBridge;
21  
22  import java.io.Serializable;
23  
24  import java.util.Date;
25  
26  /**
27   * <a href="ImageModel.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface is a model that represents the Image table in the
36   * database.
37   * </p>
38   *
39   * @author    Brian Wing Shun Chan
40   * @see       Image
41   * @see       com.liferay.portal.model.impl.ImageImpl
42   * @see       com.liferay.portal.model.impl.ImageModelImpl
43   * @generated
44   */
45  public interface ImageModel extends BaseModel<Image> {
46      public long getPrimaryKey();
47  
48      public void setPrimaryKey(long pk);
49  
50      public long getImageId();
51  
52      public void setImageId(long imageId);
53  
54      public Date getModifiedDate();
55  
56      public void setModifiedDate(Date modifiedDate);
57  
58      @AutoEscape
59      public String getText();
60  
61      public void setText(String text);
62  
63      @AutoEscape
64      public String getType();
65  
66      public void setType(String type);
67  
68      public int getHeight();
69  
70      public void setHeight(int height);
71  
72      public int getWidth();
73  
74      public void setWidth(int width);
75  
76      public int getSize();
77  
78      public void setSize(int size);
79  
80      public boolean isNew();
81  
82      public boolean setNew(boolean n);
83  
84      public boolean isCachedModel();
85  
86      public void setCachedModel(boolean cachedModel);
87  
88      public boolean isEscapedModel();
89  
90      public void setEscapedModel(boolean escapedModel);
91  
92      public Serializable getPrimaryKeyObj();
93  
94      public ExpandoBridge getExpandoBridge();
95  
96      public void setExpandoBridgeAttributes(ServiceContext serviceContext);
97  
98      public Object clone();
99  
100     public int compareTo(Image image);
101 
102     public int hashCode();
103 
104     public Image toEscapedModel();
105 
106     public String toString();
107 
108     public String toXmlString();
109 }