1
22
23 package com.liferay.portlet.journal.service;
24
25
26
50 public interface JournalTemplateService {
51 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
52 java.lang.String templateId, boolean autoTemplateId, long plid,
53 java.lang.String structureId, java.lang.String name,
54 java.lang.String description, java.lang.String xsl, boolean formatXsl,
55 java.lang.String langType, boolean cacheable, boolean smallImage,
56 java.lang.String smallImageURL, java.io.File smallFile,
57 boolean addCommunityPermissions, boolean addGuestPermissions)
58 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException;
60
61 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
62 java.lang.String templateId, boolean autoTemplateId, long plid,
63 java.lang.String structureId, java.lang.String name,
64 java.lang.String description, java.lang.String xsl, boolean formatXsl,
65 java.lang.String langType, boolean cacheable, boolean smallImage,
66 java.lang.String smallImageURL, java.io.File smallFile,
67 java.lang.String[] communityPermissions,
68 java.lang.String[] guestPermissions)
69 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
73 long groupId, java.lang.String oldTemplateId,
74 java.lang.String newTemplateId, boolean autoTemplateId)
75 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
76 com.liferay.portal.SystemException;
77
78 public void deleteTemplate(long groupId, java.lang.String templateId)
79 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
80 com.liferay.portal.SystemException;
81
82 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
83 long groupId, java.lang.String structureId)
84 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
88 long groupId, java.lang.String templateId)
89 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
93 long groupId, java.lang.String templateId,
94 java.lang.String structureId, java.lang.String name,
95 java.lang.String description, java.lang.String xsl, boolean formatXsl,
96 java.lang.String langType, boolean cacheable, boolean smallImage,
97 java.lang.String smallImageURL, java.io.File smallFile)
98 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException;
100 }