1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.expando.model.ExpandoRow;
28
29
42 public interface ExpandoRowPersistence extends BasePersistence<ExpandoRow> {
43 public void cacheResult(
44 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.expando.model.ExpandoRow> expandoRows);
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
58 public com.liferay.portlet.expando.model.ExpandoRow update(
59 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.expando.model.ExpandoRow updateImpl(
63 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
67 long rowId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.expando.NoSuchRowException;
70
71 public com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
72 long rowId) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
75 long tableId) throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
78 long tableId, int start, int end)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
82 long tableId, int start, int end,
83 com.liferay.portal.kernel.util.OrderByComparator obc)
84 throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
87 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.expando.NoSuchRowException;
90
91 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
92 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.expando.NoSuchRowException;
95
96 public com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
97 long rowId, long tableId,
98 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 findByT_C(
103 long tableId, long classPK)
104 throws com.liferay.portal.SystemException,
105 com.liferay.portlet.expando.NoSuchRowException;
106
107 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
108 long tableId, long classPK) throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
111 long tableId, long classPK, boolean retrieveFromCache)
112 throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
118 int start, int end) throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
121 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.SystemException;
123
124 public void removeByTableId(long tableId)
125 throws com.liferay.portal.SystemException;
126
127 public void removeByT_C(long tableId, long classPK)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.expando.NoSuchRowException;
130
131 public void removeAll() throws com.liferay.portal.SystemException;
132
133 public int countByTableId(long tableId)
134 throws com.liferay.portal.SystemException;
135
136 public int countByT_C(long tableId, long classPK)
137 throws com.liferay.portal.SystemException;
138
139 public int countAll() throws com.liferay.portal.SystemException;
140 }