com.liferay.portlet.journal.service.impl
Class JournalTemplateServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl
          extended by com.liferay.portlet.journal.service.impl.JournalTemplateServiceImpl
All Implemented Interfaces:
com.liferay.portlet.journal.service.JournalTemplateService

public class JournalTemplateServiceImpl
extends JournalTemplateServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl
counterLocalService, counterService, imageLocalService, imagePersistence, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
JournalTemplateServiceImpl()
           
 
Method Summary
 com.liferay.portlet.journal.model.JournalTemplate addTemplate(long groupId, java.lang.String templateId, boolean autoTemplateId, 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)
           
 com.liferay.portlet.journal.model.JournalTemplate addTemplate(long groupId, java.lang.String templateId, boolean autoTemplateId, 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)
           
 com.liferay.portlet.journal.model.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<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(long groupId, java.lang.String structureId)
           
 com.liferay.portlet.journal.model.JournalTemplate getTemplate(long groupId, java.lang.String templateId)
           
 com.liferay.portlet.journal.model.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)
           
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl
getCounterLocalService, getCounterService, getImageLocalService, getImagePersistence, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, setCounterLocalService, setCounterService, setImageLocalService, setImagePersistence, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalStructureFinder, setJournalStructureLocalService, setJournalStructurePersistence, setJournalStructureService, setJournalTemplateFinder, setJournalTemplateLocalService, setJournalTemplatePersistence, setJournalTemplateService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalTemplateServiceImpl

public JournalTemplateServiceImpl()
Method Detail

addTemplate

public com.liferay.portlet.journal.model.JournalTemplate addTemplate(long groupId,
                                                                     java.lang.String templateId,
                                                                     boolean autoTemplateId,
                                                                     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

public com.liferay.portlet.journal.model.JournalTemplate addTemplate(long groupId,
                                                                     java.lang.String templateId,
                                                                     boolean autoTemplateId,
                                                                     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

copyTemplate

public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(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

public 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

getStructureTemplates

public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(long groupId,
                                                                                               java.lang.String structureId)
                                                                                        throws com.liferay.portal.PortalException,
                                                                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getTemplate

public com.liferay.portlet.journal.model.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

updateTemplate

public com.liferay.portlet.journal.model.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