com.liferay.portlet.journal.service
Class JournalTemplateServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalTemplateServiceUtil
public class JournalTemplateServiceUtil
- extends Object
This class provides static methods for the
JournalTemplateService bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- See Also:
JournalTemplateService- 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)