com.liferay.portlet.journal.service
Interface JournalTemplateService
public interface JournalTemplateService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalTemplateServiceFactory
,
JournalTemplateServiceUtil
Method Summary |
JournalTemplate |
addTemplate(java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
JournalTemplate |
addTemplate(java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteTemplate(long groupId,
java.lang.String templateId)
|
java.util.List<JournalTemplate> |
getStructureTemplates(long groupId,
java.lang.String structureId)
|
JournalTemplate |
getTemplate(long groupId,
java.lang.String templateId)
|
JournalTemplate |
updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile)
|
addTemplate
JournalTemplate addTemplate(java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addTemplate
JournalTemplate addTemplate(java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteTemplate
void deleteTemplate(long groupId,
java.lang.String templateId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getStructureTemplates
java.util.List<JournalTemplate> getStructureTemplates(long groupId,
java.lang.String structureId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getTemplate
JournalTemplate getTemplate(long groupId,
java.lang.String templateId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateTemplate
JournalTemplate updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException