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:
JournalTemplateServiceFactory, JournalTemplateServiceUtil

Method Summary
 JournalTemplate addJournalTemplate(JournalTemplate model)
           
 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 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 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)
           
 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 smallImage, java.lang.String smallImageURL, java.io.File smallFile, 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(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 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 deleteTemplate(JournalTemplate template)
           
 void deleteTemplate(long groupId, java.lang.String templateId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getStructureTemplates(long groupId, java.lang.String structureId)
           
 java.util.List 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)
           
 java.util.List getTemplates()
           
 java.util.List getTemplates(long groupId)
           
 java.util.List getTemplates(long groupId, int begin, int end)
           
 int getTemplatesCount(long groupId)
           
 boolean hasTemplate(long groupId, java.lang.String templateId)
           
 java.util.List 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 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 model)
           
 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 smallImage, java.lang.String smallImageURL, java.io.File smallFile)
           
 

Method Detail

addJournalTemplate

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

dynamicQuery

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

dynamicQuery

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

updateJournalTemplate

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

addTemplate

public 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 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

public 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 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

public 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 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

public JournalTemplate addTemplateToGroup(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 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

public 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

public 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

public 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

public 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

public 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

public 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

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

getStructureTemplates

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

getStructureTemplates

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

getStructureTemplatesCount

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

getTemplate

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

getTemplate

public 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

getTemplates

public java.util.List getTemplates()
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTemplates

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

getTemplates

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

getTemplatesCount

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

hasTemplate

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

search

public java.util.List 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

public java.util.List 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

public 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

public 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

public 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 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