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