Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service.impl
Class JournalTemplateLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl
          extended by com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, JournalTemplateLocalService

Deprecated. As of 6.2.0, since Web Content Administration now uses the Dynamic Data Mapping framework to handle templates

public class JournalTemplateLocalServiceImpl
extends JournalTemplateLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl
counterLocalService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, journalFolderService, journalStructureLocalService, journalStructureService, journalTemplateLocalService, journalTemplateService, resourceLocalService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
JournalTemplateLocalServiceImpl()
          Deprecated.  
 
Method Summary
 JournalTemplate addJournalTemplate(JournalTemplate template)
          Deprecated.  
 JournalTemplate addTemplate(long userId, long groupId, String templateId, boolean autoTemplateId, String structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsl, boolean formatXsl, String langType, boolean cacheable, boolean smallImage, String smallImageURL, File smallImageFile, ServiceContext serviceContext)
          Deprecated.  
 void addTemplateResources(JournalTemplate template, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
 void addTemplateResources(JournalTemplate template, String[] groupPermissions, String[] guestPermissions)
          Deprecated.  
 void addTemplateResources(long groupId, String templateId, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
 void addTemplateResources(long groupId, String templateId, String[] groupPermissions, String[] guestPermissions)
          Deprecated.  
 void checkNewLine(long groupId, String templateId)
          Deprecated.  
 JournalTemplate copyTemplate(long userId, long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId)
          Deprecated.  
 JournalTemplate createJournalTemplate(long id)
          Deprecated.  
 void deleteTemplate(JournalTemplate template)
          Deprecated.  
 void deleteTemplate(long groupId, String templateId)
          Deprecated.  
 void deleteTemplates(long groupId)
          Deprecated.  
protected  JournalTemplate doGetTemplate(long groupId, String templateId)
          Deprecated.  
protected  List<JournalTemplate> doGetTemplates(long groupId)
          Deprecated.  
protected  List<JournalTemplate> doGetTemplates(long groupId, int start, int end)
          Deprecated.  
protected  int doGetTemplatesCount(long groupId)
          Deprecated.  
protected  DDMTemplate fetchDDMTemplate(long groupId, String templateId)
          Deprecated.  
protected  JournalTemplate fetchTemplate(long groupId, String templateId)
          Deprecated.  
protected  DDMTemplate getDDMTemplate(JournalTemplate template)
          Deprecated.  
protected  DDMTemplate getDDMTemplate(long groupId, String templateId)
          Deprecated.  
 List<JournalTemplate> getStructureTemplates(long groupId, String structureId)
          Deprecated.  
 List<JournalTemplate> getStructureTemplates(long groupId, String structureId, boolean includeGlobalTemplates)
          Deprecated.  
 List<JournalTemplate> getStructureTemplates(long groupId, String structureId, int start, int end)
          Deprecated.  
 int getStructureTemplatesCount(long groupId, String structureId)
          Deprecated.  
 JournalTemplate getTemplate(long groupId, String templateId)
          Deprecated.  
 JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates)
          Deprecated.  
 JournalTemplate getTemplateBySmallImageId(long smallImageId)
          Deprecated.  
 List<JournalTemplate> getTemplates()
          Deprecated.  
 List<JournalTemplate> getTemplates(long groupId)
          Deprecated.  
 List<JournalTemplate> getTemplates(long groupId, int start, int end)
          Deprecated.  
 int getTemplatesCount(long groupId)
          Deprecated.  
protected  String getUuid(JournalTemplate template)
          Deprecated.  
 boolean hasTemplate(long groupId, String templateId)
          Deprecated.  
 List<JournalTemplate> search(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc)
          Deprecated.  
 List<JournalTemplate> search(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator, int start, int end, OrderByComparator obc)
          Deprecated.  
 int searchCount(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator)
          Deprecated.  
 int searchCount(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator)
          Deprecated.  
 JournalTemplate updateJournalTemplate(JournalTemplate template)
          Deprecated.  
protected  JournalTemplate updateTemplate(JournalTemplate template)
          Deprecated.  
 JournalTemplate updateTemplate(long groupId, String templateId, String structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsl, boolean formatXsl, String langType, boolean cacheable, boolean smallImage, String smallImageURL, File smallImageFile, ServiceContext serviceContext)
          Deprecated.  
protected  void validateTemplateId(String templateId)
          Deprecated.  
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getDDMTemplateFinder, getDDMTemplateLocalService, getDDMTemplatePersistence, getDDMTemplateService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolderService, getJournalStructureLocalService, getJournalStructureService, getJournalTemplateLocalService, getJournalTemplateService, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setDDMTemplateFinder, setDDMTemplateLocalService, setDDMTemplatePersistence, setDDMTemplateService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setJournalFolderService, setJournalStructureLocalService, setJournalStructureService, setJournalTemplateLocalService, setJournalTemplateService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalTemplateLocalServiceImpl

public JournalTemplateLocalServiceImpl()
Deprecated. 
Method Detail

addJournalTemplate

public JournalTemplate addJournalTemplate(JournalTemplate template)
                                   throws PortalException,
                                          SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplate

public JournalTemplate addTemplate(long userId,
                                   long groupId,
                                   String templateId,
                                   boolean autoTemplateId,
                                   String structureId,
                                   Map<Locale,String> nameMap,
                                   Map<Locale,String> descriptionMap,
                                   String xsl,
                                   boolean formatXsl,
                                   String langType,
                                   boolean cacheable,
                                   boolean smallImage,
                                   String smallImageURL,
                                   File smallImageFile,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplateResources

public void addTemplateResources(JournalTemplate template,
                                 boolean addGroupPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplateResources

public void addTemplateResources(JournalTemplate template,
                                 String[] groupPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplateResources

public void addTemplateResources(long groupId,
                                 String templateId,
                                 boolean addGroupPermissions,
                                 boolean addGuestPermissions)
                          throws PortalException,
                                 SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplateResources

public void addTemplateResources(long groupId,
                                 String templateId,
                                 String[] groupPermissions,
                                 String[] guestPermissions)
                          throws PortalException,
                                 SystemException
Deprecated. 
Throws:
PortalException
SystemException

checkNewLine

public void checkNewLine(long groupId,
                         String templateId)
                  throws PortalException,
                         SystemException
Deprecated. 
Throws:
PortalException
SystemException

copyTemplate

public JournalTemplate copyTemplate(long userId,
                                    long groupId,
                                    String oldTemplateId,
                                    String newTemplateId,
                                    boolean autoTemplateId)
                             throws PortalException,
                                    SystemException
Deprecated. 
Throws:
PortalException
SystemException

createJournalTemplate

public JournalTemplate createJournalTemplate(long id)
Deprecated. 

deleteTemplate

public void deleteTemplate(JournalTemplate template)
                    throws PortalException,
                           SystemException
Deprecated. 
Throws:
PortalException
SystemException

deleteTemplate

public void deleteTemplate(long groupId,
                           String templateId)
                    throws PortalException,
                           SystemException
Deprecated. 
Throws:
PortalException
SystemException

deleteTemplates

public void deleteTemplates(long groupId)
                     throws PortalException,
                            SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplates

public List<JournalTemplate> getStructureTemplates(long groupId,
                                                   String structureId)
                                            throws PortalException,
                                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplates

public List<JournalTemplate> getStructureTemplates(long groupId,
                                                   String structureId,
                                                   boolean includeGlobalTemplates)
                                            throws PortalException,
                                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplates

public List<JournalTemplate> getStructureTemplates(long groupId,
                                                   String structureId,
                                                   int start,
                                                   int end)
                                            throws PortalException,
                                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplatesCount

public int getStructureTemplatesCount(long groupId,
                                      String structureId)
                               throws PortalException,
                                      SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplate

public JournalTemplate getTemplate(long groupId,
                                   String templateId)
                            throws PortalException,
                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplate

public JournalTemplate getTemplate(long groupId,
                                   String templateId,
                                   boolean includeGlobalTemplates)
                            throws PortalException,
                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplateBySmallImageId

public JournalTemplate getTemplateBySmallImageId(long smallImageId)
                                          throws PortalException,
                                                 SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplates

public List<JournalTemplate> getTemplates()
                                   throws SystemException
Deprecated. 
Throws:
SystemException

getTemplates

public List<JournalTemplate> getTemplates(long groupId)
                                   throws SystemException
Deprecated. 
Throws:
SystemException

getTemplates

public List<JournalTemplate> getTemplates(long groupId,
                                          int start,
                                          int end)
                                   throws SystemException
Deprecated. 
Throws:
SystemException

getTemplatesCount

public int getTemplatesCount(long groupId)
                      throws SystemException
Deprecated. 
Throws:
SystemException

hasTemplate

public boolean hasTemplate(long groupId,
                           String templateId)
                    throws SystemException
Deprecated. 
Throws:
SystemException

search

public List<JournalTemplate> search(long companyId,
                                    long[] groupIds,
                                    String keywords,
                                    String structureId,
                                    String structureIdComparator,
                                    int start,
                                    int end,
                                    OrderByComparator obc)
                             throws SystemException
Deprecated. 
Throws:
SystemException

search

public List<JournalTemplate> search(long companyId,
                                    long[] groupIds,
                                    String templateId,
                                    String structureId,
                                    String structureIdComparator,
                                    String name,
                                    String description,
                                    boolean andOperator,
                                    int start,
                                    int end,
                                    OrderByComparator obc)
                             throws SystemException
Deprecated. 
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       String keywords,
                       String structureId,
                       String structureIdComparator)
                throws SystemException
Deprecated. 
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       String templateId,
                       String structureId,
                       String structureIdComparator,
                       String name,
                       String description,
                       boolean andOperator)
                throws SystemException
Deprecated. 
Throws:
SystemException

updateJournalTemplate

public JournalTemplate updateJournalTemplate(JournalTemplate template)
                                      throws PortalException,
                                             SystemException
Deprecated. 
Throws:
PortalException
SystemException

updateTemplate

public JournalTemplate updateTemplate(long groupId,
                                      String templateId,
                                      String structureId,
                                      Map<Locale,String> nameMap,
                                      Map<Locale,String> descriptionMap,
                                      String xsl,
                                      boolean formatXsl,
                                      String langType,
                                      boolean cacheable,
                                      boolean smallImage,
                                      String smallImageURL,
                                      File smallImageFile,
                                      ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Deprecated. 
Throws:
PortalException
SystemException

doGetTemplate

protected JournalTemplate doGetTemplate(long groupId,
                                        String templateId)
                                 throws PortalException,
                                        SystemException
Deprecated. 
Throws:
PortalException
SystemException

doGetTemplates

protected List<JournalTemplate> doGetTemplates(long groupId)
                                        throws SystemException
Deprecated. 
Throws:
SystemException

doGetTemplates

protected List<JournalTemplate> doGetTemplates(long groupId,
                                               int start,
                                               int end)
                                        throws SystemException
Deprecated. 
Throws:
SystemException

doGetTemplatesCount

protected int doGetTemplatesCount(long groupId)
                           throws SystemException
Deprecated. 
Throws:
SystemException

fetchDDMTemplate

protected DDMTemplate fetchDDMTemplate(long groupId,
                                       String templateId)
                                throws SystemException
Deprecated. 
Throws:
SystemException

fetchTemplate

protected JournalTemplate fetchTemplate(long groupId,
                                        String templateId)
                                 throws SystemException
Deprecated. 
Throws:
SystemException

getDDMTemplate

protected DDMTemplate getDDMTemplate(JournalTemplate template)
                              throws PortalException,
                                     SystemException
Deprecated. 
Throws:
PortalException
SystemException

getDDMTemplate

protected DDMTemplate getDDMTemplate(long groupId,
                                     String templateId)
                              throws PortalException,
                                     SystemException
Deprecated. 
Throws:
PortalException
SystemException

getUuid

protected String getUuid(JournalTemplate template)
Deprecated. 

updateTemplate

protected JournalTemplate updateTemplate(JournalTemplate template)
                                  throws PortalException,
                                         SystemException
Deprecated. 
Throws:
PortalException
SystemException

validateTemplateId

protected void validateTemplateId(String templateId)
                           throws PortalException
Deprecated. 
Throws:
PortalException

Liferay 6.2-ce-ga5