com.liferay.portlet.dynamicdatamapping.service.impl
Class DDMContentLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl
com.liferay.portlet.dynamicdatamapping.service.impl.DDMContentLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, DDMContentLocalService
public class DDMContentLocalServiceImpl
- extends DDMContentLocalServiceBaseImpl
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMContentLocalServiceImpl
public DDMContentLocalServiceImpl()
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