1
19
20 package com.liferay.portlet.expando.service.persistence;
21
22 import com.liferay.portal.PortalException;
23 import com.liferay.portal.SystemException;
24 import com.liferay.portal.kernel.annotation.Propagation;
25 import com.liferay.portal.kernel.annotation.Transactional;
26 import com.liferay.portal.service.persistence.BasePersistence;
27
28
34 @Transactional(rollbackFor = {
35 PortalException.class, SystemException.class})
36 public interface ExpandoTablePersistence extends BasePersistence {
37 public com.liferay.portlet.expando.model.ExpandoTable create(long tableId);
38
39 public com.liferay.portlet.expando.model.ExpandoTable remove(long tableId)
40 throws com.liferay.portal.SystemException,
41 com.liferay.portlet.expando.NoSuchTableException;
42
43 public com.liferay.portlet.expando.model.ExpandoTable remove(
44 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
45 throws com.liferay.portal.SystemException;
46
47
50 public com.liferay.portlet.expando.model.ExpandoTable update(
51 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
52 throws com.liferay.portal.SystemException;
53
54
67 public com.liferay.portlet.expando.model.ExpandoTable update(
68 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
69 boolean merge) throws com.liferay.portal.SystemException;
70
71 public com.liferay.portlet.expando.model.ExpandoTable updateImpl(
72 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
73 boolean merge) throws com.liferay.portal.SystemException;
74
75 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
76 public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(
77 long tableId)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portlet.expando.NoSuchTableException;
80
81 public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(
82 long tableId) throws com.liferay.portal.SystemException;
83
84 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
85 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByClassNameId(
86 long classNameId) throws com.liferay.portal.SystemException;
87
88 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
89 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByClassNameId(
90 long classNameId, int start, int end)
91 throws com.liferay.portal.SystemException;
92
93 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
94 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByClassNameId(
95 long classNameId, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
100 public com.liferay.portlet.expando.model.ExpandoTable findByClassNameId_First(
101 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
102 throws com.liferay.portal.SystemException,
103 com.liferay.portlet.expando.NoSuchTableException;
104
105 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
106 public com.liferay.portlet.expando.model.ExpandoTable findByClassNameId_Last(
107 long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.expando.NoSuchTableException;
110
111 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
112 public com.liferay.portlet.expando.model.ExpandoTable[] findByClassNameId_PrevAndNext(
113 long tableId, long classNameId,
114 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.expando.NoSuchTableException;
117
118 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
119 public com.liferay.portlet.expando.model.ExpandoTable findByC_N(
120 long classNameId, java.lang.String name)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.expando.NoSuchTableException;
123
124 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_N(
125 long classNameId, java.lang.String name)
126 throws com.liferay.portal.SystemException;
127
128 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
129 public java.util.List<Object> findWithDynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
131 throws com.liferay.portal.SystemException;
132
133 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
134 public java.util.List<Object> findWithDynamicQuery(
135 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
136 int end) throws com.liferay.portal.SystemException;
137
138 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
139 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
140 throws com.liferay.portal.SystemException;
141
142 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
143 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
144 int start, int end) throws com.liferay.portal.SystemException;
145
146 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
147 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
148 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException;
150
151 public void removeByClassNameId(long classNameId)
152 throws com.liferay.portal.SystemException;
153
154 public void removeByC_N(long classNameId, java.lang.String name)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.expando.NoSuchTableException;
157
158 public void removeAll() throws com.liferay.portal.SystemException;
159
160 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161 public int countByClassNameId(long classNameId)
162 throws com.liferay.portal.SystemException;
163
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public int countByC_N(long classNameId, java.lang.String name)
166 throws com.liferay.portal.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public int countAll() throws com.liferay.portal.SystemException;
170 }