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