Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service
Class JournalTemplateServiceUtil

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

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

@ProviderType
public class JournalTemplateServiceUtil
extends Object

Provides the remote service utility for JournalTemplate. This utility wraps com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl and is the primary access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
JournalTemplateService, com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl, com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl

Constructor Summary
JournalTemplateServiceUtil()
          Deprecated.  
 
Method Summary
static JournalTemplate addTemplate(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 smallFile, ServiceContext serviceContext)
          Deprecated.  
static JournalTemplate addTemplate(long groupId, String templateId, boolean autoTemplateId, String structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsl, boolean formatXsl, String langType, boolean cacheable, ServiceContext serviceContext)
          Deprecated.  
static JournalTemplate copyTemplate(long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId)
          Deprecated.  
static void deleteTemplate(long groupId, String templateId)
          Deprecated.  
static String getBeanIdentifier()
          Deprecated. Returns the Spring bean ID for this bean.
static JournalTemplateService getService()
          Deprecated.  
static List<JournalTemplate> getStructureTemplates(long groupId, String structureId)
          Deprecated.  
static JournalTemplate getTemplate(long groupId, String templateId)
          Deprecated.  
static JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates)
          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(JournalTemplateService service)
          Deprecated. As of 6.2.0
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 smallFile, ServiceContext serviceContext)
          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, ServiceContext serviceContext)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalTemplateServiceUtil

public JournalTemplateServiceUtil()
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

addTemplate

public static JournalTemplate addTemplate(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 smallFile,
                                          ServiceContext serviceContext)
                                   throws PortalException,
                                          SystemException
Deprecated. 
Throws:
PortalException
SystemException

addTemplate

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

copyTemplate

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

deleteTemplate

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

getStructureTemplates

public static List<JournalTemplate> getStructureTemplates(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

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

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 smallFile,
                                             ServiceContext serviceContext)
                                      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,
                                             ServiceContext serviceContext)
                                      throws PortalException,
                                             SystemException
Deprecated. 
Throws:
PortalException
SystemException

getService

public static JournalTemplateService getService()
Deprecated. 

setService

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


Liferay 6.2-ce-ga5