1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface ExpandoRowPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.expando.model.ExpandoRow> expandoRows);
46
47 public void clearCache();
48
49 public com.liferay.portlet.expando.model.ExpandoRow create(long rowId);
50
51 public com.liferay.portlet.expando.model.ExpandoRow remove(long rowId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.expando.NoSuchRowException;
54
55 public com.liferay.portlet.expando.model.ExpandoRow remove(
56 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.expando.model.ExpandoRow update(
63 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.expando.model.ExpandoRow update(
79 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
80 throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.expando.model.ExpandoRow updateImpl(
83 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
87 long rowId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.expando.NoSuchRowException;
90
91 public com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
92 long rowId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
95 long tableId) throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
98 long tableId, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
102 long tableId, int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
107 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.expando.NoSuchRowException;
110
111 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
112 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.expando.NoSuchRowException;
115
116 public com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
117 long rowId, long tableId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.expando.NoSuchRowException;
121
122 public com.liferay.portlet.expando.model.ExpandoRow findByT_C(
123 long tableId, long classPK)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.expando.NoSuchRowException;
126
127 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
128 long tableId, long classPK) throws com.liferay.portal.SystemException;
129
130 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
131 long tableId, long classPK, boolean retrieveFromCache)
132 throws com.liferay.portal.SystemException;
133
134 public java.util.List<Object> findWithDynamicQuery(
135 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<Object> findWithDynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end) throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
143 throws com.liferay.portal.SystemException;
144
145 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
146 int start, int end) throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
149 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException;
151
152 public void removeByTableId(long tableId)
153 throws com.liferay.portal.SystemException;
154
155 public void removeByT_C(long tableId, long classPK)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.expando.NoSuchRowException;
158
159 public void removeAll() throws com.liferay.portal.SystemException;
160
161 public int countByTableId(long tableId)
162 throws com.liferay.portal.SystemException;
163
164 public int countByT_C(long tableId, long classPK)
165 throws com.liferay.portal.SystemException;
166
167 public int countAll() throws com.liferay.portal.SystemException;
168 }