com.liferay.portlet.dynamicdatamapping.storage
Interface StorageAdapter
- All Known Subinterfaces:
- StorageEngine
- All Known Implementing Classes:
- BaseStorageAdapter
public interface StorageAdapter
create
long create(long companyId,
long ddmStructureId,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
throws StorageException
- Throws:
StorageException
deleteByClass
void deleteByClass(long classPK)
throws StorageException
- Throws:
StorageException
deleteByDDMStructure
void deleteByDDMStructure(long ddmStructureId)
throws StorageException
- Throws:
StorageException
getDDMFormValues
DDMFormValues getDDMFormValues(long classPK)
throws StorageException
- Throws:
StorageException
getStorageType
String getStorageType()
update
void update(long classPK,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
throws StorageException
- Throws:
StorageException