Liferay 6.1.2-ce-ga3

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

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

public class JournalTemplateServiceImpl
extends JournalTemplateServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl
counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, 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.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
JournalTemplateServiceImpl()
           
 
Method Summary
 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)
           
 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)
           
 JournalTemplate copyTemplate(long groupId, String oldTemplateId, String newTemplateId, boolean autoTemplateId)
           
 void deleteTemplate(long groupId, String templateId)
           
 List<JournalTemplate> getStructureTemplates(long groupId, String structureId)
           
 JournalTemplate getTemplate(long groupId, String templateId)
           
 JournalTemplate getTemplate(long groupId, String templateId, boolean includeGlobalTemplates)
           
 List<JournalTemplate> search(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator, int start, int end, OrderByComparator obc)
           
 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)
           
 int searchCount(long companyId, long[] groupIds, String keywords, String structureId, String structureIdComparator)
           
 int searchCount(long companyId, long[] groupIds, String templateId, String structureId, String structureIdComparator, String name, String description, boolean andOperator)
           
 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)
           
 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 com.liferay.portlet.journal.service.base.JournalTemplateServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, runSQL, setBeanIdentifier, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, 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.BaseServiceImpl
getClassLoader, getGuestOrUser, 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 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 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 JournalTemplate copyTemplate(long groupId,
                                    String oldTemplateId,
                                    String newTemplateId,
                                    boolean autoTemplateId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

deleteTemplate

public void deleteTemplate(long groupId,
                           String templateId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getStructureTemplates

public List<JournalTemplate> getStructureTemplates(long groupId,
                                                   String structureId)
                                            throws SystemException
Throws:
SystemException

getTemplate

public JournalTemplate getTemplate(long groupId,
                                   String templateId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getTemplate

public JournalTemplate getTemplate(long groupId,
                                   String templateId,
                                   boolean includeGlobalTemplates)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

search

public 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 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 int searchCount(long companyId,
                       long[] groupIds,
                       String keywords,
                       String structureId,
                       String structureIdComparator)
                throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       String templateId,
                       String structureId,
                       String structureIdComparator,
                       String name,
                       String description,
                       boolean andOperator)
                throws SystemException
Throws:
SystemException

updateTemplate

public 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 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

Liferay 6.1.2-ce-ga3