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> findByClassNameId(
95 long classNameId) throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByClassNameId(
98 long classNameId, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByClassNameId(
102 long classNameId, int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.expando.model.ExpandoTable findByClassNameId_First(
107 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.expando.NoSuchTableException;
110
111 public com.liferay.portlet.expando.model.ExpandoTable findByClassNameId_Last(
112 long classNameId, 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[] findByClassNameId_PrevAndNext(
117 long tableId, long classNameId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.expando.NoSuchTableException;
121
122 public com.liferay.portlet.expando.model.ExpandoTable findByC_N(
123 long classNameId, java.lang.String name)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.expando.NoSuchTableException;
126
127 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_N(
128 long classNameId, java.lang.String name)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_N(
132 long classNameId, java.lang.String name, boolean retrieveFromCache)
133 throws com.liferay.portal.SystemException;
134
135 public java.util.List<Object> findWithDynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<Object> findWithDynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end) throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
147 int start, int end) throws com.liferay.portal.SystemException;
148
149 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
150 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException;
152
153 public void removeByClassNameId(long classNameId)
154 throws com.liferay.portal.SystemException;
155
156 public void removeByC_N(long classNameId, java.lang.String name)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.expando.NoSuchTableException;
159
160 public void removeAll() throws com.liferay.portal.SystemException;
161
162 public int countByClassNameId(long classNameId)
163 throws com.liferay.portal.SystemException;
164
165 public int countByC_N(long classNameId, java.lang.String name)
166 throws com.liferay.portal.SystemException;
167
168 public int countAll() throws com.liferay.portal.SystemException;
169 }