1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface ExpandoTablePersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables);
46
47 public void clearCache();
48
49 public com.liferay.portlet.expando.model.ExpandoTable create(long tableId);
50
51 public com.liferay.portlet.expando.model.ExpandoTable remove(long tableId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.expando.NoSuchTableException;
54
55 public com.liferay.portlet.expando.model.ExpandoTable remove(
56 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.expando.model.ExpandoTable update(
63 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.expando.model.ExpandoTable update(
79 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
80 boolean merge) throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.expando.model.ExpandoTable updateImpl(
83 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
84 boolean merge) throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(
87 long tableId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.expando.NoSuchTableException;
90
91 public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(
92 long tableId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
95 long companyId, long classNameId)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
99 long companyId, long classNameId, int start, int end)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
103 long companyId, long classNameId, int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException;
106
107 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_First(
108 long companyId, long classNameId,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.expando.NoSuchTableException;
112
113 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_Last(
114 long companyId, long classNameId,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.expando.NoSuchTableException;
118
119 public com.liferay.portlet.expando.model.ExpandoTable[] findByC_C_PrevAndNext(
120 long tableId, long companyId, long classNameId,
121 com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.SystemException,
123 com.liferay.portlet.expando.NoSuchTableException;
124
125 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_N(
126 long companyId, long classNameId, java.lang.String name)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portlet.expando.NoSuchTableException;
129
130 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
131 long companyId, long classNameId, java.lang.String name)
132 throws com.liferay.portal.SystemException;
133
134 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
135 long companyId, long classNameId, java.lang.String name,
136 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
137
138 public java.util.List<Object> findWithDynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
140 throws com.liferay.portal.SystemException;
141
142 public java.util.List<Object> findWithDynamicQuery(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
144 int end) throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
147 throws com.liferay.portal.SystemException;
148
149 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
150 int start, int end) throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
153 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException;
155
156 public void removeByC_C(long companyId, long classNameId)
157 throws com.liferay.portal.SystemException;
158
159 public void removeByC_C_N(long companyId, long classNameId,
160 java.lang.String name)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.expando.NoSuchTableException;
163
164 public void removeAll() throws com.liferay.portal.SystemException;
165
166 public int countByC_C(long companyId, long classNameId)
167 throws com.liferay.portal.SystemException;
168
169 public int countByC_C_N(long companyId, long classNameId,
170 java.lang.String name) throws com.liferay.portal.SystemException;
171
172 public int countAll() throws com.liferay.portal.SystemException;
173 }