Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service
Interface JournalTemplateLocalService

All Superinterfaces:
BaseLocalService
All Known Implementing Classes:
JournalTemplateLocalServiceWrapper

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

@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface JournalTemplateLocalService
extends BaseLocalService

Provides the local service interface for JournalTemplate. 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.

See Also:
JournalTemplateLocalServiceUtil, com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl, com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl

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.  
 String getBeanIdentifier()
          Deprecated. Returns the Spring bean ID for this bean.
 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.  
 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.  
 void setBeanIdentifier(String beanIdentifier)
          Deprecated. Sets the Spring bean ID for this bean.
 JournalTemplate updateJournalTemplate(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.  
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Deprecated. 
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Deprecated. 
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addJournalTemplate

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

addTemplate

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

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

addTemplateResources

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

addTemplateResources

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

addTemplateResources

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

checkNewLine

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

copyTemplate

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

createJournalTemplate

JournalTemplate createJournalTemplate(long id)
Deprecated. 

deleteTemplate

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

deleteTemplate

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

deleteTemplates

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

getStructureTemplates

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalTemplate> getStructureTemplates(long groupId,
                                                                                     String structureId)
                                            throws PortalException,
                                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplates

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalTemplate> getStructureTemplates(long groupId,
                                                                                     String structureId,
                                                                                     boolean includeGlobalTemplates)
                                            throws PortalException,
                                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplates

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalTemplate> getStructureTemplates(long groupId,
                                                                                     String structureId,
                                                                                     int start,
                                                                                     int end)
                                            throws PortalException,
                                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getStructureTemplatesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getStructureTemplatesCount(long groupId,
                                                                        String structureId)
                               throws PortalException,
                                      SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplate

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalTemplate getTemplate(long groupId,
                                                                     String templateId)
                            throws PortalException,
                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplate

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalTemplate getTemplate(long groupId,
                                                                     String templateId,
                                                                     boolean includeGlobalTemplates)
                            throws PortalException,
                                   SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplateBySmallImageId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalTemplate getTemplateBySmallImageId(long smallImageId)
                                          throws PortalException,
                                                 SystemException
Deprecated. 
Throws:
PortalException
SystemException

getTemplates

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalTemplate> getTemplates()
                                   throws SystemException
Deprecated. 
Throws:
SystemException

getTemplates

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalTemplate> getTemplates(long groupId)
                                   throws SystemException
Deprecated. 
Throws:
SystemException

getTemplates

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<JournalTemplate> getTemplates(long groupId,
                                                                            int start,
                                                                            int end)
                                   throws SystemException
Deprecated. 
Throws:
SystemException

getTemplatesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getTemplatesCount(long groupId)
                      throws SystemException
Deprecated. 
Throws:
SystemException

hasTemplate

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasTemplate(long groupId,
                                                             String templateId)
                    throws SystemException
Deprecated. 
Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long[] groupIds,
                                                         String keywords,
                                                         String structureId,
                                                         String structureIdComparator)
                throws SystemException
Deprecated. 
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long[] groupIds,
                                                         String templateId,
                                                         String structureId,
                                                         String structureIdComparator,
                                                         String name,
                                                         String description,
                                                         boolean andOperator)
                throws SystemException
Deprecated. 
Throws:
SystemException

updateJournalTemplate

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

updateTemplate

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

Liferay 6.2-ce-ga5