Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service
Class JournalTemplateLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalTemplateLocalServiceUtil

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

@ProviderType
public class JournalTemplateLocalServiceUtil
extends Object

Provides the local service utility for JournalTemplate. This utility wraps com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server. 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:
JournalTemplateLocalService, com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl, com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl

Constructor Summary
JournalTemplateLocalServiceUtil()
          Deprecated.  
 
Method Summary
static JournalTemplate addJournalTemplate(JournalTemplate template)
          Deprecated.  
static 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.  
static void addTemplateResources(JournalTemplate template, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
static void addTemplateResources(JournalTemplate template, String[] groupPermissions, String[] guestPermissions)
          Deprecated.  
static void addTemplateResources(long groupId, String templateId, boolean addGroupPermissions, boolean addGuestPermissions)
          Deprecated.  
static void addTemplateResources(long groupId, String templateId, String[] groupPermissions, String[] guestPermissions)
          Deprecated.  
static void checkNewLine(long groupId, String templateId)
          Deprecated.  
static JournalTemplate copyTemplate(long userId, long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId)
          Deprecated.  
static JournalTemplate createJournalTemplate(long id)
          Deprecated.  
static void deleteTemplate(JournalTemplate template)
          Deprecated.  
static void deleteTemplate(long groupId, String templateId)
          Deprecated.  
static void deleteTemplates(long groupId)
          Deprecated.  
static String getBeanIdentifier()
          Deprecated. Returns the Spring bean ID for this bean.
static JournalTemplateLocalService getService()
          Deprecated.  
static List<JournalTemplate> getStructureTemplates(long groupId, String structureId)
          Deprecated.  
static List<JournalTemplate> getStructureTemplates(long groupId, String structureId, boolean includeGlobalTemplates)
          Deprecated.  
static List<JournalTemplate> getStructureTemplates(long groupId, String structureId, int start, int end)
          Deprecated.  
static int getStructureTemplatesCount(long groupId, String structureId)
          Deprecated.  
static JournalTemplate getTemplate(long groupId, String templateId)
          Deprecated.  
static JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates)
          Deprecated.  
static JournalTemplate getTemplateBySmallImageId(long smallImageId)
          Deprecated.  
static List<JournalTemplate> getTemplates()
          Deprecated.  
static List<JournalTemplate> getTemplates(long groupId)
          Deprecated.  
static List<JournalTemplate> getTemplates(long groupId, int start, int end)
          Deprecated.  
static int getTemplatesCount(long groupId)
          Deprecated.  
static boolean hasTemplate(long groupId, String templateId)
          Deprecated.  
static List<JournalTemplate> search(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc)
          Deprecated.  
static 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.  
static int searchCount(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator)
          Deprecated.  
static int searchCount(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator)
          Deprecated.  
static void setBeanIdentifier(String beanIdentifier)
          Deprecated. Sets the Spring bean ID for this bean.
 void setService(JournalTemplateLocalService service)
          Deprecated. As of 6.2.0
static JournalTemplate updateJournalTemplate(JournalTemplate template)
          Deprecated.  
static 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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalTemplateLocalServiceUtil

public JournalTemplateLocalServiceUtil()
Deprecated. 
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addJournalTemplate

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

addTemplate

public static 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 static void addTemplateResources(JournalTemplate template,
                                        boolean addGroupPermissions,
                                        boolean addGuestPermissions)
                                 throws PortalException,
                                        SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplateResources

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

addTemplateResources

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

addTemplateResources

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

checkNewLine

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

copyTemplate

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

createJournalTemplate

public static JournalTemplate createJournalTemplate(long id)
Deprecated. 

deleteTemplate

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

deleteTemplate

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

deleteTemplates

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

getStructureTemplates

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

getStructureTemplates

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

getStructureTemplates

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

getStructureTemplatesCount

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

getTemplate

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

getTemplate

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

getTemplateBySmallImageId

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

getTemplates

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

getTemplates

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

getTemplates

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

getTemplatesCount

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

hasTemplate

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

search

public static 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 static 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 static int searchCount(long companyId,
                              long[] groupIds,
                              String keywords,
                              String structureId,
                              String structureIdComparator)
                       throws SystemException
Deprecated. 
Throws:
SystemException

searchCount

public static 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 static JournalTemplate updateJournalTemplate(JournalTemplate template)
                                             throws PortalException,
                                                    SystemException
Deprecated. 
Throws:
PortalException
SystemException

updateTemplate

public static 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

getService

public static JournalTemplateLocalService getService()
Deprecated. 

setService

public void setService(JournalTemplateLocalService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5