1
19
20 package com.liferay.portlet.expando.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface ExpandoTablePersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables);
36
37 public void clearCache();
38
39 public com.liferay.portlet.expando.model.ExpandoTable create(long tableId);
40
41 public com.liferay.portlet.expando.model.ExpandoTable remove(long tableId)
42 throws com.liferay.portal.SystemException,
43 com.liferay.portlet.expando.NoSuchTableException;
44
45 public com.liferay.portlet.expando.model.ExpandoTable remove(
46 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
47 throws com.liferay.portal.SystemException;
48
49
52 public com.liferay.portlet.expando.model.ExpandoTable update(
53 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
54 throws com.liferay.portal.SystemException;
55
56
69 public com.liferay.portlet.expando.model.ExpandoTable update(
70 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
71 boolean merge) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.expando.model.ExpandoTable updateImpl(
74 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
75 boolean merge) throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(
78 long tableId)
79 throws com.liferay.portal.SystemException,
80 com.liferay.portlet.expando.NoSuchTableException;
81
82 public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(
83 long tableId) throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
86 long companyId, long classNameId)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
90 long companyId, long classNameId, int start, int end)
91 throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
94 long companyId, long classNameId, int start, int end,
95 com.liferay.portal.kernel.util.OrderByComparator obc)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_First(
99 long companyId, long classNameId,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.expando.NoSuchTableException;
103
104 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_Last(
105 long companyId, long classNameId,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.expando.NoSuchTableException;
109
110 public com.liferay.portlet.expando.model.ExpandoTable[] findByC_C_PrevAndNext(
111 long tableId, long companyId, long classNameId,
112 com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.expando.NoSuchTableException;
115
116 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_N(
117 long companyId, long classNameId, java.lang.String name)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.expando.NoSuchTableException;
120
121 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
122 long companyId, long classNameId, java.lang.String name)
123 throws com.liferay.portal.SystemException;
124
125 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
126 long companyId, long classNameId, java.lang.String name,
127 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
128
129 public java.util.List<Object> findWithDynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
131 throws com.liferay.portal.SystemException;
132
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 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
138 throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
141 int start, int end) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
144 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException;
146
147 public void removeByC_C(long companyId, long classNameId)
148 throws com.liferay.portal.SystemException;
149
150 public void removeByC_C_N(long companyId, long classNameId,
151 java.lang.String name)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.expando.NoSuchTableException;
154
155 public void removeAll() throws com.liferay.portal.SystemException;
156
157 public int countByC_C(long companyId, long classNameId)
158 throws com.liferay.portal.SystemException;
159
160 public int countByC_C_N(long companyId, long classNameId,
161 java.lang.String name) throws com.liferay.portal.SystemException;
162
163 public int countAll() throws com.liferay.portal.SystemException;
164 }