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