Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.storage
Interface StorageAdapter

All Known Subinterfaces:
StorageEngine
All Known Implementing Classes:
BaseStorageAdapter, JSONStorageAdapter, StorageEngineImpl

public interface StorageAdapter


Method Summary
 long create(long companyId, long ddmStructureId, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
 void deleteByClass(long classPK)
           
 void deleteByDDMStructure(long ddmStructureId)
           
 DDMFormValues getDDMFormValues(long classPK)
           
 String getStorageType()
           
 void update(long classPK, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
 

Method Detail

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

Liferay 7.0-ce-m6