1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface LayoutSetPersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.LayoutSet layoutSet);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.LayoutSet> layoutSets);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.LayoutSet create(long layoutSetId);
48
49 public com.liferay.portal.model.LayoutSet remove(long layoutSetId)
50 throws com.liferay.portal.NoSuchLayoutSetException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.LayoutSet remove(
54 com.liferay.portal.model.LayoutSet layoutSet)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.LayoutSet update(
61 com.liferay.portal.model.LayoutSet layoutSet)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.LayoutSet update(
77 com.liferay.portal.model.LayoutSet layoutSet, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.LayoutSet updateImpl(
81 com.liferay.portal.model.LayoutSet layoutSet, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.LayoutSet findByPrimaryKey(long layoutSetId)
85 throws com.liferay.portal.NoSuchLayoutSetException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.LayoutSet fetchByPrimaryKey(
89 long layoutSetId) throws com.liferay.portal.SystemException;
90
91 public java.util.List<com.liferay.portal.model.LayoutSet> findByGroupId(
92 long groupId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.LayoutSet> findByGroupId(
95 long groupId, int start, int end)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.LayoutSet> findByGroupId(
99 long groupId, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portal.model.LayoutSet findByGroupId_First(
104 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.NoSuchLayoutSetException,
106 com.liferay.portal.SystemException;
107
108 public com.liferay.portal.model.LayoutSet findByGroupId_Last(long groupId,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.NoSuchLayoutSetException,
111 com.liferay.portal.SystemException;
112
113 public com.liferay.portal.model.LayoutSet[] findByGroupId_PrevAndNext(
114 long layoutSetId, long groupId,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.NoSuchLayoutSetException,
117 com.liferay.portal.SystemException;
118
119 public com.liferay.portal.model.LayoutSet findByVirtualHost(
120 java.lang.String virtualHost)
121 throws com.liferay.portal.NoSuchLayoutSetException,
122 com.liferay.portal.SystemException;
123
124 public com.liferay.portal.model.LayoutSet fetchByVirtualHost(
125 java.lang.String virtualHost) throws com.liferay.portal.SystemException;
126
127 public com.liferay.portal.model.LayoutSet fetchByVirtualHost(
128 java.lang.String virtualHost, boolean retrieveFromCache)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portal.model.LayoutSet findByG_P(long groupId,
132 boolean privateLayout)
133 throws com.liferay.portal.NoSuchLayoutSetException,
134 com.liferay.portal.SystemException;
135
136 public com.liferay.portal.model.LayoutSet fetchByG_P(long groupId,
137 boolean privateLayout) throws com.liferay.portal.SystemException;
138
139 public com.liferay.portal.model.LayoutSet fetchByG_P(long groupId,
140 boolean privateLayout, boolean retrieveFromCache)
141 throws com.liferay.portal.SystemException;
142
143 public java.util.List<Object> findWithDynamicQuery(
144 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
145 throws com.liferay.portal.SystemException;
146
147 public java.util.List<Object> findWithDynamicQuery(
148 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
149 int end) throws com.liferay.portal.SystemException;
150
151 public java.util.List<com.liferay.portal.model.LayoutSet> findAll()
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portal.model.LayoutSet> findAll(
155 int start, int end) throws com.liferay.portal.SystemException;
156
157 public java.util.List<com.liferay.portal.model.LayoutSet> findAll(
158 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException;
160
161 public void removeByGroupId(long groupId)
162 throws com.liferay.portal.SystemException;
163
164 public void removeByVirtualHost(java.lang.String virtualHost)
165 throws com.liferay.portal.NoSuchLayoutSetException,
166 com.liferay.portal.SystemException;
167
168 public void removeByG_P(long groupId, boolean privateLayout)
169 throws com.liferay.portal.NoSuchLayoutSetException,
170 com.liferay.portal.SystemException;
171
172 public void removeAll() throws com.liferay.portal.SystemException;
173
174 public int countByGroupId(long groupId)
175 throws com.liferay.portal.SystemException;
176
177 public int countByVirtualHost(java.lang.String virtualHost)
178 throws com.liferay.portal.SystemException;
179
180 public int countByG_P(long groupId, boolean privateLayout)
181 throws com.liferay.portal.SystemException;
182
183 public int countAll() throws com.liferay.portal.SystemException;
184 }