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(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(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, 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, 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 SystemException
Specified by:
addJournalTemplate in interface JournalTemplateLocalService
Throws:
SystemException

createJournalTemplate

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

deleteJournalTemplate

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

deleteJournalTemplate

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

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface JournalTemplateLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface JournalTemplateLocalService
Throws:
SystemException

dynamicQuery

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

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface JournalTemplateLocalService
Throws:
SystemException

getJournalTemplate

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

getJournalTemplateByUuidAndGroupId

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

getJournalTemplates

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

getJournalTemplatesCount

public int getJournalTemplatesCount()
                             throws SystemException
Specified by:
getJournalTemplatesCount in interface JournalTemplateLocalService
Throws:
SystemException

updateJournalTemplate

public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
                                      throws SystemException
Specified by:
updateJournalTemplate in interface JournalTemplateLocalService
Throws:
SystemException

updateJournalTemplate

public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate,
                                             boolean merge)
                                      throws SystemException
Specified by:
updateJournalTemplate in interface JournalTemplateLocalService
Throws:
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 PortalException,
                                   SystemException
Specified by:
addTemplate in interface JournalTemplateLocalService
Throws:
PortalException
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 PortalException,
                                   SystemException
Specified by:
addTemplate in interface JournalTemplateLocalService
Throws:
PortalException
SystemException

addTemplateResources

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

addTemplateResources

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

addTemplateResources

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

addTemplateResources

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

checkNewLine

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

copyTemplate

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

deleteTemplate

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

deleteTemplate

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

deleteTemplates

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

getStructureTemplates

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

getStructureTemplates

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

getStructureTemplatesCount

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

getTemplate

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

getTemplate

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

getTemplateBySmallImageId

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

getTemplates

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

getTemplates

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

getTemplates

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

getTemplatesCount

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

hasTemplate

public boolean hasTemplate(long groupId,
                           java.lang.String templateId)
                    throws SystemException
Specified by:
hasTemplate in interface JournalTemplateLocalService
Throws:
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,
                                              OrderByComparator obc)
                                       throws SystemException
Specified by:
search in interface JournalTemplateLocalService
Throws:
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,
                                              OrderByComparator obc)
                                       throws SystemException
Specified by:
search in interface JournalTemplateLocalService
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       java.lang.String keywords,
                       java.lang.String structureId,
                       java.lang.String structureIdComparator)
                throws SystemException
Specified by:
searchCount in interface JournalTemplateLocalService
Throws:
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 SystemException
Specified by:
searchCount in interface JournalTemplateLocalService
Throws:
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 PortalException,
                                      SystemException
Specified by:
updateTemplate in interface JournalTemplateLocalService
Throws:
PortalException
SystemException

getWrappedJournalTemplateLocalService

public JournalTemplateLocalService getWrappedJournalTemplateLocalService()