com.liferay.portlet.journal.service
Class JournalTemplateServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalTemplateServiceUtil
public class JournalTemplateServiceUtil
- extends Object
The utility for the journal template remote service. This utility wraps JournalTemplateServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
Never modify this class directly. Add custom service methods to JournalTemplateServiceImpl
and rerun ServiceBuilder to regenerate this class.
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:
JournalTemplateService
,
JournalTemplateServiceBaseImpl
,
JournalTemplateServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static 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)
|
static JournalTemplate |
addTemplate(long groupId,
String templateId,
boolean autoTemplateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
ServiceContext serviceContext)
|
static JournalTemplate |
copyTemplate(long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
|
static void |
deleteTemplate(long groupId,
String templateId)
|
static JournalTemplateService |
getService()
|
static List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId)
|
static JournalTemplate |
getTemplate(long groupId,
String templateId)
|
void |
setService(JournalTemplateService service)
|
static 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)
|
static JournalTemplate |
updateTemplate(long groupId,
String templateId,
String structureId,
String name,
String description,
String xsl,
boolean formatXsl,
String langType,
boolean cacheable,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalTemplateServiceUtil
public JournalTemplateServiceUtil()
addTemplate
public static 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
public static 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
public static JournalTemplate copyTemplate(long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
public static void deleteTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructureTemplates
public static List<JournalTemplate> getStructureTemplates(long groupId,
String structureId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplate
public static JournalTemplate getTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateTemplate
public static 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
public static 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
getService
public static JournalTemplateService getService()
setService
public void setService(JournalTemplateService service)