com.liferay.portlet.dynamicdatamapping.service.impl
Class DDMTemplateServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateServiceBaseImpl
com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, DDMTemplateService
public class DDMTemplateServiceImpl
- extends DDMTemplateServiceBaseImpl
| 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, resourceLocalService, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
DDMTemplate |
addTemplate(long groupId,
long classNameId,
long classPK,
String templateKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
boolean cacheable,
ServiceContext serviceContext)
|
List<DDMTemplate> |
copyTemplates(long classNameId,
long classPK,
long newClassPK,
String type,
ServiceContext serviceContext)
|
void |
deleteTemplate(long templateId)
|
DDMTemplate |
fetchTemplate(long groupId,
String templateKey)
|
DDMTemplate |
getTemplate(long templateId)
|
DDMTemplate |
getTemplate(long groupId,
String templateKey)
|
List<DDMTemplate> |
getTemplates(long groupId,
long classNameId)
|
List<DDMTemplate> |
getTemplates(long groupId,
long classNameId,
long classPK)
|
List<DDMTemplate> |
getTemplates(long classNameId,
long classPK,
String type,
String mode)
|
List<DDMTemplate> |
search(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
String keywords,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
|
List<DDMTemplate> |
search(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
|
List<DDMTemplate> |
search(long companyId,
long groupId,
long classNameId,
long classPK,
String keywords,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
|
List<DDMTemplate> |
search(long companyId,
long groupId,
long classNameId,
long classPK,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
String keywords,
String type,
String mode)
|
int |
searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator)
|
int |
searchCount(long companyId,
long groupId,
long classNameId,
long classPK,
String keywords,
String type,
String mode)
|
int |
searchCount(long companyId,
long groupId,
long classNameId,
long classPK,
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,
boolean cacheable,
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, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setDDMContentLocalService, setDDMContentPersistence, setDDMStorageLinkLocalService, setDDMStorageLinkPersistence, setDDMStructureFinder, setDDMStructureLinkLocalService, setDDMStructureLinkPersistence, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setDDMTemplateFinder, setDDMTemplateLocalService, setDDMTemplatePersistence, setDDMTemplateService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMTemplateServiceImpl
public DDMTemplateServiceImpl()
addTemplate
public DDMTemplate addTemplate(long groupId,
long classNameId,
long classPK,
String templateKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
boolean cacheable,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyTemplates
public List<DDMTemplate> copyTemplates(long classNameId,
long classPK,
long newClassPK,
String type,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
public void deleteTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchTemplate
public DDMTemplate fetchTemplate(long groupId,
String templateKey)
throws SystemException
- Throws:
SystemException
getTemplate
public DDMTemplate getTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplate
public DDMTemplate getTemplate(long groupId,
String templateKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTemplates
public List<DDMTemplate> getTemplates(long groupId,
long classNameId)
throws SystemException
- Throws:
SystemException
getTemplates
public List<DDMTemplate> getTemplates(long groupId,
long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getTemplates
public List<DDMTemplate> getTemplates(long classNameId,
long classPK,
String type,
String mode)
throws SystemException
- Throws:
SystemException
search
public List<DDMTemplate> search(long companyId,
long groupId,
long classNameId,
long classPK,
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 classNameId,
long classPK,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
search
public List<DDMTemplate> search(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
String keywords,
String type,
String mode,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
search
public List<DDMTemplate> search(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
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 classNameId,
long classPK,
String keywords,
String type,
String mode)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
long classNameId,
long classPK,
String name,
String description,
String type,
String mode,
String language,
boolean andOperator)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
String keywords,
String type,
String mode)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long[] groupIds,
long[] classNameIds,
long classPK,
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,
boolean cacheable,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException