com.liferay.portlet.journal.service
Interface JournalTemplateService
- All Known Implementing Classes:
- JournalTemplateServiceBaseImpl, JournalTemplateServiceImpl, JournalTemplateServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface JournalTemplateService
The interface for the journal template remote service.
Never modify or reference this interface directly. Always use JournalTemplateServiceUtil
to access the journal template remote service. Add custom service methods to JournalTemplateServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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.
- See Also:
JournalTemplateServiceUtil
,
JournalTemplateServiceBaseImpl
,
JournalTemplateServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
JournalTemplate |
addTemplate(long groupId,
String templateId,
boolean autoTemplateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallFile,
ServiceContext serviceContext)
|
JournalTemplate |
addTemplate(long groupId,
String templateId,
boolean autoTemplateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
ServiceContext serviceContext)
|
JournalTemplate |
copyTemplate(long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
|
void |
deleteTemplate(long groupId,
String templateId)
|
List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId)
|
JournalTemplate |
getTemplate(long groupId,
String templateId)
|
JournalTemplate |
updateTemplate(long groupId,
String templateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallFile,
ServiceContext serviceContext)
|
JournalTemplate |
updateTemplate(long groupId,
String templateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
ServiceContext serviceContext)
|
addTemplate
JournalTemplate addTemplate(long groupId,
String templateId,
boolean autoTemplateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTemplate
JournalTemplate addTemplate(long groupId,
String templateId,
boolean autoTemplateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallFile,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyTemplate
JournalTemplate copyTemplate(long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
void deleteTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructureTemplates
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalTemplate> getStructureTemplates(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplate
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate getTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateTemplate
JournalTemplate updateTemplate(long groupId,
String templateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateTemplate
JournalTemplate updateTemplate(long groupId,
String templateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
boolean smallImage,
String smallImageURL,
File smallFile,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException