com.liferay.portlet.journal.service
Class JournalTemplateServiceUtil
java.lang.Object
com.liferay.portlet.journal.service.JournalTemplateServiceUtil
public class JournalTemplateServiceUtil
- extends Object
The utility for the journal template remote service. This utility wraps JournalTemplateServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. 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
,
JournalTemplateServiceBaseImpl
,
JournalTemplateServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
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)
|
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)
|
static JournalTemplate |
copyTemplate(long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
|
static void |
deleteTemplate(long groupId,
String templateId)
|
static JournalTemplateService |
getService()
|
static List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId)
|
static JournalTemplate |
getTemplate(long groupId,
String templateId)
|
static List<JournalTemplate> |
search(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator,
int start,
int end,
OrderByComparator obc)
|
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)
|
static int |
searchCount(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator)
|
static int |
searchCount(long companyId,
long[] groupIds,
String templateId,
String structureId,
String structureIdComparator,
String name,
String description,
boolean andOperator)
|
void |
setService(JournalTemplateService service)
|
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)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalTemplateServiceUtil
public JournalTemplateServiceUtil()
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
- 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
- Throws:
PortalException
SystemException
copyTemplate
public static JournalTemplate copyTemplate(long groupId,
String oldTemplateId,
String newTemplateId,
boolean autoTemplateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
public static void deleteTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructureTemplates
public static List<JournalTemplate> getStructureTemplates(long groupId,
String structureId)
throws SystemException
- Throws:
SystemException
getTemplate
public static JournalTemplate getTemplate(long groupId,
String templateId)
throws PortalException,
SystemException
- 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
- 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
- Throws:
SystemException
searchCount
public static int searchCount(long companyId,
long[] groupIds,
String keywords,
String structureId,
String structureIdComparator)
throws SystemException
- 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
- 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
- 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
- Throws:
PortalException
SystemException
getService
public static JournalTemplateService getService()
setService
public void setService(JournalTemplateService service)