com.liferay.portlet.journal.service
Interface JournalTemplateService
- All Known Implementing Classes:
- JournalTemplateServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface JournalTemplateService
The interface for the journal template remote service.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalTemplateServiceUtil,
com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl,
com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl- Generated:
|
Method Summary |
JournalTemplate |
addTemplate(long groupId,
java.lang.String templateId,
boolean autoTemplateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
ServiceContext serviceContext)
|
JournalTemplate |
addTemplate(long groupId,
java.lang.String templateId,
boolean autoTemplateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
ServiceContext serviceContext)
|
JournalTemplate |
copyTemplate(long groupId,
java.lang.String oldTemplateId,
java.lang.String newTemplateId,
boolean autoTemplateId)
|
void |
deleteTemplate(long groupId,
java.lang.String templateId)
|
java.util.List<JournalTemplate> |
getStructureTemplates(long groupId,
java.lang.String structureId)
|
JournalTemplate |
getTemplate(long groupId,
java.lang.String templateId)
|
java.util.List<JournalTemplate> |
search(long companyId,
long[] groupIds,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator,
int start,
int end,
OrderByComparator obc)
|
java.util.List<JournalTemplate> |
search(long companyId,
long[] groupIds,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
long[] groupIds,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator)
|
int |
searchCount(long companyId,
long[] groupIds,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
JournalTemplate |
updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
ServiceContext serviceContext)
|
JournalTemplate |
updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
ServiceContext serviceContext)
|
addTemplate
JournalTemplate addTemplate(long groupId,
java.lang.String templateId,
boolean autoTemplateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTemplate
JournalTemplate addTemplate(long groupId,
java.lang.String templateId,
boolean autoTemplateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyTemplate
JournalTemplate copyTemplate(long groupId,
java.lang.String oldTemplateId,
java.lang.String newTemplateId,
boolean autoTemplateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
void deleteTemplate(long groupId,
java.lang.String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getStructureTemplates
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> getStructureTemplates(long groupId,
java.lang.String structureId)
throws SystemException
- Throws:
SystemException
getTemplate
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalTemplate getTemplate(long groupId,
java.lang.String templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> search(long companyId,
long[] groupIds,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalTemplate> search(long companyId,
long[] groupIds,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long companyId,
long[] groupIds,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator)
throws SystemException
- Throws:
SystemException
searchCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long companyId,
long[] groupIds,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateTemplate
JournalTemplate updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateTemplate
JournalTemplate updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException