com.liferay.portlet.journal.service
Class JournalTemplateLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalTemplateLocalServiceWrapper
All Implemented Interfaces:
JournalTemplateLocalService

public class JournalTemplateLocalServiceWrapper
extends java.lang.Object
implements JournalTemplateLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for JournalTemplateLocalService.

Author:
Brian Wing Shun Chan
See Also:
JournalTemplateLocalService
Generated:

Constructor Summary
JournalTemplateLocalServiceWrapper(JournalTemplateLocalService journalTemplateLocalService)
           
 
Method Summary
 JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
           
 JournalTemplate addTemplate(long userId, long groupId, java.lang.String templateId, boolean autoTemplateId, 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, ServiceContext serviceContext)
           
 JournalTemplate addTemplate(java.lang.String uuid, long userId, long groupId, java.lang.String templateId, boolean autoTemplateId, 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, ServiceContext serviceContext)
           
 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)
           
 void checkNewLine(long groupId, java.lang.String templateId)
           
 JournalTemplate copyTemplate(long userId, long groupId, java.lang.String oldTemplateId, java.lang.String newTemplateId, boolean autoTemplateId)
           
 JournalTemplate createJournalTemplate(long id)
           
 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 dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 JournalTemplate getJournalTemplate(long id)
           
 JournalTemplate getJournalTemplateByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<JournalTemplate> getJournalTemplates(int start, int end)
           
 int getJournalTemplatesCount()
           
 java.util.List<JournalTemplate> getStructureTemplates(long groupId, java.lang.String structureId)
           
 java.util.List<JournalTemplate> getStructureTemplates(long groupId, java.lang.String structureId, int start, 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 start, int end)
           
 int getTemplatesCount(long groupId)
           
 JournalTemplateLocalService getWrappedJournalTemplateLocalService()
           
 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 start, 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 start, 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 updateJournalTemplate(JournalTemplate journalTemplate, boolean merge)
           
 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, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalTemplateLocalServiceWrapper

public JournalTemplateLocalServiceWrapper(JournalTemplateLocalService journalTemplateLocalService)
Method Detail

addJournalTemplate

public JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
                                   throws com.liferay.portal.SystemException
Specified by:
addJournalTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

createJournalTemplate

public JournalTemplate createJournalTemplate(long id)
Specified by:
createJournalTemplate in interface JournalTemplateLocalService

deleteJournalTemplate

public void deleteJournalTemplate(long id)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Specified by:
deleteJournalTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteJournalTemplate

public void deleteJournalTemplate(JournalTemplate journalTemplate)
                           throws com.liferay.portal.SystemException
Specified by:
deleteJournalTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getJournalTemplate

public JournalTemplate getJournalTemplate(long id)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getJournalTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getJournalTemplateByUuidAndGroupId

public JournalTemplate getJournalTemplateByUuidAndGroupId(java.lang.String uuid,
                                                          long groupId)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Specified by:
getJournalTemplateByUuidAndGroupId in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getJournalTemplates

public java.util.List<JournalTemplate> getJournalTemplates(int start,
                                                           int end)
                                                    throws com.liferay.portal.SystemException
Specified by:
getJournalTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getJournalTemplatesCount

public int getJournalTemplatesCount()
                             throws com.liferay.portal.SystemException
Specified by:
getJournalTemplatesCount in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

updateJournalTemplate

public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
                                      throws com.liferay.portal.SystemException
Specified by:
updateJournalTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

updateJournalTemplate

public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate,
                                             boolean merge)
                                      throws com.liferay.portal.SystemException
Specified by:
updateJournalTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

addTemplate

public JournalTemplate addTemplate(long userId,
                                   long groupId,
                                   java.lang.String templateId,
                                   boolean autoTemplateId,
                                   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,
                                   ServiceContext serviceContext)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
addTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addTemplate

public JournalTemplate addTemplate(java.lang.String uuid,
                                   long userId,
                                   long groupId,
                                   java.lang.String templateId,
                                   boolean autoTemplateId,
                                   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,
                                   ServiceContext serviceContext)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
addTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addTemplateResources

public void addTemplateResources(long groupId,
                                 java.lang.String templateId,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
addTemplateResources in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addTemplateResources

public void addTemplateResources(JournalTemplate template,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
addTemplateResources in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addTemplateResources

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

addTemplateResources

public void addTemplateResources(JournalTemplate template,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
addTemplateResources in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkNewLine

public void checkNewLine(long groupId,
                         java.lang.String templateId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Specified by:
checkNewLine in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

copyTemplate

public JournalTemplate copyTemplate(long userId,
                                    long groupId,
                                    java.lang.String oldTemplateId,
                                    java.lang.String newTemplateId,
                                    boolean autoTemplateId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
copyTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteTemplate

public void deleteTemplate(long groupId,
                           java.lang.String templateId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteTemplate

public void deleteTemplate(JournalTemplate template)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteTemplates

public void deleteTemplates(long groupId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
deleteTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getStructureTemplates

public java.util.List<JournalTemplate> getStructureTemplates(long groupId,
                                                             java.lang.String structureId)
                                                      throws com.liferay.portal.SystemException
Specified by:
getStructureTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getStructureTemplates

public java.util.List<JournalTemplate> getStructureTemplates(long groupId,
                                                             java.lang.String structureId,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
getStructureTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getStructureTemplatesCount

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

getTemplate

public JournalTemplate getTemplate(long id)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
getTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getTemplate

public JournalTemplate getTemplate(long groupId,
                                   java.lang.String templateId)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
getTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getTemplateBySmallImageId

public JournalTemplate getTemplateBySmallImageId(long smallImageId)
                                          throws com.liferay.portal.PortalException,
                                                 com.liferay.portal.SystemException
Specified by:
getTemplateBySmallImageId in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getTemplates

public java.util.List<JournalTemplate> getTemplates()
                                             throws com.liferay.portal.SystemException
Specified by:
getTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getTemplates

public java.util.List<JournalTemplate> getTemplates(long groupId)
                                             throws com.liferay.portal.SystemException
Specified by:
getTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getTemplates

public java.util.List<JournalTemplate> getTemplates(long groupId,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Specified by:
getTemplates in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

getTemplatesCount

public int getTemplatesCount(long groupId)
                      throws com.liferay.portal.SystemException
Specified by:
getTemplatesCount in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

hasTemplate

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

search

public java.util.List<JournalTemplate> search(long companyId,
                                              long groupId,
                                              java.lang.String keywords,
                                              java.lang.String structureId,
                                              java.lang.String structureIdComparator,
                                              int start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Specified by:
search in interface JournalTemplateLocalService
Throws:
com.liferay.portal.SystemException

search

public 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 start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Specified by:
search in interface JournalTemplateLocalService
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
Specified by:
searchCount in interface JournalTemplateLocalService
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
Specified by:
searchCount in interface JournalTemplateLocalService
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 cacheable,
                                      boolean smallImage,
                                      java.lang.String smallImageURL,
                                      java.io.File smallFile,
                                      ServiceContext serviceContext)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
updateTemplate in interface JournalTemplateLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedJournalTemplateLocalService

public JournalTemplateLocalService getWrappedJournalTemplateLocalService()