|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.service.JournalTemplateServiceUtil
public class JournalTemplateServiceUtil
The utility for the journal template remote service. 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.
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.
JournalTemplateService
,
com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl
,
com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl
Constructor Summary | |
---|---|
JournalTemplateServiceUtil()
|
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 String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static JournalTemplateService |
getService()
|
static List<JournalTemplate> |
getStructureTemplates(long groupId,
String structureId)
|
static JournalTemplate |
getTemplate(long groupId,
String templateId)
|
static JournalTemplate |
getTemplate(long groupId,
String templateId,
boolean includeGlobalTemplates)
|
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)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(JournalTemplateService service)
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 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 |
Constructor Detail |
---|
public JournalTemplateServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic 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
PortalException
SystemException
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
PortalException
SystemException
public static JournalTemplate copyTemplate(long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId) throws PortalException, SystemException
PortalException
SystemException
public static void deleteTemplate(long groupId, String templateId) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalTemplate> getStructureTemplates(long groupId, String structureId) throws SystemException
SystemException
public static JournalTemplate getTemplate(long groupId, String templateId) throws PortalException, SystemException
PortalException
SystemException
public static JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalTemplate> search(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc) throws SystemException
SystemException
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
SystemException
public static int searchCount(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator) throws SystemException
SystemException
public static int searchCount(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator) throws SystemException
SystemException
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
PortalException
SystemException
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
PortalException
SystemException
public static JournalTemplateService getService()
public void setService(JournalTemplateService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |