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