com.liferay.portlet.journal.service
Class JournalTemplateServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalTemplateServiceUtil
public class JournalTemplateServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.journal.service.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.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalTemplateService
Method Summary |
static 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)
|
static 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)
|
static JournalTemplate |
copyTemplate(long groupId,
java.lang.String oldTemplateId,
java.lang.String newTemplateId,
boolean autoTemplateId)
|
static void |
deleteTemplate(long groupId,
java.lang.String templateId)
|
static JournalTemplateService |
getService()
|
static java.util.List<JournalTemplate> |
getStructureTemplates(long groupId,
java.lang.String structureId)
|
static JournalTemplate |
getTemplate(long groupId,
java.lang.String templateId)
|
void |
setService(JournalTemplateService service)
|
static 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)
|
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(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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
addTemplate
public static 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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
copyTemplate
public static JournalTemplate copyTemplate(long groupId,
java.lang.String oldTemplateId,
java.lang.String newTemplateId,
boolean autoTemplateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteTemplate
public static void deleteTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getStructureTemplates
public static java.util.List<JournalTemplate> getStructureTemplates(long groupId,
java.lang.String structureId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getTemplate
public static JournalTemplate getTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
updateTemplate
public static 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 com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getService
public static JournalTemplateService getService()
setService
public void setService(JournalTemplateService service)