1
14
15 package com.liferay.portlet.expando.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.expando.model.ExpandoRow;
20
21
34 public interface ExpandoRowPersistence extends BasePersistence<ExpandoRow> {
35 public void cacheResult(
36 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.expando.model.ExpandoRow> expandoRows);
40
41 public com.liferay.portlet.expando.model.ExpandoRow create(long rowId);
42
43 public com.liferay.portlet.expando.model.ExpandoRow remove(long rowId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.expando.NoSuchRowException;
46
47 public com.liferay.portlet.expando.model.ExpandoRow updateImpl(
48 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
49 throws com.liferay.portal.kernel.exception.SystemException;
50
51 public com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
52 long rowId)
53 throws com.liferay.portal.kernel.exception.SystemException,
54 com.liferay.portlet.expando.NoSuchRowException;
55
56 public com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
57 long rowId) throws com.liferay.portal.kernel.exception.SystemException;
58
59 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
60 long tableId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
64 long tableId, int start, int end)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
68 long tableId, int start, int end,
69 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
70 throws com.liferay.portal.kernel.exception.SystemException;
71
72 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
73 long tableId,
74 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
75 throws com.liferay.portal.kernel.exception.SystemException,
76 com.liferay.portlet.expando.NoSuchRowException;
77
78 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
79 long tableId,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.kernel.exception.SystemException,
82 com.liferay.portlet.expando.NoSuchRowException;
83
84 public com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
85 long rowId, long tableId,
86 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
87 throws com.liferay.portal.kernel.exception.SystemException,
88 com.liferay.portlet.expando.NoSuchRowException;
89
90 public com.liferay.portlet.expando.model.ExpandoRow findByT_C(
91 long tableId, long classPK)
92 throws com.liferay.portal.kernel.exception.SystemException,
93 com.liferay.portlet.expando.NoSuchRowException;
94
95 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
96 long tableId, long classPK)
97 throws com.liferay.portal.kernel.exception.SystemException;
98
99 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
100 long tableId, long classPK, boolean retrieveFromCache)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
107 int start, int end)
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
111 int start, int end,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.kernel.exception.SystemException;
114
115 public void removeByTableId(long tableId)
116 throws com.liferay.portal.kernel.exception.SystemException;
117
118 public void removeByT_C(long tableId, long classPK)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.expando.NoSuchRowException;
121
122 public void removeAll()
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public int countByTableId(long tableId)
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public int countByT_C(long tableId, long classPK)
129 throws com.liferay.portal.kernel.exception.SystemException;
130
131 public int countAll()
132 throws com.liferay.portal.kernel.exception.SystemException;
133 }