Liferay 6.1.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl
          extended by com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl
All Implemented Interfaces:
IdentifiableBean, 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, ddmStructureLinkService, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
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)
           
 void deleteTemplate(long templateId)
           
 DDMTemplate getTemplate(long templateId)
           
 List<DDMTemplate> getTemplates(long structureId, String type, String mode)
           
 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, getDDMStructureLinkService, 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, setDDMStructureLinkService, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setDDMTemplateFinder, setDDMTemplateLocalService, setDDMTemplatePersistence, setDDMTemplateService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
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

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

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.0-ce-b4