Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.service.impl
Class DDMTemplateServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl
          extended by com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, DDMTemplateService

public class DDMTemplateServiceImpl
extends DDMTemplateServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl
counterLocalService, ddmContentLocalService, ddmContentPersistence, ddmStorageLinkLocalService, ddmStorageLinkPersistence, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
DDMTemplateServiceImpl()
           
 
Method Summary
 DDMTemplate addTemplate(long groupId, long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, ServiceContext serviceContext)
           
 List<DDMTemplate> copyTemplates(long structureId, long newStructureId, String type, ServiceContext serviceContext)
           
 void deleteTemplate(long templateId)
           
 DDMTemplate getTemplate(long templateId)
           
 List<DDMTemplate> getTemplates(long structureId, String type, String mode)
           
 List<DDMTemplate> search(long companyId, long groupId, long structureId, String keywords, String type, String mode, int start, int end, OrderByComparator orderByComparator)
           
 List<DDMTemplate> search(long companyId, long groupId, long structureId, String name, String description, String type, String mode, String language, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
 int searchCount(long companyId, long groupId, long structureId, String keywords, String type, String mode)
           
 int searchCount(long companyId, long groupId, long structureId, String name, String description, String type, String mode, String language, boolean andOperator)
           
 DDMTemplate updateTemplate(long templateId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String mode, String language, String script, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getDDMContentLocalService, getDDMContentPersistence, getDDMStorageLinkLocalService, getDDMStorageLinkPersistence, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getDDMTemplateFinder, getDDMTemplateLocalService, getDDMTemplatePersistence, getDDMTemplateService, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setDDMContentLocalService, setDDMContentPersistence, setDDMStorageLinkLocalService, setDDMStorageLinkPersistence, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setDDMTemplateFinder, setDDMTemplateLocalService, setDDMTemplatePersistence, setDDMTemplateService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
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

DDMTemplateServiceImpl

public DDMTemplateServiceImpl()
Method Detail

addTemplate

public DDMTemplate addTemplate(long groupId,
                               long structureId,
                               Map<Locale,String> nameMap,
                               Map<Locale,String> descriptionMap,
                               String type,
                               String mode,
                               String language,
                               String script,
                               ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

copyTemplates

public List<DDMTemplate> copyTemplates(long structureId,
                                       long newStructureId,
                                       String type,
                                       ServiceContext serviceContext)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

deleteTemplate

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

getTemplate

public DDMTemplate getTemplate(long templateId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getTemplates

public List<DDMTemplate> getTemplates(long structureId,
                                      String type,
                                      String mode)
                               throws SystemException
Throws:
SystemException

search

public List<DDMTemplate> search(long companyId,
                                long groupId,
                                long structureId,
                                String keywords,
                                String type,
                                String mode,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

search

public List<DDMTemplate> search(long companyId,
                                long groupId,
                                long structureId,
                                String name,
                                String description,
                                String type,
                                String mode,
                                String language,
                                boolean andOperator,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       long structureId,
                       String keywords,
                       String type,
                       String mode)
                throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       long structureId,
                       String name,
                       String description,
                       String type,
                       String mode,
                       String language,
                       boolean andOperator)
                throws SystemException
Throws:
SystemException

updateTemplate

public DDMTemplate updateTemplate(long templateId,
                                  Map<Locale,String> nameMap,
                                  Map<Locale,String> descriptionMap,
                                  String type,
                                  String mode,
                                  String language,
                                  String script,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3