com.liferay.portlet.journal.service
Interface JournalTemplateLocalService


public interface JournalTemplateLocalService

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.JournalTemplateLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
JournalTemplateLocalServiceFactory, JournalTemplateLocalServiceUtil

Method Summary
 JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
           
 JournalTemplate addTemplate(long userId, 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(long userId, 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)
           
 JournalTemplate addTemplate(java.lang.String uuid, long userId, 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 uuid, long userId, 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addTemplateResources(JournalTemplate template, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addTemplateResources(JournalTemplate template, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addTemplateResources(long groupId, java.lang.String templateId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addTemplateResources(long groupId, java.lang.String templateId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 JournalTemplate addTemplateToGroup(java.lang.String uuid, long userId, java.lang.String templateId, boolean autoTemplateId, long groupId, 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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void checkNewLine(long groupId, java.lang.String templateId)
           
 void deleteJournalTemplate(JournalTemplate journalTemplate)
           
 void deleteJournalTemplate(long id)
           
 void deleteTemplate(JournalTemplate template)
           
 void deleteTemplate(long groupId, java.lang.String templateId)
           
 void deleteTemplates(long groupId)
           
 java.util.List<JournalTemplate> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<JournalTemplate> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<JournalTemplate> getStructureTemplates(long groupId, java.lang.String structureId)
           
 java.util.List<JournalTemplate> getStructureTemplates(long groupId, java.lang.String structureId, int begin, int end)
           
 int getStructureTemplatesCount(long groupId, java.lang.String structureId)
           
 JournalTemplate getTemplate(long id)
           
 JournalTemplate getTemplate(long groupId, java.lang.String templateId)
           
 JournalTemplate getTemplateBySmallImageId(long smallImageId)
           
 java.util.List<JournalTemplate> getTemplates()
           
 java.util.List<JournalTemplate> getTemplates(long groupId)
           
 java.util.List<JournalTemplate> getTemplates(long groupId, int begin, int end)
           
 int getTemplatesCount(long groupId)
           
 boolean hasTemplate(long groupId, java.lang.String templateId)
           
 java.util.List<JournalTemplate> search(long companyId, long groupId, java.lang.String keywords, java.lang.String structureId, java.lang.String structureIdComparator, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalTemplate> search(long companyId, long groupId, java.lang.String templateId, java.lang.String structureId, java.lang.String structureIdComparator, java.lang.String name, java.lang.String description, boolean andOperator, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int searchCount(long companyId, long groupId, java.lang.String keywords, java.lang.String structureId, java.lang.String structureIdComparator)
           
 int searchCount(long companyId, long groupId, java.lang.String templateId, java.lang.String structureId, java.lang.String structureIdComparator, java.lang.String name, java.lang.String description, boolean andOperator)
           
 JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
           
 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)
           
 

Method Detail

addJournalTemplate

JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteJournalTemplate

void deleteJournalTemplate(long id)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteJournalTemplate

void deleteJournalTemplate(JournalTemplate journalTemplate)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<JournalTemplate> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<JournalTemplate> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateJournalTemplate

JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTemplate

JournalTemplate addTemplate(long userId,
                            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.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplate

JournalTemplate addTemplate(java.lang.String uuid,
                            long userId,
                            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.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplate

JournalTemplate addTemplate(long userId,
                            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.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplate

JournalTemplate addTemplate(java.lang.String uuid,
                            long userId,
                            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.Boolean addCommunityPermissions,
                            java.lang.Boolean addGuestPermissions,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplateToGroup

JournalTemplate addTemplateToGroup(java.lang.String uuid,
                                   long userId,
                                   java.lang.String templateId,
                                   boolean autoTemplateId,
                                   long groupId,
                                   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.Boolean addCommunityPermissions,
                                   java.lang.Boolean addGuestPermissions,
                                   java.lang.String[] communityPermissions,
                                   java.lang.String[] guestPermissions)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplateResources

void addTemplateResources(long groupId,
                          java.lang.String templateId,
                          boolean addCommunityPermissions,
                          boolean addGuestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplateResources

void addTemplateResources(JournalTemplate template,
                          boolean addCommunityPermissions,
                          boolean addGuestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplateResources

void addTemplateResources(long groupId,
                          java.lang.String templateId,
                          java.lang.String[] communityPermissions,
                          java.lang.String[] guestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addTemplateResources

void addTemplateResources(JournalTemplate template,
                          java.lang.String[] communityPermissions,
                          java.lang.String[] guestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

checkNewLine

void checkNewLine(long groupId,
                  java.lang.String templateId)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteTemplate

void deleteTemplate(long groupId,
                    java.lang.String templateId)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteTemplate

void deleteTemplate(JournalTemplate template)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteTemplates

void deleteTemplates(long groupId)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getStructureTemplates

java.util.List<JournalTemplate> getStructureTemplates(long groupId,
                                                      java.lang.String structureId)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructureTemplates

java.util.List<JournalTemplate> getStructureTemplates(long groupId,
                                                      java.lang.String structureId,
                                                      int begin,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructureTemplatesCount

int getStructureTemplatesCount(long groupId,
                               java.lang.String structureId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTemplate

JournalTemplate getTemplate(long id)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getTemplate

JournalTemplate getTemplate(long groupId,
                            java.lang.String templateId)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getTemplateBySmallImageId

JournalTemplate getTemplateBySmallImageId(long smallImageId)
                                          throws com.liferay.portal.SystemException,
                                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getTemplates

java.util.List<JournalTemplate> getTemplates()
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTemplates

java.util.List<JournalTemplate> getTemplates(long groupId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTemplates

java.util.List<JournalTemplate> getTemplates(long groupId,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTemplatesCount

int getTemplatesCount(long groupId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

hasTemplate

boolean hasTemplate(long groupId,
                    java.lang.String templateId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

java.util.List<JournalTemplate> search(long companyId,
                                       long groupId,
                                       java.lang.String keywords,
                                       java.lang.String structureId,
                                       java.lang.String structureIdComparator,
                                       int begin,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

java.util.List<JournalTemplate> search(long companyId,
                                       long groupId,
                                       java.lang.String templateId,
                                       java.lang.String structureId,
                                       java.lang.String structureIdComparator,
                                       java.lang.String name,
                                       java.lang.String description,
                                       boolean andOperator,
                                       int begin,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

int searchCount(long companyId,
                long groupId,
                java.lang.String keywords,
                java.lang.String structureId,
                java.lang.String structureIdComparator)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

int searchCount(long companyId,
                long groupId,
                java.lang.String templateId,
                java.lang.String structureId,
                java.lang.String structureIdComparator,
                java.lang.String name,
                java.lang.String description,
                boolean andOperator)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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 com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException