1
22
23 package com.liferay.portlet.journal.service;
24
25
26
51 public interface JournalTemplateLocalService {
52 public com.liferay.portlet.journal.model.JournalTemplate addJournalTemplate(
53 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteJournalTemplate(long id)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteJournalTemplate(
61 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.journal.model.JournalTemplate getJournalTemplate(
73 long id)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
78 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
82 long userId, java.lang.String templateId, boolean autoTemplateId,
83 long plid, java.lang.String structureId, java.lang.String name,
84 java.lang.String description, java.lang.String xsl, boolean formatXsl,
85 java.lang.String langType, boolean cacheable, boolean smallImage,
86 java.lang.String smallImageURL, java.io.File smallFile,
87 boolean addCommunityPermissions, boolean addGuestPermissions)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
92 java.lang.String uuid, long userId, java.lang.String templateId,
93 boolean autoTemplateId, long plid, java.lang.String structureId,
94 java.lang.String name, java.lang.String description,
95 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
96 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
97 java.io.File smallFile, boolean addCommunityPermissions,
98 boolean addGuestPermissions)
99 throws com.liferay.portal.PortalException,
100 com.liferay.portal.SystemException;
101
102 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
103 long userId, java.lang.String templateId, boolean autoTemplateId,
104 long plid, java.lang.String structureId, java.lang.String name,
105 java.lang.String description, java.lang.String xsl, boolean formatXsl,
106 java.lang.String langType, boolean cacheable, boolean smallImage,
107 java.lang.String smallImageURL, java.io.File smallFile,
108 java.lang.String[] communityPermissions,
109 java.lang.String[] guestPermissions)
110 throws com.liferay.portal.PortalException,
111 com.liferay.portal.SystemException;
112
113 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
114 java.lang.String uuid, long userId, java.lang.String templateId,
115 boolean autoTemplateId, long plid, java.lang.String structureId,
116 java.lang.String name, java.lang.String description,
117 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
118 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
119 java.io.File smallFile, java.lang.Boolean addCommunityPermissions,
120 java.lang.Boolean addGuestPermissions,
121 java.lang.String[] communityPermissions,
122 java.lang.String[] guestPermissions)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException;
125
126 public com.liferay.portlet.journal.model.JournalTemplate addTemplateToGroup(
127 java.lang.String uuid, long userId, java.lang.String templateId,
128 boolean autoTemplateId, long groupId, java.lang.String structureId,
129 java.lang.String name, java.lang.String description,
130 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
131 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
132 java.io.File smallFile, java.lang.Boolean addCommunityPermissions,
133 java.lang.Boolean addGuestPermissions,
134 java.lang.String[] communityPermissions,
135 java.lang.String[] guestPermissions)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException;
138
139 public void addTemplateResources(long groupId, java.lang.String templateId,
140 boolean addCommunityPermissions, boolean addGuestPermissions)
141 throws com.liferay.portal.PortalException,
142 com.liferay.portal.SystemException;
143
144 public void addTemplateResources(
145 com.liferay.portlet.journal.model.JournalTemplate template,
146 boolean addCommunityPermissions, boolean addGuestPermissions)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException;
149
150 public void addTemplateResources(long groupId, java.lang.String templateId,
151 java.lang.String[] communityPermissions,
152 java.lang.String[] guestPermissions)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException;
155
156 public void addTemplateResources(
157 com.liferay.portlet.journal.model.JournalTemplate template,
158 java.lang.String[] communityPermissions,
159 java.lang.String[] guestPermissions)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException;
162
163 public void checkNewLine(long groupId, java.lang.String templateId)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException;
166
167 public void deleteTemplate(long groupId, java.lang.String templateId)
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException;
170
171 public void deleteTemplate(
172 com.liferay.portlet.journal.model.JournalTemplate template)
173 throws com.liferay.portal.PortalException,
174 com.liferay.portal.SystemException;
175
176 public void deleteTemplates(long groupId)
177 throws com.liferay.portal.PortalException,
178 com.liferay.portal.SystemException;
179
180 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
181 long groupId, java.lang.String structureId)
182 throws com.liferay.portal.SystemException;
183
184 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
185 long groupId, java.lang.String structureId, int start, int end)
186 throws com.liferay.portal.SystemException;
187
188 public int getStructureTemplatesCount(long groupId,
189 java.lang.String structureId) throws com.liferay.portal.SystemException;
190
191 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
192 long id)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException;
195
196 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
197 long groupId, java.lang.String templateId)
198 throws com.liferay.portal.PortalException,
199 com.liferay.portal.SystemException;
200
201 public com.liferay.portlet.journal.model.JournalTemplate getTemplateBySmallImageId(
202 long smallImageId)
203 throws com.liferay.portal.PortalException,
204 com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates()
207 throws com.liferay.portal.SystemException;
208
209 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
210 long groupId) throws com.liferay.portal.SystemException;
211
212 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
213 long groupId, int start, int end)
214 throws com.liferay.portal.SystemException;
215
216 public int getTemplatesCount(long groupId)
217 throws com.liferay.portal.SystemException;
218
219 public boolean hasTemplate(long groupId, java.lang.String templateId)
220 throws com.liferay.portal.SystemException;
221
222 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
223 long companyId, long groupId, java.lang.String keywords,
224 java.lang.String structureId, java.lang.String structureIdComparator,
225 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException;
227
228 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
229 long companyId, long groupId, java.lang.String templateId,
230 java.lang.String structureId, java.lang.String structureIdComparator,
231 java.lang.String name, java.lang.String description,
232 boolean andOperator, int start, int end,
233 com.liferay.portal.kernel.util.OrderByComparator obc)
234 throws com.liferay.portal.SystemException;
235
236 public int searchCount(long companyId, long groupId,
237 java.lang.String keywords, java.lang.String structureId,
238 java.lang.String structureIdComparator)
239 throws com.liferay.portal.SystemException;
240
241 public int searchCount(long companyId, long groupId,
242 java.lang.String templateId, java.lang.String structureId,
243 java.lang.String structureIdComparator, java.lang.String name,
244 java.lang.String description, boolean andOperator)
245 throws com.liferay.portal.SystemException;
246
247 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
248 long groupId, java.lang.String templateId,
249 java.lang.String structureId, java.lang.String name,
250 java.lang.String description, java.lang.String xsl, boolean formatXsl,
251 java.lang.String langType, boolean cacheable, boolean smallImage,
252 java.lang.String smallImageURL, java.io.File smallFile)
253 throws com.liferay.portal.PortalException,
254 com.liferay.portal.SystemException;
255 }