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.SystemException,
45 com.liferay.portlet.expando.NoSuchRowException;
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 public com.liferay.portlet.expando.model.ExpandoRow updateImpl(
55 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
56 throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
59 long rowId)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.expando.NoSuchRowException;
62
63 public com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
64 long rowId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
67 long tableId) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
70 long tableId, int start, int end)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
74 long tableId, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
79 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.expando.NoSuchRowException;
82
83 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
84 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.SystemException,
86 com.liferay.portlet.expando.NoSuchRowException;
87
88 public com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
89 long rowId, long tableId,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.expando.NoSuchRowException;
93
94 public com.liferay.portlet.expando.model.ExpandoRow findByT_C(
95 long tableId, long classPK)
96 throws com.liferay.portal.SystemException,
97 com.liferay.portlet.expando.NoSuchRowException;
98
99 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
100 long tableId, long classPK) throws com.liferay.portal.SystemException;
101
102 public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
103 long tableId, long classPK, boolean retrieveFromCache)
104 throws com.liferay.portal.SystemException;
105
106 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
110 int start, int end) throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
113 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.SystemException;
115
116 public void removeByTableId(long tableId)
117 throws com.liferay.portal.SystemException;
118
119 public void removeByT_C(long tableId, long classPK)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.expando.NoSuchRowException;
122
123 public void removeAll() throws com.liferay.portal.SystemException;
124
125 public int countByTableId(long tableId)
126 throws com.liferay.portal.SystemException;
127
128 public int countByT_C(long tableId, long classPK)
129 throws com.liferay.portal.SystemException;
130
131 public int countAll() throws com.liferay.portal.SystemException;
132 }