Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.service
Class DDMTemplateServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.DDMTemplateServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<DDMTemplateService>, DDMTemplateService

public class DDMTemplateServiceWrapper
extends Object
implements DDMTemplateService, ServiceWrapper<DDMTemplateService>

This class is a wrapper for DDMTemplateService.

See Also:
DDMTemplateService

Constructor Summary
DDMTemplateServiceWrapper(DDMTemplateService ddmTemplateService)
           
 
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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDMTemplate getTemplate(long templateId)
           
 List<DDMTemplate> getTemplates(long structureId, String type, String mode)
           
 DDMTemplateService getWrappedDDMTemplateService()
          Deprecated. Renamed to getWrappedService()
 DDMTemplateService getWrappedService()
           
 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)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDDMTemplateService(DDMTemplateService ddmTemplateService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService)
 void setWrappedService(DDMTemplateService ddmTemplateService)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMTemplateServiceWrapper

public DDMTemplateServiceWrapper(DDMTemplateService ddmTemplateService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DDMTemplateService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DDMTemplateService
Parameters:
beanIdentifier - the Spring bean ID for this bean

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
Specified by:
addTemplate in interface DDMTemplateService
Throws:
PortalException
SystemException

copyTemplates

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

deleteTemplate

public void deleteTemplate(long templateId)
                    throws PortalException,
                           SystemException
Specified by:
deleteTemplate in interface DDMTemplateService
Throws:
PortalException
SystemException

getTemplate

public DDMTemplate getTemplate(long templateId)
                        throws PortalException,
                               SystemException
Specified by:
getTemplate in interface DDMTemplateService
Throws:
PortalException
SystemException

getTemplates

public List<DDMTemplate> getTemplates(long structureId,
                                      String type,
                                      String mode)
                               throws SystemException
Specified by:
getTemplates in interface DDMTemplateService
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
Specified by:
search in interface DDMTemplateService
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
Specified by:
search in interface DDMTemplateService
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       long structureId,
                       String keywords,
                       String type,
                       String mode)
                throws SystemException
Specified by:
searchCount in interface DDMTemplateService
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
Specified by:
searchCount in interface DDMTemplateService
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
Specified by:
updateTemplate in interface DDMTemplateService
Throws:
PortalException
SystemException

getWrappedDDMTemplateService

public DDMTemplateService getWrappedDDMTemplateService()
Deprecated. Renamed to getWrappedService()


setWrappedDDMTemplateService

public void setWrappedDDMTemplateService(DDMTemplateService ddmTemplateService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService)


getWrappedService

public DDMTemplateService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DDMTemplateService>

setWrappedService

public void setWrappedService(DDMTemplateService ddmTemplateService)
Specified by:
setWrappedService in interface ServiceWrapper<DDMTemplateService>

Liferay 6.1.2-ce-ga3