com.liferay.portlet.journal.service
Interface JournalTemplateLocalService
public interface JournalTemplateLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.journal.service.impl.JournalTemplateLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. 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.
- Author:
- Brian Wing Shun Chan
- See Also:
JournalTemplateLocalServiceUtil
Method Summary |
JournalTemplate |
addJournalTemplate(JournalTemplate journalTemplate)
|
JournalTemplate |
addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
JournalTemplate |
addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
JournalTemplate |
addTemplate(java.lang.String uuid,
long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
JournalTemplate |
addTemplate(java.lang.String uuid,
long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addTemplateResources(JournalTemplate template,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addTemplateResources(JournalTemplate template,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addTemplateResources(long groupId,
java.lang.String templateId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addTemplateResources(long groupId,
java.lang.String templateId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
JournalTemplate |
addTemplateToGroup(java.lang.String uuid,
long userId,
java.lang.String templateId,
boolean autoTemplateId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
checkNewLine(long groupId,
java.lang.String templateId)
|
JournalTemplate |
copyTemplate(long userId,
long groupId,
java.lang.String oldTemplateId,
java.lang.String newTemplateId,
boolean autoTemplateId)
|
void |
deleteJournalTemplate(JournalTemplate journalTemplate)
|
void |
deleteJournalTemplate(long id)
|
void |
deleteTemplate(JournalTemplate template)
|
void |
deleteTemplate(long groupId,
java.lang.String templateId)
|
void |
deleteTemplates(long groupId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
JournalTemplate |
getJournalTemplate(long id)
|
java.util.List<JournalTemplate> |
getJournalTemplates(int start,
int end)
|
int |
getJournalTemplatesCount()
|
java.util.List<JournalTemplate> |
getStructureTemplates(long groupId,
java.lang.String structureId)
|
java.util.List<JournalTemplate> |
getStructureTemplates(long groupId,
java.lang.String structureId,
int start,
int end)
|
int |
getStructureTemplatesCount(long groupId,
java.lang.String structureId)
|
JournalTemplate |
getTemplate(long id)
|
JournalTemplate |
getTemplate(long groupId,
java.lang.String templateId)
|
JournalTemplate |
getTemplateBySmallImageId(long smallImageId)
|
java.util.List<JournalTemplate> |
getTemplates()
|
java.util.List<JournalTemplate> |
getTemplates(long groupId)
|
java.util.List<JournalTemplate> |
getTemplates(long groupId,
int start,
int end)
|
int |
getTemplatesCount(long groupId)
|
boolean |
hasTemplate(long groupId,
java.lang.String templateId)
|
java.util.List<JournalTemplate> |
search(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<JournalTemplate> |
search(long companyId,
long groupId,
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
searchCount(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator)
|
int |
searchCount(long companyId,
long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
JournalTemplate |
updateJournalTemplate(JournalTemplate journalTemplate)
|
JournalTemplate |
updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile)
|
addJournalTemplate
JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteJournalTemplate
void deleteJournalTemplate(long id)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteJournalTemplate
void deleteJournalTemplate(JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalTemplate
JournalTemplate getJournalTemplate(long id)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getJournalTemplates
java.util.List<JournalTemplate> getJournalTemplates(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getJournalTemplatesCount
int getJournalTemplatesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateJournalTemplate
JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addTemplate
JournalTemplate addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplate
JournalTemplate addTemplate(java.lang.String uuid,
long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplate
JournalTemplate addTemplate(long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplate
JournalTemplate addTemplate(java.lang.String uuid,
long userId,
java.lang.String templateId,
boolean autoTemplateId,
long plid,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateToGroup
JournalTemplate addTemplateToGroup(java.lang.String uuid,
long userId,
java.lang.String templateId,
boolean autoTemplateId,
long groupId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
void addTemplateResources(long groupId,
java.lang.String templateId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
void addTemplateResources(JournalTemplate template,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
void addTemplateResources(long groupId,
java.lang.String templateId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addTemplateResources
void addTemplateResources(JournalTemplate template,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkNewLine
void checkNewLine(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
copyTemplate
JournalTemplate copyTemplate(long userId,
long groupId,
java.lang.String oldTemplateId,
java.lang.String newTemplateId,
boolean autoTemplateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTemplate
void deleteTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTemplate
void deleteTemplate(JournalTemplate template)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTemplates
void deleteTemplates(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getStructureTemplates
java.util.List<JournalTemplate> getStructureTemplates(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructureTemplates
java.util.List<JournalTemplate> getStructureTemplates(long groupId,
java.lang.String structureId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStructureTemplatesCount
int getStructureTemplatesCount(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplate
JournalTemplate getTemplate(long id)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTemplate
JournalTemplate getTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTemplateBySmallImageId
JournalTemplate getTemplateBySmallImageId(long smallImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTemplates
java.util.List<JournalTemplate> getTemplates()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplates
java.util.List<JournalTemplate> getTemplates(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplates
java.util.List<JournalTemplate> getTemplates(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTemplatesCount
int getTemplatesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasTemplate
boolean hasTemplate(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
java.util.List<JournalTemplate> search(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
java.util.List<JournalTemplate> search(long companyId,
long groupId,
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
int searchCount(long companyId,
long groupId,
java.lang.String keywords,
java.lang.String structureId,
java.lang.String structureIdComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
int searchCount(long companyId,
long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String structureIdComparator,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTemplate
JournalTemplate updateTemplate(long groupId,
java.lang.String templateId,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
java.lang.String xsl,
boolean formatXsl,
java.lang.String langType,
boolean cacheable,
boolean smallImage,
java.lang.String smallImageURL,
java.io.File smallFile)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException