Liferay 6.2.0

com.liferay.portlet.journal.service
Interface JournalTemplateLocalService

All Superinterfaces:
BaseLocalService
All Known Implementing Classes:
JournalTemplateLocalServiceBaseImpl, JournalTemplateLocalServiceImpl, 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, JournalTemplateLocalServiceBaseImpl, JournalTemplateLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  JournalTemplate addJournalTemplate(JournalTemplate template)
          Deprecated.  
abstract  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.  
abstract  void addTemplateResources(JournalTemplate template, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
abstract  void addTemplateResources(JournalTemplate template, String[] groupPermissions, String[] guestPermissions)
          Deprecated.  
abstract  void addTemplateResources(long groupId, String templateId, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
abstract  void addTemplateResources(long groupId, String templateId, String[] groupPermissions, String[] guestPermissions)
          Deprecated.  
abstract  void checkNewLine(long groupId, String templateId)
          Deprecated.  
abstract  JournalTemplate copyTemplate(long userId, long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId)
          Deprecated.  
abstract  JournalTemplate createJournalTemplate(long id)
          Deprecated.  
abstract  void deleteTemplate(JournalTemplate template)
          Deprecated.  
abstract  void deleteTemplate(long groupId, String templateId)
          Deprecated.  
abstract  void deleteTemplates(long groupId)
          Deprecated.  
abstract  String getBeanIdentifier()
          Deprecated. Returns the Spring bean ID for this bean.
abstract  List<JournalTemplate> getStructureTemplates(long groupId, String structureId)
          Deprecated.  
abstract  List<JournalTemplate> getStructureTemplates(long groupId, String structureId, boolean includeGlobalTemplates)
          Deprecated.  
abstract  List<JournalTemplate> getStructureTemplates(long groupId, String structureId, int start, int end)
          Deprecated.  
abstract  int getStructureTemplatesCount(long groupId, String structureId)
          Deprecated.  
abstract  JournalTemplate getTemplate(long groupId, String templateId)
          Deprecated.  
abstract  JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates)
          Deprecated.  
abstract  JournalTemplate getTemplateBySmallImageId(long smallImageId)
          Deprecated.  
abstract  List<JournalTemplate> getTemplates()
          Deprecated.  
abstract  List<JournalTemplate> getTemplates(long groupId)
          Deprecated.  
abstract  List<JournalTemplate> getTemplates(long groupId, int start, int end)
          Deprecated.  
abstract  int getTemplatesCount(long groupId)
          Deprecated.  
abstract  boolean hasTemplate(long groupId, String templateId)
          Deprecated.  
abstract  List<JournalTemplate> search(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc)
          Deprecated.  
abstract  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.  
abstract  int searchCount(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator)
          Deprecated.  
abstract  int searchCount(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator)
          Deprecated.  
abstract  void setBeanIdentifier(String beanIdentifier)
          Deprecated. Sets the Spring bean ID for this bean.
abstract  JournalTemplate updateJournalTemplate(JournalTemplate template)
          Deprecated.  
abstract  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.0