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

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl
      extended by com.liferay.portlet.dynamicdatamapping.service.impl.DDMContentLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.dynamicdatamapping.service.DDMContentLocalService

public class DDMContentLocalServiceImpl
extends DDMContentLocalServiceBaseImpl

Author:
Brian Wing Shun Chan, Eduardo Lundgren

Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl
counterLocalService, ddmContentLocalService, ddmContentPersistence, ddmStorageLinkLocalService, ddmStorageLinkPersistence, ddmStructureFinder, ddmStructureLinkLocalService, ddmStructureLinkPersistence, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, ddmTemplateFinder, ddmTemplateLocalService, ddmTemplatePersistence, ddmTemplateService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
DDMContentLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.dynamicdatamapping.model.DDMContent addContent(long userId, long groupId, java.lang.String name, java.lang.String description, java.lang.String xml, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteContent(com.liferay.portlet.dynamicdatamapping.model.DDMContent content)
           
 void deleteContents(long groupId)
           
 com.liferay.portlet.dynamicdatamapping.model.DDMContent getContent(long contentId)
           
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMContent> getContents()
           
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMContent> getContents(long groupId)
           
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMContent> getContents(long groupId, int start, int end)
           
 int getContentsCount(long groupId)
           
 com.liferay.portlet.dynamicdatamapping.model.DDMContent updateContent(long contentId, java.lang.String name, java.lang.String description, java.lang.String xml, com.liferay.portal.service.ServiceContext serviceContext)
           
protected  void validate(java.lang.String name, java.lang.String xml)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl
addDDMContent, afterPropertiesSet, createDDMContent, deleteDDMContent, deleteDDMContent, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDDMContent, getBeanIdentifier, getCounterLocalService, getDDMContent, getDDMContentByUuidAndGroupId, getDDMContentLocalService, getDDMContentPersistence, getDDMContents, getDDMContentsCount, getDDMStorageLinkLocalService, getDDMStorageLinkPersistence, getDDMStructureFinder, getDDMStructureLinkLocalService, getDDMStructureLinkPersistence, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getDDMTemplateFinder, getDDMTemplateLocalService, getDDMTemplatePersistence, 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, updateDDMContent, updateDDMContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMContentLocalServiceImpl

public DDMContentLocalServiceImpl()
Method Detail

addContent

public com.liferay.portlet.dynamicdatamapping.model.DDMContent addContent(long userId,
                                                                          long groupId,
                                                                          java.lang.String name,
                                                                          java.lang.String description,
                                                                          java.lang.String xml,
                                                                          com.liferay.portal.service.ServiceContext serviceContext)
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteContent

public void deleteContent(com.liferay.portlet.dynamicdatamapping.model.DDMContent content)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteContents

public void deleteContents(long groupId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContent

public com.liferay.portlet.dynamicdatamapping.model.DDMContent getContent(long contentId)
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getContents

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMContent> getContents()
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContents

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMContent> getContents(long groupId)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContents

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMContent> getContents(long groupId,
                                                                                           int start,
                                                                                           int end)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContentsCount

public int getContentsCount(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateContent

public com.liferay.portlet.dynamicdatamapping.model.DDMContent updateContent(long contentId,
                                                                             java.lang.String name,
                                                                             java.lang.String description,
                                                                             java.lang.String xml,
                                                                             com.liferay.portal.service.ServiceContext serviceContext)
                                                                      throws com.liferay.portal.kernel.exception.PortalException,
                                                                             com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

validate

protected void validate(java.lang.String name,
                        java.lang.String xml)
                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException