com.liferay.portlet.dynamicdatamapping.service.impl
Class DDMTemplateLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateLocalServiceBaseImpl
com.liferay.portlet.dynamicdatamapping.service.impl.DDMTemplateLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, DDMTemplateLocalService
public class DDMTemplateLocalServiceImpl
- extends DDMTemplateLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateLocalServiceBaseImpl |
counterLocalService, ddmContentLocalService, ddmContentPersistence, ddmStorageLinkLocalService, ddmStorageLinkPersistence, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
DDMTemplate |
addTemplate(long userId,
long groupId,
long structureId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String mode,
String language,
String script,
ServiceContext serviceContext)
|
void |
addTemplateResources(DDMTemplate template,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addTemplateResources(DDMTemplate template,
String[] groupPermissions,
String[] guestPermissions)
|
List<DDMTemplate> |
copyTemplates(long userId,
long structureId,
long newStructureId,
String type,
ServiceContext serviceContext)
|
void |
deleteTemplate(DDMTemplate template)
|
void |
deleteTemplate(long templateId)
|
void |
deleteTemplates(long groupId)
|
DDMTemplate |
getTemplate(long templateId)
|
List<DDMTemplate> |
getTemplates(long structureId)
|
List<DDMTemplate> |
getTemplates(long structureId,
String type)
|
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)
|
protected void |
validate(Map<Locale,String> nameMap,
String script)
|
protected void |
validateName(Map<Locale,String> nameMap)
|
Methods inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMTemplateLocalServiceBaseImpl |
addDDMTemplate, afterPropertiesSet, createDDMTemplate, deleteDDMTemplate, deleteDDMTemplate, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDDMTemplate, getBeanIdentifier, getCounterLocalService, getDDMContentLocalService, getDDMContentPersistence, getDDMStorageLinkLocalService, getDDMStorageLinkPersistence, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getDDMTemplate, getDDMTemplateByUuidAndGroupId, getDDMTemplateFinder, getDDMTemplateLocalService, getDDMTemplatePersistence, getDDMTemplates, getDDMTemplatesCount, getDDMTemplateService, getModelClass, getModelClassName, getPersistedModel, 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, updateDDMTemplate, updateDDMTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMTemplateLocalServiceImpl
public DDMTemplateLocalServiceImpl()
addTemplate
public DDMTemplate addTemplate(long userId,
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
addTemplateResources
public void addTemplateResources(DDMTemplate template,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTemplateResources
public void addTemplateResources(DDMTemplate template,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyTemplates
public List<DDMTemplate> copyTemplates(long userId,
long structureId,
long newStructureId,
String type,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
public void deleteTemplate(DDMTemplate template)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplate
public void deleteTemplate(long templateId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTemplates
public void deleteTemplates(long groupId)
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)
throws SystemException
- Throws:
SystemException
getTemplates
public List<DDMTemplate> getTemplates(long structureId,
String type)
throws SystemException
- Throws:
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
validate
protected void validate(Map<Locale,String> nameMap,
String script)
throws PortalException
- Throws:
PortalException
validateName
protected void validateName(Map<Locale,String> nameMap)
throws PortalException
- Throws:
PortalException