Liferay 7.0-ce-m3

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

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

public class DDMContentLocalServiceImpl
extends DDMContentLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl
counterLocalService, ddmContentLocalService, ddmContentPersistence, persistedModelLocalServiceRegistry, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
DDMContentLocalServiceImpl()
           
 
Method Summary
 DDMContent addContent(long userId, long groupId, String name, String description, String data, ServiceContext serviceContext)
           
 void deleteContent(DDMContent content)
           
 void deleteContents(long groupId)
           
 DDMContent getContent(long contentId)
           
 List<DDMContent> getContents()
           
 List<DDMContent> getContents(long groupId)
           
 List<DDMContent> getContents(long groupId, int start, int end)
           
 int getContentsCount(long groupId)
           
 DDMContent updateContent(long contentId, String name, String description, String data, ServiceContext serviceContext)
           
protected  void validate(String name, String data)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl
addDDMContent, afterPropertiesSet, createDDMContent, deleteDDMContent, deleteDDMContent, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDDMContent, fetchDDMContentByUuidAndGroupId, getActionableDynamicQuery, getBeanIdentifier, getCounterLocalService, getDDMContent, getDDMContentByUuidAndGroupId, getDDMContentLocalService, getDDMContentPersistence, getDDMContents, getDDMContentsByUuidAndCompanyId, getDDMContentsByUuidAndCompanyId, getDDMContentsCount, getExportActionableDynamicQuery, getModelClass, getModelClassName, getPersistedModel, getUserFinder, getUserLocalService, getUserPersistence, getUserService, initActionableDynamicQuery, runSQL, setBeanIdentifier, setCounterLocalService, setDDMContentLocalService, setDDMContentPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateDDMContent
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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 DDMContent addContent(long userId,
                             long groupId,
                             String name,
                             String description,
                             String data,
                             ServiceContext serviceContext)
                      throws PortalException
Throws:
PortalException

deleteContent

public void deleteContent(DDMContent content)

deleteContents

public void deleteContents(long groupId)

getContent

public DDMContent getContent(long contentId)
                      throws PortalException
Throws:
PortalException

getContents

public List<DDMContent> getContents()

getContents

public List<DDMContent> getContents(long groupId)

getContents

public List<DDMContent> getContents(long groupId,
                                    int start,
                                    int end)

getContentsCount

public int getContentsCount(long groupId)

updateContent

public DDMContent updateContent(long contentId,
                                String name,
                                String description,
                                String data,
                                ServiceContext serviceContext)
                         throws PortalException
Throws:
PortalException

validate

protected void validate(String name,
                        String data)
                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m3