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
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 |
Method Summary |
DDMContent |
addContent(long userId,
long groupId,
String name,
String description,
String xml,
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 xml,
ServiceContext serviceContext)
|
protected void |
validate(String name,
String xml)
|
Methods inherited from class com.liferay.portlet.dynamicdatamapping.service.base.DDMContentLocalServiceBaseImpl |
addDDMContent, afterPropertiesSet, createDDMContent, deleteDDMContent, deleteDDMContent, destroy, dynamicQuery, 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 |
DDMContentLocalServiceImpl
public DDMContentLocalServiceImpl()
addContent
public DDMContent addContent(long userId,
long groupId,
String name,
String description,
String xml,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteContent
public void deleteContent(DDMContent content)
throws SystemException
- Throws:
SystemException
deleteContents
public void deleteContents(long groupId)
throws SystemException
- Throws:
SystemException
getContent
public DDMContent getContent(long contentId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getContents
public List<DDMContent> getContents()
throws SystemException
- Throws:
SystemException
getContents
public List<DDMContent> getContents(long groupId)
throws SystemException
- Throws:
SystemException
getContents
public List<DDMContent> getContents(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getContentsCount
public int getContentsCount(long groupId)
throws SystemException
- Throws:
SystemException
updateContent
public DDMContent updateContent(long contentId,
String name,
String description,
String xml,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(String name,
String xml)
throws PortalException
- Throws:
PortalException